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

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
@Michael Lane @Bigtrout working on new build and putting the pieces together, I went the easy route this time and ordered a bunch of stiff from Mike. Looking at the diagrams I see the meanwell PS and was wanting to get more information about it. The part that I am scratching my head is if its a 5v PS how is it also providing 12v power, from the diagram it has something called a 12v boost. I am trying to understand when the 12v connection would be necessary, I know its to provide power for the uln2803, but wanting to understand the when and why and how the 12v boost works from the meanwell. Which meanawell PS are you guys using, do you enclose it in something etc....

Here are my initial plans right now for my build:
DJ strip
Mars Aqua Light
multiple Temp sensors
ATO ( not sure which sensors yet, still researching )

Long range, I will at some point add the dosing and PH modules (which I have right now but not the parts to complete). Right now my build is still dry and I am thinking that I will not need these initially but later on once I get more corals in place etc.

Thanks in advance and thanks for the hardware! :)
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,530
Reaction score
1,811
Location
RVA
Rating - 100%
1   0   0
@Michael Lane @Bigtrout working on new build and putting the pieces together, I went the easy route this time and ordered a bunch of stiff from Mike. Looking at the diagrams I see the meanwell PS and was wanting to get more information about it. The part that I am scratching my head is if its a 5v PS how is it also providing 12v power, from the diagram it has something called a 12v boost. I am trying to understand when the 12v connection would be necessary, I know its to provide power for the uln2803, but wanting to understand the when and why and how the 12v boost works from the meanwell. Which meanawell PS are you guys using, do you enclose it in something etc....

Here are my initial plans right now for my build:
DJ strip
Mars Aqua Light
multiple Temp sensors
ATO ( not sure which sensors yet, still researching )

Long range, I will at some point add the dosing and PH modules (which I have right now but not the parts to complete). Right now my build is still dry and I am thinking that I will not need these initially but later on once I get more corals in place etc.

Thanks in advance and thanks for the hardware! :)

While you wait on Mike and Bigtrout to respond, I'll see if I can fill in the blanks.

So, there are two voltage inputs on the HAT: a 5v that powers the board and back powers the Pi itself; then there's the 12v, which powers the ULN chip and provides the 12v for things like a doser (if using Mike's Jebao adapter) or the DJ strip. The two inputs operate independently of each other.

To minimize the number of power supplies if you need both the 5v and the 12v, you can get a quality 12v psu like a meanwell, that will get you clean 12v input; then use a buck converter (I use a DROCK as it seems beefier than the cheap 5 packs) to step the 12v down to 5v. Or you could go the other way around and get a step up converter to boost 5v to 12v, but I believe the step down option is preferred (I'll let big boys confirm/deny this).

Hopefully that makes sense.

For example on my Pi, I have 12v coming in to a barrel plug, from the plug I have two sets of leads. One sends 12v to the 12v on the Hat, the other set of leads goes to a DROCK buck converter that brings the voltage down to 5v (actually 5.1v), then the buck converter feeds into the 5v on the Hat.

This is the PSU I'm using.
Mean Well LRS-100-12 Switching Power Supply, Single Output, 12V, 8.5A, 102W, 5.08" L x 3.82" W x 1.18" H Amazon product
 
Last edited:

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,349
Reaction score
1,724
Location
Missouri
Rating - 0%
0   0   0
While you wait on Mike and Bigtrout to respond, I'll see if I can fill in the blanks.

So, there are two voltage inputs on the HAT: a 5v that powers the board and back powers the Pi itself; then there's the 12v, which powers the ULN chip and provides the 12v for things like a doser (if using Mike's Jebao adapter) or the DJ strip. The two inputs operate independently of each other.

