Codey OnlineSupported Arduino & ESP32 boards › ESP8266 D1 Mini V2
ESP8266 D1 Mini V2
ESP8266 Family

ESP8266 D1 Mini V2

The ESP8266 D1 Mini V2 is a small WiFi-capable development board based on the ESP8266 for IoT projects. It provides common interfaces including UART (TX/RX), I2C (SDA/SCL), and SPI (SCK/MISO/MOSI/SS), plus an analog input (A0) and digital GPIO pins. Typical use is powering the board from 3.3V (with GND connected) and programming it from an Arduino-like environment.

Compile target (FQBN): esp8266:esp8266:d1_mini_clone Pinout: 16

Pinout — ESP8266 D1 Mini V2

Pin Signal Description
RST reset Active-low reset input for the ESP8266; pull low to restart the module.
A0 analog Analog ADC input; reads 0-3.3V on the D1 mini board.
D0 digital ESP8266 GPIO16 digital I/O; commonly used for deep-sleep wake to RST.
D5 SCK ESP8266 GPIO14 digital I/O; hardware SPI clock SCLK.
D6 MISO ESP8266 GPIO12 digital I/O; hardware SPI MISO data input.
D7 MOSI ESP8266 GPIO13 digital I/O; hardware SPI MOSI data output.
D8 SS ESP8266 GPIO15 digital I/O; SPI chip-select, boot strap must be low at reset.
3V3 power Regulated 3.3V supply rail for the ESP8266 and low-power external circuits.
TX TX UART0 transmit from ESP8266; also used for programming and serial debug.
RX RX UART0 receive to ESP8266; use 3.3V logic for programming and serial input.
D1 SCL ESP8266 GPIO5 digital I/O; commonly used as I2C SCL clock.
D2 SDA ESP8266 GPIO4 digital I/O; commonly used as I2C SDA data.
D3 digital ESP8266 GPIO0 digital I/O; boot strap pin, low at reset enters flashing mode.
D4 digital ESP8266 GPIO2 digital I/O; connected to onboard LED on many D1 mini boards.
G ground Ground reference for power and all 3.3V logic signals.
5V power-high 5V input rail from USB or external supply feeding the onboard 3.3V regulator.

Build your Arduino or ESP32 project with AI

Describe what you want to build. Codey Online writes the code, draws the wiring diagram, compiles it and flashes your board straight from the browser.

Start for free