Before I move on...

That sounds strange. Might be useful info for @Ranjib

Did you try that „reverse“ checkbox on the Jack(s) as well ?
I was only having issues with that one .. the color was working fine. but I did reverse it and it seems to be working now.
 
@Sral , Are you using a telemetry server? I believe this will be my next step. I am assuming this is just for graphing and saving data from reefPi and not controlling? I just set up my tank and would like to have a small screen beside the tank showing the data. But I am unsure if I do this will it auto launch? Like if I have a power outage and when it comes back on will it auto launch to the graphs, or will I have to launch the graphs myself? What I am reading from the guide the server will launch automatically but I am unsure about the UI.
 
Adding more Temp probes is just adding each set of wires to the correct pin on the PCA9685 Correct?
 
@Sral , Are you using a telemetry server? I believe this will be my next step. I am assuming this is just for graphing and saving data from reefPi and not controlling? I just set up my tank and would like to have a small screen beside the tank showing the data. But I am unsure if I do this will it auto launch? Like if I have a power outage and when it comes back on will it auto launch to the graphs, or will I have to launch the graphs myself? What I am reading from the guide the server will launch automatically but I am unsure about the UI.
Not personally, no.
As far as I understand a Telemetry server based on Prometheus and Grafana is just for visualization, right @Ranjib ?

There were however other people using somethign like a Home-Assistant setup that could do both graphing and control, If I recall correctly.

A telemetry server is a lot more CPU and memory intensive. As far as I have heard it wont run on a Pi Zero. Ranjib has recommended a regular x86 miniPC system at least (He is running his with Linux I think). You might get away with running one dedicated PI 4 or higher, but I don't know how well that would work, if at all.

How were you plammimg on running a display ? Meaning, what computer architecture and what interface, e.g. ReefPi on WebBrowser, Custom display or Grafana ?
The only such thing I have seen was "Kivy Reef", but that would run from a PI 3 or 4 that runs ReefPi in parallel as well, if I recall correctly. That, or or Home Assistant system.
 
Adding more Temp probes is just adding each set of wires to the correct pin on the PCA9685 Correct?
No, the PCA9685 can't read temperature probes, it only sends out PWM signals.

You can connect several DS18B20 temperature sensors to the same pin on the pi, although there is the problem that if one sensor fails, it might block the other form transmitting.

You can also connect your second DS18B20 temperature sensor to another pin on the PI and wire it identically to the first one (VCC to 3.3V, GND and the signal to a Pin on the PI, pulled up to 3.3V with a 3.7k resistor). You would have to adapt the PIs config in a file though, I'll try to find the post where somebody explained it (I think it was @robsworld78 )
 
Not personally, no.
As far as I understand a Telemetry server based on Prometheus and Grafana is just for visualization, right @Ranjib ?

There were however other people using somethign like a Home-Assistant setup that could do both graphing and control, If I recall correctly.

A telemetry server is a lot more CPU and memory intensive. As far as I have heard it wont run on a Pi Zero. Ranjib has recommended a regular x86 miniPC system at least (He is running his with Linux I think). You might get away with running one dedicated PI 4 or higher, but I don't know how well that would work, if at all.

How were you plammimg on running a display ? Meaning, what computer architecture and what interface, e.g. ReefPi on WebBrowser, Custom display or Grafana ?
The only such thing I have seen was "Kivy Reef", but that would run from a PI 3 or 4 that runs ReefPi in parallel as well, if I recall correctly. That, or or Home Assistant systei

I was thinking about one of them Portable monitors.
 
As an Amazon Associate we earn from qualifying purchases.
I have run Prometheus and Grafana on a pi 4.. it does tend to run a little warm.. the bigger issue seemed to be data storage on the SD card... lots of writes.. seamed like that was my issue... had it booted to an external usb drive which worked better. Im back to just using the pi for data for now but will go back to it eventually but on a separate data server that I am using for other purposes.
 
