ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: only DIO 1,3,5,7 works

To:
Subject: Re: [ts-7000] Re: only DIO 1,3,5,7 works
From: Jason Stahls <>
Date: Tue, 29 Sep 2009 18:12:24 -0400


salva g wrote:
  ...and could be pressed any switches i want at the same time? or only one?

No, think of it as a 4x4 grid, sorta like this.

  1  2  3  4
  |  |  |  |

--+--+--+--+-- A
  |  |  |  |
--+--+--+--+-- B
  |  |  |  |
--+--+--+--+-- C
  |  |  |  |
--+--+--+--+-- D
  |  |  |  |


Where ever there is a + is a button, ----'s (A-D) are the output wires (four of them) and |  | (1-4) are the input wires (four of them)

Now, if line A is high and you press say A3 and B3 then the B line effectively becomes high as well.  If you pressed A3, B3 and B1 down then your program would "see" A3 and A1 as being pressed. Now if the B line is pulled low you've just created a short which is why it's always a good idea to put current limit resistors in series with any output.

You can block this interaction by using diodes, if you want more info I'd look up "matrix keypad schematic" or something like that online.  It's neat to note that most keyboards for your computer work in a similar way.

--
Jason Stahls


__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU