2.1 Relay States

The microcontroller runs a simple state machine to determine if the non-latching relay is operating correctly. There are five states defined:

  • RELAY_OPEN
  • RELAY_OPEN_TRANSITION_CLOSED
  • RELAY_CLOSED
  • RELAY_CLOSE_TRANSITION_OPEN
  • RELAY_ERROR