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

OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I don't know if this has already been brought up, Has anyone considered moving these reef-pi related threads to the aquarium controller section?
The project itself is not a product, which is why we don’t have a dedicated sub forum, there’s also concern around if we will have enough volume in terms of posts/activity etc. but we do have our #reefpi tag, and you can of course post reef-pi related content in the controller section as long as it’s relevant. But I think it fits the current diy section just fine
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Yes, had the exact same observation. Fluval is better in terms of fluctuations compared to Eheim .
Oops..I see you are talking about aqueon. Mine are fluval,
 

stefanm

Active Member
View Badges
Joined
Oct 11, 2017
Messages
360
Reaction score
394
Location
Sweden
Rating - 0%
0   0   0

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,679
Reaction score
2,227
Location
Columbia MD
Rating - 0%
0   0   0
That looks nice, expensive though, but definitely a respectable option.

I am guessing they are relatively new. I was never keen on the solid stay relays boards that are flooding ebay and amazon because they where only 2 amp. At a minimum I would want things to be 5 amp so you have some wiggle room. I saw these and tried to find more but they all ship from China with no reviews and spendy. The price ranges from $20-$60.
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
@Ranjib something I am looking at is moving to Centos arm build, lots of reasons but for me is I can freeze thing and just apply security updates for 10 years without all of the software upgrades. Now if new features are needed etc that's a different story but wanted to throw it out there that I'm waiting for Centos 8 userland to be released and will the start poking at getting it working.

If anyone might be interested in the out come let me know and I can post what I find out. I understand since it will be different from the standard raspbian install that I will be kind of on my own but curious to see if it will be something that will work, I use RHEL at work and at home for some servers, some pros and cons but I like the long support cycles since I'm pretty lazy :p
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,253
Reaction score
3,603
Location
Sacramento, CA area
Rating - 0%
0   0   0
@Ranjib something I am looking at is moving to Centos arm build, lots of reasons but for me is I can freeze thing and just apply security updates for 10 years without all of the software upgrades. Now if new features are needed etc that's a different story but wanted to throw it out there that I'm waiting for Centos 8 userland to be released and will the start poking at getting it working.

If anyone might be interested in the out come let me know and I can post what I find out. I understand since it will be different from the standard raspbian install that I will be kind of on my own but curious to see if it will be something that will work, I use RHEL at work and at home for some servers, some pros and cons but I like the long support cycles since I'm pretty lazy :p

Note that raspbian targets ARMv6-HF due to the PiZero, which not even Debian upstream targets.

I don’t foresee any problems outside of needing a proper Pi kernel, as there are a number of patches and special configs for it.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
I have three aqueon pro's 100w but none of them keep in the range that you guys are talking about, mine are all about 1.5 degree swing. I am doing 1 min checks, but they are nowhere near that tight of a range, interesting. Although I do think they are one of the better heaters out there, but heaters in general are not that good.
Tank size may be a factor here...i have a 75gallon. Smaller tanks lose heat faster
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,679
Reaction score
2,227
Location
Columbia MD
Rating - 0%
0   0   0
Reading the specs on the relays on thia board, it may be a good option for general equipment at 5 amps or less.
It maybe expensive but you get what u pay for with relays

I was thinking the same. I looked all over and cant find a data sheet on the relays. All I could find was a single 5 star review on newegg for the relay bought alone saying it was great. Most of the main stream controllers out there state that their outlets are 5 amp so I would be comfortable running standard equipment on a relay rated for 8.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
I was thinking the same. I looked all over and cant find a data sheet on the relays. All I could find was a single 5 star review on newegg for the relay bought alone saying it was great. Most of the main stream controllers out there state that their outlets are 5 amp so I would be comfortable running standard equipment on a relay rated for 8.
I cant find a datasheet either...found some more detailed specs...are they zero cross? Makes a difference in the loads that you use with them
 

b4tn

Valuable Member
View Badges
Joined
Jun 17, 2015
Messages
1,679
Reaction score
2,227
Location
Columbia MD
Rating - 0%
0   0   0
I cant find a datasheet either...found some more detailed specs...are they zero cross? Makes a difference in the loads that you use with them

Thats one of the reasons I was looking for the datasheet. If they where Zero cross I would probably order some today.
 
OP
OP
Ranjib

Ranjib

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

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Note that raspbian targets ARMv6-HF due to the PiZero, which not even Debian upstream targets.

I don’t foresee any problems outside of needing a proper Pi kernel, as there are a number of patches and special configs for it.


Thanks this is good information, did some digging and looks like they are only supporting Armv7 so will keep that in mind and use one of the newer rpi versions. Just means I've got to go out and purchase another rpi. :)
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib something I am looking at is moving to Centos arm build, lots of reasons but for me is I can freeze thing and just apply security updates for 10 years without all of the software upgrades. Now if new features are needed etc that's a different story but wanted to throw it out there that I'm waiting for Centos 8 userland to be released and will the start poking at getting it working.

