I have an ESP32 DEVKITV1 board I wanted to experiment with some low power/battery powered stuff.
I took 2 AA batteries and ran them between GND and 3V3. The board worked fine - but the red LED came on, and I did not expect it to.
According to all the schematics I could find - the red LED is tied right to 5v EXT power (USB power) and is on the other side of the LDO than the 3V3 rail - i.e. there is no way this LED should see power or come on.
I am assuming something is different here than I am expecting - i.e. wrong schematic or something?? Any ideas??
DevKit LED and Power
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: DevKit LED and Power
From the AMS1117 datasheet:
"Diodes between the input and output are not usually needed. Microsecond surge currents of 50A to 100A can be handled by the internal diode between the input and output pins of the device."
In other words, the AMS1117 has an internal diode allowing current to flow back from the output to the input.
"Diodes between the input and output are not usually needed. Microsecond surge currents of 50A to 100A can be handled by the internal diode between the input and output pins of the device."
In other words, the AMS1117 has an internal diode allowing current to flow back from the output to the input.
Re: DevKit LED and Power
I agree with your opinion.ESP_Sprite wrote: ↑Wed Nov 25, 2020 3:07 amFrom the AMS1117 datasheet:
"Diodes between the input and output are not usually needed. Microsecond surge currents of 50A to 100A can be handled by the internal diode between the input and output pins of the device."
In other words, the AMS1117 has an internal diode allowing current to flow back from the output to the input.
EmbedIc- Embedded Technology Full-Service Platform
Re: DevKit LED and Power
So.....that's all the more reason why this should NOT happen. But when I put 2 AA batteries to 3.3V rail - the red LED lights up! This shouldn't happen. Any reason why it does?? (A diode in which direction?)
Re: DevKit LED and Power
Put a multimeter on the 5V pin. See if you measure about 3.3-0.7V, that would tell you there's probably a diode drop going from the LDO output to input.
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: DevKit LED and Power
There is an internal diode going from the output to the input (so opposite to the normal current flow in a LDO) - presumably to make sure the input of the LDO always has power if there is a voltage on the input; I seem to remember LDOs can self-destruct if that's not the case. See figure 1 in the datasheet I mentioned but imagine that diode is within the AMS1117 package.
Who is online
Users browsing this forum: No registered users and 91 guests