2-Channel SPST Relay Unit
by M5Stack2-Channel SPST Relay Unit is 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)
Features
- 2-channel relay
- AC-250V/DC-28V @ 8A
- Status Indicator LED
Includes
- 1x 2RELAY Unit
- 1x HY2.0-4P cable (20cm)
- 2x VH3.96-4P Plug terminal
Applications
- AC/DC signal switching
- Digital equipment power on and off
Specification
Specifications | Parameters |
---|---|
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 |
PinMap
M5CORE - PORT A | G21 | G22 |
2RELAY | RELAY-A | RELAY-B |
Example
Arduino
#include <Arduino.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);
}
We no longer stock this product
It's sad to say goodbye but sometimes we have to retire products to make way for new things.
You may still be able to buy this product directly from our friends at M5Stack - check out their website!
Shop with confidence – we've been serving the hobbyist electronics, Maker, and retro gaming communities since 2012.
- Satisfaction or refund guarantee
- Worldwide shipping via mail or courier
- 54,000+ customer reviews
- Secure website and payments