M5Stack 2 Channels SPST Relay for AC/DC Signal Switching Digital Equipment Power on and Off with LED Indicator
Description:
2-Channel SPST Relay Unit is a 2-channel SPST relay module, equipped with two high-current relays that work under AC250V 8A or DC28V 8A. Each relay adopts independent IO control, and status indicator LED. It is suitable for home appliance power control, or ON/OFF switch for industrial equipment.
The relay is driven by IO output high and low level signals, so before connecting to the main control, please make sure that the connected port IO supports configuration as output mode. (Note:G36 of ESP32 is not allowed to be configured as output mode , so PortB will not be able to drive normally)
Product Features:
2-channel relay
AC-250V/DC-28V @ 8A
Status Indicator LED
Specification:
Maximum on-off voltage:AC-250V/DC-28V
Rated current:8A
Coil control voltage:DC5V
Coil power consumption:5V@154mA
Coil action time:?? 8ms
Coil release time:?? 5ms
Contact form:A normally open type
Contact material:AgSnO2
Relay indicator:Blue x2
Net weight:20g
Gross weight:31g
Product size:56 x 24 x 19mm
Packing size:93 x 138mm
Package included:
1 x 2RELAY Unit
1 x HY2.0-4P cable (20cm)
2 x VH3.96-4P Plug terminal
Applications:
AC/DC signal switching
Digital equipment power on and off
PinMap
M5CORE – PORT A | G21 | G22 |
2RELAY | RELAY-A | RELAY-B |
Schematic
Example
Arduin0
#include <Arduin0.h>
#define RELAY_A 21
#define RELAY_B 22
void setup() {
pinMode(RELAY_A, OUTPUT);
pinMode(RELAY_B, OUTPUT);
}
void loop(void) {
digitalWrite(RELAY_A, LOW);
digitalWrite(RELAY_B, LOW);
delay(2000);
digitalWrite(RELAY_A, HIGH);
digitalWrite(RELAY_B, HIGH);
delay(2000);
}
Additional information
Weight | 0.031 kg |
---|
Reviews