pdf-icon

RELAY

SKU:U023

描述

RELAY, 是一款继电器 Unit.能够控制DC/3A-30V或AC/3A-220V级别线路的通断.它实际上是用小电流去控制大电流运作的一种自动开关.故在电路中起着自动调节、安全保护、转换电路等作用.Unit提供3个引脚: ON、OFF、COM.通过编程GPIO输出高、低电平控制,公共端COM与ON、OFF其中之一连接.

产品特性

  • 单总线控制
  • 最高支持DC/3A-30V或AC/3A-220V
  • 开发平台: Arduino, UIFlow(Blockly,Python)
  • 2x LEGO 兼容孔

包含

  • 1x RELAY Unit
  • 1x HY2.0-4P线缆
  • 1x 3.96 端子

应用

  • 远程控制大功率电器,如冰箱,空调,电视等

规格参数

规格 参数
净重 12g
毛重 26g
产品尺寸 48*24*21mm
包装尺寸 60*57*17mm

EasyLoader

EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.

Download Windows Version Easyloader Download MacOS Version Easyloader

案例描述:
继电器线圈循环通断,触点作为开关用于电路控制.

管脚映射

M5Core(PORT B) GPIO36 GPIO26 5V GND
RELAY Unit / RELAY Controlling Pin 5V GND

原理图

项目案例

It is possible to turn a lamp or fan on and off through an SMS message.
It is possible to turn a lamp or fan on and off through an SMS message.
Control IKEA Bekant Desk sit/stand height with M5Stack M5Paper using two Relay units and a ToF (time-of-flight sensor VL53L0x) unit.
Control IKEA Bekant Desk sit/stand height with M5Stack Core2 using two Relay units and a ToF (time-of-flight sensor VL53L0x) unit.
Atom Lite control device with Alexa. In my house, Amazon echo is located in every room, and the lighting of living room is controlled by Alex
Using the M5StickC, we developed a product that allows you to wash your hands without touching the device.
The mechanism is simple to monitor the value of the water temperature sensor with the M5Stack, and heater power is controlled by the relay

案例程序

Arduino

UIFlow

功能说明

本教程将向您展示如何使用UIFlow2.0图形化编程平台初始化配置

Relay Unit 编程指南

  • set COM connect ON 控制继电器闭合

  • set COM connect OFF 控制继电器断开

使用示例:

请点击此处下载UIFlow示例

相关视频

  • 用 UIFlow 和 RELAY Unit 控制 家庭灯