To minimize the number of power supplies if you need both the 5v and the 12v, you can get a quality 12v psu like a meanwell, that will get you clean 12v input; then use a buck converter (I use a DROCK as it seems beefier than the cheap 5 packs) to step the 12v down to 5v. Or you could go the other way around and get a step up converter to boost 5v to 12v, but I believe the step down option is preferred (I'll let big boys confirm/deny this).

Hopefully that makes sense.

For example on my Pi, I have 12v coming in to a barrel plug, from the plug I have two sets of leads. One sends 12v to the 12v on the Hat, the other set of leads goes to a DROCK buck converter that brings the voltage down to 5v (actually 5.1v), then the buck converter feeds into the 5v on the Hat.

Yup makes perfect sense, I will go the route of 12v and stepping down the voltage for the Pi and then feed 12v straight through. Been over a year since I built the first one and did not go back and look at the power controller diagram to see that 12v is being used by the DJ strip, I get it now so I will wire both up from the 12v supply. I have a bunch of good laptop supplies but will look into the meanwell (which part number if handy?)also, do most have it installed in a separate enclosure?

I still need to start my build thread but keep researching so many things always something else to learn about, thanks for the quick reply!
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,123
Rating - 0%
0   0   0
Yup makes perfect sense, I will go the route of 12v and stepping down the voltage for the Pi and then feed 12v straight through. Been over a year since I built the first one and did not go back and look at the power controller diagram to see that 12v is being used by the DJ strip, I get it now so I will wire both up from the 12v supply. I have a bunch of good laptop supplies but will look into the meanwell (which part number if handy?)also, do most have it installed in a separate enclosure?

I still need to start my build thread but keep researching so many things always something else to learn about, thanks for the quick reply!
@AbjectMaelstroM described everything perfectly. I prefer to use a 5v supply and use a boost converter to get 12v, but you can use either voltage as long as you include the appropriate voltage converter.

In my first build, I included the 5v supply in the enclosure. My second reef-pi has an external power supply since it is powering other devices as well. It's mostly personal preference as long as you keep the power supply cool enough.

I'm using a 5 volt 5 amp power supply.
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,385
Location
Coatesville, Indiana
Rating - 0%
0   0   0
@AbjectMaelstroM described everything perfectly. I prefer to use a 5v supply and use a boost converter to get 12v, but you can use either voltage as long as you include the appropriate voltage converter.

In my first build, I included the 5v supply in the enclosure. My second reef-pi has an external power supply since it is powering other devices as well. It's mostly personal preference as long as you keep the power supply cool enough.

I'm using a 5 volt 5 amp power supply.

I'm using a 24v supply with two adjustable buck converters. One for 12 and one for 5. This way I can power everything in the box plus my three lightbars on one power supply.

I'm afraid though, that if I add too much more crap to it, I'm going to have to get a beefier brick.

Current one is 100 watts, two of the light bars are rated for 30w each.

Right now the power supply runs fairly cool even at peak usage. But I certainly don't want to push my luck.
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,826
Rating - 0%
0   0   0
Those of you with electrical knowledge, is there an issue to using stranded (flexible) 14awg wire to wire the power bar outlets?

In my original power bar I used standard household 2-1 14awg, but it's a real pia to work with in a small box, was hoping to make it easier by using stranded/more flexible wire.

@Bigtrout
#14 stranded is perfect, rated for 15 amps so more than adequate.
If you want an added measure of safety, install a fuse on the incoming 120v. for #14 the fuse should be rated 15amps and 120v.
 

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
53
Reaction score
98
Location
Rome (Italy)
Rating - 0%
0   0   0
Hi all.

Waiting for RoboTank controller, I'm playing with my Raspberry and Reef-pi.

I'm not able to setup email alerts.

Every time I try to configure it (from hotmail to hotmail or gmail email address; from gmail to gmail or hotmail email address), I click on the "update" and then to the "Send a message" bottons. Often nothing happens or.... sometimes I receive an error message.

For hotmail I wrote smtp.live.com and port 25 or 465;
For gmail I wrote smtp.gmail.com and port 587, 25 or 465

Of course I have checked in the spam folder.... nothing!!!

If I go to the admin tag and I restart the service and/or reboot the system, when I come back in the telemetry tag... there is no password!!!

Any helps?
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,530
Reaction score
1,811
Location
RVA
Rating - 100%
1   0   0
Hi all.

Waiting for RoboTank controller, I'm playing with my Raspberry and Reef-pi.

I'm not able to setup email alerts.

Every time I try to configure it (from hotmail to hotmail or gmail email address; from gmail to gmail or hotmail email address), I click on the "update" and then to the "Send a message" bottons. Often nothing happens or.... sometimes I receive an error message.

For hotmail I wrote smtp.live.com and port 25 or 465;
For gmail I wrote smtp.gmail.com and port 587, 25 or 465

Of course I have checked in the spam folder.... nothing!!!

If I go to the admin tag and I restart the service and/or reboot the system, when I come back in the telemetry tag... there is no password!!!

Any helps?

Once password is entered, if you exit, reboot, reload etc and come back the password field will be blank. The password is still there it just doesn't show it.

As for your other problem, what error message do you get? One thing I had to do on Gmail was go into account settings and allow 3rd party (unsecured) access... Don't recall where it settings it is but it's there.
 

arnmei

New Member
View Badges
Joined
Apr 9, 2020
Messages
1
Reaction score
0
Rating - 0%
0   0   0
Hello everyone,

new here :)