@Sral or really anyone... I was looking around online about how to add a second probe. I think I found a way.. but I want to ask to make sure...

I was thinking about adding the probe to "GPIO16" and adding this line to the config file

"dtoverlay=w1-gpio,gpiopin=16"


... If I am correct, could I add the "gpionpin=16" to the original line or will I have to add a second line?
 
@Sral or really anyone... I was looking around online about how to add a second probe. I think I found a way.. but I want to ask to make sure...

I was thinking about adding the probe to "GPIO16" and adding this line to the config file

"dtoverlay=w1-gpio,gpiopin=16"


... If I am correct, could I add the "gpionpin=16" to the original line or will I have to add a second line?
As mentionend before, you can add them to the same pin, as I have done here:
1700679579280.png

Although, if you have the pins to spare, just use a second pin. THanks for the code, thatw ay I was able to find @robsworld78 's post I mentioned earlier, here

So you can just add a second line with the other pin:
Code:
dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=16
that would enable OneWire on pins 4 and 16
 
As mentionend before, you can add them to the same pin, as I have done here:
1700679579280.png

Although, if you have the pins to spare, just use a second pin. THanks for the code, thatw ay I was able to find @robsworld78 's post I mentioned earlier, here

So you can just add a second line with the other pin:
Code:
dtoverlay=w1-gpio,gpiopin=4
dtoverlay=w1-gpio,gpiopin=16
that would enable OneWire on pins 4 and 16

I remember you stating that. I was trying to find a way so I could not put them in parallel as you stated there's a problem where if one stops working it will case the other not to work. Thank you for confirming I was right! :).



Next question:

I figured out that I2C is a bus.. as such I can Daisy chain the PH mod to the PCA9685. but I am confused how I can add the dosing mod to the same board? I am trying to use the same board for everything, if there is a way.
 
sorry I need too edit I can Daisy chain the PCA9685 and the PH mod to the PI
Something like this.. I'm assuming I can do this as the pins are the same on both sides..

1000000634.jpg




... I want to use one PI so I will only have to remember 1 IP address.. unless there is a way to connect 2 pis to the same IP address. not asking that correctly, hope it makes sense..
 
Last edited:
sorry I need too edit I can Daisy chain the PCA9685 and the PH mod to the PI
Something like this.. I'm assuming I can do this as the pins are the same on both sides..

1000000634.jpg




... I want to use one PI so I will only have to remember 1 IP address.. unless there is a way to connect 2 pis to the same IP address. not asking that correctly, hope it makes sense..
That works, yes. Just watch out that you solder it right, otherwise a bad contact in the chain will compromise the network/bus.
 
That works, yes. Just watch out that you solder it right, otherwise a bad contact in the chain will compromise the network/bus.
sweet! ill look at starting the PH Mod soon :) .. just need to figure out about the dosing pump..
 
sweet! ill look at starting the PH Mod soon :) .. just need to figure out about the dosing pump..
Oh, right, forgot about that, sry.

How many pumps do you want ? I’ll have to caution though, the PCA9685 does sometimes not react to a change. That’s why I personally run my pumps with GPIOs and only dimm with PWM.
There might be a software solution to negate those risks with the PCA9685 at some point.

The two PWM channels on the PI are reliable though.
 
I really need to research more into PCA9685.. Im not quite understand fully what it is... when looking at the Guide on Adafruit it doesn't use a PCA9685 it uses some of the same pins as the power bar.
 
I really need to research more into PCA9685.. Im not quite understand fully what it is... when looking at the Guide on Adafruit it doesn't use a PCA9685 it uses some of the same pins as the power bar.
Right, sry. It is basically 16 pins that do the same as pins 18 and 19 on the PI that are used in the dosing module. They put out a rectangular voltage wave that oscillates between 0V and nominal output voltage. Depending on the setting it will stay between 0% to 100% of the time of one period on the output voltage. That’s called PWM or a PWM signal.

With the PI, nominal output Voltage is always 3.3V, with the PCA9685 it is the VCC that you connect.
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top