Reef-pi power bar

  • Thread starter Thread starter Rayzzfish
  • Start date Start date
  • Tagged users Tagged users None

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
 
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.
 
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:
Awesome , keep us posted and let us know if you need any other clarification or hit any roadblocks
 

TOP 10 Trending Threads

HOW MUCH DOES A FISH’S FEEDING REQUIREMENTS AFFECT YOUR STOCKING DECISIONS?

  • A lot! - I avoid fish that require frequent or specialized feeding

    Votes: 16 32.7%
  • Quite a bit, but an automatic feeder can change my answer

    Votes: 6 12.2%
  • It depends on whether my nutrient export can handle it

    Votes: 7 14.3%
  • It depends on how badly I want the fish

    Votes: 11 22.4%
  • Not much. I’m willing to adjust my routine

    Votes: 9 18.4%
  • Not at all. Feeding demands don’t limit my stocking choices

    Votes: 8 16.3%
  • I usually learn about the demanding feeding schedule after buying the fish!

    Votes: 2 4.1%
  • I haven’t really considered this before

    Votes: 4 8.2%
  • Something else (see my comments in the thread)

    Votes: 1 2.0%
Back
Top
Home
Post thread…
Market
What's new