Advice on wiring up a grow room microcontroller. | on ElectriciansForums

Discuss Advice on wiring up a grow room microcontroller. in the UK Electrical Forum area at ElectriciansForums.net

Joined
Oct 5, 2021
Messages
12
Reaction score
4
Location
Germany
I'm currently building a grow room microcontroller for my startup business and have come to the part where I have to wire up the high voltage side of my system.
Before I make some dodgy wiring and blow myself up I'd like to get some advice from someone with an actual qualification ?
What I've got so far is a microcontroller that switches on and off a series of relays depending on temperature and humidity.
These relays will be wired up to (at this stage) 4 standard wall sockets with a heater, a fan, a dehumidifier, and potentially a humidifier(not sure if I'll need this one).
Only 2 of the 4 appliances should ever be running at one time.

My questions are:
As I'm building this in a metal box should the box itself be grounded?
If so, how would you recommend doing it?
Are there any improvements you would recommend to my wiring?
How can I provide power to my microcontroller without the cowboy style jam it in and screw it tight USB charger setup?

If you can see any concerns that I've overlooked feel free to point them out and suggest fixes.

Photos of my current build with low voltage(microcontroller/sensors) side removed for less cluttered photos:
[ElectriciansForums.net] Advice on wiring up a grow room microcontroller.

[ElectriciansForums.net] Advice on wiring up a grow room microcontroller.

[ElectriciansForums.net] Advice on wiring up a grow room microcontroller.

[ElectriciansForums.net] Advice on wiring up a grow room microcontroller.
[ElectriciansForums.net] Advice on wiring up a grow room microcontroller.
 
i thought the set up was a bit undersized for cannabis

i thought the set up was a bit undersized for cannabis. ??. and yes i'd earth the box.
I'd definitely have to scale up for cannabis production ?? maybe full irrigation and soil monitoring system too ?

I assume when you say you'd earth the box you mean "earth(green/yellow) cable from my input touches the box somehow?
I read somewhere about driving an earth peg and running a separate earth wire to the box but that definitely seems like overkill to me ?
 
You don’t need to link each earth terminal to the next.
they are commoned together by the din rail and will in turn provide a good connection to the steel backplate.
 
You don’t need to link each earth terminal to the next.
they are commoned together by the din rail and will in turn provide a good connection to the steel backplate.
Right, so if I were to move the earth of my input cable to the closest earth terminal I could completely do away with the rest of my earth wiring?
 
Right, so if I were to move the earth of my input cable to the closest earth terminal I could completely do away with the rest of my earth wiring?
On the DIN rail, yes.

I would still take a dedicated earth lead from one of the earth terminals to the box, as various mounting screws on to painted plates/boxes are not always reliable means of earthing.

As for USB power supplies, you might use something like this to save on a 13A socket & adaptor arrangement:
 
On the DIN rail, yes.

I would still take a dedicated earth lead from one of the earth terminals to the box, as various mounting screws on to painted plates/boxes are not always reliable means of earthing.
Okay, inputs and outputs earthed to the earth terminals + an earth from the box to an earth terminal.
But all the earth bridges between terminals are redundant as the din rail itseft does that.

Also, that USB Box looks pretty ??
Is my cowboy USB Charger setup safe enough to use until I get your suggested USB box? Or Is it better to just sit on my hands until the proper equipment arrives?
 
Make sure you have adequate clearance under the relay PCBs (I can't see clearly). Commercial products built this way often have an insulating rigid plastic sheet underneath to prevent any stray screws etc shorting the PCB pads to earth. Earth both the chassis plate and the box itself with a flylead.

Although there's no particular need to change what you have done here, for future reference, you might like to streamline the supply line connection feeding all the relays by gathering the terminals so that they are alll adjacent and linking them using a jumper bar or plug in link. This avoids the many connections daisy-chained in series. You can also get commoning terminals with many cable entries all connected together inside, and even DIN-rail adaptors for regular Wago lever terminals.

I read somewhere about driving an earth peg and running a separate earth wire to the box but that definitely seems like overkill to me

It's not overkill, it's wrong and potentially dangerous (see what I did there?) With earthing you want everything connected together so it's all at the same potential and you can't get a shock from one part to another. As soon as you bring in a different 'extraneous' potential you can get a shock from one earth connection to another under fault conditions. Everything powered by a Schuko plug should get its earth from the Schuko plug.
 
Make sure you have adequate clearance under the relay PCBs (I can't see clearly). Commercial products built this way often have an insulating rigid plastic sheet underneath to prevent any stray screws etc shorting the PCB pads to earth. Earth both the chassis plate and the box itself with a flylead.

Although there's no particular need to change what you have done here, for future reference, you might like to streamline the supply line connection feeding all the relays by gathering the terminals so that they are alll adjacent and linking them using a jumper bar or plug in link. This avoids the many connections daisy-chained in series. You can also get commoning terminals with many cable entries all connected together inside, and even DIN-rail adaptors for regular Wago lever terminals.



It's not overkill, it's wrong and potentially dangerous (see what I did there?) With earthing you want everything connected together so it's all at the same potential and you can't get a shock from one part to another. As soon as you bring in a different 'extraneous' potential you can get a shock from one earth connection to another under fault conditions. Everything powered by a Schuko plug should get its earth from the Schuko plug.
That's a lot of information ?
The pcb's are about 1.5cm above the steel backplate. Your concern about shorting them out is very valid. Maybe I put a hdpe plate that I have floating around behind them.
So far I've got a single earth wire fixed between two nuts on one of the studs for the backplate. Is that adequate enough or would you recommend another way of attaching an earth?

So today we learned that unless you want to kill yourself then the earth goes to the same plug that the power comes from ?
I'll remember that.

Would there be a website where I could buy all these fancy things you talk about?
Just reading that list makes me want to start a new project ?

Also, some updated photos of the build:
 

Attachments

  • [ElectriciansForums.net] Advice on wiring up a grow room microcontroller.
    IMG_20211006_222631.jpg
    252.6 KB · Views: 24
  • [ElectriciansForums.net] Advice on wiring up a grow room microcontroller.
    IMG_20211006_222503.jpg
    309.4 KB · Views: 34
  • [ElectriciansForums.net] Advice on wiring up a grow room microcontroller.
    IMG_20211006_222554.jpg
    213.6 KB · Views: 36

Reply to Advice on wiring up a grow room microcontroller. in the UK Electrical Forum area at ElectriciansForums.net

News and Offers from Sponsors

  • Article
Join us at electronica 2024 in Munich! Since 1964, electronica has been the premier event for technology enthusiasts and industry professionals...
    • Like
Replies
0
Views
438
  • Sticky
  • Article
Good to know thanks, one can never have enough places to source parts from!
Replies
4
Views
1K
  • Article
OFFICIAL SPONSORS These Official Forum Sponsors May Provide Discounts to Regular Forum Members - If you would like to sponsor us then...
Replies
0
Views
1K

Similar threads

Problems can arise when you get on too well then they think he won’t mind me doing a bit.
    • Friendly
    • Like
Replies
8
Views
483
  • Question
Hello Dave, Thanks for taking the time to reply. I appreciate the info, I haven't updated this post yet, but I have since been talking to some...
Replies
3
Views
1K

OFFICIAL SPONSORS

Electrical Goods - Electrical Tools - Brand Names Electrician Courses Green Electrical Goods PCB Way Electrical Goods - Electrical Tools - Brand Names Pushfit Wire Connectors Electric Underfloor Heating Electrician Courses
These Official Forum Sponsors May Provide Discounts to Regular Forum Members - If you would like to sponsor us then CLICK HERE and post a thread with who you are, and we'll send you some stats etc

YOUR Unread Posts

This website was designed, optimised and is hosted by untold.media Operating under the name Untold Media since 2001.
Back
Top