PRODUCT

Contact us

Name:Helen.

Tel:+86-755-82720811

E-mail:helen@chinalctech.com

Add:Room 301,Building No.3,Guole Technopark,Lirong Road,Dalang Street,Longhua District,Shenzhen 518110,China.

Online consulting

Relay Module

Position:Home > Product > Module Series > Relay Module >

DC5V power supply ESP32 16-channel relay module Development

a) About

The LC DC powered ESP32 sixteen channel relay module is equipped with ESP32-WROOM-32E WiFi&BLE module, with all I/O ports leading out and supporting DC5V power supply mode. Suitable for ESP32 secondary development learning, smart home wireless control and other occasions.

b) View


①Front view



②Side view



③Reverse image



c)  Functional Features


1. Onboard mature and stable ESP32-WROOM-32E module, with a large capacity of 4M Byte Flash;
2. All I/O ports and UART program download ports of the ESP32 module are exported for easy secondary development;
3. Onboard DC-5V to 3.3V power supply circuit, supporting DC-5V power supply mode;
4. Onboard RST reset button and IO0 programmable button;
5. ESP32 supports Arduino IDE compilation tools and provides reference programs for Arduino development environment;
6. Onboard 16 channel 5V relay, outputting switch signals, suitable for controlling loads with operating voltages below AC 250V/DC30V;


d)  Introduction and Explanation


Size: 90mm * 165mm/244 g (positioning hole diameter: 3mm)



Interface Introduction



1. Power supply port: 5V DC
2. Power indicator light
3.5V relay 1-8 channels
4.5V relay 9-16 channels
5. DC-DC power chip: XL1509-3.3
6. Programmable button IO0 (when long pressing this button, press the reset button to enter the burning mode)
7. Reset button EN
8. Shift register: 74HC595
9. Serial port burning pin
10. All IO pins
11.MCU:ESP32-WROOM(SMD)

2, Introduction to GPIO output ports

Please refer to for details《esp32-wroom-32e_esp32-wroom-32ue_datasheet_cn

3,Arduino Development environment setup


ESP32 supports development tools such as Eclipse/Arduino IDE, and using Arduino is relatively simple. Here is the method to build an Arduino development environment:

1. Install Arduino IDE 1.8.9 or the latest version;

2. Enter the espresso warehouse https://github.com/espressif/arduino-esp32 Package and download all files



3. Find the installation path of the Arduino software, enter the hardware folder, and create a new blank folder called espresso



4. Then create a new blank folder named esp32 in the espresso folder




5. Extract the downloaded compressed file and copy its contents to the ESP32 folder.



6. Go to the tools folder and click get.exe to run the program. (Provided that your computer has already installed Python)




Restart the Arduino software, open the tool, select the development board, and choose ESP Dev Module as the development board to indicate successful installation.

4,Program download

1. Long press the IO0 button and press the reset button once to prepare a TTL serial port module (such as CH340) to be plugged into the computer USB. The connection method between the serial port module and the development board is as follows:


TTL Serial port module ESP32 Development board
GND GND
TX RX
RX TX
3.3V 3.3V


2. Click on the tool in the menu bar - Development Board, select ESP32 Dev Module as the development board

3. Open the program you want to download, click on "Tools" in the menu bar, select "Port" and choose the correct port number

4. After clicking "Upload", the program will automatically compile and download to the development board, as shown below:



5,Finally, power on the development board again or press the reset button, and the program will run. The 16 LED lights and 16 relays of the module will repeatedly turn on and off in sequence.



6,When using tools to burn a program, after compilation is complete, click on Project - Export Binary Files, and then enter the burning tool to burn it. You can refer to the following article:

https://blog.csdn.net/qq_23940143/article/details/89841134



*The above comes from:https://blog.csdn.net/Naisu_kun/article/details/84958561#_35

*tools Burning:https://blog.csdn.net/qq_23940143/article/details/89841134


e) Download User Manual


For more product information, please refer to [Baidu Netdisk]extraction code:      a52m