-->
Page 1 of 2

Nodemcu arduino pins

PostPosted: Sun Nov 15, 2015 1:19 pm
by jifopy
Hey guys, I recently finished an arduino nodemcu project but while building it I couldn't find a definitive list of all the pins, what they do and how to call them from arduino.

I basically used D1-D9 and that was all but for the next project I have in mind I need more ports.

I expect I will need to expand using i2c port expanded and i'm using i2c on D2+D3 for the lcd but only by luck rather than judgement so it would be great to actually know what I'm doing next time round.

Re: Nodemcu arduino pins

PostPosted: Sun Nov 15, 2015 1:27 pm
by Mmiscool
The pins highlighted in orange are the aduino equivalent pins.

Re: Nodemcu arduino pins

PostPosted: Sun Nov 15, 2015 1:38 pm
by jifopy
That's brilliant thanks!

I'll definitely need some I/O expansion for the next one!

Re: Nodemcu arduino pins

PostPosted: Sun Nov 15, 2015 3:26 pm
by sej7278
so what do gpio 16,9,10 map to?

i get that the nodemcu is heavily biased towards lua instead of arduino, but surely the mapping is documented somewhere?

all i can find are these references and they're outdated and not very helpful for arduino anyway:

https://github.com/esp8266/Arduino/blob ... odemcu-09-

https://github.com/esp8266/Arduino/blob ... digital-io

https://github.com/nodemcu/nodemcu-devkit-v1.0#pin-map