Stufin
Home Quick Cart Profile

ESP32 Node MCU Development Board with Wifi and Bluetooth (CP2102 Driver, 30 PIN)

Buy Now

Operating Voltage

3.3V or 5V

Operating Temperature

-40C to 85C

Dimensions

54 mm x 27 mm x 15 mm (2.13 in x 1.06 in x 0.59 in)

Weight

Approximately 20 grams

Getting Started

  • USB Cable: Connect the board to a computer using a USB cable for programming and debugging.
  • Power Source: Provide an external power source, such as a battery or wall adapter, to power the board.
  • Software: Install the necessary development tools, such as the Arduino IDE or ESP-IDF, to start developing your projects.
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.

Pin Configuration

  • ESP32 Node MCU Development Board with Wifi and Bluetooth (CP2102 Driver, 30 PIN)
  • Overview
  • The ESP32 Node MCU Development Board is a microcontroller board based on the ESP32 system on a chip (SoC). It features 30 GPIO pins, Wi-Fi, and Bluetooth capabilities, making it an ideal choice for IoT projects. The board is powered by a CP2102 driver for easy programming and communication.
  • Pinout Diagram
  • Here is the pinout diagram for the ESP32 Node MCU Development Board:
  • GPIO Pins
  • The ESP32 Node MCU Development Board has 30 GPIO pins, which can be used for various purposes such as digital input/output, analog input, I2C, SPI, UART, etc.
  • Pin Description
  • Here is a detailed description of each pin on the board:
  • Digital Pins
  • 1. GPIO0: Digital input/output pin. Can be used as a wakeup pin from deep sleep mode.
  • 2. GPIO1: Digital input/output pin. Typically used as a serial communication pin (TX).
  • 3. GPIO2: Digital input/output pin. Typically used as a serial communication pin (RX).
  • 4. GPIO3: Digital input/output pin.
  • 5. GPIO4: Digital input/output pin.
  • 6. GPIO5: Digital input/output pin.
  • 7. GPIO12: Digital input/output pin. Can be used as an interrupt pin.
  • 8. GPIO13: Digital input/output pin.
  • 9. GPIO14: Digital input/output pin.
  • 10. GPIO15: Digital input/output pin.
  • 11. GPIO16: Digital input/output pin.
  • 12. GPIO17: Digital input/output pin.
  • 13. GPIO18: Digital input/output pin.
  • 14. GPIO19: Digital input/output pin.
  • 15. GPIO21: Digital input/output pin.
  • 16. GPIO22: Digital input/output pin.
  • 17. GPIO23: Digital input/output pin.
  • 18. GPIO25: Digital input/output pin.
  • Analog Pins
  • 1. A0 (GPIO26): Analog input pin. Can be used to read analog values from sensors.
  • 2. A1 (GPIO27): Analog input pin. Can be used to read analog values from sensors.
  • 3. A2 (GPIO32): Analog input pin. Can be used to read analog values from sensors.
  • 4. A3 (GPIO33): Analog input pin. Can be used to read analog values from sensors.
  • Communication Pins
  • 1. TX0 (GPIO1): Serial communication pin (transmit).
  • 2. RX0 (GPIO2): Serial communication pin (receive).
  • 3. TX1 (GPIO10): Serial communication pin (transmit).
  • 4. RX1 (GPIO9): Serial communication pin (receive).
  • 5. SCL (GPIO22): I2C clock pin.
  • 6. SDA (GPIO21): I2C data pin.
  • 7. SCK (GPIO18): SPI clock pin.
  • 8. MOSI (GPIO23): SPI master output-slave input pin.
  • 9. MISO (GPIO19): SPI master input-slave output pin.
  • Power and Ground Pins
  • 1. 3V3: 3.3V power output pin.
  • 2. GND: Ground pin.
  • 3. VIN: External power input pin (5V tolerance).
  • 4. EN: Enable pin (active low).
  • Other Pins
  • 1. RST: Reset pin. Active low.
  • 2. CP2102 RX: Serial communication pin (receive) for the CP2102 driver.
  • 3. CP2102 TX: Serial communication pin (transmit) for the CP2102 driver.
  • Connecting the Pins
  • Here is a step-by-step guide to connecting the pins:
  • Digital Pins
  • Connect digital sensors or modules to the digital pins (GPIO0-GPIO25) as required.
  • Ensure the voltage level of the connected sensor or module matches the operating voltage of the ESP32 board (3.3V).
  • Analog Pins
  • Connect analog sensors to the analog pins (A0-A3) as required.
  • Use an analog-to-digital converter (ADC) to read analog values from the sensors.
  • Communication Pins
  • Connect serial communication devices (e.g., serial monitors, Bluetooth modules) to the TX0/RX0 or TX1/RX1 pins as required.
  • Connect I2C devices (e.g., I2C sensors, I2C displays) to the SCL/SDA pins as required.
  • Connect SPI devices (e.g., SPI sensors, SPI displays) to the SCK/MOSI/MISO pins as required.
  • Power and Ground Pins
  • Connect the 3.3V power output pin to devices that require a 3.3V power supply.
  • Connect the GND pin to devices that require a ground connection.
  • Connect an external power source (5V tolerance) to the VIN pin as required.
  • Connect the EN pin to a suitable voltage source (e.g., 3.3V) to enable the board.
  • Other Pins
  • Connect the RST pin to a reset button or a suitable voltage source (e.g., 3.3V) to reset the board.
  • Connect the CP2102 RX and TX pins to a serial communication device (e.g., serial monitor, computer) for programming and communication.
  • Remember to follow proper soldering and wiring techniques when connecting the pins to avoid damage to the board or other components.

Code Examples

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.