Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Mtiny ESP32 WROOM-32E: Examples, Pinouts, and Specs

Image of Mtiny ESP32 WROOM-32EDesign with Mtiny ESP32 WROOM-32E in Cirkit Designer

Introduction

The Mtiny ESP32 WROOM-32E is a powerful microcontroller module designed by Makerlabvn, featuring the ESP32 chip at its core. This module is known for its compact form factor while integrating both Wi-Fi and Bluetooth capabilities, making it an ideal choice for a wide range of Internet of Things (IoT) applications. Common use cases include smart home devices, wireless sensors, and IoT nodes, as well as more complex applications like robotics and wearable technology.

Explore Projects Built with Mtiny ESP32 WROOM-32E

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 ESP32-Based Multi-Sensor Health Monitoring System with Bluetooth Connectivity: A project utilizing Mtiny ESP32 WROOM-32E in a practical application
ESP32-Based Multi-Sensor Health Monitoring System with Bluetooth Connectivity

This circuit features an ESP32-WROOM-32UE microcontroller as the central processing unit, interfacing with a variety of sensors and modules. It includes a MAX30100 pulse oximeter and heart-rate sensor, an MLX90614 infrared thermometer, an HC-05 Bluetooth module for wireless communication, and a Neo 6M GPS module for location tracking. All components are powered by a common voltage supply and are connected to specific GPIO pins on the ESP32 for data exchange, with the sensors using I2C communication and the modules using UART.

Open Project in Cirkit Designer
Image of ESP32-Based GPS Tracker with SD Card Logging and Barometric Sensor: A project utilizing Mtiny ESP32 WROOM-32E in a practical application
ESP32-Based GPS Tracker with SD Card Logging and Barometric Sensor

This circuit features an ESP32 Wroom Dev Kit as the main microcontroller, interfaced with an MPL3115A2 sensor for pressure and temperature readings, and a Neo 6M GPS module for location tracking. The ESP32 is also connected to an SD card reader for data logging purposes. A voltage regulator is used to step down the USB power supply to 3.3V, which powers the ESP32, the sensor, and the SD card reader.

Open Project in Cirkit Designer
Image of ESP32-Based Vibration Motor Controller with I2C IO Expansion: A project utilizing Mtiny ESP32 WROOM-32E in a practical application
ESP32-Based Vibration Motor Controller with I2C IO Expansion

This circuit features an ESP32 Wroom Dev Kit microcontroller interfaced with an MCP23017 I/O expansion board via I2C communication, utilizing GPIO 21 and GPIO 22 for SDA and SCL lines, respectively. A vibration motor is controlled by an NPN transistor acting as a switch, with a diode for back EMF protection and a resistor to limit base current. The ESP32 can control the motor by sending signals to the MCP23017, which then interfaces with the transistor to turn the motor on or off.

Open Project in Cirkit Designer
Image of Raspberry Pi Pico and ESP32 Wi-Fi Controlled Sensor Interface: A project utilizing Mtiny ESP32 WROOM-32E in a practical application
Raspberry Pi Pico and ESP32 Wi-Fi Controlled Sensor Interface

This circuit integrates a Raspberry Pi Pico and an ESP32 Wroom Dev Kit, interconnected through various GPIO pins and resistors, to enable communication and control between the two microcontrollers. The ESP32 is powered by a 3.3V supply and shares ground with the Raspberry Pi Pico, while specific GPIO pins are used for data exchange. The provided code sketches for the Raspberry Pi Pico suggest a framework for further development of the system's functionality.

Open Project in Cirkit Designer

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin Number Function Description
1 3V3 Power supply (3.3V input)
2 EN Chip enable (active high)
3 VP 12-bit SAR ADC channel
4 VN 12-bit SAR ADC channel
5 IO34 Digital I/O, ADC channel
6 IO35 Digital I/O, ADC channel
... ... ...
21 GND Ground
22 5V USB power input (5V)

Note: This table is not exhaustive and only includes a selection of pins. Please refer to the full datasheet for complete pin descriptions.

Usage Instructions

Integrating with a Circuit

To use the Mtiny ESP32 WROOM-32E in a circuit:

  1. Powering the Module: Connect a 3.3V power supply to the 3V3 pin and ground to the GND pin. Alternatively, you can use the 5V pin if you are powering the module via USB.
  2. Enabling the Module: The EN pin must be pulled high to enable the module. Connect this to a 3.3V source or use a pull-up resistor.
  3. Connecting I/O: Digital and analog pins can be connected to sensors, actuators, or other peripherals as required by your application.
  4. Programming: Use a USB-to-Serial converter to connect the module to your computer for programming.

Best Practices

Troubleshooting and FAQs

Common Issues

FAQs

Example Arduino Code

Below is an example of how to blink an LED connected to pin IO2 of the Mtiny ESP32 WROOM-32E using the Arduino IDE:

#define LED_PIN 2 // Define the LED pin

void setup() {
  pinMode(LED_PIN, OUTPUT); // Initialize the LED pin as an output
}

void loop() {
  digitalWrite(LED_PIN, HIGH); // Turn the LED on
  delay(1000);                // Wait for a second
  digitalWrite(LED_PIN, LOW);  // Turn the LED off
  delay(1000);                // Wait for a second
}

Note: Before uploading the code, select the appropriate board (ESP32 Dev Module) and port in the Arduino IDE.

This documentation provides an overview of the Mtiny ESP32 WROOM-32E module. For more detailed information, please refer to the datasheet provided by Makerlabvn.