|
01/06/2014, 08:28 PM | #26 |
Registered Member
Join Date: Oct 2006
Location: Fort Worth, TX
Posts: 43
|
Thanks Joopie!!
|
01/06/2014, 09:11 PM | #27 |
Registered Member
Join Date: Sep 2013
Location: Port St. Lucie, FL
Posts: 62
|
Joopie I am going to order rapid LEDs and I was thinking about building an arduino controller. Can I use the 1-10v drivers with an arduino controller or do I have to order the pwm drivers? The reason i am asking is because I was going to use the analog dimmers in the beginning and build the controller later.
|
01/07/2014, 03:44 PM | #28 | |
Registered Member
Join Date: Apr 2013
Location: New Hampshire
Posts: 37
|
Quote:
|
|
01/21/2014, 09:49 PM | #29 |
Registered Member
Join Date: Jan 2014
Posts: 17
|
Hi there, new to the DIY fish projects and ardiuno and this forum. Couple ?s if you don't mind. Y use the mega over the uno, as I have the uno. Can I use my uno. Is it possible to provide a wiring diagram because I want to use the temp sensor control led lights white and blue and provide a storm if that is possible. Thanks in advance.
|
01/29/2014, 07:26 PM | #30 |
Registered Member
Join Date: Dec 2013
Posts: 90
|
Very cool stuff - wish I had the know-how to mess with this!
|
02/07/2014, 12:43 AM | #31 |
Registered Member
Join Date: Oct 2006
Location: Fort Worth, TX
Posts: 43
|
Joopie i have a couple of questions. Is the arduino sending all it data to the mysql database and then the website is retrieving it data from the database and then the refresh is doing another database query to pull the latest data? Also are you able to manually control the lights once you are on the password protected part of your site. Thanks for sharing.
|
02/07/2014, 05:57 AM | #32 |
Registered Member
Join Date: Apr 2013
Location: New Hampshire
Posts: 37
|
yep that's exactly whats going on. Once i put the password in, the slots with "Disabled" will show a combo box/number box that lets me select what i want it to do. i can set the % brightness for blue/white LEDs then put LED mode to On and it will set them to that.
|
02/07/2014, 01:54 PM | #33 |
Registered Member
Join Date: Dec 2013
Location: Bloomington, Indiana
Posts: 312
|
Could you explain how the ultrasonic module is determining water height in your sump? Also are you using it in a way that provides any sort of overfill protection should it fail?
This looks really interesting. |
02/07/2014, 03:40 PM | #34 |
Registered Member
Join Date: Apr 2013
Location: New Hampshire
Posts: 37
|
the ultra sonic measurement returns the distance from the water height back to the module. So i subtract that from the distance of the module from the floor. it will kick on at 11 inches and off at 12. i actually soaked it in salt water last night so it was outputing ~27 inches. i have some stuff coded in were it will not allow stuff to happen when there is an alarm condition. Since it was over my alarm set point of 15 inches the auto fill will not turn on. if it wanted to fail low, i have one of these installed that works great! http://www.amazon.com/Kerick-Valve-M...ds=float+valve
it will stop the fill process around ~16 inches. now that the module is all dried out it seems to be working fine lol. |
02/08/2014, 05:56 AM | #35 |
Registered Member
Join Date: Dec 2013
Location: Bloomington, Indiana
Posts: 312
|
Thanks, so it is just up above your sump measuring the distance to the water's surface? What happens if you get a pipe in the way or something of that sort? Just sets off your water is too high alarm and shuts down the ATO?
This looks like a really fun project. I've spent the last decade coding whatever I'm told for work, so I've not actually had a fun project for myself in a long time. I may have to give this a whirl. |
02/08/2014, 02:09 PM | #36 |
Registered Member
Join Date: Oct 2006
Location: Fort Worth, TX
Posts: 43
|
I think I understand how you are sending the data to the mysql database. What I am having issues understanding is how you can change the LED brightness from the website. Can you expand on that a little?
Again thanks for sharing! |
02/08/2014, 05:48 PM | #37 | |
Registered Member
Join Date: Apr 2013
Location: New Hampshire
Posts: 37
|
Quote:
Last edited by joopie; 02/08/2014 at 06:07 PM. |
|
02/08/2014, 05:59 PM | #38 | |
Registered Member
Join Date: Apr 2013
Location: New Hampshire
Posts: 37
|
Quote:
which builds a custom string from the database for the arduino to parse. You can see below that RX() will call the website to get the json string thats buffered in readString. When readString is done it goes to parseString(String str) to separate the command and value. Once a command, value pair is separated it gets passed to setInput to assign the variable. PHP Code:
|
|
02/08/2014, 06:26 PM | #39 |
Registered Member
Join Date: Apr 2013
Location: New Hampshire
Posts: 37
|
Here is what it looks like when i put the password in. All the "Mode" settings have an On Off or Auto. PH Mode has continuous, off or calibration modes.
|
02/10/2014, 06:56 AM | #40 |
Registered Member
Join Date: Oct 2006
Location: Fort Worth, TX
Posts: 43
|
Joopie, thank you so much for sharing!
|
04/17/2014, 06:56 PM | #41 |
Head zoo keeper
Join Date: Nov 2005
Location: Toledo ,Ohio
Posts: 710
|
I have not for got I want to try to build this and make it work I have all the parts just need to get the website part set up to run on my website and domain
|
05/21/2014, 09:08 AM | #42 |
Registered Member
Join Date: Apr 2013
Location: New Hampshire
Posts: 37
|
I am replacing my current solenoids with these: http://www.wicvalve.com/
They are excellent and a good price. You can even select your coil voltage! I will be building a salt water mixing station next. My plan is to only dump a bag of salt in and it will do the rest. I will also experiment with a better web site GUI. |
05/26/2014, 09:00 PM | #43 |
Head zoo keeper
Join Date: Nov 2005
Location: Toledo ,Ohio
Posts: 710
|
cant wait to see your new Gui and mixing station
|
05/29/2014, 04:32 PM | #44 |
Registered Member
Join Date: Apr 2013
Location: New Hampshire
Posts: 37
|
I have been working on the web page mostly. Some of the physical parts are built. This wont be using an arduino but a beaglebone black instead.
Since nothing is really working yet i made a simulated site to show how it'll work. Click on parts and turn them on or off. I will prob make another thread with a complete explanation of everything once its near complete. Let me know what you guys think! After this project i think ill be updating the display tanks controller and web site. http://www.rareglitch.net/SWMS/index_sim.html |
06/12/2014, 05:11 PM | #45 |
Registered Member
Join Date: Jun 2013
Posts: 93
|
Was wandering around the site and came across your thread. Really nice stuff. Been playing around some with an arduino so was interested to see how you had done things.
However, the thing that caught my attention and wanted to ask about is those solenoids you gave a link to. Is it safe to use brass on the aquarium's plumbing? Since brass is a copper/zinc alloy, I would be worried about copper getting into the system. Is this not an issue with brass? |
06/12/2014, 05:29 PM | #46 |
Registered Member
Join Date: Apr 2013
Location: New Hampshire
Posts: 37
|
yes it is an issue, that's why i have upgraded my solenoids to the plastic WIC valve solenoids. Like this one: http://www.wicvalve.com/1-2-Inch-Pla...2PCG-1-2-D.htm
|
07/11/2014, 02:46 PM | #47 |
Head zoo keeper
Join Date: Nov 2005
Location: Toledo ,Ohio
Posts: 710
|
joopie any new updates?
|
07/23/2014, 08:08 PM | #48 |
Registered Member
Join Date: Apr 2013
Location: New Hampshire
Posts: 37
|
Not much to report yet. I have made some progress on the beaglebone code with python but have been busy with other stuff so haven't had much time to complete this project. Should be able to resume work on it soon.
|
07/31/2014, 09:41 AM | #49 |
Addicted to salt
Join Date: Mar 2013
Location: Carrollwood, FL
Posts: 2,450
|
Hi Joopie, so glad i found this. I have been reading all i can on the arduino and was about to start my controller project. do you know if the new Adruino Tre can serve as an upgrade to the Mega?
__________________
"60% of the time it works every time..." - Anchorman Current Tank Info: 180 Aqueon RR / SRO3000Int / BLDC15 / TriggerSys custom Sump / AI Hydra 52 and Hydra 26 |
08/01/2014, 06:30 PM | #50 | |
Registered Member
Join Date: Apr 2013
Location: New Hampshire
Posts: 37
|
Quote:
I use SSH to remote into my beaglebone from any location so i can work on it. I am able to access the files from my network and can just program that way as well. Here is a screen shot of my SSH session. |
|
Tags |
aquarium, arduino, automation, control |
|
|