I think I might have asked this before...but what are the potential hazards of wiring a power supply that gets its electricity from mains.
It doesn't seem like that difficult of a concept, but reading around, there are tons of warnings about all sorts of bad things. But what really could happen? In all honesty...
Thanks
Gee, I didn't see this one. I'm glad you revived the thread!
The obvious potential hazard is death. And if any warning only saves your life once, it's probably worth it...
In all seriousness, you need to exercise extreme care when playing about with the mains.
It is a source of hazardous voltage, and is capable of delivering huge currents (at least until
fuses or circuit breakers blow).
If you're in a part of the world that has 110V mains, then it's arguably a lot less hazardous than those of us who have to deal with 240V.
OK, what can go wrong... (and this is by no means exhaustive)
* Switching neutral rather than live can result in the circuit still being live when powered off (note that this also applies to blown fuses).
* Accidental shorts between live and the chassis can cause electric shock
* Short between neutral and chasis can be a hidden danger onle exposed whn an extension or badly wired power point causes live/neutral reversal (this is less hidden if your power cables are not polarised).
* Accidental shorts between live (or neutral) and low voltage parts of the circuit can result in an operational, but dangerous device.
* Poor cable termination can result in cable being pulled out, exposing live wires. (I prefer to use a male connector (like computer power supplies use) rather than a power cable for this reason)
* You need to be much more careful about openings that people can put finges, pencils, or knives and forks into.
* Operating in damp or wet environments required far more cautions.
* Accidental shorts or overloads are potentially pyrotechnic -- you're no longer limited by the internal resistance of a battery or th maximum current from a plug-pack.
* There are often legislative requirements (in Australia you have to be a qualified electrician to do mains wiring (or to approve such wiring done by others)
* There are often design requirements - cable colours, minimum conductor spacing, methods of termination, etc.
* Your design may now be constrained by mains voltage and/or frequency.
* Your design may be dangerous and.or illegal if built or used in other counties (or indeed in your own).
* You may be subject to greater risks of legal repercussions if something goes wrong.
* You have to deal with mains-borne interference and voltage regulation issues.
An there are probably many more.
The one I always think of though is the abrupt termination of my life. I have managed to avoid that every time so far, and I encourage everyone else to do likewise.