

The ESP series, developed by Espressif Systems, is a family of low-cost, low-power system-on-chip (SoC) microcontrollers. These devices are equipped with integrated Wi-Fi and Bluetooth capabilities, making them ideal for Internet of Things (IoT) applications. The ESP series is widely used for smart home devices, wearable electronics, industrial automation, and other wireless communication projects. Popular models include the ESP8266 and ESP32, which offer varying levels of performance and features to suit different use cases.
Common applications of ESP microcontrollers include:








Below are the general technical specifications for the ESP series. Note that specific models (e.g., ESP8266, ESP32) may have slight variations.
| Pin Name | Function | Description |
|---|---|---|
| VCC | Power Supply | Connect to 3.3V |
| GND | Ground | Connect to ground |
| GPIO0 | General Purpose I/O | Used for boot mode selection or I/O |
| GPIO2 | General Purpose I/O | Default high during boot |
| GPIO15 | General Purpose I/O | Default low during boot |
| RX | UART Receive | Serial data input |
| TX | UART Transmit | Serial data output |
| CH_PD | Chip Enable | Must be pulled high to enable the chip |
| RST | Reset | Active low reset pin |
| Pin Name | Function | Description |
|---|---|---|
| VIN | Power Supply | Connect to 5V (regulated to 3.3V internally) |
| GND | Ground | Connect to ground |
| GPIO0 | General Purpose I/O | Used for boot mode selection or I/O |
| GPIO2 | General Purpose I/O | Default high during boot |
| GPIO36 | ADC Input | Analog input pin |
| GPIO39 | ADC Input | Analog input pin |
| EN | Enable | Must be pulled high to enable the chip |
| TX0 | UART Transmit | Serial data output |
| RX0 | UART Receive | Serial data input |
Below is an example of using an ESP8266 to connect to a Wi-Fi network and send data to a server.
#include <ESP8266WiFi.h> // Include the ESP8266 Wi-Fi library
const char* ssid = "Your_SSID"; // Replace with your Wi-Fi network name
const char* password = "Your_Password"; // Replace with your Wi-Fi password
void setup() {
Serial.begin(115200); // Initialize serial communication at 115200 baud
WiFi.begin(ssid, password); // Connect to Wi-Fi network
Serial.print("Connecting to Wi-Fi");
while (WiFi.status() != WL_CONNECTED) {
delay(500); // Wait for connection
Serial.print(".");
}
Serial.println("\nConnected to Wi-Fi!");
Serial.print("IP Address: ");
Serial.println(WiFi.localIP()); // Print the device's IP address
}
void loop() {
// Add your main code here
}
Can I use the ESP with a 5V microcontroller? Yes, but you must use level shifters to convert 5V signals to 3.3V for the ESP's GPIO pins.
What is the maximum range of the ESP's Wi-Fi? The range depends on the environment but is typically around 30-50 meters indoors and up to 100 meters outdoors.
Can the ESP run on batteries? Yes, the ESP can run on batteries, but you should use deep sleep modes to conserve power.
By following this documentation, you can effectively integrate ESP microcontrollers into your projects and troubleshoot common issues.