reef-pi :: An opensource reef tank controller based on Raspberry Pi.

Another pH question for you all.. I had it working great for 6 months, and after I moved, it was working great, but I moved to another Pi unit as I rebuilt the controller.. when I moved the probe, I can't seem to get it to calibrate properly. I suspected the probe as an issue, so I replaced it, but I see the same behavior on both probes..

When I calibrate it, I don't have any mid range pH calibration, so I am using 4.0 and 9.16 as my 2 calibration points.

The 4.0 reads at about 1100 on the probe give or take
the 9.16 reads -32768

When I put the probe in the tank, it also shows -32768

I know the pH of the tank is 8.0-8.1

When I move the probe back to the 4.0 solution, it gives me an accurate reading.

Both probes are doing this.. Thoughts as what could be wrong?

I suspected instrument electrical interference from something else, but I shut everything down and removed that from the equation.. same result.

Thanks for any guidance.
9.6 reading is not correct I think . What the board reads without any probe ?
 
I'm struggling to get Reef-Pi to recognize my PWM coming off my Leviathan board.

Raspberry Pi0->Leviathan->Mars Aqua with ML PWM Mars Aqua Converter Board.

When I try to install the lighting jack via PCA9685 I get an "error failed to create, error:remote i/o error http 500"

Also when running i2cdetect it does not pick up anything just blanks for all lines.

I am clueless so may be missing something, one thing that stuck out was I have 10v on each lighting channel coming off the Leviathan board but I believe the ML Board is expecting less voltage to convert.
If i2c detect is not showing any address then it means it’s a hardware or circuit issue. Reef-pi error is expected in that case. Check if @Schreiber can help diagnosing the problem
 

I see this thread is becoming popular and a few guys seems to talk about "Heartbeat" which I know is an Apex term / feature.

Does reef-pi have plans to implement something like this? Can it even be done easily?
 

I see this thread is becoming popular and a few guys seems to talk about "Heartbeat" which I know is an Apex term / feature.

Does reef-pi have plans to implement something like this? Can it even be done easily?

Excellent, I was thinking of starting a similar thread. Thanks for sharing.
 
Question regarding motor drivers. I’m using the mosfet TB6612. It works like all the others, has 2 GPIO inputs and a PWM input. If I don’t need bi-directional motor control and want to conserve GPIO pins can I put one of the inputs direct to ground?
 
Another pH question for you all.. I had it working great for 6 months, and after I moved, it was working great, but I moved to another Pi unit as I rebuilt the controller.. when I moved the probe, I can't seem to get it to calibrate properly. I suspected the probe as an issue, so I replaced it, but I see the same behavior on both probes..

When I calibrate it, I don't have any mid range pH calibration, so I am using 4.0 and 9.16 as my 2 calibration points.

The 4.0 reads at about 1100 on the probe give or take
the 9.16 reads -32768

When I put the probe in the tank, it also shows -32768

I know the pH of the tank is 8.0-8.1

When I move the probe back to the 4.0 solution, it gives me an accurate reading.

Both probes are doing this.. Thoughts as what could be wrong?

I suspected instrument electrical interference from something else, but I shut everything down and removed that from the equation.. same result.

Thanks for any guidance.

Try lightly pushing or otherwise wiggling the pH BNC male connector into the pH board's female connector. Sometimes the issue you describe is due to a poor connection between the two. If you notice that the raw pH calibration number changes considerably (and closer to where it should be), then it is likely a connection issue.
 
Try lightly pushing or otherwise wiggling the pH BNC male connector into the pH board's female connector. Sometimes the issue you describe is due to a poor connection between the two. If you notice that the raw pH calibration number changes considerably (and closer to where it should be), then it is likely a connection issue.

ok, after messing with it for like 3 hours, I loaded a Pi3 from scratch, loaded Reef-Pi, and connected the pH probe.. it appears to be super accurate now. so.. idk.. guess it was something about the Pi0? or maybe specific to that one Goby Hat board.. because I used my second one for this..
 
