??? 07/01/09 19:57 Read: times |
#166631 - re: relay control Responding to: ???'s previous message |
I use NPNs for this -- usually something standard like a 2N2222 or 2N3094. 8051 port pin feeds the transistor base through a resistor, and the emitter is grounded. Then connect the relay coil's positive lead to VCC and the negative lead to the transistor's collector. And don't forget the snubber.
Set the port high to turn the relay on. -a |
Topic | Author | Date |
Relay control - 8051... | 01/01/70 00:00 | |
looks good to me but ... | 01/01/70 00:00 | |
Concept seems fine... | 01/01/70 00:00 | |
re: relay control | 01/01/70 00:00 | |
NPN and standard '51? | 01/01/70 00:00 | |
standard 8051 | 01/01/70 00:00 | |
Ye standard 8051 and the C8051Fxxx ... | 01/01/70 00:00 | |
two times only... | 01/01/70 00:00 | |
Relay Drive: Previously, on 8052.com | 01/01/70 00:00 | |
'ED2 is "biblical" as far as ports are concerned | 01/01/70 00:00 | |
snubber | 01/01/70 00:00 | |
At both needed! | 01/01/70 00:00 | |
AC opener... | 01/01/70 00:00 | |
12V AC? | 01/01/70 00:00 | |
yes... | 01/01/70 00:00 | |
I would drive it by a DC source! | 01/01/70 00:00 | |
Just have seen... | 01/01/70 00:00 | |
a little information![]() | 01/01/70 00:00 |