PSU cover with wlan-control (Script also suitable for controlling light and other appliances)

PSU cover with wlan-control (Script also suitable for controlling light and other appliances)

Description

There are plenty of psu cases on Thingiverse already, but this one has a Wemos D1 Mini with a relay-shield built in, so you can turn your printer on and off using your smartphone, an Octoprint-plugin, via SSH and a physical pushbutton. Tested with S-360-12 and S-500-12. Put the Python- and Bash-script in the home folder ( /home/pi/ ) of your OctoPi-installation and make them executable, then add 'source ~/run.sh' to bashrc or zshrc - this will enable you via SSH to use 'relais 1' to switch the relay on, 'relais 0' to switch it off and 'relais 2' to toggle between on and off. The photos are showing an older iteration i've printed for testing. For the actual case i've reorinted the 5V psu and the cable outlet. BOM: - Wemos D1 Mini v3 and relay-shield: https://lolin.aliexpress.com/store/1331105?spm=2114.10010108.100005.1.a16c5aecufdEii - Hi-Link 5V/3W HLK-PM01 - Pushbutton switch e.g. https://www.conrad.de/de/tru-components-gq-12b-n-vandalismusgeschuetzter-drucktaster-48-vdc-2-a-1-x-ausein-ip65-tastend-1-st-701257.html - IEC power socket: https://www.banggood.com/3PCS-220V110V-5A-Power-Outlet-Socket-With-Switch-And-6A-Fuse-For-3D-Printer-p-1161973.html?rmmds=myorder with 2 M3x10 screws and nuts To mount the D1 Mini you'll need two M2x10 screws with nuts or two 2,5mm self-tapping screws (you can find them in old radios and the like - but you'll have to drill open the mounting holes in the pcb). The hole for the switch has a diameter of 7mm but you can make it wider for any switch you want to use, just make sure it is able to be mounted on a 4mm thick plate. The 5V psu is intended to be held by friction, if you need, just use some tape or paper to make it grip. To mount the psu use M4x8 countersunk. The case has holes for M5 and can be mounted on 2020 or 2040 extrusions. The cutout in the bottom gives you access to the usb port. To prevent you or others from touching the solder joints of the relay-shield, you can place a 2 by 5 cm piece oft thick plastic foil (like those pesky blister packages which you can't open without some scissors) on the D1 Mini

Statistics

Likes

9

Downloads

0