Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/23/01 18:23
Read: times


 
#13437 - RE: How to use 8 sensors on 8051 ports
Hi! It is the same situation as in implementing the keyboard. Sometime, if you don't want to spend a lot of time to scan the keyboard, you can use OR gate for each row (or column). After pressing the key, your OR gate is generating interrupt request and after this you can recognize the key. Maybe it is solution for you. If your indicator detects car, you can go to the interrupt routine and recognize the source of interrupt and increment one of your car counters.
In case like that, I prefer ST6225 (or 20) controller. Each of its ports' pins can be used as interrupt request input. ST62 is very slow (it has serial accumulator) but maybe you can use it.

Regards,
Jacek


List of 8 messages in thread
TopicAuthorDate
How to use 8 sensors on 8051 ports            01/01/70 00:00      
RE: How to use 8 sensors on 8051 ports            01/01/70 00:00      
RE: How to use 8 sensors on 8051 ports            01/01/70 00:00      
RE: How to use 8 sensors on 8051 ports            01/01/70 00:00      
RE: How to use 8 sensors on 8051 ports            01/01/70 00:00      
RE: How to use 8 sensors on 8051 ports            01/01/70 00:00      
RE: How to use 8 sensors on 8051 ports            01/01/70 00:00      
RE: How to use 8 sensors on 8051 ports            01/01/70 00:00      

Back to Subject List