Mother Arduino
Revision as of 11:27, 14 January 2012 by Jdc928 (talk | contribs) (Created page with "==Mother Navigation== MotherStatus | Mother To-Do List | Mother Wish List | MotherMain ==Overview== The goal is to allow Mother to be able to monitor and control...")
MotherStatus | Mother To-Do List | Mother Wish List | MotherMain
Overview
The goal is to allow Mother to be able to monitor and control Arduino boards and devices. The solution consist of a sketch that can be loaded onto any arduino and allow all pins to be updated to the mother system.
Method of Integration
Integration of arduino boards consist of the following scripts:
- Mother script to open the corresponding com port and monitor for serial data
- Mother script triggered by incoming data on monitored com port to parse data and set devices as needed
- Arduino sketch that updates device values as they change and that allows the Arduino to receive device control commands from Mother
Protocols
Protocol Syntax
"Message Description:Arduio Stats|Future1:Future2|Device1Code:Device1Value|Device2Code:Device2Value..." (No trailing "|")
Example: Device Value Update String =
"DVU:x|x:x|D1:1|D2:1|D3:0|D4:0|D5:232"