I made a ton of progress last night. My wife was less than pleased when she got home from work and I had taken over her dining room table but she is the one that said the extra room cant be a man cave so its her fault lol.
The new connectors for ATO, temp, and aviation connectors for the lights where much larger than I expected! My box is starting to look a little like Swiss cheese but I got all the holes measured and cut. Due tot he size of the connectors I had to do a complete re-wire. Which is not bad anyway because I wanted to beef up the wires a little for the 12 volt power side. I hit three hardware stores looking for 22awg stranded wire with no luck. My backup plan was to re purpose some old Ethernet cable but I really wanted more color options. In the end I went ahead and used the cat5 cable so I didnt have to wait for another order to get started. On the plus side of using twisted pair for power will help with noise issues. I had to remove the proto HAT and solder some more pins. In particular I needed to add pins for 3.3v and ground to power the the PCA9685, Pins for SCL and SDA for the I2C control, and I went ahead an soldered pins on all the remaining GPIO outputs for the light relays or whatever else I might need them for. Lastly I soldered in som pins to my ATO circuit to run to float switches in parallel. I will be running my float switches with both a high and low level switch like so.
And my helper was once again sleeping on the job.
There is so much going on here I pretty much gave up trying to make it look pretty. Its going to have a lid anyway when its done lol
If you look very close in the pic under the relay circuit you can see a bit of cardboard with something shiny protruding out. That is my make shift EMF filter, due to space issues the power cord for the pi runs directly underneath it. I basically laid foil over the power cord and covered it with cardboard so nothing shorts on the bottom of the relay board. It may not do anything, it may not even be necessary but I doesn't hurt anything so I figured what the heck. The idea came from this video.
Minus wiring the connectors everything is assembled. I went ahead and powered it up to test and the PCA9685 worked first go around using 3.3v to dim an LED I had laying around. The doser circuit still works, and all the other little things still work. but...... The relay will not fire. Seems I was not paying attention when I ordered the relay and the minimum input voltage to trigger the relays is 5v. It was nearing midnight and I was tired and about to give up for the night but
@Ranjib suggested testing the voltage with things disconnected and so I ran a few tests and thats when I realized the problem. I was trying to avoid having to use a driver for relays since I dont have room for another ULN2803 but I do have 7 more lines on my perma Proto HAT which will be perfect for space for a pair of transistors. Not a huge problem just more waiting for parts to get here in the mail. I will be doing this using PN2222 and a 1k resistor. The only difference is the relay already has a flyback diode built in and the supply source will be 12 volts instead of 5.