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. ›Boards & Microcontrollers
  4. ›ESP32 Guide
Step 1 of 16 in ESP32 and IoTPart of a learning path.
Next

Component guide · Beginner · 5 min read

ESP32 Guide

Pinout, Variants and Which Board to Choose

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerWhat is an ESP32?ESP32 variants compared: classic, S3, C3, C6 and ESP8266Which ESP32 pins are safe to use?Set up the ESP32 in the Arduino IDEPowering an ESP32Using 5 V sensors and modules with an ESP32Try itCommon mistakesFAQsParts and next steps
Short answer

The ESP32 is a low-cost 3.3 V microcontroller from Espressif with built-in Wi-Fi and Bluetooth, used for IoT devices, smart-home controllers and web dashboards. The classic ESP32 has a dual-core 240 MHz processor and 520 KB of RAM. Its pins are not 5 V tolerant, and some GPIOs are reserved, so check the safe-pin list before wiring.

Key specs at a glance

CPU
Dual-core Xtensa LX6, up to 240 MHz (classic ESP32)
RAM
520 KB SRAM
Flash
Typically 4 MB on DevKit boards
Wireless
Wi-Fi 802.11 b/g/n (2.4 GHz) + Bluetooth 4.2 / BLE
Logic level
3.3 V, not 5 V tolerant
ADC
12-bit, 18 channels (ADC1 and ADC2)
Other
2 DAC outputs, 10 touch pins, PWM on most GPIOs
Supply
5 V via USB/VIN, regulated to 3.3 V; peaks above 250 mA during Wi-Fi transmit
01

What is an ESP32?

The ESP32 is a system-on-chip that combines a fast processor with a Wi-Fi and Bluetooth radio. A development board, such as the common 30-pin or 38-pin ESP32 DevKit, adds a USB-to-serial chip, a 3.3 V regulator and pin headers so you can program it from the Arduino IDE, MicroPython or Espressif's own ESP-IDF.

Because the radio is built in, the ESP32 is the default choice when a project needs to send sensor readings to a phone, serve a web page, or talk to Home Assistant over MQTT.

02

ESP32 variants compared: classic, S3, C3, C6 and ESP8266

"ESP32" now names a family. Pick by the features you need:

ChipCPUWirelessChoose it for
ESP32 (classic)2x LX6, 240 MHzWi-Fi 4, BT Classic + BLE 4.2Most tutorials, Bluetooth audio/serial, DAC output
ESP32-S32x LX7, 240 MHzWi-Fi 4, BLE 5Cameras, native USB, AI/voice, more GPIO
ESP32-C31x RISC-V, 160 MHzWi-Fi 4, BLE 5Small, cheap boards such as the C3 SuperMini
ESP32-C61x RISC-V, 160 MHzWi-Fi 6, BLE 5, Zigbee/ThreadMatter and Zigbee smart-home devices
ESP82661x L106, 80/160 MHzWi-Fi 4 onlyLegacy projects; few GPIO, one ADC
ESP32 (classic)
CPU:
2x LX6, 240 MHz
Wireless:
Wi-Fi 4, BT Classic + BLE 4.2
Choose it for:
Most tutorials, Bluetooth audio/serial, DAC output
ESP32-S3
CPU:
2x LX7, 240 MHz
Wireless:
Wi-Fi 4, BLE 5
Choose it for:
Cameras, native USB, AI/voice, more GPIO
ESP32-C3
CPU:
1x RISC-V, 160 MHz
Wireless:
Wi-Fi 4, BLE 5
Choose it for:
Small, cheap boards such as the C3 SuperMini
ESP32-C6
CPU:
1x RISC-V, 160 MHz
Wireless:
Wi-Fi 6, BLE 5, Zigbee/Thread
Choose it for:
Matter and Zigbee smart-home devices
ESP8266
CPU:
1x L106, 80/160 MHz
Wireless:
Wi-Fi 4 only
Choose it for:
Legacy projects; few GPIO, one ADC
03

Which ESP32 pins are safe to use?

This is the question that trips up most first ESP32 projects. On the classic ESP32 DevKit:

