MENU

Fun & Interesting

The Dark Secret of Smart Sockets and How I Fixed it! (DIY or Buy)

GreatScott! 348,614 3 years ago
Video Not Working? Fix It Now

$2 for 2-4 Layer PCBs, free ENIG for 6Layer PCBs:https://jlcpcb.com/AAA Get $54 New User Coupon &3D Coupon: https://bit.ly/3UlsFjE Free Altium Designer Trial: https://altium.com/yt/greatscott! (AD, Paid Promotion) Previous video: https://youtu.be/fUdlfc1nJcY HomeAssistant Video: https://youtu.be/IvI1RqYPO24 Facebook: https://www.facebook.com/greatscottlab Twitter: https://twitter.com/GreatScottLab Instagram: https://www.instagram.com/great.scott.lab/ Support me for more videos: https://www.patreon.com/GreatScott?ty=h More project information here: https://www.patreon.com/posts/73255776?pr=true Parts list: (affiliate links) ESP-12F: https://s.click.aliexpress.com/e/_DF1sGi3 HT7833: https://s.click.aliexpress.com/e/_DF5CyKT 5V Power Supply: https://s.click.aliexpress.com/e/_DcZa6Rd Mini Transformer: https://s.click.aliexpress.com/e/_Dl3T5xv Current Transformer: https://s.click.aliexpress.com/e/_DmdSnnh CS5460A Power Measurement IC: https://s.click.aliexpress.com/e/_DBafuRV 0805 Resistors: https://s.click.aliexpress.com/e/_DE6NmIF 0805 Capacitos: https://s.click.aliexpress.com/e/_DkG13Nd Relay: https://www.mouser.de/ProductDetail/655-T9GV1L14-5 Crystal: https://lcsc.com/product-detail/Crystals_Yangxing-Tech-X49SD4096MSD2SC-1_C2226.html Choke: https://lcsc.com/product-detail/Common-Mode-Filters_FH-Guangdong-Fenghua-Advanced-Tech-UU9-8Y-10mH_C75192.html Varistor: https://lcsc.com/product-detail/Varistors_Hongzhi-Elec-10D561K_C113236.html Input Capacitor: https://lcsc.com/product-detail/Suppression-Capacitors_CORETONG-MPX-104K275VAC-A-B4-10-5-11-7-5MM_C3249977.html Fuse: https://lcsc.com/product-detail/Fuse-Holders_XFCN-PTF-77_C717030.html MOSFET: Flyback Diode: https://lcsc.com/product-detail/Diodes-General-Purpose_MDD-Microdiode-Electronics-S3MB_C47524.html Tactile Switches: https://lcsc.com/product-detail/Tactile-Switches_XKB-Connectivity-TS-1101-C-W_C318938.html In this episode of DIY or Buy we will be having a closer look at Smart Plugs, Sockets, Outlets.....However you want to call them. I love using such Smart of Wireless outlets to completely disconnect my appliances from the grid and thus getting rid of the standby power. But commercial smart outlets do often fail when I use them. So in this video we will investigate this problem, find a solution and possibly build the BEST DIY Smart Outlet that exists. Let's get started! Websites which were shown/used during the video: https://esphome.io/components/sensor/cs5460a.html https://www.mouser.de/c/electromechanical/relays-contactors-solenoids/general-purpose-relays/?coil%20voltage=5%20VDC&contact%20current%20rating=20%20A https://datasheet.lcsc.com/szlcsc/1909111105_HI-LINK-HLK-PM24_C399250.pdf https://circuitjournal.com/esp8266-with-arduino-ide https://asset.conrad.com/media10/add/160267/c1/-/en/001425170DS01/datenblatt-1425170-afe-brd-ss-124lm-printrelais-24-vdc-15-a-1-schliesser-1-st.pdf https://ibex.tech/resources/geek-area/electronics/relays/relay-contact-materials https://www.cirrus.com/products/cs5460a/ https://statics.cirrus.com/pubs/proDatasheet/CS5460A_F6.pdf https://www.mouser.de/ProductDetail/655-T9GV1L14-5 https://www.mouser.de/datasheet/2/418/8/ENG_DS_T9G_1216_0321-1281449.pdf Thanks to JLCPCB for sponsoring this video. Visit https://jlcpcb.com to get professional PCBs for low prices. Thanks to Altium for sponsoring this video. 0:00 The Relay Sticking Problem! 1:42 Intro 2:06 Reason for the Relay Sticking? 3:53 Testing the Solution 5:09 DIY Smart Socket Features 6:01 Power Measurement 8:27 Circuit (PCB) for the DIY Solution 10:13 First Tests & Improvements 10:49 Final Version & Verdict

Comment