MCU Relay

From ElectroDragon Wiki

Use guide

Power on ->"normal mode"

  • Read last config from MCU
  • Start to count, when count to 0, turn on relay
  • LONG press bottom button -> enter into the config mode of "turn on relay"

In the config mode for "the stage of active relay"

  • Short press top button to add one second
  • Short press bottom button to add 50 seconds
  • Long press bottom button to enter into next the config mode of "turn off relay "

In the config mode for "the stage of deactive relay"

  • Short press top button to add one second
  • Short press bottom button to add 50 seconds
  • Long press bottom button to save data, and back to "normal mode"
  • Notice when deactive time set to 0 second, will hold the loop, won't quit

Button Setup

Board Type Config Button Add seconds button
STC Relay Board P31 P30
N76E003 Relay Board P04 P10
N76E003 Mosfet Board DOWN(P04) UP(P10)

Relay Board buttons: P04 hold to enter into config mode, P10 to add seconds.

Schematic

Setup Demo