Difference between revisions of "MCU Relay"

From ElectroDragon
Jump to: navigation, search
(Schematic)
 
(5 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
* Short press bottom button to add 50 seconds
 
* Short press bottom button to add 50 seconds
 
* Long press bottom button to save data, and back to "normal mode"
 
* 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 ==
 +
{| class="wikitable sortable"
 +
|-
 +
! 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 ==
 +
<gallery>
 +
File:STC_Relay_Board_sch.png | STC Relay Board SCH
 +
</gallery>
 +
 
== Setup Demo ==
 
== Setup Demo ==
 +
* [https://twitter.com/electro_phoenix/status/996246067053285377 Clear Demo Video]
 
* [https://twitter.com/electro_phoenix/status/988328062084317184 A rough demo video for STC MCU relay board could see here], module count down and hold relay status on first loop, then config and loop as configed.
 
* [https://twitter.com/electro_phoenix/status/988328062084317184 A rough demo video for STC MCU relay board could see here], module count down and hold relay status on first loop, then config and loop as configed.
 +
*
 
[[category: Topics]]
 
[[category: Topics]]

Latest revision as of 06:53, 15 June 2018

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