It is safer because there is no direct link to the mains. Some circuits use X-Caps, to reduce the voltage to a small fraction of the mains voltage to power up the led, nevertheless, they are still LIVE connected. Mind you, not all circuits can be configured this way, but to make it isolated, the number of components increases.Why is it safer and/or better than hooking up to mains? All manner of devices and appliances etc are hooked up to the mains all around the world all the time. Just do it in a safe and acceptable way. It does not need to be done unsafely.
......well, a coil rapped around a mains current carrying wire is a transformer. Hence, why, I asked for a coil powered circuit. This method as I explained, previously, is the safest method that can be used. I agree, x-caps are dangerous.Magnetically isolated LED will be a lot safer to make and use than a LED running straight off mains through a cap and a few diodes and resistors.
Besides that because of the safety issues transformer-less circuits such as a mains led indicator are a forbidden topic on this forum.
can you show us the configuration, the diagram.You could use a mini mains transformer + rectifier bridge.
A DIY circuit board, your assembly skills, DIY project box, DIY fuse, DIY surge protection and DIY power cord restraint?can you show us the configuration, the diagram.
.....again, this method requires connection to the mains, even though, the transformer may provide isolation and secondly, it requires plugs, sockets, etc. extensive modification around the mains conductor, where space sometimes does not permit.I recently needed a bright LED to indicate the presence of 240Vac ( deep Well pump). My local thrift stores sell cell retired cell phone chargers for $0.50. These are the SMPS kind that take in 100 to 250VAC and put out an isolated, regulated DC of 3.6 to 6V, depending on make. These will run a 20mA indicator LED with a suitable current-limiting resistor...
The circuit is to be placed in an enclosure, where anyone, can gauge if mains voltage is applied to the load from outside the box. The second point, if the box is opened up, by an experienced person or not, would not by accident get electrocuted, thinking because it is powering an led, the voltage would not be dangerous. So safety is behind the whole concept. If a I wanted to use a direct connection to the mains, isolated or not, there are plenty of examples on the net. Hence, this special request.A DIY circuit board, your assembly skills, DIY project box, DIY fuse, DIY surge protection and DIY power cord restraint?
PLEASE buy a little LED nightlight and plug it in to see if you have power or use a cell phone charger (look for UL or CSA ratings on anything). I am not a fan of new DIYers making mains powered devices that could eventually electrocute or cause a fire in a house.
How will you get a secondary voltage when there is no voltage across, or current through the primary on a current transformer with no load (current) on the conductor?......well, a coil rapped around a mains current carrying wire is a transformer. Hence, why, I asked for a coil powered circuit. This method as I explained, previously, is the safest method that can be used. I agree, x-caps are dangerous.
For some reason he doesn't want a bare wire connection to mains. I don't know how he plans to wrap one leg of a wire (hot) in a Romex sheath around a toroid without making a disconnect. Still waiting for this aha moment to unfold (or to be told I misunderstood his requirements).Has anyone mentioned that you can buy a hot wire indicator with an LED at Home Depot for about $11? It's as much a part of my tool box as an amp-clamp.