Go Back   Aquarium Advice - Aquarium Forum Community > General Aquarium Forums > DIY Projects
Click Here to Login

Join Aquarium Advice Today
Reply
 
Thread Tools Search this Thread Display Modes
Please support our sponsors and let them know you heard about them on AquariumAdvice.com
 
Old 09-10-2015, 11:21 AM   #1
Aquarium Advice Activist
 
Join Date: Jun 2015
Posts: 154
Web Based IR Light Controller

I wanted to repost this from another forum I'm part of in case anyone here is interested.

Originally posted May 12, 2015:

There are a few light controllers already out there that can control the Current USA Satellite and/or Ecoxotic E Series fixtures but none of them seem to be web based. Since the rest of my tank will be controlled by an Apex controller I didn't like the idea of having something that requires physical access to change settings on.

I write code for a living so it only made sense to write a controller that's accessible via the web from a browser ... both desktop and mobile.

I had an Arduino Uno and Ethernet shield lying around so that seemed like the perfect platform.

The Arduino Uno doesn't have much ROM space but so far things are fitting ... just barely though.

The controller is still a work in progress, about 75% done I'd say. The Arduino code is pretty much all done just not debugged yet. Most of the work left is on the web side of things.

Here's a link to the project code:

https://github.com/Stonyx/IRLightController

The controller borrows a concept from the iAqua Lite where you predefine the color values for the 4 memory buttons and then fade between those. However it greatly expands on this by allowing a total of 50 schedule entries per week for when the various colors should be active. It also adds 50 additional schedules per week for sending any IR command to the light which adds great flexibility to do fun things with the various dynamic modes.

It also gets its time from a NTP time server on the web so no more having to change the time when daylight savings kicks in.

And lastly it will be able to control both the Satellite and E Series fixtures.

I'll post updates here as I make progress but feel free to check the Github link for the latest changes and post here with questions, suggestions, etc.

Thanks,
Harry
__________________

__________________
Harry Muscle is offline   Reply With Quote
Old 09-10-2015, 11:22 AM   #2
Aquarium Advice Activist
 
Join Date: Jun 2015
Posts: 154
Originally posted July 3, 2015:

This controller is now feature complete ... it's officially graduating from Alpha stage to Beta stage. I have done isolated testing during development, but this hasn't yet been tested on an actual Arduino along with the HTML/CSS/JS interacting with it. It's probably going to be a few weeks before I get my Arduino setup and ready to test, so if anyone feels like helping out and trying this code feel free to do so. I'm open to all comments, suggestions, questions, etc.

Here are screenshots of what the user interface looks like:

Main page:



Memory Schedule page:



Timer Schedule page:



Color Values page:



Reboot page:



Reset page:



About page:



Thanks,
Harry

P.S. The pages are fully responsive and adjust on mobile devices.

P.P.S. Please ignore some of the bogus test values in the screenshots.
__________________

__________________
Harry Muscle is offline   Reply With Quote
Old 09-10-2015, 11:23 AM   #3
Aquarium Advice Activist
 
Join Date: Jun 2015
Posts: 154
I finally found some time to load this onto my Arduino and debug it. I've committed lots of fixes to github. Web pages are being served very nicely now. A full load takes about 15 seconds which isn't that bad considering how slow an Arduino is and the fact that it's serving fully responsive pages along with a few images.

I ended up running out of code space with one of the fixes, so I had to remove DHCP support, however, that made room for making the time zones and daylight savings time configurable via the web interface.

Things are coming along nicely. I'd say it's around 90% done.

Thanks,
Harry
__________________
Harry Muscle is offline   Reply With Quote
Old 09-13-2015, 01:06 PM   #4
Aquarium Advice Activist
 
Join Date: Jun 2015
Posts: 154
The code base is now basically all done. I've added the last set of configuration screens and tested everything I can think of. The only thing that I can't test is how it actually interacts with the various fixtures it supports, since I don't own all of them, however, the IR codes come from other tested projects so I'm pretty confident it will work just fine.

If anyone feels like trying this out I'd be more than happy to assist. I'm actually surprised there isn't more interest in this ... personally it seems so much easier to access the timer over the network than having to physically touch it to make changes which is what the rest of the Arduino light controllers on this site require. Also not having to change the time twice a year for daylight savings time is a big plus for me personally too.

BTW, here are the mobile screens for the timer:



















Thanks,
Harry
__________________
Harry Muscle is offline   Reply With Quote
Old 10-25-2015, 01:13 AM   #5
Aquarium Advice Regular
 
Join Date: Aug 2015
Posts: 80
How are you getting the controller online? Sorry if stupid question.

Sent from my SAMSUNG-SM-N910A using Tapatalk
__________________
ericbrookey is offline   Reply With Quote
Old 10-25-2015, 06:05 AM   #6
Aquarium Advice Addict
 
Join Date: Jun 2012
Location: Near Chicago, IN
Posts: 4,856
Wow! This is way too advanced for me. So with the build in your house do you have everything on your tank automated?

Sent from my SAMSUNG-SM-N900A using Aquarium Advice mobile app
__________________

Brenna
brennae is offline   Reply With Quote
Old 10-25-2015, 10:26 AM   #7
Aquarium Advice Activist
 
Join Date: Jun 2015
Posts: 154
Quote:
Originally Posted by ericbrookey View Post
How are you getting the controller online? Sorry if stupid question.

Sent from my SAMSUNG-SM-N910A using Tapatalk
I'm using the standard Arduino Ethernet shield to add networking capability to the controller.

Thanks,
Harry
__________________
Harry Muscle is offline   Reply With Quote
Old 10-25-2015, 10:28 AM   #8
Aquarium Advice Activist
 
Join Date: Jun 2015
Posts: 154
Quote:
Originally Posted by brennae View Post
Wow! This is way too advanced for me. So with the build in your house do you have everything on your tank automated?

Sent from my SAMSUNG-SM-N900A using Aquarium Advice mobile app
That's the goal. Although the water changes will require a bit of work on my part, like pushing a button to start the water change pump and occasionally refilling the water change container in the basement.

Thanks,
Harry
__________________
Harry Muscle is offline   Reply With Quote
Old 10-25-2015, 11:37 PM   #9
Aquarium Advice Regular
 
Join Date: Aug 2015
Posts: 80
Interesting concept. Still working out the specs for the arduino and what the real world usage might be but I commend you for the work.

Sent from my SAMSUNG-SM-N910A using Tapatalk
__________________

__________________
ericbrookey is offline   Reply With Quote
Reply

Tags
base, control, controller, light

Please support our sponsors and let them know you heard about them on AquariumAdvice.com

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pH controller or no pH controller Crepe General Hardware/Equipment Discussion 8 08-07-2010 04:12 PM
LF Canadian Based Marine Hardware Store pm64971 Saltwater & Reef - Getting Started 6 04-22-2006 01:46 PM
Help - Oily Sheen on water possibly from oil-based paint! Kilgore Freshwater & Brackish - General Discussion 9 02-14-2006 02:08 AM
DIY computer based water quality monitoring system? hannibal_lector DIY Projects 6 01-12-2006 05:25 AM
silica based sand. r6mason Saltwater & Reef - Getting Started 6 08-03-2005 06:02 AM







» Photo Contest Winners








Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -4. The time now is 06:05 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.