Hi,
There isn't a problem with this circuit(yet).
I am just wondering if this Schematic is okay.
Sorry if it is terrible(it's my first one drawn by hand).
Here it is:
I have not really researched the proper resistor for the speaker.
I Know I am using the wrong symbol for the speaker.
Going to change it, but don't know what the symbol is supposed to be.
Your "R2" is much too low. The LED spec of 30ma is a MAX. typically a 800 to 1200 provides a good indication, closer to 500 if you want it bright.
I'm not familiar with the FireBeetle but he ESP-32 cannot provide 30ma. I'm not sure the actual output current spec off hand but I would limit the output current to 10ma at the most.
So you calculated 130 ohms, but showed 75? May I ask why? In the case you're showing, I'd be going up in resistance, not down, as 20 mA is really asking a lot of most processors, though I don't know the specifics of your firebeetle.
And yes, check your processor's data sheet carefully for the specification of output current (Ioh) in this case. Also, verify that it isn't better to wire the LED so the output goes low to turn it on(Iol(pronounced "eye-oh-ell"), as some processors don't have symmetrical output currents high and low.
Yes, my point is to always look at the processor specs. It may be that it can do a better job sinking than sourcing, in which case you want to drive the LED with a low output, is all. It's a design detail many miss.
I wanted to use sinking.
Problem is that I have no idea how to make the Library I am using to send IR signals compatible with sinking.
Note this was was also mentioned in Sending and Receiving IR signals - #19 by v205
Thank you very much.
Photos of speakers coming up.
No idea which one to use.
The maximum output of an ESP32 GPIO pin is 12mA. If you want to drive that IR led at maximum power (30mA) then use an NPN transistor (1k base resistor) on the low side and connect the led ( with current limiting resistor (say 150 ohms) to the 5v supply.