??? 08/26/09 04:12 Modified: 08/26/09 04:14 Read: times |
#168547 - dip-switch matrix trouble |
Hello again.
I'm trying to read 16 dip-switch states. I thought I could make a simple matrix connected to P1, setting all pins high, set low the row I want to read and everything should goes ok. But its not going ok, the switchs are crosstalking, after closing some of the dip-switchs the reading becomes all zero. I also have tried with an resistor array in all P1 pins to VCC. I dont know how to solve it. Please can someone elucidate why this is not working? Thanks. |
Topic | Author | Date |
dip-switch matrix trouble | 01/01/70 00:00 | |
Need more information | 01/01/70 00:00 | |
It's olá ... | 01/01/70 00:00 | |
ghosting? | 01/01/70 00:00 | |
Looks like ghosting | 01/01/70 00:00 | |
Do you have two spare pins? | 01/01/70 00:00 | |
Please tell us how you've wired your matrix | 01/01/70 00:00 | |
My working matrix schematic* | 01/01/70 00:00 | |
It looks OK, but... | 01/01/70 00:00 | |
maybe, maybe not | 01/01/70 00:00 | |
thats true | 01/01/70 00:00 | |
External resistors for speed or reading slower | 01/01/70 00:00 | |
noise, yes - but | 01/01/70 00:00 | |
Different use of resistors | 01/01/70 00:00 | |
I could be mean | 01/01/70 00:00 | |
Was actually on topic ;) | 01/01/70 00:00 | |
being off-topic or not... | 01/01/70 00:00 | |
You need to show us the schematic and more | 01/01/70 00:00 | |
he did | 01/01/70 00:00 | |
Not quite enough | 01/01/70 00:00 | |
not much code to show | 01/01/70 00:00 | |
=) Thanks for the +1 Informative =) | 01/01/70 00:00 |