If anyone might be interested in the out come let me know and I can post what I find out. I understand since it will be different from the standard raspbian install that I will be kind of on my own but curious to see if it will be something that will work, I use RHEL at work and at home for some servers, some pros and cons but I like the long support cycles since I'm pretty lazy :p
Let me know if you need any help. Karanbir Singh, the centos lead developer/maintainer is a personal friend of mine and I used to use centos exclusively backin the days.
I am not sure though, if it makes sense of Pi. You'll missout on a lot of things, and I am not sure if you really need all those patches. Patches are for those who cant update things, specially stuff like database servers. I also find the distro specific differences less of a vantage point in post systemd world. Unless you are doing something advance with dnf/rpm stuff... what new things centos/rel will bring compared to debian? let alone the fact that all things offical pi is raspbian based
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Let me know if you need any help. Karanbir Singh, the centos lead developer/maintainer is a personal friend of mine and I used to use centos exclusively backin the days.
I am not sure though, if it makes sense of Pi. You'll missout on a lot of things, and I am not sure if you really need all those patches. Patches are for those who cant update things, specially stuff like database servers. I also find the distro specific differences less of a vantage point in post systemd world. Unless you are doing something advance with dnf/rpm stuff... what new things centos/rel will bring compared to debian? let alone the fact that all things offical pi is raspbian based

Wow you know Karanbir that's pretty cool, I've been a long time user for many years, still on the mailing list. My angle is since I'm freshwater there will not be as many features that I probably will be interested in. The thing I like about Centos is that they have long support cycles (10 years) and if I want to just go into maintenance mode, it can run for a long time and just get security updates and I don't have to jump through any major updates, e.g. Jessie to stretch etc. I use Debian a good bit but with version RHEL 8 they have some new interesting things coming along (not that they will matter to reef-pi) and wanted to see if I can get it to work and how much of a pain it is to do it. Not being able to run on a zero is the first con, will see what the other issues I find. Will take them awhile to port it to Centos so it's still early, will be something interesting to play with. :)
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
BEWARE USING SOLID STATE RELAYS for AC Loads!!!

Beware using solid state relays to switch AC mains voltage if you dont have an electronics/electrical background!!! Yes there are no moving parts to fail, but there are many other design factors to consider for the average user. For this reason I recommend reef pi users stick with good mechanical relays.

If you select the wrong relay it wont be reliable, and could possibly get hot and either fail or start a fire. The second reason that solid state relays can be bad is that they are never really fully off. In the off state they still have a leakage across the load terminals, meaning the load will have some voltage present even when off. With mains AC this could be very unsafe. The third reason I do not recommend them is heat. Because they are a semiconductor conducting electricity, they get warm. SSR larger than 10 amps should have a heat sink.

There are 2 types of AC SSR relays that would commonly be used in our application. Zero-crossing SSR and instant-on SSR. Ill try to explain the two as simply as I can.

Zero cross relays use internal circuitry to turn on only when the ac sine wave voltage crosses the zero point on the sine wave. This is fine for resistive loads such as heaters, and incandescent lights but is one of the worst ways to turn on a highly inductive load like a light ballast, motor or a return pump.
On a highly inductive load, turning the load on at the zero crossing point can cause a current spike of 10 to 40 times the running current of the load. This can cause the ssr to heat up and fail. The same inductive load turned on at the peak of the voltage wave causes little or no such surge.

The second type of ssr is a random or instantaneous on ssr. This type switches on whenever triggered, no matter where the voltage is on the AC sine wave. These are better for inductive loads, and where precise timing is required, but they still are not perfect. The load may still switch on at the zero point, or maybe its at the voltage peak or somewhere in between. Because of this, if a ssr is used for an inductive load, a safety factor should be used. 50 percent is recommended. In other words, an ssr rated at 10 amps should only be used to switch an inductive load of 5 amps.

In short, although they can be very reliable when used properly, there are too many design factors to consider when using a solid state relay.
Selecting the wrong relay may cause premature failure, and possibly a fire.

@Ranjib feel free to link this is you find this helpful to the project.
 
Last edited:

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
BEWARE USING SOLID STATE RELAYS for AC Loads!!!

Beware using solid state relays to switch AC mains voltage if you dont have an electronics/electrical background!!! Yes there are no moving parts to fail, but there are many other design factors to consider for the average user. For this reason I recommend reef pi users stick with good mechanical relays.

If you select the wrong relay it wont be reliable, and could possibly get hot and either fail or start a fire. The second reason that solid state relays can be bad is that they are never really fully off. In the off state they still have a leakage across the load terminals, meaning the load will have some voltage present even when off. With mains AC this could be very unsafe. The third reason I do not recommend them is heat. Because they are a semiconductor conducting electricity, they get warm. SSR larger than 10 amps should have a heat sink.

There are 2 types of AC SSR relays that would commonly be used in our application. Zero-crossing SSR and instant-on SSR. Ill try to explain the two as simply as I can.

Zero cross relays use internal circuitry to turn on only when the ac sine wave voltage crosses the zero point on the sine wave. This is fine for resistive loads such as heaters, and incandescent lights but is one of the worst ways to turn on a highly inductive load like a light ballast, motor or a return pump.
On a highly inductive load, turning the load on at the zero crossing point can cause a current spike of 10 to 40 times the running current of the load. This can cause the ssr to heat up and fail. The same inductive load turned on at the peak of the voltage wave causes little or no such surge.

