The IKEA reefpi upgrade build

OP
OP
b4tn

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Location
Columbia MD
Rating - 0%
0   0   0
I’m in the home stretch! Everything has been assembled and tested! Best part, it all worked first go. Now I will tidy up the software, get some labels made, and work on getting it installed on my tank.

The silver barrel connectors are independent switched DC. You plug the DC power pack in the bottom and run the top to the controlled equipment. The tablet power is hardwired behind the board. The hole in the center is the pass through for pump controllers. I just run the cable through and mount the control module to the board.

ED11D73C-E0D1-4D00-AD5B-DC73499D4710.jpeg
88776376-59CA-4317-A6DD-316EFFC956DD.jpeg
D31568BD-F00D-4CD2-92BF-2BCF32E715EA.jpeg
 
OP
OP
b4tn

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Location
Columbia MD
Rating - 0%
0   0   0
Right now I have adafruit.io setup for temp probe quick stats. I can see this being very useful especially for Quick view PH reading in the future. I have my 3 non reefpi controlled pumps hooked mounted. I am going to have to order a longer gyre cable but you all get the idea.
80934391-F47C-4E40-B1B4-D4CBE2428C13.jpeg
 
OP
OP
b4tn

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Location
Columbia MD
Rating - 0%
0   0   0
I’m starting to get excited. I am slowly transferring from old to new setup. The new reefpi is currently running sump lights and auto feeder. Tonight I wired up the doser, tested, and set up the schedule. I’m really liking the RJ45 connections. I only had 2 dosers before. Now I have 4 working. I plan to use them to dose alk, calc, mag, and nitrate.
DE40F9EC-461D-4822-9856-AF619666142D.jpeg
BC9DAFB6-2BD1-4613-9F2A-D8B048B7590D.jpeg
A7500FDE-68F7-47BB-9871-AECCF50396CF.jpeg

I know it’s overkill but I have had a temp probe burst internally and leak god knows what inside the tank. So I gooped up the new probes and they are going to cure a few days before putting in the tank.
E1F68025-61FA-4E75-BBF6-BDFEE7DB2225.jpeg

From right to left USB port for the autofeeder, two USB ports for two temp probes (a third probe is wired direct to the board for internal ambient temp), the two barrel connectors are series wired float switches so I have a high and low level break, RJ45 port goes to the doser box, the 8 barrel connectors are DC input and output switched via relays internal
06CD6728-FCCC-4A8F-BFF8-8F8F3A47BFA7.jpeg


1A30155D-4ADE-424B-AE64-CA7D0A6FC638.jpeg
 
OP
OP
b4tn

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Location
Columbia MD
Rating - 0%
0   0   0
I have officially moved my tank over to the new controller. In its final state it has the following features:
- 8 Nomally open AC outlets
- 8 Normally closed AC outlets
- 6 Normaly open DC outlets with independent inputs and grounds.
- 4 dosers
- Relay controlled auto feeder.
- Relay controlled case fan
- 4 temp probes, 1 controls the internal case fan, 1 is for ambient temp, and 2 for controlling the main and backup heaters
- Dual float switches
- The main board consists of two full sized proto breadboard that can easily be slid out for maintenance or upgrades.

I am using a cheap fire tab as the screen and it’s hard wired into the main board for power. On the screen I have reef temp, back up temp and ambient temp. On the right is a temp historical graph and ATO graph. Behind it is a tab with reefpi running for when I need to run macros for water changes or whatever.

There is a hole in the center for pulling cables for non reefpi controlled equipment to be mounted. I still have to buy an extension cable for the right hand side controller.

Over the winter I will probably add PH to it and display that on the adafruit dashboard as well. Other than that I will also be building a shelf over the top of the back/side of the cabinet that will protect electronics from splashes and double as a work space for fragging and what not.

2B324ADC-FE61-49F7-9005-E7555FD2D0A6.jpeg
78DBD9CA-D864-4C10-AAC6-A34A5D3306AF.jpeg
08BA7086-A04B-4EFA-9880-8BE057FAD4F4.jpeg
 
OP
OP
b4tn

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,673
Reaction score
2,241
Location
Columbia MD
Rating - 0%
0   0   0
Finally got around to installing the PH circuit which pretty much finishes up this build. I don’t have a probe yet but I’m crossing my fingers Santa brings me one tomorrow :). If not my whole family knows how much I appreciate BRS and Amazon Gift cards. Install was straight forward. I picked up the Robo-Tank PH board from @robsworld78


08407A42-917A-4C7B-904E-89E1B6FA6222.jpeg


cracked open the case and got started.

8B05D7E8-1E26-4E7D-A684-0FCA5EEFABB8.jpeg


I have a PCA9685 in my build. Since it utilizes I2C it can be daisy chained for multiple devices. When I was building I soldered extra headers to the opposite end so I could add to the chain later.

5EA87B0E-C7BD-47E0-BEF5-040F1ADE8E80.jpeg

All I did was connect the provided ribbon cable to the PCA9685’s extra headers. VCC for +5v, Ground, SCL, and SDA then connected the other end of the cable to the matching pins on the PH circuit. I drilled a new hole and threaded it in. Turns out my largest drill bit is also my dullest (time for new bits) so I had a bit of a mishap but not a big deal. If I’m bored, one day I may uses some filler and touch up paint but I doubt it.

D31D9162-461F-4C54-8E65-202FDF576114.jpeg
E586ABCB-C854-4E88-9BC2-5136E3D604DE.jpeg