Safe for general use

GPIO 4, 13, 16 to 19, 21 to 23, 25 to 27, 32, 33.

Input only, no internal pull-ups

GPIO 34, 35, 36 (VP), 39 (VN). Fine for sensors and buttons with external resistors, never for outputs.

Do not use

GPIO 6 to 11. They connect to the onboard flash chip.

Strapping pins (use with care)

GPIO 0, 2, 5, 12, 15. Their state at power-up selects boot mode. A pull-up or pull-down here can stop the board from booting or uploading.

ADC2 pins (GPIO 0, 2, 4, 12 to 15, 25 to 27)

cannot read analog values while Wi-Fi is on. Use ADC1 (GPIO 32 to 39) for analog sensors in Wi-Fi projects.

Default buses: I2C on GPIO 21 (SDA) and 22 (SCL); VSPI on 23 (MOSI), 19 (MISO), 18 (SCK), 5 (CS). Both can be remapped to almost any pin.

04

Set up the ESP32 in the Arduino IDE

  1. 1
    In File > Preferences, add Espressif's board manager URL (listed in the arduino-esp32 documentation).
  2. 2
    In Boards Manager, install esp32 by Espressif Systems.
  3. 3
    Select your board, for example ESP32 Dev Module, and the COM port. Boards with a CP2102 or CH340 chip may need a USB driver.
  4. 4
    If the upload stalls at "Connecting...", hold the BOOT button until it starts.

This sketch connects to Wi-Fi and prints the board's IP address:

Connect an ESP32 to Wi-Fi · Arduino C++Verify & upload in Electrolark
#include <WiFi.h>

const char* ssid = "YourNetwork";
const char* pass = "YourPassword";

void setup() {
  Serial.begin(115200);
  WiFi.begin(ssid, pass);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.print("\nConnected, IP: ");
  Serial.println(WiFi.localIP());
}

void loop() {}
05

Powering an ESP32

Supply 5 V on the USB port or VIN pin, or a regulated 3.3 V on the 3V3 pin. The radio draws short current spikes above 250 mA, so a weak supply or a thin USB cable causes random resets and "brownout detector was triggered" messages. Use a supply rated for at least 500 mA and a short, good-quality cable.

For battery power, a single Li-ion cell (3.0 to 4.2 V) needs a low-dropout regulator. The AMS1117 found on many boards needs over 4.3 V in to hold 3.3 V, so pair a cell with an LDO such as the ME6211 or HT7333, and use deep sleep to stretch battery life from hours to months.

06

Using 5 V sensors and modules with an ESP32

The ESP32's pins tolerate 3.6 V at most. A 5 V output, such as the echo pin of an HC-SR04, needs a voltage divider or a logic level shifter. Many 5 V input devices, such as relay modules, I2C LCD backpacks and WS2812B strips, may or may not recognise 3.3 V as "high"; the linked guides explain each one.

07

Try it: ADC resolution calculator

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

08

Common mistakes to avoid

  • !Using GPIO 6 to 11, which are wired to the flash chip and crash the board.
  • !Reading analog sensors on ADC2 pins with Wi-Fi turned on; the readings fail.
  • !Feeding 5 V signals straight into a GPIO.
  • !Wiring a pull-up to GPIO 12, which can force the wrong flash voltage and stop booting.
  • !Expecting a perfectly linear ADC; the ESP32's ADC is non-linear near 0 V and 3.3 V, so calibrate or use an external ADC such as the ADS1115 for precise measurements.
09

Frequently asked questions

Is the ESP32 better than an Arduino Uno?

For connected projects, yes: it is faster, has far more memory and includes Wi-Fi and Bluetooth for a similar price. The Uno is simpler for learning and works directly with 5 V modules.

Is ESP32 5 V tolerant?

No. The GPIO pins accept a maximum of 3.6 V. Use a voltage divider or level shifter for 5 V signals. The board itself can be powered from 5 V through USB or VIN.

ESP32 vs ESP8266: which should I choose?

