|
04/24/2014, 02:13 PM | #1 |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
redtop's Ferduino controller
I know nothing about writing code for these DIY controllers but with a lot of help from the creator of the Ferduino, Fernando Garcia and in spite of the language barrier, with help from google translator and pestering the crap out of Fernando, I've managed to convert his code to read Fahrenheit instead of Celsius and get it to connect to the web....for some of you, that's probably not all that hard, for me is was a major accomplishment LOL
I've been using the Jarduino for a couple years now and it is working great for me but being the DIYer I am and wanting to learn more about these Arduino controllers, I wanted to tackle a much larger project, now I have 2 projects going with this and the Chauvet16 as well LOL I've been messing with Fernando's code for a while now and decided I wanted to build a controller using his code, what I've found is that this code pretty much covers everything I could ever hope to have in a controller and much more, with the use of the Xively web site to monitor all the parameters and it even has a feature to monitor the power consumption of your reef tank....I'll save that feature for later but thought it was pretty cool since when I was using halide lighting my tank was power hungry LOL I've been sourcing out all the components and trying to shop wisely and save as much as I could, most of the pieces have taken a while to get, a lot I'm still waiting on from all over the world, Amazon had some pieces, the rest are from Ebay I found a nice looking project case on Amazon and thought it would hold most of the controller brains, the relays to operate the pumps and whatnot as well as the LEDs will be connected using the DB9 serial cables and remotely mounted.... I'll be using the 3.5mm stereo headphone connectors for all the float sensors, temperature probes, and the PWM control for the Jebao pumps, I'm still waiting on the stereo connectors and once I have those, as with everything else so far, I made need more stuff to make them work LOL I'll try to explain more about what I'm doing with photos as I progress, since this is nowhere near finished and is just a pile of wires and flashing LEDs at the moment, though I do already have it communicating with Xively pics to come later
__________________
Willie McDaries |
04/24/2014, 02:33 PM | #2 |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
and now for a few pics
the last few pics are subject to change, I really don't know yet how I'll have to mount the 3.5mm connectors so I may have to redo the pH circuitry to accommodate everything else
__________________
Willie McDaries Last edited by redtop03; 04/24/2014 at 02:41 PM. |
04/24/2014, 02:44 PM | #3 |
Registered Member
Join Date: Aug 2004
Posts: 292
|
What all is in that stack
|
04/24/2014, 02:49 PM | #4 |
Registered Member
Join Date: May 2003
Location: 13.1667° N, 59.5500° W
Posts: 164
|
looks good!! you got a lot of stuff going on in there do you have a break down of everything in the build?
__________________
We are who we are, and thats the way it going to be. Bob Marley Current Tank Info: 93 rimless Zeovit reef tank with 30 long Sump & SWC 250 2s skimmer in progress |
04/24/2014, 02:53 PM | #5 |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
the Arduino on the bottom, the Ethernet shield next, a proto board next to connect all the wiring to, which had to be trimmed to fit around the Ethernet port, and the LCD shield on top...
I'll post pics of everything taken apart later and show more detail of what's going on in there...I was just so excited to finally get it working I wanted to start a thread and post a few quick pics LOL
__________________
Willie McDaries |
04/24/2014, 02:55 PM | #6 | |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
Quote:
__________________
Willie McDaries |
|
04/24/2014, 03:00 PM | #7 |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
since this was the last piece I ordered, I still have a link for it, the Ethernet shield.....
I liked that it was a full shield and made specifically for the mega2560 board, it has a small proto section for connecting other things to it...once I had the correct IP addresses in the code, Xively connected to it instantly, very easy with the Ferduino code http://www.ebay.com/itm/181229572768...84.m1439.l2649
__________________
Willie McDaries |
04/24/2014, 03:09 PM | #8 |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
I don't know if anybody noticed in the first pic but the display screen is cracked, ol' fumble fingers dropped it taking it out of the box and cracked the screen, I have a replacement ordered but the crack doesn't seem to be hindering it's operation any
I'll keep it around for experimenting with but don't really trust it long term with my controller
__________________
Willie McDaries |
04/24/2014, 03:13 PM | #9 |
Registered Member
Join Date: Aug 2004
Posts: 292
|
what pins do the Ethernet shield uses, because I thought the LCD uses the same pins
|
04/24/2014, 03:40 PM | #10 |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
I'll try to do a parts break down here since I've relocated most of the links
the Ethernet shield : http://www.ebay.com/itm/181229572768...84.m1439.l2649 the TFT LCD 3.2WD screen here: http://www.ebay.com/itm/221343348573...84.m1439.l2649 the screen shield here: http://www.ebay.com/itm/321347794446...84.m1439.l2649 the RTC here: http://www.ebay.com/itm/221403480973...84.m1439.l2649 the proto board here: http://www.amazon.com/gp/product/B00...?ie=UTF8&psc=1 relay board here: http://www.amazon.com/gp/product/B00...?ie=UTF8&psc=1 the project case here: http://www.amazon.com/gp/product/B00...?ie=UTF8&psc=1 pH stamp here: http://www.amazon.com/gp/product/B00...?ie=UTF8&psc=1 and because I tried to DIY this but mine looks like crap compared to these, I will likely get the Atlas single component board for my pH stamp here: https://www.atlas-scientific.com/pro...e-carrier.html or I may get this instead so I can upgrade as I need it to use the ORP and Density features as well as the 2nd pH stamp: https://www.atlas-scientific.com/pro...t-carrier.html I don't run a Ca Rx, yet, but with another pH circuit, I can control the CO2 with this controller to keep it's pH in check all the connectors and cables are coming from Amazon and Ebay as well, just do a search for DB9 serial straight through cables and chassis mounts connectors, you'll find everything you need,same for the 3.5mm stereo connectors.... if the DB9 ain't enough wires(9 wires), they make a DB15(15 wires) and DB25(25 wires) as well...I may end up having to use one or the other of those as well and Fernando's code is here: https://github.com/fernandogarcia I used the English version
__________________
Willie McDaries Last edited by redtop03; 04/24/2014 at 04:34 PM. |
04/24/2014, 03:52 PM | #11 | ||
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
Quote:
Quote:
__________________
Willie McDaries |
||
04/24/2014, 04:02 PM | #12 |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
Fernando has used about every available pin on the mega for this, and then used the PFC8575 for even more LOL
__________________
Willie McDaries |
04/24/2014, 04:24 PM | #13 |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
Fernando just emailed my some awesome news about his Ferduino build, as soon as he gives me the OK, I'll post pics of it too, but he and a couple other guys are working on a web based control for all this, the pics of the screen shots look awesome
__________________
Willie McDaries |
04/24/2014, 04:38 PM | #14 |
Registered Member
Join Date: May 2003
Location: 13.1667° N, 59.5500° W
Posts: 164
|
nice would surely be interested in seeing that. Can this be modified for any lighting type? Not sure I am moving to Leds as yet.
__________________
We are who we are, and thats the way it going to be. Bob Marley Current Tank Info: 93 rimless Zeovit reef tank with 30 long Sump & SWC 250 2s skimmer in progress |
04/24/2014, 04:51 PM | #15 | |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
Quote:
I renamed the timers to what I have on the screen, under the LED bar graph, return, skimmer,cl pump, etc....they were named timer 1, timer 2, and so on
__________________
Willie McDaries |
|
04/24/2014, 05:45 PM | #16 | ||
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
Quote:
Quote:
__________________
Willie McDaries |
||
04/25/2014, 04:34 AM | #17 |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
hopefully this will work for my power strip cause I just ordered it
http://www.amazon.com/gp/product/B00...?ie=UTF8&psc=1 it has a 5v USB charging system built into it so it already has power for my relay module, plus the switches light up blue
__________________
Willie McDaries |
04/25/2014, 04:45 AM | #18 |
Registered Member
Join Date: May 2003
Location: 13.1667° N, 59.5500° W
Posts: 164
|
hey thanks for the break downs and such really appreciate your sharing this knowledge!!
__________________
We are who we are, and thats the way it going to be. Bob Marley Current Tank Info: 93 rimless Zeovit reef tank with 30 long Sump & SWC 250 2s skimmer in progress |
04/25/2014, 05:18 AM | #19 | |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
Quote:
I've always been pretty good at following directions for wiring things up, but the knowledge for all of this is from much greater brains than mine, these guys who write the code deserve the credit and the thank you's for their hard work... people like Doughboy with the Chauvet16, Jamie with the Jarduino, and Fernando with the Ferduino, and there's probable a half dozen or so more projects like this out there, but these guys are few and far between..... you take only a handful of electronic geniuses in this big ol' world, then only a fraction of them are into reefing, electronic and computer savvy minded brains like these guys have are scarce in our hobby... I've found out that the best way to learn this stuff is to jump in head first and see what happens....I have been reading ""Arduino for dummies"" trying to get a better understanding of what's going on within these codes, it is still way over my head but I am learning a little each day and I've probable already spent enough on all of this Arduino stuff to buy a fully equipped Neptune Apex, but where's the fun in that LOL this is just another hobby for me and I love doing stuff like this and learning as I go and hopefully keeping the Alzheimer disease away
__________________
Willie McDaries |
|
04/25/2014, 02:20 PM | #20 | |
Registered Member
Join Date: Jul 2011
Location: Sao Paulo, Brazil
Posts: 193
|
Quote:
Hi! We have much work to do yet but soon we'll release an alpha version to tests. Some pics. Thank you Willie by show your controller. Best regards. Fernando Garcia |
|
04/25/2014, 02:58 PM | #21 | |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
Quote:
__________________
Willie McDaries |
|
04/26/2014, 01:07 PM | #22 |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
got my new screen and a new shield for it in yesterday and got it all mounted in there and it looks the same, minus the crack in the screen LOL
got some diodes I had ordered and still waiting on a few other items for the LED fan control circuits, and still waiting on more connectors for the temp probes and float sensors, once I have all of that stuff, I'll tear it back apart and start snapping pics of everything and hopefully explain it all a little better as I build it back..... while changing out the LCD screen, I noticed that I have wired my DB9 connectors to the wrong pins, luckily I hadn't connected anything to them and no harm came of anything LOL I redid all of that while I was in there too... I built all that after staying up all night working with it, mistakes were bound to be made...while soldering my wires to the proto board, I was looking at it upside down and connecting to pins on the opposite side of the board not taken into consideration that the proto board would be flipped over once it was done LOL few words of advice don't ever assume you have anything wired correctly with this stuff, check, double check, and triple check everything, make absolutely positive you have everything correct before powering anything up, and it a great idea to check all your circuits for continuity and for shorts, it's easier to fix something while you're building than after it is completely assembled
__________________
Willie McDaries |
04/26/2014, 01:23 PM | #23 |
Registered Member
Join Date: Jul 2011
Location: Sao Paulo, Brazil
Posts: 193
|
Hi!
Here a step by step to install the code. https://www.youtube.com/watch?v=462cOcKuG38 Best regards |
04/26/2014, 01:40 PM | #24 | |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
Quote:
I had the libraries all in the wrong place but following your video, it's really easy
__________________
Willie McDaries |
|
05/01/2014, 10:01 AM | #25 |
moved slow
Join Date: Apr 2008
Location: Barbourville,Ky.
Posts: 1,390
|
I managed to get a few more assembly items finished the last few days, I got my 9 channel power center relays installed, and it wasn't as easy as I hoped it would be.....
instead of having wiring to and from each switch and outlet, they used circuit boards to clean up the design and simplify wiring, I had to remove both circuit boards so the relay pack would fit in there, it's a snug fit but it does fit, and it works great.... I wouldn't recommend this unit for this purpose, and actually wouldn't recommend it for it's intended purpose, it has a 15 amp rating but the few wires it had inside were no more than a 16 gauge, the wiring to power the switch lights was even smaller, it is wired with 14 gauge now and a couple wires are 12 gauge, I ran outta 14ga. and since it's power cord looks like a standard PC cord, I'll add a longer, heavier duty cord to that as well on with a few pics the finished project few of the guts
__________________
Willie McDaries |
|
|