Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules: Examples, Pinouts, and Specs

Image of ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules
Cirkit Designer LogoDesign with ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules in Cirkit Designer

Introduction

The ESP32 Expansion Board (Meshnology N40) is a versatile accessory designed to enhance the functionality of ESP32 and ESP32-S3 core modules. This expansion board simplifies prototyping and development by providing additional GPIO pins, power management features, and connectivity options. It is ideal for IoT projects, robotics, home automation, and other applications requiring reliable and scalable hardware integration.

Explore Projects Built with ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-Based Smart Relay Control System with Ethernet Connectivity and Environmental Sensing
Image of Keyestudio ESP32 Control Board 3Phase AC Setup with W5500 Lite: A project utilizing ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules in a practical application
This circuit features an ESP32-based control board connected to a voltage sensor for monitoring electrical parameters, a DHT22 and an Adafruit SHTC3 for environmental sensing, and a 4-channel relay module for controlling external devices. It also includes a W5500 Lite Ethernet module for network connectivity. The ESP32 is intended to process sensor data and manage relay operations, with the capability to communicate over a network.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-C3 and Micro SD Card Module for Data Logging
Image of Esp 32 super mini with MicroSd module: A project utilizing ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules in a practical application
This circuit features an ESP32-C3 microcontroller interfaced with a Micro SD Card Module. The ESP32-C3 handles SPI communication with the SD card for data storage and retrieval, with specific GPIO pins assigned for MOSI, MISO, SCK, and CS signals.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-S3 GPS and Wind Speed Logger with Dual OLED Displays and CAN Bus
Image of esp32-s3-ellipse: A project utilizing ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules in a practical application
This circuit features an ESP32-S3 microcontroller interfaced with an SD card module, two OLED displays, a GPS module, and a CAN bus module. The ESP32-S3 records GPS data to the SD card, displays speed on one OLED, and shows wind speed from the CAN bus on the other OLED, providing a comprehensive data logging and display system.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-S3 Based Vibration Detection System with TFT Display and Power Backup
Image of IOT Thesis: A project utilizing ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules in a practical application
This circuit features an ESP32-S3 microcontroller connected to various peripherals including an ADXL355 accelerometer, an SW-420 vibration sensor, a buzzer module, and an ILI9341 TFT display. The ESP32-S3 manages sensor inputs and provides output to the display and buzzer. Power management is handled by a 12V to 5V step-down converter, and a UPS ensures uninterrupted power supply, with a rocker switch to control the power flow.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Keyestudio ESP32 Control Board 3Phase AC Setup with W5500 Lite: A project utilizing ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules in a practical application
ESP32-Based Smart Relay Control System with Ethernet Connectivity and Environmental Sensing
This circuit features an ESP32-based control board connected to a voltage sensor for monitoring electrical parameters, a DHT22 and an Adafruit SHTC3 for environmental sensing, and a 4-channel relay module for controlling external devices. It also includes a W5500 Lite Ethernet module for network connectivity. The ESP32 is intended to process sensor data and manage relay operations, with the capability to communicate over a network.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Esp 32 super mini with MicroSd module: A project utilizing ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules in a practical application
ESP32-C3 and Micro SD Card Module for Data Logging
This circuit features an ESP32-C3 microcontroller interfaced with a Micro SD Card Module. The ESP32-C3 handles SPI communication with the SD card for data storage and retrieval, with specific GPIO pins assigned for MOSI, MISO, SCK, and CS signals.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of esp32-s3-ellipse: A project utilizing ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules in a practical application
ESP32-S3 GPS and Wind Speed Logger with Dual OLED Displays and CAN Bus
This circuit features an ESP32-S3 microcontroller interfaced with an SD card module, two OLED displays, a GPS module, and a CAN bus module. The ESP32-S3 records GPS data to the SD card, displays speed on one OLED, and shows wind speed from the CAN bus on the other OLED, providing a comprehensive data logging and display system.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of IOT Thesis: A project utilizing ESP32 Expansion Board for ESP32/ESP32-S3 Core Modules in a practical application
ESP32-S3 Based Vibration Detection System with TFT Display and Power Backup
This circuit features an ESP32-S3 microcontroller connected to various peripherals including an ADXL355 accelerometer, an SW-420 vibration sensor, a buzzer module, and an ILI9341 TFT display. The ESP32-S3 manages sensor inputs and provides output to the display and buzzer. Power management is handled by a 12V to 5V step-down converter, and a UPS ensures uninterrupted power supply, with a rocker switch to control the power flow.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • IoT devices and smart home systems
  • Robotics and automation projects
  • Prototyping and testing ESP32/ESP32-S3-based designs
  • Educational and research purposes
  • Projects requiring multiple GPIOs or external peripherals