Choose the ESP32 for new projects. It has two cores, Bluetooth, more GPIO and more ADC channels for a small price difference. The ESP8266 suits existing designs and very simple Wi-Fi switches.

Can I program an ESP32 with MicroPython?

Yes. Flash the MicroPython firmware from micropython.org with esptool or Thonny, then write Python scripts directly on the board.

Why does my ESP32 keep resetting?

The most common cause is an underpowered supply or a poor USB cable that cannot handle Wi-Fi current spikes. Other causes are a strapping pin pulled the wrong way at boot, or a watchdog reset from a loop that never yields.

Parts for this guide

  • Arduino Nano ESP32-S3 without Headers ABX00092
    ₹1,869View
  • ESP32-CAM WiFi Bluetooth Module w/ OV3660 2MP Camera
    ₹729View
  • 4-Channel Logic Level Converter (BSS138)
    ₹20View
Shop ESP32 & Wireless BoardsShop Wi-Fi & Bluetooth Modules

Calculators

ADC resolution calculatorPWM duty cycle calculator

Terms in this guide

MicrocontrollerA single chip with a processor, memory and input/output pins that runs one program, such as the ATmega328P or ESP32.GPIOGeneral-purpose input/output: a microcontroller pin that your code can read or drive.ADCAnalog-to-digital converter: turns a voltage into a number. A 10-bit ADC gives 0 to 1023; a 12-bit ADC gives 0 to 4095.Strapping pinA pin whose level at reset selects a boot mode, such as GPIO 0, 2, 12 and 15 on the ESP32.Deep sleepA low-power mode where most of a microcontroller is switched off, cutting current to microamps between tasks.Logic levelThe voltage that represents a digital high: 5 V on classic Arduinos, 3.3 V on ESP32, Pico and Raspberry Pi.I2CInter-Integrated Circuit: a two-wire bus (SDA and SCL) that connects many devices by address.SPISerial Peripheral Interface: a fast bus with clock, data in, data out and a chip-select line per device.

Projects that use it

Put this into practice: 249 step-by-step builds in our project library use parts from this guide.

Beginner · 1–2 hoursWi-Fi weather station dashboardView projectIntermediate · 1–2 hoursWi-Fi plant monitor with pump controlView projectBeginner · 1–2 hoursWi-Fi room occupancy sensorView project
Browse all 249 projects

Keep learning

Component guideBeginnerArduino UnoThe Arduino Uno is a beginner-friendly microcontroller board that reads sensors and controls LEDs, motors and relays using simple C++ programs called sketches.5 min read · Boards & MicrocontrollersComponent guideBeginnerRaspberry Pi Pico GuideThe Raspberry Pi Pico is a low-cost 3.3 V microcontroller board, not a computer: it runs one program and has no operating system.4 min read · Boards & MicrocontrollersHow-toIntermediate3.3 V vs 5 V LogicYou need level shifting when a 5 V device sends signals to a 3.3 V board such as an ESP32 or Raspberry Pi Pico, because 5 V on their pins can damage them.4 min read · Prototyping & WiringConcept explainerIntermediateI2C ExplainedI2C is a two-wire bus that lets one microcontroller talk to many sensors and displays using a data line (SDA) and a clock line (SCL).4 min read · Electronics FundamentalsComponent guideBeginnerLi-ion, 18650 and LiPo BatteriesLithium-ion cells, including 18650s and flat LiPo packs, store about 3.6 to 3.7 V nominal, charge to exactly 4.2 V and should not be discharged below about 3.0 V.4 min read · Power & Batteries

Sources

  • ESP32 Series Datasheet (Espressif Systems)
  • ESP32 Technical Reference Manual (Espressif Systems)
  • arduino-esp32 documentation (Espressif Systems)

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 is an ESP32?ESP32 variants compared: classic, S3, C3, C6 and ESP8266Which ESP32 pins are safe to use?Set up the ESP32 in the Arduino IDEPowering an ESP32Using 5 V sensors and modules with an ESP32Try 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 guide1 item · ₹389

ESP32-WROOM-32 38-Pin Development Board

Run itChange the inputs and watch the output
Serial monitor115200 baud
.

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