Store

Little Bird

$4.74 |
Out of stock
No reviews yet

Description RELAY, as its namesake, is a M5Unit that implenments a Relay functions. Relay can be used as an electrically operated switch, uses an electrom...

Get notified when back in stock

Qty
Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout
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: Arduino, UIFlow(Blockly,Python)
  • Two Lego-compatible holes

Kit includes

  • 1x RELAY Unit
  • 1x Grove Cable
  • 1x 3.96 soket

Application

  • Remote control of high-power appliances, such as refrigerators, Air Conditioners, TVs, etc.
Learn

Example

1. Arduino IDE

The code below is incomplete. To get complete code, please click here.

#include <M5Stack.h>  void setup() {   M5.begin();   M5.Lcd.clear(BLACK);   M5.Lcd.setTextFont(4);   M5.Lcd.setTextColor(YELLOW, BLACK);   //disable the speak noise   dacWrite(25, 0);   pinMode(26, OUTPUT);// RELAY Pin setting }  void loop(void) {   digitalWrite(26, HIGH);// RELAY Unit work   delay(500);   digitalWrite(26, LOW);// RELAY Unit stop work   delay(500); } 

2. UIFlow

To get complete code, please click here.

 

More information

Schematic

PinMap

M5Core(GROVE B)GPIO36GPIO265VGNDRELAY Unit/RELAY Controlling Pin5VGND

 

Jargon buster

Plain-language definitions for the technical terms used above.

GPIO
General-purpose input/output pins are microcontroller pins you can set in software to read signals, switch devices on and off, or connect to peripherals. The number of GPIO pins matters because it limits how many buttons, LEDs, sensors, and other parts you can wire directly to the board.
Grove
Grove is a plug-in connector ecosystem for sensors and modules that avoids soldering and jumper wires. Grove compatibility matters because it can make it quicker to add supported I2C devices, as long as the cable and voltage are suitable.
IDE
Short for Integrated Development Environment, a program used to write, run and manage code. It matters because some learners prefer a traditional coding workspace instead of a guided notebook-style lesson.
Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.