Programming your D1mini ESP8266 in ArduinoIDE:

  • use Arduino IDE 1.6.5
  • check your aditional board URL from file->preferences
    http://arduino.esp8266.com/stable/package_esp8266com_index.json
  • check D1 mini board

board manager

arduino-1.6.5-r5-windows - wemos d1mini board

The actual pins on the board:

WeMos D1 mini

Pin Function ESP-8266 Pin
TX TXD TXD
RX RXD RXD
A0 Analog input, max 3.3V input A0
D0 IO GPIO16
D1 IO, SCL GPIO5
D2 IO, SDA GPIO4
D3 IO,Pull-up GPIO0
D4 IO,pull-up, BUILTIN_LED GPIO2
D5 IO, SCK GPIO14
D6 IO, MISO GPIO12
D7 IO, MOSI GPIO13
D8 IO,pull-down, SS GPIO15
G Ground GND
5V 5V
3V3 3.3V 3.3V
RST Reset RST

Pins definition for Arduino (pins_arduino.h):

SDA = 4;
SCL = 5;
SS = 15;
MOSI = 13;
MISO = 12;
SCK = 14;
LED_BUILTIN = 2;
BUILTIN_LED = 2;
A0 = 17;
D0 = 16;
D1 = 5;
D2 = 4;
D3 = 0;
D4 = 2;
D5 = 14;
D6 = 12;
D7 = 13;
D8 = 15;
RX = 3;
TX = 1;

WeMos D1mini ArduinoIDE
Tagged on:             

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.