I have made a circuit to generate 12V, 5V and 0V signals for parallel programming, It worked fine when simulated in pspice but, when I tried it on breadboard it does not give 12V it gives 9V or so, The other signal levels(0 and 5V) are fine but not the 12v level, I dont understand this. This are the logic combinations i am using
for 0v PORTXn=1 PORTXn+1= 0
for 5v PORTXn=0 PORTXn+1=1
for 12V PORTXn=0 PORTXn+1=0
when both The transistors are turned off it should draw not more than 15nA of current according to the data sheet but it draws 6mA from source. Here is the circuit i have used the BJT is BC548
for 0v PORTXn=1 PORTXn+1= 0
for 5v PORTXn=0 PORTXn+1=1
for 12V PORTXn=0 PORTXn+1=0
when both The transistors are turned off it should draw not more than 15nA of current according to the data sheet but it draws 6mA from source. Here is the circuit i have used the BJT is BC548
Attachments
-
20.8 KB Views: 48
Last edited: