Reef-pi power bar

Rayzzfish

Community Member
View Badges
Joined
Jul 20, 2020
Messages
25
Reaction score
13
Location
Ontario
Rating - 0%
0   0   0
I'm building a power bar. I have most of it done. I just can't seem to get how to wire the db9 to the relay.
This is my db9.
61oyF-5u8iL._AC_SX679_.jpg

This is what my power bar looks like so far..
20201001_004105.jpg
20201001_003516.jpg
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
It does not matter which order you connect them. Just make sure pin - pin mapping is correct. For example, you can connect the GND from relay to GND in db9 connector, pin 1 to vcc and the rest pin 2-8 to all the rest of the relay pins. On the other end of the db 9 connector, attach pin 1 to 5v, GND to GND and 2-8 to different GPIO. Then use those GPIO pins to declare outlets in reef-pi ui and it should be ok.

Does that make sense? if still not clear i can elaborate more. I am assuming its a 5v relay, It will be nice if you can share a photo of the relay pins. I am also assuming you have two db9 connectors , one on the powerbar and another on the controller and connecting then via a db9 cable.
 
OP
OP
Rayzzfish

Rayzzfish

Community Member
View Badges
Joined
Jul 20, 2020
Messages
25
Reaction score
13
Location
Ontario
Rating - 0%
0   0   0
Yes it's a 5v relay. Yes I do have another db9 it is on the controller. I took a picture of the relay pins. And yes I do understand ground to ground, pin 1 to vcc, and the rest to all the other pins.
20201001_012335.jpg
20201001_013644.jpg
 
Last edited:

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Awesome , keep us posted and let us know if you need any other clarification or hit any roadblocks
 

TOP 10 Trending Threads

DO YOU THINK TECHNOLOGICAL ADVANCEMENTS ARE MORE HELPFUL OR HURTFUL TO REEFING?

  • More helpful.

    Votes: 49 41.5%
  • More hurtful.

    Votes: 5 4.2%
  • I think it depends mostly on the technology.

    Votes: 47 39.8%
  • I think it dependsmostly on the reefer behind the technology.

    Votes: 35 29.7%
Back
Top
Home
Post thread…
Market
What's new