
Mini Relay Module 3A DC 30V AC 220V with Triode Driven GROVE Port for ESP32 Micropython Kit
Description:
RELAY, as its namesake, is a M5Unit that implenments a Relay functions. Relay can be used as an electrically operated switch, uses an electromagnet to mechanically operate a switch,to where it is necessary to control a large power load circuit by a separate low-power signal, like a digital signal output from a mircoprocessor. Up to 30V DC and 220V AC.
There are 3 pins named: ON, OFF, COM. You can program to make COM connect to ON or OFF, just by high and low out put of a digital GPIO.
Product Features:
- Single-BUS control
- Up to 3A @ 30 V DC or 220 V AC
- Software Development Platform: for , UIFlow(Blockly,Python)
- Two Le go-compatible holes
- Product Size: 48.2mm x 24.2mm x 21.4mm
- Product weight: 11.7g
Package Included:
- 1x RELAY Unit
- 1x Grove Cable
- 1x 3.96 soket
Application:
- Remote control of high-power appliances, such as refrigerators, air conditioners, TVs, etc.
Related Link:
EasyLoader

1.EasyLoader is a simple and fast program burner, and each product page has a product-related case program for EasyLoader.
2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.
3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to view the driver installation tutorial
Example:
1. for IDE
The code below is incomplete. To get complete code, please click here.
2. UIFlow
To get complete code, please click here.

Schematic:
PinMap:
M5Core(GROVE B) | GPIO36 | GPIO26 | 5V |