Files
2018-12-13 15:19:19 +08:00

1.7 KiB

Unit relay

Example

DESCRIPTION

The Unit relay is a unit that allows you to control large power loads with a light-current, safe, reliable power control system. the large power loads you can safely control is up to 24 VDC or 120 VAC. Only a low electrial level is sent to this unit, the relay will be close and the large power loads you want to control will be working.

FEATURES

  • A single input
  • Up to 3A @ 24 VDC or 120 VAC
  • GROVE interface, support UiFlow and Arduino
  • Two Lego installation holes

APPLICATION

  • Be perfect for large inductive loads(like DC motors electrocircuit, intelligent interpolation...)
  • Control a standard wall outlet device

DOCUMENTS

Example

** Arduino Code**

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

void loop(void) {
  digitalWrite(26, HIGH);
  delay(500);
  digitalWrite(26, LOW);
  delay(500);
}

** MicroPython Code **

Coming soom...

** UIFlow **

Coming soom...