So, the original enclosure was using edge mounts then.It's the standard black box drivers, the wiring is in the way on 1 off the corners and lots of small open solder joints underneath at the standoff holes and also the heatsink blocks a hole
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
So, the original enclosure was using edge mounts then.It's the standard black box drivers, the wiring is in the way on 1 off the corners and lots of small open solder joints underneath at the standoff holes and also the heatsink blocks a hole
Most project boxes are not UL Certified for electrical use. I have taken apart items such as x-box and other items and there is Almost always a Metal shield around or under components that have high heat or large capacitors . I am not really the right person to ask what is considered safe. I just know how i do things based on how i have seen Actual Electricians have done so and how things seem to be made.
My concern with is light build is all of those open Power units .I have seen them after a short. If there were one or two and spaced way apart i would probably not have even commented..
Maybe Just reminding people to be aware of safety and Recommend ul approved or Metal box or metal shielding under or behind power components Where high AC Voltage is connected to step down converters or when many Voltage converters are in play together.. I think Lights and Relays are the two things of Concern with our builds . the ADJ Solves one of them for those that can go that rout .For me the Outlets have to be spaced out. I can ask Drew to do a small write up for us about electrical safety that applies to our designs...
the original was a clipped together plastic housing with 2 small vent holes near heatsinks, the circuit board was just placed on the bottom housing part on plastic locating pins, thinking on version 3 and mains safety next, but for now I need lights on and in the version 3 I think I will run the relay and the 8 drivers together but remove the pi, the 5v supply, the 12v supply to its own little housing close by, this way I will get more room and more robust mains electrical connections into the boxSo, the original enclosure was using edge mounts then.
What image should I follow for my float switch that will run my mixing station and RO/DI tank solenoid.
Always use the 3.3V line, not the 5V. Raspberry GPIOs are only 3.3V. With that fix...
First (with 220ohm resistor) is preferred.
Why?
If you end up in a state where the switch is closed and the sensor is configured as an output, you can short the supply voltage through the GPIO pin which will be destructive. The resistor will limit it. It will still be 15ma so on the high end but not unreasonable for short durations.
Just throwing this idea out. How about standing the boards up on their end atop an aluminum plate with the heatsinks against the plate with heatsink compound? Then just contain the boards at the bottom corners with a strip of plastic with notches and one at the top center with notches as well.the original was a clipped together plastic housing with 2 small vent holes near heatsinks, the circuit board was just placed on the bottom housing part on plastic locating pins, thinking on version 3 and mains safety next, but for now I need lights on and in the version 3 I think I will run the relay and the 8 drivers together but remove the pi, the 5v supply, the 12v supply to its own little housing close by, this way I will get more room and more robust mains electrical connections into the box
the original was a clipped together plastic housing with 2 small vent holes near heatsinks, the circuit board was just placed on the bottom housing part on plastic locating pins, thinking on version 3 and mains safety next, but for now I need lights on and in the version 3 I think I will run the relay and the 8 drivers together but remove the pi, the 5v supply, the 12v supply to its own little housing close by, this way I will get more room and more robust mains electrical connections into the box
this is what I haveSomething like this...
![]()
I see what you are saying, was just throwing out ideas for V3!this is what I have
see the little plastic standoffs, but I needed more room to use them and I had no way to secure them, it was just easier to not use them in the end
![]()
OK, guys, I did a thing.....
Very informative. Thank you for sharing this, I'll add some of the key information here in the official docsMetal enclosures like this are almost always for EMI / radiated emissions. Everything becomes a radio transmitter, so these are the attenuation mechanisms.
Most plastics designed for electronics should be rated as UL 94V0, which is filled with enough flame retardant materials to not keep a flame for more than 10 seconds.
https://en.m.wikipedia.org/wiki/UL_94
I agree - don’t mess with high power lightly. There are a number of factors to consider (clearance, current, wire sizing, fusing, etc).
Thanks!Nice :-)
If you navigate to Configuration -> Settings section, theres a place to adjust the PWM frequency for rpi. You have to play with it, start with 10, and then try 50, 100, 200, 500, 1000 etc.You have to reload reef-pi everytime you update the PWM frequency, and some time reboot it (rarely). Take a look ate the logs when you do this, and if you see error, then only do the reboot, else just reload is all you need. I hit the same issue, but adjusting the PWM frequency solved every single of those. Keep us postedtrying to mess arround with this again ahead of my new build doing a simple 2 channel test light, and using the GPIO 18/19 for pwm. I get massive flickering at anything but 100% its almost like its pulsing the PWM super slow so its visable to my eye. is there a setting I missed?
Yes, I too found that isolating the high power (AC110V) and low power (DC 12V) components in separate housing solved lot of my headaches. And I was not reaping whole lot of benefits by keeping them togetherthe original was a clipped together plastic housing with 2 small vent holes near heatsinks, the circuit board was just placed on the bottom housing part on plastic locating pins, thinking on version 3 and mains safety next, but for now I need lights on and in the version 3 I think I will run the relay and the 8 drivers together but remove the pi, the 5v supply, the 12v supply to its own little housing close by, this way I will get more room and more robust mains electrical connections into the box
Just of followup advice here for you and others, @theatrus is way more knowledgeable than me when it comes to electronics. You and rest of us can count on his advice and I'll personally take his advice in case of any conflict/arbitration.Thank you that is what I will do.