Uploaded February 2024 | Updated November 2026, 1 hour ago
A safety socket is a hazard preventing feature for your lab bench when testing devices connected to mains. This project started simple but, hey why doing this simple when I can do it much more complex? :)
So I used a microcontroller in place of a single relay to manage all the cool features this remotely controlled safety socket sports. A blinking pilot light indicates when the socket is on, and more lights indicates other statuses of what we can now call the "smart" safety socket.
The most important feature is that when power is out, the socket turns off automatically, preventing risks when the power comes in again.
This project has been amended with some changes that I've shown in this video: youtu.be/gZ-LT26VJbg Please watch it for the required corrections.
This project is a must have in your electronics lab if you happen to tweak with devices that have to be plugged to the mains.
CAUTION
Working on mains voltage could cause serious
damages and kill living beings, including you.
** You MUST know what you do. **
Any showcased solution may fail, if you
replicate it you will do it at your own sole risk.
I shall take no liabilities.
Full series of #Electronics: youtube.com/playlist?list=PLwbCeSU2Kq_zORt4un2iQ3JUYxzWF3cTJ
Visit the website: accidentalscience.com
A safety socket is a hazard preventing feature for your lab bench when testing devices connected to mains. This project started simple but, hey why doing this simple when I can do it much more complex? :)
So I used a microcontroller in place of a single relay to manage all the cool features this remotely controlled safety socket sports. A blinking pilot light indicates when the socket is on, and more lights indicates other statuses of what we can now call the "smart" safety socket.
The most important feature is that when power is out, the socket turns off automatically, preventing risks when the power comes in again.
This project has been amended with some changes that I've shown in this video: youtu.be/gZ-LT26VJbg Please watch it for the required corrections.
This project is a must have in your electronics lab if you happen to tweak with devices that have to be plugged to the mains.
CAUTION
Working on mains voltage could cause serious
damages and kill living beings, including you.
** You MUST know what you do. **
Any showcased solution may fail, if you
replicate it you will do it at your own sole risk.
I shall take no liabilities.
Full series of #Electronics: youtube.com/playlist?list=PLwbCeSU2Kq_zORt4un2iQ3JUYxzWF3cTJ
Visit the website: accidentalscience.com





![DIY composite pulley for the home made lathe [part 11]
A DIY composite two-stages pulley, makeshift indexer, and lathe drill holder jig are showcased here in a challenging situation.
Making the pulley that drives the spindles lathe using the same lathe to make the very same pulley is a challenge. Because of the design of the spindle of my lathe I was not able to find a ready to use pulley off the shelf, and ordering one at the machine shop gave me a staggering long time to deliver. So I got creative and I made the pulley from scratch. With a piece of thick steel tubing and an old aluminum flange and some epoxy resin I made a pulley that is suitable to be driven through a poly-V belt, as required by the motors, salvaged from washing machines.
0:00 The problem
1:41 First step solution
2:19 Making a sleeve and FIRST CHIPS ever with this lathe!
3:08 Lets check the very first part turned with this lathe
4:18 Checking how the ways wipers worked
4:52 A makeshift indexer
5:58 Lathe drill holder jig from a scapped drill press
8:14 Making indexed angle holes on the side of the sleeve
8:49 Preparing the seats for the sleeve on the shaft
9:40 Step two: Installing the sleeve to gain more torque
9:59 Turning an aluminium ring from an old flange
11:00 Attaching the aluminium ring on to the sleeve
11:33 Making the composite secondary ring
14:18 Turning the pulleys secondary ring
14:31 The final pulley
15:05 Installation of the pulley and belt tensioners
16:20 Speed test
17:29 Whats up next
In the video youll see a linear scriber that Ive made myself, video: https://youtu.be/f9tA4i2xqjM
The motors are driven with an electronic speed control (ESC) that I designed myself, video here: https://youtu.be/5zRCCL2JZTI
A contactless RPM meter (tachometer) is featured, Ive shown how it is made here: https://youtu.be/RlAIcnxVLZE; here: https://youtu.be/iQ5vwq0JoKE; and here: https://youtu.be/fzcXJIGZSHA
Watch the full series of the minilathe: https://www.youtube.com/watch?v=KSE7DORiYfs&list=PLwbCeSU2Kq_wrUUInSUWJksA-LHhhMhFx
Watch the series of electronics: https://www.youtube.com/watch?v=ye9dguKy_Cs&list=PLwbCeSU2Kq_zORt4un2iQ3JUYxzWF3cTJ
Follow me on Facebook or Instagram
Website: https://accidentalscience.com
Music (in order as played in the video):
Empire Seasons by Dan Henig
Hedge Your Bets by TrackTribe
Komputo by Francis Preve
Depth Fuse by French Fuse DIY composite pulley for the home made lathe [part 11]](https://i.ytimg.com/vi/_uPQtCrJIaM/mqdefault.jpg)




