RELAY as it says is an M5Unit that implement a Relay functions. Relay can be used as an electrically operated switch, uses an electromagnet to mechanically operate a switch, where it is necessary to control a large power load circuit by a separate low-power signal such as digital signal output from a microprocessor.
The Relay support input voltage of 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.
EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host Please click here to view the CP210X driver installation tutorial, M5StickC/V/T/ATOM series can be used without driver)
|RELAY Unit||RELAY Controlling Pin||5V||GND|
By controlling the opening and closing of the relay to achieve the purpose of weak current control of strong electricity
set COM connect ON Control relay closure
set COM connect OFF Control relay disconnect
Program with UIFlow