Join Date: Jan 2011
Location: Oklahoma City, OK
Here are the rules, as per the NEC, which is the electric code in the US.
1. If you make a connection on AC wiring(the 110V or 220V stuff that runs all of your appliances), then that connection must be made inside an approved container.
a) if you are twisting wires together using those "twist caps", this connection must be made inside of an electrical box(the square or round box found in your walls/ceiling).
b) if you are connection the wire to a terminal(screws that you screw down to secure the wire), then that must be made in an electrical box as well
c) if you are installing a plug onto the end of wires, then that plug must be appropriately sized and rated for the application. You should see a UL sticker on it.
d) You cannot mount these LED drivers directly to wood or other combustible material unless the manufacturer SPECIFICALLY indicates that the LED driver can be mounted in such a way.
So, if you have the normal type of driver that simply has two AC wires coming out of it, then mounting it "in the open" is perfectly acceptable. In fact, if you do decide to install it into a small container, you might be causing problems. These drivers generate heat and they have a rated clearance and venting requirement. Failing to meet these requirements will cause trouble, invalidate your warranty, and possibly create an unsafe condition.