EasyLoader (beta)

Current Product Don't Have Test Firmware

Note: pls, use PC chrome/edge browser, if can't connect, refresh the webpage.

1. Click connect button

2. After connected successfully, pick a firmware

3. Click the burn button

4. After burning successfully, Unplug the device and restart.

0%

2RELAY UNIT

SKU:U131

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

Include

  • 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 * 24 * 19mm
Packing size 93 * 138mm

PinMap

  • 2RELAY
M5CORE - PORT A G21 G22
2RELAY RELAY-A RELAY-B

Schematic

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);
}