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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/02/05 15:32
Read: times


 
#96448 - Re: 2051 reset.
Responding to: ???'s previous message
Dear Alex,


I have connected the pin P3.5 to a relay to activate an external load. Everything works but each time I push the reset the relay goes off because the CPU puts, during the reset, P3.5 HIGH.


Thats normal all 8051 port pins go high while reset. It seems you are driving the relay coil using a NPN transistor to avoid this problem use a PNP configuration for driving the relay coil. This will not trigger the relay during reset.

Regards,
Prahlad

List of 5 messages in thread
TopicAuthorDate
2051 Reset...            01/01/70 00:00      
   Re: 2051 reset.            01/01/70 00:00      
   Didn't search first?            01/01/70 00:00      
      No, i didn't            01/01/70 00:00      
         Points for honesty, at least!            01/01/70 00:00      

Back to Subject List