Pin map on NodeMCU ESP32 module

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
swanduron
Posts: 10
Joined: Mon Mar 13, 2017 9:03 am

Pin map on NodeMCU ESP32 module

Post by swanduron » Sun Feb 25, 2018 3:38 am

Hi experts,

Its any pin-map available in nodeMCU ESP32 module on micropython?

Regards

cefn
Posts: 230
Joined: Tue Aug 09, 2016 10:58 am

Re: Pin map on NodeMCU ESP32 module

Post by cefn » Sun Feb 25, 2018 9:07 am

Do you mean like http://circuitpython.readthedocs.io/en/ ... nit__.html

Do you want to know what values a machine.Pin constructor will take, or what named functions the pins have? Something else? What does pin map mean to you?

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Pin map on NodeMCU ESP32 module

Post by Roberthh » Sun Feb 25, 2018 9:35 am

Typically the boards have numbers printed on the connections like Gxx. You can assume that xx is the Pin number used in the machin.Pin() constructor.

swanduron
Posts: 10
Joined: Mon Mar 13, 2017 9:03 am

Re: Pin map on NodeMCU ESP32 module

Post by swanduron » Sun Feb 25, 2018 2:45 pm

For example, in ESP8266 board, if I use nodeMCU module, below map list can help me to locale relationship between micropython and nodeMCU:

A0---------------ACD0
D1---------------GPIO5
D2---------------GPIO4
D3---------------GPIO0-------FLASH
D4---------------GPIO2-------TX0D1
D5---------------GPIO14------HSPICLK
D6---------------GPIO12------HSPIO
D7---------------GPIO13------RXD2----HSPID
D8----------------GPIO15-----TXD2----HSPICS
D9---------------GPIO3--------RXD0
D10--------------GPIO1--------TXD0

I drive 595 chip chains via SPI and they were connected on GPIO14, 12 and 13.

but in ESP32, i can't find the mapping information likes that. I mean, is ESP32 has map list likes ESP8266?

cefn
Posts: 230
Joined: Tue Aug 09, 2016 10:58 am

Re: Pin map on NodeMCU ESP32 module

Post by cefn » Sun Feb 25, 2018 3:17 pm

I googled ESP32 pinout and found this...

Image

I tend to use graphical pinouts like this, looking for the GPIOxx identifier where xx is the number you would use in the machine.Pin() constructor. Any good?

swanduron
Posts: 10
Joined: Mon Mar 13, 2017 9:03 am

Re: Pin map on NodeMCU ESP32 module

Post by swanduron » Mon Feb 26, 2018 2:28 am

GREATTTTTTTTTTT!!! Thanks a lot!!!!!!! :lol:

Post Reply