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

How to Use ESP32-Wroom-HW-394: Examples, Pinouts, and Specs

Image of ESP32-Wroom-HW-394
Cirkit Designer LogoDesign with ESP32-Wroom-HW-394 in Cirkit Designer

Introduction

The ESP32-Wroom-HW-394 is a powerful microcontroller module designed for IoT (Internet of Things) applications. It features integrated Wi-Fi and Bluetooth capabilities, making it ideal for wireless communication and smart device projects. With its dual-core processing power and a wide range of GPIO (General Purpose Input/Output) pins, the ESP32-Wroom-HW-394 is versatile and suitable for a variety of applications, including home automation, wearable devices, and industrial IoT systems.

Explore Projects Built with ESP32-Wroom-HW-394

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 Multi-Sensor Health Monitoring System with Bluetooth Connectivity
Image of circuit diagram: A project utilizing ESP32-Wroom-HW-394 in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based GPS Tracker with SD Card Logging and Barometric Sensor
Image of gps projekt circuit: A project utilizing ESP32-Wroom-HW-394 in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Vibration Motor Controller with I2C IO Expansion
Image of VIBRATYION: A project utilizing ESP32-Wroom-HW-394 in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi Pico and ESP32 Wi-Fi Controlled Sensor Interface
Image of pico_esp32: A project utilizing ESP32-Wroom-HW-394 in a practical application
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.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with ESP32-Wroom-HW-394

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 circuit diagram: A project utilizing ESP32-Wroom-HW-394 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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of gps projekt circuit: A project utilizing ESP32-Wroom-HW-394 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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of VIBRATYION: A project utilizing ESP32-Wroom-HW-394 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.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of pico_esp32: A project utilizing ESP32-Wroom-HW-394 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.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Smart home devices (e.g., smart lights, thermostats)
  • Wireless sensor networks
  • Industrial automation and monitoring
  • Wearable technology
  • Robotics and drones
  • Real-time data logging and cloud integration

Technical Specifications

The ESP32-Wroom-HW-394 is packed with features that make it a robust and flexible choice for developers. Below are its key technical specifications:

Specification Details
Microcontroller Dual-core Xtensa® 32-bit LX6 processor
Clock Speed Up to 240 MHz
Flash Memory 4 MB (external)
SRAM 520 KB
Wireless Connectivity Wi-Fi 802.11 b/g/n, Bluetooth v4.2 + BLE
Operating Voltage 3.3V
GPIO Pins 34 (multipurpose, including ADC, DAC, PWM, I2C, SPI, UART)
ADC Channels 18 (12-bit resolution)
DAC Channels 2
Communication Interfaces UART, SPI, I2C, I2S, CAN, Ethernet MAC
Power Consumption Ultra-low power consumption in deep sleep mode (as low as 10 µA)
Operating Temperature -40°C to 85°C
Dimensions 18 mm x 25.5 mm

Pin Configuration and Descriptions

The ESP32-Wroom-HW-394 has a total of 38 pins. Below is a table describing the key pins and their functions:

Pin Number Pin Name Function
1 EN Enable pin. Pull high to enable the module.
2 IO0 GPIO0. Can be used for general I/O or boot mode selection.
3 IO2 GPIO2. General-purpose I/O.
4 IO4 GPIO4. General-purpose I/O.
5 IO5 GPIO5. General-purpose I/O.
6 IO12 GPIO12. Can be used as ADC or general-purpose I/O.
7 IO13 GPIO13. Can be used as ADC or general-purpose I/O.
8 IO14 GPIO14. Can be used as ADC or general-purpose I/O.
9 IO15 GPIO15. Can be used as ADC or general-purpose I/O.
10 IO16 GPIO16. General-purpose I/O.
11 GND Ground. Connect to the ground of the power supply.
12 3V3 3.3V power input.
13 TXD0 UART0 Transmit pin.
14 RXD0 UART0 Receive pin.
15 ADC1_CH0 ADC Channel 0. Can be used for analog input.
16 DAC1 DAC Channel 1. Can be used for analog output.

For a complete pinout, refer to the official datasheet.

Usage Instructions

How to Use the ESP32-Wroom-HW-394 in a Circuit

  1. Powering the Module:
    • Connect the 3V3 pin to a 3.3V power source.
    • Connect the GND pin to the ground of the power source.
  2. Programming the Module:
    • Use a USB-to-Serial adapter to connect the module to your computer.
    • Connect the TXD0 pin to the RX pin of the adapter and the RXD0 pin to the TX pin of the adapter.
    • Use the EN pin to reset the module if needed.
  3. Interfacing with Peripherals:
    • Use the GPIO pins for digital input/output.
    • Use ADC pins for analog input and DAC pins for analog output.
    • Use I2C, SPI, or UART for communication with other devices.

Important Considerations and Best Practices

  • Voltage Levels: Ensure all connected devices operate at 3.3V logic levels to avoid damaging the module.
  • Deep Sleep Mode: Use deep sleep mode to conserve power in battery-powered applications.
  • Antenna Placement: Ensure the onboard antenna has sufficient clearance from metal objects to avoid interference.
  • Boot Mode: To enter bootloader mode, hold GPIO0 low while resetting the module.

Example Code for Arduino UNO

The ESP32-Wroom-HW-394 can be programmed using the Arduino IDE. Below is an example of how to connect the module to Wi-Fi and blink an LED:

#include <WiFi.h> // Include the WiFi library for ESP32

const char* ssid = "Your_SSID";       // Replace with your Wi-Fi network name
const char* password = "Your_Password"; // Replace with your Wi-Fi password
const int ledPin = 2;                 // GPIO2 is connected to the onboard LED

void setup() {
  Serial.begin(115200);               // Initialize serial communication
  pinMode(ledPin, OUTPUT);            // Set GPIO2 as an output pin

  // Connect to Wi-Fi
  Serial.print("Connecting to Wi-Fi");
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("\nWi-Fi connected!");
  Serial.print("IP Address: ");
  Serial.println(WiFi.localIP());     // Print the module's IP address
}

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

Troubleshooting and FAQs

Common Issues and Solutions

  1. Module Not Connecting to Wi-Fi:

    • Ensure the SSID and password are correct.
    • Check if the Wi-Fi network is within range.
    • Verify that the module's antenna is not obstructed.
  2. Module Not Responding:

    • Check the power supply voltage (must be 3.3V).
    • Ensure the EN pin is pulled high.
    • Verify the connections to the USB-to-Serial adapter.
  3. GPIO Pins Not Working:

    • Ensure the pins are not being used for other functions (e.g., boot mode).
    • Check for short circuits or incorrect wiring.

FAQs

Q: Can the ESP32-Wroom-HW-394 operate on 5V?
A: No, the module operates at 3.3V. Using 5V can damage the module.

Q: How do I update the firmware?
A: Use the ESP32 Flash Download Tool or the Arduino IDE to upload new firmware.

Q: Can I use the ESP32-Wroom-HW-394 with a battery?
A: Yes, you can use a 3.7V LiPo battery with a voltage regulator to provide 3.3V to the module.

Q: What is the maximum range of the Wi-Fi?
A: The Wi-Fi range is approximately 50 meters indoors and 200 meters outdoors, depending on the environment.