DevKit LED and Power

bkgoodman
Posts: 45
Joined: Fri Feb 17, 2017 12:41 pm

DevKit LED and Power

Postby bkgoodman » Tue Nov 24, 2020 10:02 pm

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??

Image

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: DevKit LED and Power

Postby ESP_Sprite » Wed Nov 25, 2020 3:07 am

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.

User avatar
embedic
Posts: 2
Joined: Fri Nov 20, 2020 2:56 am

Re: DevKit LED and Power

Postby embedic » Wed Nov 25, 2020 3:20 am

ESP_Sprite wrote:
Wed Nov 25, 2020 3:07 am
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.
I agree with your opinion.
EmbedIc- Embedded Technology Full-Service Platform

bkgoodman
Posts: 45
Joined: Fri Feb 17, 2017 12:41 pm

Re: DevKit LED and Power

Postby bkgoodman » Wed Nov 25, 2020 4:13 am

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?)

becorey
Posts: 92
Joined: Sat Mar 28, 2020 4:18 pm

Re: DevKit LED and Power

Postby becorey » Wed Nov 25, 2020 8:24 pm

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.

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: DevKit LED and Power

Postby ESP_Sprite » Thu Nov 26, 2020 1:38 am

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: acsoprana and 48 guests