Difference between revisions of "LC-WB-1-1"

From LCWIKI
Jump to: navigation, search
(Created page with "=='''Product name'''== DC5-60V power supply ESP32 1-way relay module ESP32 development board ESP32-WROOM secondary development.<br> =='''Overview'''== LC DC power supply ES...")
 
 
Line 11: Line 11:
  
 
=='''Function'''==
 
=='''Function'''==
*Onboard mature and stable ESP32-WROOM-32E module, large capacity 4M Byte Flash
+
*Onboard mature and stable ESP32-WROOM-32E module, large capacity 4M Byte Flash<br>
  
*
+
*The I/O port and UART program download port of the ESP32 module are all lead out to facilitate secondary development<br>
 +
 
 +
*Power supply mode supports DC7-60V and micro USB 5V<br>
 +
 
 +
*Onboard ESP32 module IO0 programmable button<br>
 +
 
 +
*ESP32 supports the use of Arduino IDE development tools and provides reference programs in the Arduino development environment<br>
 +
 
 +
*Onboard 1-channel 5V relay outputs switching signal, suitable for controlling loads with working voltage within AC 250V/DC30V<br>
 +
 
 +
*Onboard 1 programmable LED and relay indicator<br>
 +
 
 +
 
 +
 
 +
=='''Introduction'''==
 +
1.Board size: 57.5*53.7mm      Weight: 27g<br>
 +
2.Interface introduction<br>
 +
 
 +
 
 +
Programming port: GND, RX, TX, and 5V of the ESP32 are connected to the GND, TX, RX, and 5V of the external TTL serial port module respectively. IO0 needs to be connected to GND when downloading. After the download is completed, disconnect the connection between IO0 and GND.<br>
 +
 
 +
Relay output:<br>
 +
NC: Normally closed end, short-circuited to COM before the relay closes, and left floating after closing.<br>
 +
COM: public end.<br>
 +
NO: Normally open end, the relay is left floating before closing, and short-circuited to COM after closing.<br>
 +
 
 +
3.GPIO pinout port introduction<br>
 +
For details, please refer to "esp32-wroom-32e_esp32-wroom-32ue_datasheet_cn"<br>
 +
 
 +
4.Arduino development environment setup<br>
 +
ESP32 supports development tools such as Eclipse/Arduino IDE. Using Arduino is relatively simple. The following is how to set up the Arduino development environment:<br>
 +
①Install Arduino IDE 1.8.9 or the latest version;<br>
 +
②Enter the espressif warehouse https://github.com/espressif/arduino-esp32, package and download all files;<br>
 +
[[File:LC-WB-1-1-2.png]]<br>
 +
 
 +
③Find the installation path of the Arduino software, enter the hardware folder, and create a new blank folder named espressif;<br>
 +
[[File:LC-WB-1-1-3.png]]<br>
 +
 
 +
④Then create a new blank folder named esp32 under the espressif folder;<br>
 +
[[File:LC-WB-1-1-4.png]]<br>
 +
 
 +
⑤Unzip the downloaded compressed package and copy the contents to the esp32 folder;<br>
 +
[[File:LC-WB-1-1-5.png]]<br>
 +
 
 +
⑥Enter the tools folder and click get.exe to run the program. (Provided that your computer has Python installed).<br>
 +
[[File:LC-WB-1-1-6.png]]<br>
 +
Restart the Arduino software, open the tools, development board, and select ESP Dev Module as the development board to indicate successful installation.<br>
 +
 
 +
 
 +
 
 +
Program download<br>
 +
1.Use a jumper cap to connect the IO0 and GND pins, prepare a TTL serial port module (for example: FT232) and plug it into the computer USB. The connection method between the serial port module and the development board is as follows:<br>
 +
{| class="wikitable" style="width:800px"
 +
|-
 +
| TTL Serial port module || ESP32 Development board
 +
|-
 +
| GND || GND
 +
|-
 +
| TX || RX
 +
|-
 +
| RX || TX
 +
|-
 +
| 5V || 5V
 +
|}
 +
 
 +
2.Click Tools--Development Board in the menu bar and select the development board as ESP32 Dev Module<br>
 +
3.Open the program you want to download, click Tools--Port on the menu bar and select the correct port number<br>
 +
4.After clicking "上传", the program will be automatically compiled and downloaded to the development board, as follows:<br>
 +
[[File:LC-WB-1-1-7.png]]<br>
 +
 
 +
5.Finally, disconnect IO0 and GND, power on the development board again or press the reset button to run the program<br>

Latest revision as of 13:26, 25 November 2023

Product name

DC5-60V power supply ESP32 1-way relay module ESP32 development board ESP32-WROOM secondary development.


Overview

LC DC power supply ESP32 1-way relay development board is equipped with ESP32-WROOM-32E WiFi&BLE module, with all I/O ports and supports DC5-60V power supply mode.It is suitable for ESP32 secondary development and learning, smart home wireless control and other occasions.



Function

  • Onboard mature and stable ESP32-WROOM-32E module, large capacity 4M Byte Flash
  • The I/O port and UART program download port of the ESP32 module are all lead out to facilitate secondary development
  • Power supply mode supports DC7-60V and micro USB 5V
  • Onboard ESP32 module IO0 programmable button
  • ESP32 supports the use of Arduino IDE development tools and provides reference programs in the Arduino development environment
  • Onboard 1-channel 5V relay outputs switching signal, suitable for controlling loads with working voltage within AC 250V/DC30V
  • Onboard 1 programmable LED and relay indicator


Introduction

1.Board size: 57.5*53.7mm Weight: 27g
2.Interface introduction


Programming port: GND, RX, TX, and 5V of the ESP32 are connected to the GND, TX, RX, and 5V of the external TTL serial port module respectively. IO0 needs to be connected to GND when downloading. After the download is completed, disconnect the connection between IO0 and GND.

Relay output:
NC: Normally closed end, short-circuited to COM before the relay closes, and left floating after closing.
COM: public end.
NO: Normally open end, the relay is left floating before closing, and short-circuited to COM after closing.

3.GPIO pinout port introduction
For details, please refer to "esp32-wroom-32e_esp32-wroom-32ue_datasheet_cn"

4.Arduino development environment setup
ESP32 supports development tools such as Eclipse/Arduino IDE. Using Arduino is relatively simple. The following is how to set up the Arduino development environment:
①Install Arduino IDE 1.8.9 or the latest version;
②Enter the espressif warehouse https://github.com/espressif/arduino-esp32, package and download all files;
LC-WB-1-1-2.png

③Find the installation path of the Arduino software, enter the hardware folder, and create a new blank folder named espressif;
LC-WB-1-1-3.png

④Then create a new blank folder named esp32 under the espressif folder;
LC-WB-1-1-4.png

⑤Unzip the downloaded compressed package and copy the contents to the esp32 folder;
LC-WB-1-1-5.png

⑥Enter the tools folder and click get.exe to run the program. (Provided that your computer has Python installed).
LC-WB-1-1-6.png
Restart the Arduino software, open the tools, development board, and select ESP Dev Module as the development board to indicate successful installation.


Program download
1.Use a jumper cap to connect the IO0 and GND pins, prepare a TTL serial port module (for example: FT232) and plug it 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
5V 5V

2.Click Tools--Development Board in the menu bar and select the development board as ESP32 Dev Module
3.Open the program you want to download, click Tools--Port on the menu bar and select the correct port number
4.After clicking "上传", the program will be automatically compiled and downloaded to the development board, as follows:
LC-WB-1-1-7.png

5.Finally, disconnect IO0 and GND, power on the development board again or press the reset button to run the program