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

HiLetGo ESP-32

Image of HiLetGo ESP-32

HiLetGo ESP-32 Development Board Documentation

Introduction

The HiLetGo ESP-32 is a versatile and powerful microcontroller development board that leverages the capabilities of the ESP32 chip. This board is widely used in the Internet of Things (IoT) projects due to its integrated Bluetooth and WiFi functionalities. It is suitable for a variety of applications, including smart home devices, wireless sensors, and other connected gadgets.

Technical Specifications

Key Features

  • Microcontroller: ESP32-D0WDQ6
  • Operating Voltage: 3.3V
  • Digital I/O Pins: 22
  • Analog Input Pins: 6 (ADC, up to 12-bit resolution)
  • Analog Output Pins: 2 (DAC, 8-bit resolution)
  • Flash Memory: 4MB
  • SRAM: 520 KB
  • Clock Speed: Up to 240MHz
  • Integrated WiFi: 802.11 b/g/n
  • Integrated Bluetooth: v4.2 BR/EDR and BLE
  • Temperature Range: -40°C to +125°C

Pin Configuration

Pin Number Function Description
1 3V3 3.3V power supply input
2 GND Ground
3-18 GPIO0 - GPIO15 General-purpose input/output pins
19 ADC1_CH0 - CH5 Analog-to-digital converter channels 0 to 5
20 DAC1, DAC2 Digital-to-analog converter channels 1 and 2
21 EN Chip enable, active high
22 VIN Voltage input for battery or unregulated power supply

Usage Instructions

Basic Setup

To use the HiLetGo ESP-32 in a circuit:

  1. Connect the 3V3 pin to a 3.3V power supply.
  2. Connect the GND pin to the ground of the power supply.
  3. Use the GPIO pins for digital input/output as required by your application.
  4. If analog input is needed, connect sensors to the ADC pins.
  5. For analog output, utilize the DAC pins.

Programming

The ESP-32 can be programmed using the Arduino IDE or other development environments that support the ESP32 platform. To program the board:

  1. Install the ESP32 board package in the Arduino IDE.
  2. Select the correct board and port in the Arduino IDE.
  3. Write your code and upload it to the board.

Example Code

Here is a simple example of how to blink an LED using the ESP-32 and Arduino IDE:

// Define the LED pin
const int LED_PIN = 2; // Use GPIO2 for the built-in LED

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

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

Ensure that your code comments are concise and do not exceed 80 characters in line length.

Troubleshooting and FAQs

Common Issues

  • Board not detected: Ensure that the USB drivers are installed and the board is selected in the Arduino IDE.
  • WiFi or Bluetooth not functioning: Check that the antennas are properly connected and that the correct libraries are included in your code.
  • Unexpected resets: This can be caused by insufficient power supply. Make sure that the power source can deliver enough current.

FAQs

Q: Can the ESP-32 be powered by batteries? A: Yes, the ESP-32 can be powered by batteries connected to the VIN pin.

Q: How do I connect to WiFi using the ESP-32? A: Use the WiFi.h library in your Arduino code to connect to WiFi networks.

Q: What is the maximum current that the GPIO pins can handle? A: Each GPIO pin can source or sink up to 12 mA.

Q: How can I save power when running on batteries? A: Utilize the ESP32's deep sleep mode to significantly reduce power consumption when the device is not active.

For further assistance, consult the ESP32 datasheet and the HiLetGo ESP-32 forums for community support.

Example Projects

Esp_Disp2
Image of Esp_Disp2: A project utilizing HiLetGo ESP-32 in a practical application
This circuit features an ESP32 microcontroller connected to an ili9341 TFT display, an SD card module, and an E07-M1101D RF transceiver module. The ESP32 controls the display via GPIO pins and communicates with both the SD card and the RF module using SPI communication. The circuit is likely designed for applications requiring a user interface, data storage, and wireless communication capabilities.
JELLY PROJECT
Image of JELLY PROJECT: A project utilizing HiLetGo ESP-32 in a practical application
This circuit features an ESP32 Devkit V1 microcontroller that interfaces with a DHT22 temperature and humidity sensor, an I2C LCD display, a two-channel relay module, and an LED with a series resistor. The ESP32 controls the relay to switch a 220V fan and indicates operation status via the LED. Sensor readings are likely displayed on the LCD, and the relay's purpose is to control the fan based on data from the ESP32, possibly from the DHT22 sensor.
Lampu UV
Image of Lampu UV: A project utilizing HiLetGo ESP-32 in a practical application
This circuit features an ESP32 microcontroller connected to an LCD screen for display, a DHT22 sensor for measuring temperature and humidity, a pushbutton for user input, and a relay module to control power to an LED light strip. The ESP32 reads environmental data from the DHT22 sensor and displays it on the LCD screen, while the pushbutton toggles the relay, which in turn switches the LED light strip on or off. The code for the ESP32 includes debouncing for the pushbutton and a timed control for the relay, turning off the LED strip after a predefined interval.
car park
Image of car park: A project utilizing HiLetGo ESP-32 in a practical application
This circuit features an ESP32 microcontroller connected to an LCD screen via I2C communication protocol, using pins D22 and D21 for SCL and SDA respectively. Four IR sensors are interfaced with the ESP32, each connected to a distinct GPIO pin (D18, D5, D4, D14) for detecting infrared signals. Additionally, an SG90 servo motor is controlled by the ESP32 through the PWM signal on pin D13. Power distribution is managed with common VCC and GND nets connecting the components to the ESP32's Vin and GND pins.

Example Projects

Image of Esp_Disp2: A project utilizing HiLetGo ESP-32 in a practical application
Esp_Disp2
This circuit features an ESP32 microcontroller connected to an ili9341 TFT display, an SD card module, and an E07-M1101D RF transceiver module. The ESP32 controls the display via GPIO pins and communicates with both the SD card and the RF module using SPI communication. The circuit is likely designed for applications requiring a user interface, data storage, and wireless communication capabilities.
Image of JELLY PROJECT: A project utilizing HiLetGo ESP-32 in a practical application
JELLY PROJECT
This circuit features an ESP32 Devkit V1 microcontroller that interfaces with a DHT22 temperature and humidity sensor, an I2C LCD display, a two-channel relay module, and an LED with a series resistor. The ESP32 controls the relay to switch a 220V fan and indicates operation status via the LED. Sensor readings are likely displayed on the LCD, and the relay's purpose is to control the fan based on data from the ESP32, possibly from the DHT22 sensor.
Image of Lampu UV: A project utilizing HiLetGo ESP-32 in a practical application
Lampu UV
This circuit features an ESP32 microcontroller connected to an LCD screen for display, a DHT22 sensor for measuring temperature and humidity, a pushbutton for user input, and a relay module to control power to an LED light strip. The ESP32 reads environmental data from the DHT22 sensor and displays it on the LCD screen, while the pushbutton toggles the relay, which in turn switches the LED light strip on or off. The code for the ESP32 includes debouncing for the pushbutton and a timed control for the relay, turning off the LED strip after a predefined interval.
Image of car park: A project utilizing HiLetGo ESP-32 in a practical application
car park
This circuit features an ESP32 microcontroller connected to an LCD screen via I2C communication protocol, using pins D22 and D21 for SCL and SDA respectively. Four IR sensors are interfaced with the ESP32, each connected to a distinct GPIO pin (D18, D5, D4, D14) for detecting infrared signals. Additionally, an SG90 servo motor is controlled by the ESP32 through the PWM signal on pin D13. Power distribution is managed with common VCC and GND nets connecting the components to the ESP32's Vin and GND pins.