LED pin on

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
yefj
Posts: 6
Joined: Thu Dec 17, 2020 9:20 pm

LED pin on

Post by yefj » Thu Jan 07, 2021 9:24 pm

Hello , i have bought ESP32-DevKitC-32U from the link shown bellow ,in Thonny I entered the standart code of testing inner LED
shown bellow , and nothing happened.
I cant find the pinout schmatics of this device.
Why pin 2 is not built in LED?
Thanks

Code: Select all

from machine import Pin
led=Pin(2,Pin.OUT)
led.value(1)

https://www.mouser.co.il/ProductDetail/ ... cycode=USD

davef
Posts: 134
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: LED pin on

Post by davef » Thu Jan 07, 2021 9:45 pm

A link https://docs.espressif.com/projects/esp ... vkitc.html is on the page that you linked to. Then down that page there is a link to the schematics.

No LED shown on pin2. Also be careful some GPIO can not be used, see "strapping pins".

My ESP-01S do have a blue LED on pin2.

yefj
Posts: 6
Joined: Thu Dec 17, 2020 9:20 pm

Re: LED pin on

Post by yefj » Fri Jan 08, 2021 8:57 am

Hello,i have opened the schemtics file and i cant see which peripherty on what pin ESP32-DevKitC-32U
Where there are writings on the CHip D0 D1 etc.. what pin are they in ESP32-DevKitC-32U,What peripery they can be used for.
Below i have found a pinout from the link shown bellow but the names on the pins are totaly different.
Could you please help me with understanding ON my device what is the GPIO number of each pin and what peryphery its used for?
Thanks.
https://components101.com/microcontroll ... 32-devkitc

my device:
https://ibb.co/GQk79Kn
Pinout found:
https://ibb.co/mS8GrJm

User avatar
pythoncoder
Posts: 4792
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: LED pin on

Post by pythoncoder » Fri Jan 08, 2021 9:11 am

Peter Hinch

davef
Posts: 134
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: LED pin on

Post by davef » Fri Jan 08, 2021 9:26 am

At the link I posted and near the bottom of that page download
esp32-wroom-32_datasheet_en.pdf
that might answer a few of your questions.

Post Reply