Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›IoT & Wireless
  4. ›ESP-01 / ESP-01S ESP8266 Module

Component guide · Intermediate · 3 min read

ESP-01 / ESP-01S ESP8266 Module

Pinout, Wiring and Programming

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the ESP-01 (ESP8266) isESP-01 (ESP8266) pinoutWiring the ESP-01 (ESP8266)Example codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Short answer

The ESP-01 is a tiny ESP8266 Wi-Fi module with 8 pins: power, serial, reset, chip enable and two GPIOs. You can control it with AT commands from an Arduino, or flash your own sketch so it runs on its own. It needs a solid 3.3 V supply of at least 300 mA, and GPIO0 must be LOW at boot to enter flashing mode.

Key specs at a glance

Chip
ESP8266 (80/160 MHz, 2.4 GHz Wi-Fi b/g/n)
Flash
1 MB on ESP-01S (512 KB on early ESP-01)
Supply
3.3 V only, peaks about 300 to 400 mA
GPIO
GPIO0, GPIO2, plus TX/RX (GPIO1, GPIO3)
ESP-01S changes
CH_PD and RST pulled up on board, blue LED on GPIO2
Default firmware
AT command firmware at 115200 baud

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1AI-Thinker ESP-01S ESP8266 WiFi Module₹185
  • Option 2ESP-01 ESP8266 Serial Wi-Fi Transceiver Module₹131
01

What the ESP-01 (ESP8266) is

The ESP-01 was the first cheap way to add Wi-Fi to an Arduino. Out of the box it runs AT firmware, so a host board sends text AT commands to join a network and open connections.

Today it is more common to program the ESP8266 directly and use it as a small Wi-Fi sensor or relay node. For learning, a NodeMCU or D1 Mini is easier because it has USB and more pins.

02

ESP-01 (ESP8266) pinout

The pins on the ESP-01 (ESP8266) and what each one does.

PinFunction
VCC3.3 V
GNDGround
TX (GPIO1)Serial transmit
RX (GPIO3)Serial receive (3.3 V)
CH_PD / ENChip enable, must be HIGH
RSTReset, LOW = reset
GPIO0LOW at boot = flash mode, HIGH = run
GPIO2General I/O, must be HIGH at boot
PinFunction
VCC
3.3 V
GND
Ground
TX (GPIO1)
Serial transmit
RX (GPIO3)
Serial receive (3.3 V)
CH_PD / EN
Chip enable, must be HIGH
RST
Reset, LOW = reset
GPIO0
LOW at boot = flash mode, HIGH = run
GPIO2
General I/O, must be HIGH at boot
03

Wiring the ESP-01 (ESP8266)

The Uno's 3.3 V pin cannot supply the current peaks. Use an AMS1117 module with a 100 µF capacitor. The ESP-01 RX pin is not 5 V tolerant, so divide the Uno's TX signal.

ESP-01 (ESP8266) pinArduino UnoESP32
VCC3.3 V regulator (not the Uno 3.3V pin)3V3 regulator
GNDGNDGND
TXD2 (SoftwareSerial RX)GPIO 16 (RX2)
RXD3 via divider (5 V to 3.3 V)GPIO 17 (TX2)
CH_PD3.3 V3.3 V
GPIO03.3 V (run) / GND (flash)3.3 V (run) / GND (flash)
VCC
Arduino Uno:
3.3 V regulator (not the Uno 3.3V pin)
ESP32:
3V3 regulator
GND
Arduino Uno:
GND
ESP32:
GND
TX
Arduino Uno:
D2 (SoftwareSerial RX)
ESP32:
GPIO 16 (RX2)
RX
Arduino Uno:
D3 via divider (5 V to 3.3 V)
ESP32:
GPIO 17 (TX2)
CH_PD
Arduino Uno:
3.3 V
ESP32:
3.3 V
GPIO0
Arduino Uno:
3.3 V (run) / GND (flash)
ESP32:
3.3 V (run) / GND (flash)
04

Example code

Set the Serial Monitor to 'Both NL & CR'. To run your own sketch instead, flash the module with a USB adapter and choose 'Generic ESP8266 Module' in the ESP8266 Arduino core.

Talk to the ESP-01 AT firmware from an Uno · Arduino C++Verify & upload in Electrolark
#include <SoftwareSerial.h>
SoftwareSerial esp(2, 3);          // RX, TX

void setup() {
  Serial.begin(9600);
  esp.begin(115200);
  esp.println("AT+UART_DEF=9600,8,1,0,0");   // SoftwareSerial is unreliable at 115200
  delay(500);
  esp.begin(9600);
  Serial.println("Type AT commands, e.g. AT, AT+CWMODE=1, AT+CWJAP=\"ssid\",\"pass\"");
}

void loop() {
  if (esp.available()) Serial.write(esp.read());
  if (Serial.available()) esp.write(Serial.read());
}
05

Setup and tuning

Flashing