Now I could not find all of this in one spot. @robsworld78 answered the questions that I did have very quickly and I probably could have asked but I like to try and figure things out on my own, I’m stubborn like that lol. But since I couldn’t find it in one spot I figured I would put the software install steps here.

First, you probably could do this from the GUI or directly on the SD card but I find it to be much easier in the terminal. I run my pi headless anyway and don’t have a GUI so I fired up Putty and connected via SSH. Once at the terminal type the following

Code:
CD /boot
Code:
sudo nano config.txt

This will open the config file. Scroll to the bottom and insert the following txt


Code:
dtparam=i2c_arm_baudrate=10000

hit the CTL key and X key, select Y to save, and close putty.

Capture.jpg


Open reefpi and under configuration make sure PH is selected. Hit update and reboot reefpi.

E87A5A6F-DB44-4C75-8180-7B7D721003E9.jpeg

Next, under configuration go to the drivers tab. Add a driver, name it, select ph-ezo as a the driver. Unless told differently set the address to 99.

8491304C-2D3C-4946-9030-18F265D0D6E8.jpeg


Then navigate over to the connectors under configuration and scroll all the way to the bottom. Under analog inputs name it what you want and select the driver you just created. Save and reboot reefpi.

E719FD62-C1C6-48D9-BF97-E31CF5995D2E.jpeg

lastly, you should now see PH under the main menu. Just add a device, name it what you want, and select the analog device you just created. Set the probe to disabled and save. It’s now ready to calibrate. Once I get a probe I will go over the calibration here as well.

B7104B2C-4057-4144-B340-2D4EDEDFC7FB.jpeg
 
Last edited:

robsworld78

Well-Known Member
View Badges
Joined
Feb 14, 2020
Messages
952
Reaction score
1,281
Location
Edmonton, Canada
Rating - 0%
0   0   0
Finally got around to installing the PH circuit which pretty much finishes up this build. I don’t have a probe yet but I’m crossing my fingers Santa brings me one tomorrow :). If not my whole family knows how much I appreciate BRS and Amazon Gift cards. Install was straight forward. I picked up the Robo-Tank PH board from @robsworld78


08407A42-917A-4C7B-904E-89E1B6FA6222.jpeg


cracked open the case and got started.

8B05D7E8-1E26-4E7D-A684-0FCA5EEFABB8.jpeg


I have a PCA9685 in my build. Since it utilizes I2C it can be daisy chained for multiple devices. When I was building I soldered extra headers to the opposite end so I could add to the chain later.

5EA87B0E-C7BD-47E0-BEF5-040F1ADE8E80.jpeg

All I did was connect the provided ribbon cable to the PCA9685’s extra headers. VCC for +5v, Ground, SCL, and SDA then connected the other end of the cable to the matching pins on the PH circuit. I drilled a new hole and threaded it in. Turns out my largest drill bit is also my dullest (time for new bits) so I had a bit of a mishap but not a big deal. If I’m bored, one day I may uses some filler and touch up paint but I doubt it.

D31D9162-461F-4C54-8E65-202FDF576114.jpeg
E586ABCB-C854-4E88-9BC2-5136E3D604DE.jpeg

Now I could not find all of this in one spot. @robsworld78 answered the questions that I did have very quickly and I probably could have asked but I like to try and figure things out on my own, I’m stubborn like that lol. But since I couldn’t find it in one spot I figured I would put the software install steps here.

First, you probably could do this from the GUI or directly on the SD card but I find it to be much easier in the terminal. I run my pi headless anyway and don’t have a GUI so I fired up Putty and connected via SSH. Once at the terminal type the following

Code:
CD /boot
Code:
sudo nano config.txt

This will open the config file. Scroll to the bottom and insert the following txt


Code:
dtparam=i2c_arm_baudrate=10000

hit the CTL key and X key, select Y to save, and close putty.

Capture.jpg


Open reefpi and under configuration make sure PH is selected. Hit update and reboot reefpi.

E87A5A6F-DB44-4C75-8180-7B7D721003E9.jpeg

Next, under configuration go to the drivers tab. Add a driver, name it, select ph-ezo as a the driver. Unless told differently set the address to 99.

8491304C-2D3C-4946-9030-18F265D0D6E8.jpeg


Then navigate over to the connectors under configuration and scroll all the way to the bottom. Under analog inputs name it what you want and select the driver you just created. Save and reboot reefpi.

E719FD62-C1C6-48D9-BF97-E31CF5995D2E.jpeg

lastly, you should now see PH under the main menu. Just add a device, name it what you want, and select the analog device you just created. Set the probe to disabled and save. It’s now ready to calibrate. Once I get a probe I will go over the calibration here as well.

B7104B2C-4057-4144-B340-2D4EDEDFC7FB.jpeg

Nice job, I'm embarrassed to say I didn't even think of creating a setup manual for the pH circuit, now I can copy and paste it, thanks! :)
 

Reefing threads: Do you wear gear from reef brands?

  • I wear reef gear everywhere.

    Votes: 47 16.7%
  • I wear reef gear primarily at fish events and my LFS.

    Votes: 18 6.4%
  • I wear reef gear primarily for water changes and tank maintenance.

    Votes: 1 0.4%
  • I wear reef gear primarily to relax where I live.

    Votes: 35 12.5%
  • I don’t wear gear from reef brands.

    Votes: 161 57.3%
  • Other.

    Votes: 19 6.8%
Back
Top