ESP and IR wiring question

I've wiring up a IR transmitter to a ESP32 with this diagram. Nothing.
I've even used a wiring that put a 50-ohm resister between the +side and the +side of the IR with a 330ohm between the ESP32 (pin 4) and the center pin of the transister (PN2222).

Still nothing. Swapped the IR transmitter thinking I fried it. Same results.

(I have a Mega with a IR receiver running that tells me of the codes when it sends. I don't think it is the code because it was working at one point for about an hour. Then nothing.)

TOPIC SPLIT
PLEASE DO NOT HIJACK / NECRO POST !

Could you take a few moments to Learn How To Use The Forum.

Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.