The second type of ssr is a random or instantaneous on ssr. This type switches on whenever triggered, no matter where the voltage is on the AC sine wave. These are better for inductive loads, and where precise timing is required, but they still are not perfect. The load may still switch on at the zero point, or maybe its at the voltage peak or somewhere in between. Because of this, if a ssr is used for an inductive load, a safety factor should be used. 50 percent is recommended. In other words, an ssr rated at 10 amps should only be used to switch an inductive load of 5 amps.

In short, although they can be very reliable when used properly, there are too many design factors to consider when using a solid state relay.
Selecting the wrong relay may cause premature failure, and possibly a fire.

@Ranjib feel free to link this is you find this helpful to the project.

Great post, lots of good information!
:)
 

theatrus

Valuable Member
View Badges
Joined
Mar 26, 2016
Messages
2,253
Reaction score
3,603
Location
Sacramento, CA area
Rating - 0%
0   0   0
BEWARE USING SOLID STATE RELAYS for AC Loads!!!

Beware using solid state relays to switch AC mains voltage if you dont have an electronics/electrical background!!! Yes there are no moving parts to fail, but there are many other design factors to consider for the average user. For this reason I recommend reef pi users stick with good mechanical relays.

If you select the wrong relay it wont be reliable, and could possibly get hot and either fail or start a fire. The second reason that solid state relays can be bad is that they are never really fully off. In the off state they still have a leakage across the load terminals, meaning the load will have some voltage present even when off. With mains AC this could be very unsafe. The third reason I do not recommend them is heat. Because they are a semiconductor conducting electricity, they get warm. SSR larger than 10 amps should have a heat sink.

There are 2 types of AC SSR relays that would commonly be used in our application. Zero-crossing SSR and instant-on SSR. Ill try to explain the two as simply as I can.

Zero cross relays use internal circuitry to turn on only when the ac sine wave voltage crosses the zero point on the sine wave. This is fine for resistive loads such as heaters, and incandescent lights but is one of the worst ways to turn on a highly inductive load like a light ballast, motor or a return pump.
On a highly inductive load, turning the load on at the zero crossing point can cause a current spike of 10 to 40 times the running current of the load. This can cause the ssr to heat up and fail. The same inductive load turned on at the peak of the voltage wave causes little or no such surge.

The second type of ssr is a random or instantaneous on ssr. This type switches on whenever triggered, no matter where the voltage is on the AC sine wave. These are better for inductive loads, and where precise timing is required, but they still are not perfect. The load may still switch on at the zero point, or maybe its at the voltage peak or somewhere in between. Because of this, if a ssr is used for an inductive load, a safety factor should be used. 50 percent is recommended. In other words, an ssr rated at 10 amps should only be used to switch an inductive load of 5 amps.

In short, although they can be very reliable when used properly, there are too many design factors to consider when using a solid state relay.
Selecting the wrong relay may cause premature failure, and possibly a fire.

@Ranjib feel free to link this is you find this helpful to the project.

Good advice and summary.

Even the commercial units suffer from some of these problems. E.g., the APEX EB8 have two outlets on relays and 6 on triacs (internal SSRs). The triacs are downright useless for switching many types of loads, including small power supplies, small AC dosing dumps, and as you mentioned large inductive loads like chillers and magnetic ballasts (E-ballasts like for T5s have a soft start and are power-factor corrected so don't look inductive anymore).
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Good advice and summary.

Even the commercial units suffer from some of these problems. E.g., the APEX EB8 have two outlets on relays and 6 on triacs (internal SSRs). The triacs are downright useless for switching many types of loads, including small power supplies, small AC dosing dumps, and as you mentioned large inductive loads like chillers and magnetic ballasts (E-ballasts like for T5s have a soft start and are power-factor corrected so don't look inductive anymore).
Yes, to put these in an apex and expect the end user to be able to know what types of loads to use is a bit much. Even electrical engineers missed this in designs when PLCs first started using triac outputs.

And to trust an SSR with no datasheet available from china, no thanks.

While im not a fan of the Songle relays used in the ADJ power board and most of the 8 channel relays we use in our builds, the relays are UL listed, and have a datasheet available, they just lack the usable life of a better branded relay, so they work safely just not as long as better quality relays can when switching heavier loads. Then again an 8 channel board can be had for the price of one good relay and base, and are fine for alot of the small equiment used in the average aquarium.

In industrial machinery control panels with tons of relays in them, the vast majority are still electromechanical relays, with SSR relays used for very specific uses and in uses that have been designed by an engineer, and its even more rare to see an SSR deployed in the most important use of all, in safety circuits like emergency stop circuits, etc.
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 37 27.2%
  • 100% dry rock + 100% live sand

    Votes: 46 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 22.1%
  • 75% live rock, 25% live sand

    Votes: 13 9.6%
  • 25% live rock, 75% live sand

    Votes: 10 7.4%
Back
Top