use a USB to ESP-01 adapter with a programming switch, or a USB-TTL adapter with GPIO0 tied to GND during reset.

Boot pins

GPIO0 and GPIO2 must be HIGH for a normal boot, so do not pull them LOW with relays or LEDs at power-on.

Power

brownouts during Wi-Fi transmit cause random resets; a capacitor near the module helps.

Deep sleep

connect GPIO16 to RST for timed wake-up; on the ESP-01 GPIO16 is not broken out, so this needs fine soldering.

06

What you need

Shop this list4 of 5 found in our store · ₹407

  • AI-Thinker ESP-01S ESP8266 Wi-Fi module: the newer ESP-01SAI-Thinker ESP-01S ESP8266 WiFi Module₹185
  • ESP-01 ESP8266 serial Wi-Fi module: the original ESP-01ESP-01 ESP8266 Serial Wi-Fi Transceiver Module₹131
  • USB to ESP-01 programmer adapter (CH340): to flash the module from a PCUSB to ESP-01 Programmer Adapter (CH340)₹72
  • AMS1117 fixed regulator module: a proper 3.3 V supplyAMS1117 Fixed Regulator Module₹19
  • Uno R3 development board: the controller used in the wiring tableFind this part
07

Alternatives and when to choose them

  • ✓ESP8266 NodeMCU: USB, regulator and more GPIOs on one board.
  • ✓D1 Mini: small ESP8266 board that is easier to program.
  • ✓ESP32: more GPIOs, Bluetooth and faster CPU.
08

Try it: Uart baud rate error calculator

Change the values and the diagram and results update as you type.

09

Common mistakes to avoid

  • !Powering it from the Uno's 3.3V pin.
  • !Sending 5 V into the RX pin.
  • !Leaving CH_PD unconnected on the old ESP-01.
  • !Pulling GPIO0 or GPIO2 LOW at boot with a connected load.
10

Frequently asked questions

What is the difference between ESP-01 and ESP-01S?

The ESP-01S has 1 MB flash, on-board pull-ups for CH_PD and RST, and its LED on GPIO2. Pinout is the same.

How do I put it in flash mode?

Hold GPIO0 LOW while resetting or powering up, then upload.

Can it run without an Arduino?

Yes. Flash your own sketch and it works on its own with two GPIOs.

Why does it keep resetting?

Usually a weak 3.3 V supply. Use a regulator rated 500 mA or more and add a capacitor.

Is it 5 V tolerant?

No. Use 3.3 V power and logic.

What baud rate is the AT firmware?

Usually 115200; some older units use 9600 or 57600.

Parts for this guide

  • AI-Thinker ESP-01S ESP8266 WiFi Module
    ₹185View
  • ESP-01 ESP8266 Serial Wi-Fi Transceiver Module
    ₹131View
  • USB to ESP-01 Programmer Adapter (CH340)
    ₹72View
  • AMS1117 Fixed Regulator Module
    ₹19View
  • Uno R3 Development Board (No Cable)
    ₹359View
Shop Wi-Fi Modules & Development Boards

Calculators

Uart baud rate error calculator

Terms in this guide

AT commandsText commands that start with AT, sent over a serial port to configure modules such as Bluetooth, Wi-Fi and GSM radios.UARTUniversal asynchronous receiver-transmitter: two-wire serial (TX and RX) used by GPS, Bluetooth modules and debug output.

Keep learning

Component guideBeginnerESP8266 NodeMCUThe ESP8266 is a 3.3 V Wi-Fi microcontroller, and NodeMCU is the most common board built around it.3 min read · Boards & MicrocontrollersComparisonBeginnerESP32 vs ESP8266ESP32 vs ESP8266 compared: cores, RAM, GPIO, ADC, Bluetooth, power and price, plus ESP32-C3, S3 and C6 variants, and which board to pick for your project.4 min read · Boards & MicrocontrollersConcept explainerBeginnerUART and Serial CommunicationA UART sends data one bit at a time over one wire with no shared clock, so both ends must agree on the speed, called the baud rate (9600 and 115200 are common).4 min read · Electronics FundamentalsComponent guideIntermediateUSB to TTL Serial AdaptersA USB to TTL adapter turns a computer USB port into a 3.3 V or 5 V serial port, so you can program boards without USB (Pro Mini, ESP-01, ESP32-CAM) or read a debug console.4 min read · Boards & Microcontrollers

Sources

  • ESP8266EX datasheet (Espressif)
  • ESP8266 AT instruction set (Espressif)
  • ESP8266 Arduino core documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the ESP-01 (ESP8266) isESP-01 (ESP8266) pinoutWiring the ESP-01 (ESP8266)Example codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide2 items · ₹204

AI-Thinker ESP-01S ESP8266 WiFi Module · AMS1117 Fixed Regulator Module

Run itChange the inputs and watch the output
Serial monitor9600 baud
Type AT commands, e.g. AT, AT+CWMODE=1, AT+CWJAP="ssid","pass"

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question