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

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
468
Reaction score
593
Location
Knoxville
Rating - 0%
0   0   0
In theory yes...that would eliminate spikes thru the mains

Is it an ac or dc pump?

It's AC. It's also very old. I got it used 3 years ago & it already looked pretty well-worn then. I've already got a backup on standby, so I may just go ahead & switch it out.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
It's AC. It's also very old. I got it used 3 years ago & it already looked pretty well-worn then. I've already got a backup on standby, so I may just go ahead & switch it out.
Is the pump leaking voltage into the water?
It may not be enough to caise a shock but only a couple of volts could cause this.
It wouldnt take much because ph is read in millivolts.
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,530
Reaction score
1,811
Location
RVA
Rating - 100%
1   0   0
Anyone on 3.1 having issues with the Dashboard and displaying temp readings? Was working fine in 3.0. I did a clean install of 3.1 on a new SD card.

Every time I add current or historical Temp readings to dashboard, nothing shows up...just a blank page. Health check seems to display current and historical info fine. Temp does not. Going directly to temp probes in Temperature tab, shows correct reading and graph.
 

thaistalyn

Active Member
View Badges
Joined
Dec 9, 2019
Messages
131
Reaction score
294
Location
Navarre, FL
Rating - 0%
0   0   0
It's AC. It's also very old. I got it used 3 years ago & it already looked pretty well-worn then. I've already got a backup on standby, so I may just go ahead & switch it out.

Since the spike is coinciding with the return pump it is likely EMI (electromagnetic interference) created by the current draw of the pump (right hand rule - field is inducing into your pH signal). A few posts above I recommended installation of ferrite cores/beads on current drawing devices. These ferrite cores act as filters to the noise generated. Other options include use of single pole filters which use capacitors or inductors connected to ground at the connector.

Another option, which you "kinda" went after was shielding the pH cable. However, you need the shield to be grounded. When you wrapped the pH cord in aluminum you created an antenna (some people call it the pigtail effect). The best option is to use a shielded cable that is grounded 360 deg to the housing like the image below. The housing is then grounded to the connector and common circuit ground at the plug.

1578846315156.png
 

Garold R Seifert

Community Member
View Badges
Joined
Jun 7, 2019
Messages
53
Reaction score
26
Rating - 0%
0   0   0
Anyone on 3.1 having issues with the Dashboard and displaying temp readings? Was working fine in 3.0. I did a clean install of 3.1 on a new SD card.

Every time I add current or historical Temp readings to dashboard, nothing shows up...just a blank page. Health check seems to display current and historical info fine. Temp does not. Going directly to temp probes in Temperature tab, shows correct reading and graph.
Yea I am having a similar issue with trying to show my light control on the dashboard. I can not get it to save ans show up, just the health check will show.
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
468
Reaction score
593
Location
Knoxville
Rating - 0%
0   0   0
Is the pump leaking voltage into the water?
It may not be enough to caise a shock but only a couple of volts could cause this.
It wouldnt take much because ph is read in millivolts.

It looks like this was the issue. I swapped out the pump & now everything is smooth sailing. It actually fixed the calibration bug I was encountering too, where it kept telling me to enter a valid value. Thankfully, with the pump being in my sump, I didn't zap any fish over the last few years!
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,035
Location
Durban - South Africa
Rating - 0%
0   0   0
It looks like this was the issue. I swapped out the pump & now everything is smooth sailing. It actually fixed the calibration bug I was encountering too, where it kept telling me to enter a valid value. Thankfully, with the pump being in my sump, I didn't zap any fish over the last few years!
Glad you sorted your issue out. What still doesn't make sense to me though is why you would experience spikes, when the return pump would have been leaking voltage into the tank water 24/7.
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,035
Location
Durban - South Africa
Rating - 0%
0   0   0
Since the spike is coinciding with the return pump it is likely EMI (electromagnetic interference) created by the current draw of the pump (right hand rule - field is inducing into your pH signal). A few posts above I recommended installation of ferrite cores/beads on current drawing devices. These ferrite cores act as filters to the noise generated. Other options include use of single pole filters which use capacitors or inductors connected to ground at the connector.

Another option, which you "kinda" went after was shielding the pH cable. However, you need the shield to be grounded. When you wrapped the pH cord in aluminum you created an antenna (some people call it the pigtail effect). The best option is to use a shielded cable that is grounded 360 deg to the housing like the image below. The housing is then grounded to the connector and common circuit ground at the plug.

1578846315156.png

How would you suggest using the ferrite core like you suggested above?
 

Schreiber

Leviathan
View Badges
Joined
Jun 28, 2016
Messages
468
Reaction score
593
Location
Knoxville
Rating - 0%
0   0   0
How would you suggest using the ferrite core like you suggested above?

There are a few schools of thought on best ferrite placement. Typically just clipping one anywhere on the wire should suffice. Clipping one near both ends can be done if you want to get a little more extreme. It's usually common practice to wrap the cord around the bead once or twice like so:

ferrite.jpg


