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:)
ESP32 driving an IR LED confusion
-
- Posts: 1954
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP32 driving an IR LED confusion
An LED doesn't need a minimum current; it will happily emit photons while any electrons are flowing. In fact, the number of photons emitted, i.e. the brightness of the LED, is proportional to the current only.
If an LED is spec'd at "100mA", that's either its maximum permissible current, or its "nominal" current at which it delivers the specified brightness. Less current is always ok, just with less light output.
If an LED is spec'd at "100mA", that's either its maximum permissible current, or its "nominal" current at which it delivers the specified brightness. Less current is always ok, just with less light output.
Who is online
Users browsing this forum: No registered users and 37 guests