I have a question: I have installed reef-pi on a Raspberry Pi Zero W. Alerts are working, whenever the temperature is too low or high I have an alert immediately.
However, when the ATO alert(s) don't seem to work correctly. Alert time is set to 60 seconds, after the water level is too low (input of the sensor is working, it shows in the dashboard that the ATO pump outputs turn on) i don't get an alert after 60 seconds… Is this an issue in reef-pi? Or am I missing something?

Thanks in advance everyone!

Arnold
 

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
53
Reaction score
98
Location
Rome (Italy)
Rating - 0%
0   0   0
Once password is entered, if you exit, reboot, reload etc and come back the password field will be blank. The password is still there it just doesn't show it.

Ok. Thank you for the explanation.

As for your other problem, what error message do you get? One thing I had to do on Gmail was go into account settings and allow 3rd party (unsecured) access... Don't recall where it settings it is but it's there.

I usually have no message error... but the test email doesn' arrive in my mailbox.
I just allow 3rd part app in my gmail account settings.

For hotmail no error messages (the same as gmail) or some authentication error (at the moment I don't remember the exact message).
 

AbjectMaelstroM

Valuable Member
View Badges
Joined
Jul 21, 2019
Messages
1,530
Reaction score
1,811
Location
RVA
Rating - 100%
1   0   0
This is how mine is setup:

20200409_045812.jpg


I would double check your passwords, other than that I'm not sure. It's a pretty simple setup where not much can really go wrong.
 

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
Hi all.

Waiting for RoboTank controller, I'm playing with my Raspberry and Reef-pi.

I'm not able to setup email alerts.

Every time I try to configure it (from hotmail to hotmail or gmail email address; from gmail to gmail or hotmail email address), I click on the "update" and then to the "Send a message" bottons. Often nothing happens or.... sometimes I receive an error message.

For hotmail I wrote smtp.live.com and port 25 or 465;
For gmail I wrote smtp.gmail.com and port 587, 25 or 465

Of course I have checked in the spam folder.... nothing!!!

If I go to the admin tag and I restart the service and/or reboot the system, when I come back in the telemetry tag... there is no password!!!

Any helps?

I use Gmail and have "2 step security" enabled. If that's the case, you need to set it up with an "App Specific Password" which you get from your Google settings for the account concerned.


Try that. As said above, always reload after any change made to any settings. Helps changes take effect.
 

Freccialata

Community Member
View Badges
Joined
Jan 31, 2020
Messages
53
Reaction score
98
Location
Rome (Italy)
Rating - 0%
0   0   0
I use Gmail and have "2 step security" enabled. If that's the case, you need to set it up with an "App Specific Password" which you get from your Google settings for the account concerned.


Try that. As said above, always reload after any change made to any settings. Helps changes take effect.
"App Specific Password" can't be possible for my account (Italy... maybe for people in USA).

With an hotmail account, I have tried without "2 steps security" and with "2 steps security" and password for app... nothing to do!
 

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
"App Specific Password" can't be possible for my account (Italy... maybe for people in USA).

With an hotmail account, I have tried without "2 steps security" and with "2 steps security" and password for app... nothing to do!

I'm in South Africa and it's what I needed to do.
 

GaryE

Well-Known Member
View Badges
Joined
Mar 12, 2020
Messages
992
Reaction score
1,385
Location
Coatesville, Indiana
Rating - 0%
0   0   0
Who is your provider? I've never heard of ISP blocking standard/common email ports....

TDS. They are a rural provider. I had my security cameras setup to send images to my email at one point, but for some reason they thought I was sending spam and blocked all outbound SMTP. Even through their own servers... Told me I needed to call tech support to get it fixed. I've not done it yet because I've been too busy and I hate sitting on hold.....
 
Back
Top