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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/20/04 19:30
Read: times


 
#70767 - Push-Button
Hi guys, a newbie here..
I'm going to connect a few 'active low' push-buttons on port 1 of 8051 (AT89C51).
My questions are:
1. Is pull-up resistor required?
2. To make it 'low', one end of the button is connected to the MCU's pin and the other end to a 10k resistor, and another end of the resistor is connected to ground.I use 10k resistor. Is this the correct connection?
I've tested it with a simple program. But it didnt work as I wished, so I'm wondering whether it's my connection problem or my code.. ...
Thanks..





List of 6 messages in thread
TopicAuthorDate
Push-Button            01/01/70 00:00      
   RE: Push-Button            01/01/70 00:00      
      RE: Push-Button            01/01/70 00:00      
   RE: Push-Button            01/01/70 00:00      
      RE: Debounce            01/01/70 00:00      
   RE: Push-Button            01/01/70 00:00      

Back to Subject List