Power board
First up is the power board. I'll cover this first because I've almost finished one of the 2 I'll be making (with the second to follow soon).
Each power board will control 8 AC outlets by switching them on or off as required (for a total of 16 controllable outlets). Where I have listed the cost of each item it will be the cost of what was actually used for the power board only. So if I purchased 25 of an item for $25 but only used one on the power board, then I will list the cost as $1. This is because I bought a lot of things in bulk and will use bits and pieces throughout the build.
Sockets
I had a lot of trouble finding a way to control AC outlets with Australian sockets and I went through several possible solutions. Eventually I found these panel mount universal sockets, perfect for what I needed! And at only $8 AUD for 5 it only cost me $32 for 20.
(Cost for 8: $12.80. Original ad isn’t available but here is a link to a similar item:
https://www.ebay.com.au/itm/AU-EU-U...apter-5-Pcs-/391219203483?hash=item5b167b4d9b)
There is some out there that claim to be (and do look like) Aus sockets and I initially bought 20 of them. But they are actually Chinese plugs, which look the same and you
can plug Aus plugs into them, but they are actually a tiny bit smaller than Aus ones and it's an incredibly tight fit and just doesn’t work well at all.
Later I did find some actual Aus panel mount sockets, but they were around $5 each. At $80 for 16 outlets they are still quite cheap but I already had the universal ones and I was trying to keep costs down. Maybe I will upgrade the outlets one day but for now I am happy with the ones I have. Those in the US have heaps of options for panel mount outlets but the universal ones will also work just fine.
Relays
At the time I bought my relays I couldn’t seem to find the standard sainsmart 8 channel relays in Aus and overseas sellers were charging pretty high shipping for them. I ended up finding an Aus company selling an 8-channel relay board in a different form factor that turned out to be great at saving space! Because of this if anyone chooses to use my power board design you will need to either edit the design to fit your relays or purchase a relay in similar form factor (the mounting holes may still need to be tweaked).
(Cost: $12. Link for any Aussies:
https://www.littlebird.com.au/8-channels-5v-relay-module)
Power supply
The relay board needs 5V supplied to it, so it can switch the relays on and off. While you can power them from the 5V pin on the Pi I didn’t want to strain the Pi by drawing enough current to switch 16 outlets at once and do everything else (even though it would probably work) so I included a separate 5V power supply inside the power board.
(Cost: $10. Link:
https://www.ebay.com.au/itm/AC-DC-5...k-Converter-/201597729719?hash=item2ef0293bb7)
Connectors
To include a fuse for safety and to allow different length cords to easily be used I have included a fused power switch that accepts a standard IEC power lead (aka a kettle cord).
(Cost: $1.50. Link:
https://www.ebay.com.au/itm/DC-022-...use-10A-AC-250V-/222509195918?var=&hash=item0)
To connect the relay control pins to the Pi I have decided to use RJ45 cable and sockets. I will be using RJ45 sockets for most Reef-Pi connections so I was able to order a large amount in bulk but only one is needed per power board.
(Cost: $1. Link:
https://www.ebay.com.au/itm/25pcs-1...dapter-Cat6-/282353800189?hash=item41bd9913fd)
I will also include an RJ45 crimping tool and punch down tool as a one of cost here for the whole build as it will be needed to wire up the RJ45 jacks and then the required cables (or you can buy pre-made ethernet cables).
(Cost: $15. Link:
https://www.ebay.com.au/itm/Rj45-Rj...re-Stripper-/391617156878?hash=item5b2e33970e)
While the relay board is powered by a separate 5V power supply, it still needs to share a common ground with the Pi for the control pins to work, so I have used a standard 5.5 x 2.1mm barrel jack for this. If you use a DB9 connector for the control pins instead of an RJ45 then you would be able to use one of the DB9 pins for this instead (but the design I posted would need to be altered).
(Cost: $0.15. Link:
https://www.ebay.com.au/itm/10pcs-DC-Power-Supply-Jack-Socket-Female-Panel-Mount-Connector-5-5-x-2-1mm-12V/122774079110?ssPageName=STRK:MEBIDX:IT&_trksid=p2057872.m2749.l2649)
Wiring
In Australia we don’t use AWG for wire, instead it is just measured in mm. While the wire used in our wall circuits is 2.5mm, I have noticed many power boards in Australia use 1.5mm wire inside. However, there was virtually no cost difference between 1.5mm wire and 2.5mm wire and after a lot of searching I couldn’t find a definitive answer as to if 1.5mm wire was safe or not and a lot of sources insisted that only cheap power boards use 1.5mm so I went with 2.5mm wire. I purchased 10m of twin & earth cable and ended up using 4m for 1 power board (including a few mistakes

).
(Cost $5.96. Link for any Aussies:
https://www.bunnings.com.au/olex-2-5mm-three-core-twin-earth-cable_p4430080)
To attach the wire to the outlet pins I used crimps as it is a really clean and secure connection. To link the neutral and ground pins together I discovered these awesome “Male/Female piggyback terminals” which are awesome!
(Cost: $7. Link for any Aussies:
https://www.bunnings.com.au/narva-2...lectrical-terminal-connector-10-pack_p4330775)
For the active pins, the male side of the piggyback terminal and the fused switch I used normal insulated terminals.
(Cost: $5. Link for any Aussies:
https://www.bunnings.com.au/narva-4mm-blue-electrical-terminal-female-blade-100-pack_p4331383)
To make it easier to separate the wires as they left the fused switch and to join the active com wires from the relay I used a terminal connector strip. These are easy to cut so you only have as many terminals as you need, and they can fit up to 3x 2.5mm wires in them at once.
(Cost: $4.70. Link for any Aussies:
https://www.bunnings.com.au/narva-electrical-terminal-connector-strip_p4330743)
The final thing needed to build the power board is a crimping tool. You can use pliers or a cheap crimping tool but they really don’t get a good connection and they are just plain hard to use. A cheap ratcheting crimping tool is a great investment and makes the crimp connections easy to do and perfect every time.
(Cost $22. Link for any Aussies:
https://www.supercheapauto.com.au/p.../213236.html#q=crimping+tool&segment=1&page=1)
Printing
Here is the link to the power board designs:
https://www.thingiverse.com/thing:3024281
It is designed to print in 4 parts on a 220mm x 220mm build plate. I have used PLA for now and it should be more than good enough but I would eventually like to re-print in ABS just so the parts can be vapor smoothed (but I am in no rush to do that).
Including the logo the power board uses approximately 350g of PLA to print. It can be printed in any colour but I used white for the power board, white and black for the text and white, black and orange for the logo. Price of PLA depends a lot on where you buy it from but a standard price for good PLA in Aus is around $30/kg including shipping.
(Cost: $10.50. Link:
https://www.ebay.com.au/itm/3D-Prin...-colours-Aussie-Stock-Fast-Ship-/181616869603)
I used a soldering iron to “weld” the bottom and top pieces together. I taped the pieces together how I wanted them to sit and then slowly ran a soldering iron along the join on the inside of the box to melt the parts together. I designed a large ridge along the join so that it either provides more surface area for glue (standard CA glue would work) or it provides a good amount of sacrificial material to melt together (just be careful of the relay mounting points).
My printer can also only extrude 1 colour at a time so for the logo and text I had the slicer set to pause the print at certain heights (every 0.8mm for the logo and at 1.2mm for the text) so that I could change the filament colour and re-start the print. They are then just attached to the power board with CA glue.
To hold the top and bottom pieces together I am using 35mm M3 screws.
(Cost: $3.22. Link:
https://www.bunnings.com.au/pinnacle-m3-x-35mm-zinc-plated-thread-screw-8-pack_p2310130)
Using the above, the cost for the first 8 outlet power board (including the 2 crimping tools) is $110.83. The cost for subsequent 8 outlet power boards is $73.83. Compared to the $440 per 6 outlet Apex board that is pretty dang awesome!
Here are some pics of the printed power board, I have lost my punch down tool so I need to get another one before I can wire up the RJ45 jack and then I will test it with the Pi and make sure the relay works well. In the mean-time if anyone spots anything wrong with my AC wiring please let me know! Of course I will also use a multi-meter to check that each outlet switches on and off properly with the relay before I plug in the mains power

(red = active, black = neutral & green/yellow = ground).