ESP32 driving an IR LED confusion
Posted: Fri Jan 10, 2025 7:18 pm
I have an ESP32-C6 interfaced to a simple IR LED module below.
I simply just connect an ESP32-C6 GPIO output to the DAT input and it drives both the normal LED and IR LED well.
I'm just not sure how this is possible, mainly in the case for driving the IR LED? How there is enough current.
The ESP32-C6 GPIO output voltage is 3.3V. If i'm not mistaken, there would be a voltage drop of at least 1V across the IR LED, and therefore across the 220 resistor 2.3V, and so maximum current would be around 2.3V/ 220 = 10 mA.
It states that the IR LED needs 100 mA. Confused:)
I simply just connect an ESP32-C6 GPIO output to the DAT input and it drives both the normal LED and IR LED well.
I'm just not sure how this is possible, mainly in the case for driving the IR LED? How there is enough current.
The ESP32-C6 GPIO output voltage is 3.3V. If i'm not mistaken, there would be a voltage drop of at least 1V across the IR LED, and therefore across the 220 resistor 2.3V, and so maximum current would be around 2.3V/ 220 = 10 mA.
It states that the IR LED needs 100 mA. Confused:)