ESP32 Dev Board LED Connection?

Xylopyrographer
Posts: 15
Joined: Sat Mar 06, 2021 12:39 am

ESP32 Dev Board LED Connection?

Postby Xylopyrographer » Fri Dec 17, 2021 12:45 am

I've picked up a number of 38 pin ESP32 dev boards from AliExpress & Amazon. The physical layout of the boards are identical. Near the header pin marked G2, there is a single red LED. Does anyone know, is this LED connected to a GPIO pin and if so, which one? The LED flickers initially during power-up but then goes out, inferring it's under GPIO control. The canonical ESP 32 Espressif reference design for DevKit C v4 shows a single LED connected to +5V Vdd. So if these were the same, it would be on all the time when powered by the USB port, which it is not.

Attempts to gain this information from the online stores has been fruitless.

Of course the complete schematic for these would be a bonus!

Reference links:
Amazon: https://www.amazon.ca/gp/product/B086ZM ... UTF8&psc=1
AliExpress: https://www.aliexpress.com/item/1005001 ... 4c4davQglx
ESP32DevBrdLED.jpg
ESP32DevBrdLED.jpg (118.28 KiB) Viewed 6799 times

felmue
Posts: 69
Joined: Mon Nov 16, 2020 2:55 pm

Re: ESP32 Dev Board LED Connection?

Postby felmue » Fri Dec 17, 2021 1:38 am

Hello @Xylopyrographer

just guessing here, maybe it's connected to GPIO1/U0TXD? That would at least explain the flickering during power up. You could try to run a sketch with `Serial.println()` debug statements and if the LED flickers then too, that would confirm it.

Thanks
Felix

Xylopyrographer
Posts: 15
Joined: Sat Mar 06, 2021 12:39 am

Re: ESP32 Dev Board LED Connection?

Postby Xylopyrographer » Fri Dec 17, 2021 1:58 am

Ah. There you go. Running the basic Blink program driving IO1 does indeed control the LED.

Of course that makes the serial monitor port kinda useless... Unless I flash the LED at 115200 baud 😄!

Thanks Felix.

shenanigami
Posts: 6
Joined: Sat Dec 16, 2023 10:52 am

Re: ESP32 Dev Board LED Connection?

Postby shenanigami » Tue Dec 26, 2023 2:40 pm

Hey @felmue

can you explain what is the connection between GPIO1/U0TXD and powerup? I want to understand how you've made your guess.

Xylopyrographer
Posts: 15
Joined: Sat Mar 06, 2021 12:39 am

Re: ESP32 Dev Board LED Connection?

Postby Xylopyrographer » Tue Jan 23, 2024 6:12 pm

When powered up, the ESP sends a bunch of information out to the USB port via UART0, which is connected to the Serial/USB bridge chip.

On this particular board, the designers chose to put an LED on the TXD line of UART0, I suppose to let the user know when the ESP32 is sending data.

This was confirmed by loading the standard Blink sketch to the device, driving GPIO pin 1 (which is the default TXD pin for UART0).

Hope that clears it up.

shenanigami
Posts: 6
Joined: Sat Dec 16, 2023 10:52 am

Re: ESP32 Dev Board LED Connection?

Postby shenanigami » Sun Feb 25, 2024 6:54 pm

Thanks, @ Xylopyrographer! Your response helped :)

Who is online

Users browsing this forum: No registered users and 132 guests