Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.9 KB

Notes.md

File metadata and controls

45 lines (34 loc) · 1.9 KB

ToDo

Questions

  • can an arduino digital pin put out enough amps to power the relay module?
    • could power down relay module when not in use

Sleep Routine

  • when transmition of kill or stay alive broadcast is complete and confirmed.
    • send "Z" to say ready for bed. When recieve "z" back, end all transmissions.
    • xbee sleep mode will engage after 2 minutes as predefined time in XCTU settings
    • arduino will go into avr sleep mode for 8 seconds at a time, keeping count.
    • after 28 minutes wakeup xbee as defined in XCTU sleep timer
    • after 30 minutes, end arduino avr sleep.
    • Broadcast "W" awake status every 1 minute using delay(). wait for "w" confirmation.
    • Broadcast status of liquid level switch. "K" to kill. "A" to stay alive.
    • Wait for Confirmation of "k", "a", or "E" for error.
    • Broadcast "Z"

Related Links

XBEE SETTINGS