PDA

View Full Version : ReefAngel Controller Client Suite


crank2211
08/11/2010, 10:49 AM
So since I received the ReefAngel controller I've been messing around with development both with the Arduino sketches as well as some custom .NET development to make interfacing with the unit easier as well as introduce the ability to display real time parameters and automatically send out notifications based on those parameters. Below is a demo and some screenshots of what I have so far.

The "Suite" consists of:

- Custom Arduino sketch and libraries to allow user to specify on the controller how often applications on PC should be updated (demo is every 3 seconds)
-WCF Windows Service listener to receive those events, format the data and push to all applications that may be subscribed.
-Windows Logger Service that subscribes to listener and stores data to SQLServer Compact database every 6 minutes (user defined)
-WinForm Client that also subscribes and displays the near real-time parameters and sends out notifications if a defined threshold is met. Also includes live graphing and soon to be historical graphing from data in database.

Still a bunch left to do. Right now communication is one way from the controller. I'm working on making it two way so we can actually send the On/Off commands to relays. Also I want to make the graph more interactive so users can hover over lines and display actual parameters at that time point. Export to Excel and JPEG are also in the works. Additionally I need to work on sending On/Off events from controller to client so you can see how often your equipment is toggling and I need need to send controller alerts as well. The nice thing about storing the data in a lightweight sqlServer CE database is we can include complex reporting to show Highs/Lows over any given period of time as well as much more.

Change to 720P and expand the video for more details...
<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/Wuqu9J2ww2Q&amp;hl=en_US&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Wuqu9J2ww2Q&amp;hl=en_US&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>

Screens:
http://i150.photobucket.com/albums/s85/jynxxxed/Aquarium/ReefAngel/demo1.jpg
http://i150.photobucket.com/albums/s85/jynxxxed/Aquarium/ReefAngel/demo2.jpg
http://i150.photobucket.com/albums/s85/jynxxxed/Aquarium/ReefAngel/demo3.jpg
http://i150.photobucket.com/albums/s85/jynxxxed/Aquarium/ReefAngel/demo4.jpg
http://i150.photobucket.com/albums/s85/jynxxxed/Aquarium/ReefAngel/demo5.jpg
http://i150.photobucket.com/albums/s85/jynxxxed/Aquarium/ReefAngel/IMG_0322.png


Any critiques, feature requests, comments or input is always welcome.