I built this a while back and just added it into my tank thread, but I wanted to seperate that out for support and informational purposes. so here goes.
Goals:
below is that post brought over.
Goals:
- completely replace DA Archon Controller
- simple, clean and easy to do
- learn how to solder
below is that post brought over.
The last two weeks have been interesting to say the least. One thursday evening, my Archon controller started to reboot. somehow it was not happy and I could not get it stable to connect to the buss and my wifi. I have NO CLUE what happened to it. after an hour of trying to get it back up, I gave up and swapped essential life controls over to a power strip and what outlets remained on and just left the head unit unplugged from the buss. The next am, I power cycled it yet again and still nothing.
After the issues the previous night, I decided i needed to start to migrate to another control system. to control what I currently have with my Archon, I would need 12-16 outlets plus some extra modules. we are talking serious $$$ for an Apex system (over $1000) or any other off the shelf controller. I had amassed my Archon up over 6 years or more so there was no initial sticker shock. Forking over that kind of dough would have left me and my reef in the doghouse.....
Fortunately I have been following the Reef-pi opensource controller thread and I have seen some similarities to the Archon in this setup (mainly the linux part). So, i made the decision and calculation that I could get into the reef-pi and get it started for about $150. Not bad. However it wont do all that my Archon can do at this point, but i can see the potential. Hopefully I can lend my beta team experiences with this as well.
Please go check out the Reef-pi here. https://www.reef2reef.com/threads/r...tank-controller-based-on-raspberry-pi.289256/
While it ended up at $165 or so plus some extraneous parts and pieces I already had, I am quite pleased considering a few things:
So below is what I purchased:
- I have never worked with a Raspberry Pi before
- I have never soldered in any way shape or form. ever. I have wanted to, and even got a nice soldering iron for christmas.
I had a case for it all to go in and some automotive wire laying around. We reefers like to re-purpose stuff so I did in several cases along the way here.
- Pi 3b ( you can get the 3b+ for $39.99 but I messed up and got wrong one)
- American DJ SRP8 Power strip with 8 relay controlled outlets (12 volt relays)
- Cable for the SRP8
- DB9 Connector breakouts for the SRP8 control circuits
- DS18B20 thermometers and resistors for them to work properly.
- 12 Volt power supply
- Buck Boost converter (convert the 12v down to 5v) - I really liked this one because of the readout on it.
- Perma-Proto Hat
- Darlington ULN2803a (step up from the 5v signal to the 12v for relays)
- Jumper wires
Due to a busy week ahead, I had to just order and let everything come in.
My first attempt at Soldering. Not too bad. a but heavy with the big wires but I was pleased. This is THE temperature circuit. I have 3 sensors connected to this portion.
Here is the system after adding in the power supply and the Control for 8 outlets. The rainbow colors go from the top of the board and the GPIO pins down to the darlington where it then steps the signaling up to 12volts and delivers it to the DB9 connector.
Here is the outside of my project box. Unfortunatley the plastic was too thick for the connectors so I had to grind it down with my angle grinder on the inside for them to thread in. but hey, it works well now.
Goodies inside the box
Here is a Frtizing schematic of what I have built here.
to add 8 more channels I will add another breadboard and complete that circuitry probably next month
RJ45 breakout I had purchased for my Archon. this allows me to signal along a standard cat5E cable from the control box to the side of my tank. Connected here is the ATO float switch (white and blue) and two (now 3) temperature probes. They use power from the system delivered over the Cat5e and signal back on the yellow. Cool thing about these types of probes is that they each have a different address yet signal across the same circuit. so I can monitor the tank, Sump and the room temp. ***To clarify, I did not us the Raspberry PI ethernet jack in this at all.
SO, all that said now, I have control of 8 devices on my system. the reef-pi is controlling the heater and the auto top off.
Some of the graphing. good to see this data.
I still have to implement PH monitoring and hopefully Salinity Monitoring along with PWM control for Jebao pumps. This is all still in development.