3.3V or 5V
3.3V or 5V
-40C to 85C
54 mm x 27 mm x 15 mm (2.13 in x 1.06 in x 0.59 in)
Approximately 20 grams
Getting Started
To get started with the ESP32 Node MCU Development Board, you'll need |
With its powerful ESP32 SoC, wireless connectivity features, and extensive GPIO pins, the ESP32 Node MCU Development Board is an ideal choice for IoT and robotics projects.
ESP32 Node MCU Development Board with Wifi and Bluetooth (CP2102 Driver, 30 PIN)
Overview
The ESP32 Node MCU Development Board is a microcontroller-based development board that integrates Wi-Fi and Bluetooth capabilities, making it an ideal choice for Internet of Things (IoT) projects. This board is powered by the ESP32 system-on-chip (SoC), which features a dual-core 32-bit LX6 microprocessor, 520 KB of SRAM, and 4 MB of flash memory. The CP2102 driver enables serial communication over USB, and the 30-pin layout provides flexibility for connecting various peripherals and sensors.
Features
Dual-core 32-bit LX6 microprocessor
520 KB of SRAM and 4 MB of flash memory
Wi-Fi 802.11 b/g/n and Bluetooth 4.2 capabilities
CP2102 driver for serial communication over USB
30-pin layout for connecting peripherals and sensors
Operating voltage: 3.3 V
Input voltage: 5 V
Pinout
The ESP32 Node MCU Development Board has a 30-pin layout, with the following pins:
15 digital input/output pins
2 analog input pins
2 I2C pins
2 I2S pins
3 SPI pins
1 UART pin
1 USB pin
1 3.3 V power pin
1 GND pin
1 RESET pin
Code Examples
### Example 1: Wi-Fi Connection and HTTP Request
This example demonstrates how to connect to a Wi-Fi network and send an HTTP request using the ESP32 Node MCU Development Board.
Code
```c
#include <WiFi.h>
#include <HTTPClient.h>
const char ssid = "your_wifi_ssid";
const char password = "your_wifi_password";
const char url = "http://example.com";
WiFiClient client;
void setup() {
Serial.begin(115200);
// Connect to Wi-Fi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to Wi-Fi...");
}
Serial.println("Connected to Wi-Fi");
Serial.println("Initializing HTTP client...");
// Initialize HTTP client
HTTPClient http;
http.begin(client, url);
int httpCode = http.GET();
if (httpCode > 0) {
Serial.println("HTTP request sent successfully");
Serial.println("Response code: " + String(httpCode));
String response = http.getString();
Serial.println("Response: " + response);
} else {
Serial.println("Error sending HTTP request");
}
http.end();
}
void loop() {
delay(1000);
}
```
### Example 2: Bluetooth Serial Communication
This example demonstrates how to establish a Bluetooth serial connection between the ESP32 Node MCU Development Board and a Bluetooth device.
Code
```c
#include <BluetoothSerial.h>
BluetoothSerial SerialBT;
void setup() {
Serial.begin(115200);
// Initialize Bluetooth serial communication
SerialBT.begin("ESP32_BT"); // Set Bluetooth device name
Serial.println("Waiting for Bluetooth connection...");
}
void loop() {
if (SerialBT.available()) {
String data = SerialBT.readStringUntil('
');
Serial.println("Received data: " + data);
}
if (Serial.available()) {
String data = Serial.readStringUntil('
');
SerialBT.println(data);
}
}
```
Note: In this example, replace `"ESP32_BT"` with the desired Bluetooth device name.
These code examples provide a starting point for using the ESP32 Node MCU Development Board in various IoT applications, including Wi-Fi-based projects and Bluetooth serial communication. With its versatile capabilities and affordable price, this board is an excellent choice for prototyping and deploying IoT solutions.