| ??? 07/14/03 02:10 Read: times |
#50629 - RE: P89C51 relay interface Responding to: ???'s previous message |
The Sanyo relay that you mention is going to draw 40mA at 5 V. This defenitley will need a buffer.
You can use a PNP transistor like the BC557 or equivalent that can handle this kind of current. Drive the Base of the transistor through a 2.2K resistor from the Port pin and connect the emitter to 5V . Use a 10K pull from the base of transistor to 5V. Your relay WITH the freewheel diode must be connected between the collector and ground. And this relay will come ON when the port pin is driven low by your code. Actually this configuration was posted here by Michael J Karas and has been found to work OK. Raghu |
| Topic | Author | Date |
| P89C51 relay interface | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 | |
| Correction: collector not base | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 | |
Thanks for the help | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 | |
| RE: P89C51 relay interface | 01/01/70 00:00 |



