Using the ESP8266 module for the Internet of Things

Hardware can be connected using eight digital and one analog pins, which is decent for most projects. For programming the device using the Arduino-IDE, you should keep the following table in mind. Most of the libraries refer to the ESP8266 GPIO pins, rather to the labels printed on the WeMos board.

PinFunctionESP-8266 Pin
TXTXDTXD
RXRXDRXD
A0Analog input, max 3.3V inputA0
D0IOGPIO16
D1IO, SCLGPIO5
D2IO, SDAGPIO4
D3IO,Pull-upGPIO0
D4IO,pull-up, BUILTIN_LEDGPIO2
D5IO, SCKGPIO14
D6IO, MISOGPIO12
D7IO, MOSIGPIO13
D8IO,pull-down, SSGPIO15
GGoundGND
5V5V
3V33.3V3.3V
RSTResetRST
D1 mini pinout
D1 mini pinout

7
Leave a Reply

3 Comment threads
4 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
  Subscribe  
Notify of

Here is better Fritzing part for WeMos D1 mini: https://github.com/mcauser/Fritzing-Part-WeMos-D1-Mini

Yep Fritzing is a nice software but UI is not so clear… (and also it’s not really stable). However it’s the only one I know that can make breadboard/stripboard schematic… I manage to create some parts following the Sparkfun tutorial : https://learn.sparkfun.com/tutorials/make-your-own-fritzing-parts Using inkscape for svg creation.

Thanks for this post ! I’m looking for a fritzing part for Wemos D1. I guess your schema http://luetzels.raspiblog.com/wordpress/wp-content/uploads/2016/01/WeMos_D1_Relay.png is made with fritzing. Can you indicate me where do you find the WeMos D1 part ? or if you made it, can you share it ? Thanks !