Hello, i'm trying to create an IR xmitter but my transistors keep burning up i'm not sure why.
I've attached the circuit. due to the exact signal i'm trying to recreate, i'm to get 38khz pulses to represent a zero and just a HIGH output to represent a ONE.
I'M using an 18f4550 PIC,
RC7(UART TX PIN) is connected to a transistor to invert the signal, and then to a terminal of an AND gate
a PWM signal at 38khz, 50% duty cycle is connected is connected to a second terminal of an AND gate
the output is fed to a transistor, which powers a IR-LED
However, the PNP just keeps heating up and damaging my IR leds.
what could be wrong?
I simulated with PROTEUS and it works fine.
The exact transistor AND and resistor values are included
Please i'll really appreciate some help
thanks.