wicus
Junior Member level 1
- Joined
- Apr 16, 2009
- Messages
- 15
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Cape Town, South Africa
- Activity points
- 1,407
I'm still struggling with this. My AT89S52 Switches to LOW (0V) to activate the output, which is connected at this stage via an LED to +v5. I need to replace the LED with a 12V relay, and assume I will have to use a small PNP Transistor i.e 2N2907/BC177 combined with a NPN TIP31C/TIP41C etc to switch the relay
.
I've done it like in the attached image but cannot get the 12V relay to switch. It works as soon as I take out the relay and transistors, and replace it with a 1.4V LED and resistor, to show that my ATMEL is programmed correctly
Any ideas what could be wrong here ? ?
.
I've done it like in the attached image but cannot get the 12V relay to switch. It works as soon as I take out the relay and transistors, and replace it with a 1.4V LED and resistor, to show that my ATMEL is programmed correctly
Any ideas what could be wrong here ? ?