the pi-zero is no hero. the pi3 is for me!
Im doing macros, ph, 4 channels of lighting, 8 equipment outlets and 3 temp sensors on a pi zero and not a hiccup. Memory at 8 percent, cpu barely hits .15 percent.
Nothing wrong with a pi zero w.
 
15926113163971936744854330938543.jpg


Completed.

IMG_20200619_215453.jpg
 
Last edited:
Hey guys I am trying to find the wiring diagram to connect up a Jebao slave dosing pump to the PC9685 to be controlled with reef-pi. I am sure I have seen it here somewhere but it is probably buried.
 
Hey guys I am trying to find the wiring diagram to connect up a Jebao slave dosing pump to the PC9685 to be controlled with reef-pi. I am sure I have seen it here somewhere but it is probably buried.

Or if it is easy enough to connect to my Hat. It is able to control 2 motors as is but I would like to control all 4 on the dosing pump.
schem.JPG
 
I'm struggling to get Reef-Pi to recognize my PWM coming off my Leviathan board.

Raspberry Pi0->Leviathan->Mars Aqua with ML PWM Mars Aqua Converter Board.

When I try to install the lighting jack via PCA9685 I get an "error failed to create, error:remote i/o error http 500"

Also when running i2cdetect it does not pick up anything just blanks for all lines.

I am clueless so may be missing something, one thing that stuck out was I have 10v on each lighting channel coming off the Leviathan board but I believe the ML Board is expecting less voltage to convert.
If i2c detect is not showing any address then it means it’s a hardware or circuit issue. Reef-pi error is expected in that case. Check if @Schreiber can help diagnosing the problem

Based off your user name, I assume this is Jeff, right? If so, you're still all good, right?

I just now saw this post on R2R, but (again, assuming this is Jeff) it sounds like you swapped out Pis & it's working now :D hard to track who I've helped & with what when Facebook & R2R names don't match, lol.
 
I tried the Servo again and I found that the servo PWM needs to be in between 1 and 2 ms. 1 ms is 0dgr and 2 ms is 180dgr. Using the PCA9685 you can set the Frequency. When a frequency is used of 350Hz that means 1/350= 2.86 ms. I used the Lights tab in Reefpi and set it to manual. When the percentage is set to 17% it moves to 0dgr and 55% it moves to 90dgr and 93% to 180dgr.

1592689238567.png


After some fine-tuning when the frequency is set to 320Hz (1/320=3.125ms) i get with 17% it moves to 0dgr and 50% it moves to 90dgr and 83% to 180dgr.
I am thinking of building an auto-feeder with Servos!!!
 
Based off your user name, I assume this is Jeff, right? If so, you're still all good, right?

I just now saw this post on R2R, but (again, assuming this is Jeff) it sounds like you swapped out Pis & it's working now :D hard to track who I've helped & with what when Facebook & R2R names don't match, lol.

Yes, this is Jeff. Same as FB post you and I are sorting through, thanks for help.
 
Fellows, is there any reason not to run my lights also on the PCA9685 as my doser takes up 4 channels already, I only need to use four for the lights. I was using an Arduino Uno with stormx firmware, I blew it up last week, I got the replacement Uno, now it seems the RTC and PCA 9685 got damaged too! I can't wait another week for the parts to turn up, it should take only 2-3 hours get hook up on the pi I guess.
 
Hi All

i need some help the temp sensors keep disappearing my setup is raspberry pi 3b , leviathan board , reef-pi 3.4

i plug the sensors in and i can add them in the temp screen then after a while they aren't listed and I get this error



{"error":"open /sys/bus/w1/devices/28-011430077478/w1_slave: no such file or directory"} | HTTP 404

any ideas
 

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 14 56.0%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 11 44.0%
Back
Top
Home
Post thread…
Market
What's new