I am having problems with the following circuit I built. I am getting +5v from my computers molex 4 pin power supply connector red wire. I have Pin 3 on the circuit hooked up to pin 3 on my computers serial port. I have Pin 5 hooked up to both molex power supply ground black wire and to pin 5 on the serial port.
I am using the transistor here:
2N3904TAR
The Infrared led here:
AM4457F3C
I am using a program called WinLirc that sends a signal to pin 3 on the serial port.
I measured voltage from the power supply red wire to the black ground wire it is +5.18v. I removed the led from the circuit and measured the voltage from the collector pin on the transistor to the pin on the 220 ohm resistor and it measures 7.08v. Every time I click the button on the program the voltage on my meter goes up about .20v and then drops back to 7.00v. I put the led in the circuit and connected the meter to each of the led's pins. The voltage reading is around 0.68v. When I click the button the voltage between led pins sames about the same.
Before I put the 3904 transistor in the circuit I tested the Hfe with my multimeter and it measured 160. Later, I took it out of the circuit and tested it again and it measured 74. Why is the Hfe dropping? Should I use a different transistor? Is my circuit designed correctly?
Thanks.
I am using the transistor here:
2N3904TAR
The Infrared led here:
AM4457F3C
I am using a program called WinLirc that sends a signal to pin 3 on the serial port.
I measured voltage from the power supply red wire to the black ground wire it is +5.18v. I removed the led from the circuit and measured the voltage from the collector pin on the transistor to the pin on the 220 ohm resistor and it measures 7.08v. Every time I click the button on the program the voltage on my meter goes up about .20v and then drops back to 7.00v. I put the led in the circuit and connected the meter to each of the led's pins. The voltage reading is around 0.68v. When I click the button the voltage between led pins sames about the same.
Before I put the 3904 transistor in the circuit I tested the Hfe with my multimeter and it measured 160. Later, I took it out of the circuit and tested it again and it measured 74. Why is the Hfe dropping? Should I use a different transistor? Is my circuit designed correctly?
Thanks.