I would occasionally help the electrical group with some of their EMI testing at my old lab, so I've put plenty of these on sensitive control system sensors. No idea why it didn't occur to me! @thaistalyn may be able to chime in on exactly why they're installed this way.
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,530
Reaction score
1,811
Location
RVA
Rating - 100%
1   0   0
Anyone on 3.1 having issues with the Dashboard and displaying temp readings? Was working fine in 3.0. I did a clean install of 3.1 on a new SD card.

Every time I add current or historical Temp readings to dashboard, nothing shows up...just a blank page. Health check seems to display current and historical info fine. Temp does not. Going directly to temp probes in Temperature tab, shows correct reading and graph.

Any thoughts on this UI/dashboard issue? Just tried another clean install of rasbian and reefpi 3.1....still can't see temp reading in dashboard.
 

thaistalyn

Active Member
View Badges
Joined
Dec 9, 2019
Messages
131
Reaction score
294
Location
Navarre, FL
Rating - 0%
0   0   0
How would you suggest using the ferrite core like you suggested above?

Scheiber is correct. Simply buy the clamp on cores and attach them anywhere on the cable. The device is basically a magnet that focus the interference to the ferrite core and disappates heat to a ceramic core.

The practice of "wrapping" the cable is from the use of ferrite rings. By wrapping on the ferrite ring you create an inductor that creates impedance or resistance to the interference. No need to wrap on a clamp.
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,035
Location
Durban - South Africa
Rating - 0%
0   0   0
Scheiber is correct. Simply buy the clamp on cores and attach them anywhere on the cable. The device is basically a magnet that focus the interference to the ferrite core and disappates heat to a ceramic core.

The practice of "wrapping" the cable is from the use of ferrite rings. By wrapping on the ferrite ring you create an inductor that creates impedance or resistance to the interference. No need to wrap on a clamp.

Great. Thank you. I've got a couple on order
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,847
Reaction score
17,077
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,035
Location
Durban - South Africa
Rating - 0%
0   0   0
I just noticed the amount of errors in my reef-pi dashboard and decided to check them out. I normally ignore them because I don't understand what the majority of them mean and I can virtually never fix any of them LOL.

But I noticed quite a few of them were about an invalid url for AIO. AIO is set up and seems to be working just fine. Curious why it should be generating errors.

Second I noticed that there are occasional errors related to pH. I'm currently trying to see if them relate to the anomalous reading I get occasionally.


2020-01-13.png
 

Alaa

Community Member
View Badges
Joined
Nov 28, 2018
Messages
74
Reaction score
80
Rating - 0%
0   0   0
Hi
i need help connecting my Jebao dosing pump (PD4), i have the one with the controller built in not the sleeve, it has 2 boards one connected to the motors and the other seems to be for generating signals. this is done by the controlling a 74HC595 Shift Register on the first board.
I tested the rj45 connections and one is connected to ground (not 12 volt power like in the sleeve model as posted by @Michael Lane)
i know i can use 2 TB6621 boards to control the 4 motors, however i did some research online and found that the 74HC595 Shift Register can be controlled by raspberry pi but couldn't get any clear instructions
It Would be great if anyone can help with this, i need to control the 74HC595 Shift Register with PCA9685 through reef-pi
also if that is difficult can I try and use the rj45 poet to control the motors through ULN using the same wiring as reported by @Michael Lane
thanks

original.jpg without cables.jpg
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,847
Reaction score
17,077
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I just noticed the amount of errors in my reef-pi dashboard and decided to check them out. I normally ignore them because I don't understand what the majority of them mean and I can virtually never fix any of them LOL.

But I noticed quite a few of them were about an invalid url for AIO. AIO is set up and seems to be working just fine. Curious why it should be generating errors.

Second I noticed that there are occasional errors related to pH. I'm currently trying to see if them relate to the anomalous reading I get occasionally.


2020-01-13.png
the adafruit io error likely indicate a temp or ph or ato name has space in it (that causes wrong feed name), the ph driver error is something i have experienced as well. Its either another electrical device interferring or some issues with driver / code. I have never seen it persistently in a stable build.
 

Caption This Contest OFFICIAL VOTING POLL! (make a post in this thread and you could win a prize too)

  • "What do you mean?! I am smiling!

  • "Did she really just rejoin the ReefAholics Anonymous group...AGAIN?!"

  • "Take a look at the new Sexy Shrimp!"

  • "I'm funny how, I mean funny like I'm a clownfish? I amuse you?"

  • "Looks like your living room is going through the ugly stage"

  • "Aghhh! Go put on your makeup before feeding me, please!"

  • "You try eating sand and not get constipated!"

  • "Everyone, hide! The landlord is coming!"

  • "He touched the butt!"

  • "They forgot to shut off the RO line and left for work...AGAIN"

  • "Get off my sand!"

  • "What do you mean I can't say that on a family friendly forum?"

  • "My face looking over my bank statement after a reef show..."

  • "Kids, you're grounded! Get back in my mouth!"

  • "When you see a human with a bucket and know somethings is about to go down."


Results are only viewable after voting.
Back
Top