ESP8285 32-bit LX6 microprocessor
ESP8285 32-bit LX6 microprocessor
1MB
2.4GHz
802.11 b/g/n
Up to 20Mbps
UART
Up to 115200bps
3.3V
150mA (active), 10mA (standby)
14.3mm x 16.3mm
-40C to 125C
Conclusion
The Ai Thinker ESP-01F ESP8285 Serial WiFi Module is a powerful and versatile WiFi module that provides a compact and cost-effective solution for adding WiFi connectivity to devices. Its small form factor, low power consumption, and easy-to-use serial interface make it an ideal choice for a wide range of IoT applications.
Ai Thinker ESP-01F ESP8285 Serial WiFi Module DocumentationOverviewThe Ai Thinker ESP-01F ESP8285 Serial WiFi Module is a compact, low-cost WiFi module based on the ESP8285 microcontroller. It provides a reliable and convenient way to add WiFi connectivity to IoT projects. This module is widely used in various applications, including smart home devices, wearable electronics, and robot control systems.PinoutThe ESP-01F module has a total of 8 pins, with the following pinout:| Pin | Function |
| --- | --- |
| 1 | VCC (3.3V) |
| 2 | GND |
| 3 | RX (Serial Input) |
| 4 | TX (Serial Output) |
| 5 | EN (Enable) |
| 6 | IO0 (GPIO0) |
| 7 | IO2 (GPIO2) |
| 8 | RST (Reset) |Communication ProtocolThe ESP-01F module communicates using a serial protocol, with a default baud rate of 115200bps. It supports both Serial WiFi (AT commands) and SPI protocols.Code Examples### Example 1: Connecting to WiFi using AT CommandsThis example demonstrates how to connect to a WiFi network using AT commands.Code:
```c
#include <SoftwareSerial.h>#define ESP_RX 3 // RX pin of ESP-01F module
#define ESP_TX 4 // TX pin of ESP-01F moduleSoftwareSerial espSerial(ESP_RX, ESP_TX);void setup() {
Serial.begin(115200);
espSerial.begin(115200);// Reset the ESP-01F module
espSerial.println("AT+RST");
delay(1000);// Set WiFi mode to station mode
espSerial.println("AT+CWMODE=1");
delay(1000);// Connect to WiFi network
espSerial.print("AT+CWJAP=""your_wifi_ssid"