I am trying to drive a PNP darlington power transistor (BD680) with a microrontroller (ATMEGA32) output with the following circuit. Note that he circuit for the microcontroller itself is not complete, i just put it there to show what device i am using. I know that the microcontroller is running ok. The supply voltage for the uC is 5V but i want to control a 12V load with the transistor.
My software toggles the direction register of PORTC once per second. When the pin becomes a high impedance input I expect the load to "turn off", and when i set the pin an output in low state i expect the load to "turn on".
This works good in simulations in Proteus ISIS. But when i set up this circut with real components the transistor is always "turned on".
When the uC pin is an high impedance input i get about 10 volt on the base on the transistor instead of 12v (which would make (Vemitter-Vbase) == 0).
Is it not possible to design the circuit like this? What am i doing wrong?
Some tips would be very much appreciated!
My software toggles the direction register of PORTC once per second. When the pin becomes a high impedance input I expect the load to "turn off", and when i set the pin an output in low state i expect the load to "turn on".
This works good in simulations in Proteus ISIS. But when i set up this circut with real components the transistor is always "turned on".
When the uC pin is an high impedance input i get about 10 volt on the base on the transistor instead of 12v (which would make (Vemitter-Vbase) == 0).
Is it not possible to design the circuit like this? What am i doing wrong?
Some tips would be very much appreciated!