Reef Pi, on a wish and a prayer!

Ranjib

Valuable Member
View Badges
Joined
Apr 16, 2016
Messages
6,923
Reaction score
12,136
Location
Palo Alto, Bay Area
Hi Ranjib just noticed your post,
as an addendum to what I've said to Michael I've Just taken a quick look at these power strips on google it may well be the way to go they aren't that expensive either
This is our old guide for building power controller from scratch https://reef-pi.github.io/build-guides/power/
The screenshots are outdated , but the theory/concepts should be still useful
 
Get Fish & Corals directly for the suppliers

Michael Lane

Active Member
View Badges
Joined
Aug 11, 2018
Messages
279
Reaction score
551
Can you provide a link to the relay board you are planning to use?

I think this can be accomplished with a bit of patience and dedication. The guides are helpful and the community is fantastic. I think my boards are very convenient, but they still take some DIY elbow grease.
 
OP
PaulJ2303

PaulJ2303

Member
View Badges
Joined
Sep 30, 2018
Messages
46
Reaction score
135
CHeers guy's

Here is a link to the relay board Ive ordered from amazon:
Aas you can see it's a 12v board but having just looked at Ranjb's scratch build guide i must say i'm quite drawn to the simlicity of driving the relays directly from the gpio's and i suspect that might be the way to incorporate the dosing circuitry onto my pi ?
if so I'm happy to send it back (god bless Amazon) and get a 5v version for example:
what do you guy's think ?
 

Michael Lane

Active Member
View Badges
Joined
Aug 11, 2018
Messages
279
Reaction score
551
Running a relay board directly from the gpio usually works, but could technically have problems. The rpi used 3.3v on the gpio pins. That's usually enough to trigger 5v relay boards, but it's not guaranteed since it is a lower than expected signal. It's also possible that turning all relays on at the same time could require more power than the rpi can provide over gpio.

I'd say the 12v relay board is fine, and will work well with a ULN2803. Connect it 12v to the ULN2803 and relay board. All grounds get connected. 8 gpio go the ULN2803, and then on the relay board.
1565225054981.png
 
OP
PaulJ2303

PaulJ2303

Member
View Badges
Joined
Sep 30, 2018
Messages
46
Reaction score
135
ok so I've made some progress over the last week.
here is a pic of my Pi I've almost completed the power controller, thanks for the advice @Michael Lane:
IMG_20190817_184420.jpg


One issue i have is how to connect the AC outlets to the relays as the wiring diagram on the relay is'nt very descriptive:
IMG_20190817_184518.jpg


:cool:
 
OP
PaulJ2303

PaulJ2303

Member
View Badges
Joined
Sep 30, 2018
Messages
46
Reaction score
135
So before i finish the power controller part of this build I'm going to branch off a little and try to attach this beast to it:
IMG_20190817_212930.jpg


I am hoping for some help with this stage as i want to try and control all three dosing pumps using the same pi as i'm using for the rest of it.
please pile in with any advice :)
 

AbjectMaelstroM

Active Member
View Badges
Joined
Jul 21, 2019
Messages
161
Reaction score
174
Location
Richmond
ok so I've made some progress over the last week.
here is a pic of my Pi I've almost completed the power controller, thanks for the advice @Michael Lane:
IMG_20190817_184420.jpg


One issue i have is how to connect the AC outlets to the relays as the wiring diagram on the relay is'nt very descriptive:
IMG_20190817_184518.jpg


:cool:
This covers the process of wiring the relays fairly well. Chime in if you have any issues.

 

Ranjib

Valuable Member
View Badges
Joined
Apr 16, 2016
Messages
6,923
Reaction score
12,136
Location
Palo Alto, Bay Area
So before i finish the power controller part of this build I'm going to branch off a little and try to attach this beast to it:
IMG_20190817_212930.jpg


I am hoping for some help with this stage as i want to try and control all three dosing pumps using the same pi as i'm using for the rest of it.
please pile in with any advice :)
pi itself has two pwm controls and you should be able to control at least two of those pumps using them
 
OP
PaulJ2303

PaulJ2303

Member
View Badges
Joined
Sep 30, 2018
Messages
46
Reaction score
135
pi itself has two pwm controls and you should be able to control at least two of those pumps using them
Thanks Ranjib, is there a way to control all three?
 
Get Fish & Corals directly for the suppliers
Top Shelf Aquatics

Michael Lane

Active Member
View Badges
Joined
Aug 11, 2018
Messages
279
Reaction score
551
The link to AquaRaider's thread seems to work. That's the good one anyway.
I can pull the details over tonight.
 

Will you watch revhtree on the LIVE #askBRStv show?

  • Yes I'll tune in live at 1:30pm est!

    Votes: 93 37.3%
  • No I'll have to catch the rerun!

    Votes: 133 53.4%
  • Neither, I choose to make revhtree sad...

    Votes: 23 9.2%

Online statistics

Members online
642
Guests online
2,429
Total visitors
3,071
Boom Corals
Say goodbye to filter socks!
Control EcoTech, Reef Octopus, Maxspect, & More!
Top