Technical Specifications

Key Technical Details

Parameter Specification
Manufacturer Meshnology
Part ID N40
Compatible Modules ESP32, ESP32-S3 Core Modules
Input Voltage Range 5V (via USB-C) or 7-12V (via DC barrel jack)
GPIO Pin Count Up to 38 (depending on the ESP32 module used)
Communication Interfaces UART, SPI, I2C, PWM
Power Management Onboard 3.3V voltage regulator, 5V passthrough
USB Interface USB-C for programming and power
Dimensions 60mm x 40mm x 15mm
Operating Temperature -40°C to 85°C

Pin Configuration and Descriptions

The ESP32 Expansion Board provides easy access to the GPIO pins of the ESP32/ESP32-S3 module. Below is the pinout description:

Pin Name Description
3V3 3.3V output from the onboard regulator
GND Ground
VIN Input voltage (7-12V via DC barrel jack)
GPIO0-GPIO39 General-purpose input/output pins
TXD UART Transmit
RXD UART Receive
SCL I2C Clock
SDA I2C Data
MOSI SPI Master Out Slave In
MISO SPI Master In Slave Out
SCK SPI Clock
EN Enable pin for the ESP32 module
BOOT Boot mode selection pin

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Board:

    • Connect a USB-C cable to the board for power and programming.
    • Alternatively, use a 7-12V DC power supply via the barrel jack.
  2. Connecting the ESP32/ESP32-S3 Module:

    • Insert the ESP32 or ESP32-S3 core module into the designated socket on the expansion board.
    • Ensure proper alignment of the pins to avoid damage.
  3. Accessing GPIO Pins:

    • Use the labeled headers to connect external components (e.g., sensors, actuators).
    • Refer to the pinout table for the correct pin assignments.
  4. Programming the ESP32:

    • Connect the board to your computer via USB-C.
    • Use the Arduino IDE or ESP-IDF to upload code to the ESP32 module.
  5. Using Communication Interfaces:

    • Connect peripherals (e.g., I2C sensors, SPI displays) to the corresponding pins.
    • Configure the communication protocols in your code.

Important Considerations and Best Practices

  • Ensure the input voltage does not exceed the specified range to prevent damage.
  • Avoid shorting GPIO pins or connecting them to voltages higher than 3.3V.
  • Use proper decoupling capacitors when connecting external components to reduce noise.
  • When using the board in high-current applications, ensure adequate heat dissipation.

Example Code for Arduino UNO Integration

Below is an example of using the ESP32 Expansion Board with an I2C sensor:

#include <Wire.h>

// Define I2C pins for ESP32
#define SDA_PIN 21  // SDA pin on the expansion board
#define SCL_PIN 22  // SCL pin on the expansion board

void setup() {
  // Initialize serial communication for debugging
  Serial.begin(115200);
  
  // Initialize I2C communication
  Wire.begin(SDA_PIN, SCL_PIN);
  Serial.println("I2C initialized successfully.");
}

void loop() {
  // Example: Scan for I2C devices
  Serial.println("Scanning for I2C devices...");
  byte error, address;
  int nDevices = 0;

  for (address = 1; address < 127; address++) {
    Wire.beginTransmission(address);
    error = Wire.endTransmission();

    if (error == 0) {
      Serial.print("I2C device found at address 0x");
      if (address < 16) Serial.print("0");
      Serial.println(address, HEX);
      nDevices++;
    }
  }

  if (nDevices == 0) {
    Serial.println("No I2C devices found.");
  } else {
    Serial.println("I2C scan complete.");
  }

  delay(5000);  // Wait 5 seconds before scanning again
}

Troubleshooting and FAQs

Common Issues Users Might Face

  1. ESP32 Module Not Detected:

    • Ensure the module is properly seated in the socket.
    • Verify the USB-C cable is functional and supports data transfer.
  2. Power Issues:

    • Check the input voltage and ensure it is within the specified range.
    • Verify the onboard voltage regulator is functioning correctly.
  3. GPIO Pins Not Responding:

    • Confirm the correct pin numbers are used in the code.
    • Check for loose or incorrect connections to external components.
  4. I2C/SPI Communication Fails:

    • Verify the wiring of the connected peripherals.
    • Ensure the correct pins are defined in the code.

Solutions and Tips for Troubleshooting

  • Use a multimeter to check voltage levels at the power and GPIO pins.
  • Test the ESP32 module separately to rule out hardware issues.
  • Update the ESP32 firmware and libraries to the latest versions.
  • Refer to the ESP32 datasheet for detailed information on pin functions and limitations.

By following this documentation, users can effectively utilize the Meshnology N40 ESP32 Expansion Board to enhance their projects and streamline development workflows.