Dust Collector Automation
This page documents our attempts to automate the Laguna Cyclone Dust Collector in the Wood Shop. At present, automation is a bit of a misnomer as the dust collector is merely network-controllable via MQTT.
Hardware and Modifications
The on/off buttons on the front of the dust collector plug into a control board inside via the 4-pin JST-PH connector in the center of the image below. The pinout is BL: GND, O: On button, R: LED, Y: Off button. The On button is NO and the pin normally measures 2.8VDC. The Off button is NC and is normally connected to GND.
To remotely trigger the buttons, we've added relays in line with them connected to an esp8266. Since the On button is NO, the On relay is added in parallel with it. The Off button is NC, so that relay is added in series. This add-on board is powered by a Mean Well HDR-15-5 220VAC to 5VDC power supply. This board plugs into the dust collector where the front panel buttons plug in, and the front panel buttons plug into this board. A schematic and image of the board are below.
The esp8266 runs Tasmota firmware with the following rule logic:
ON Mqtt#Connected DO subscribe pow,cmnd/wood-shop/dust-collector/power ENDON ON Event#pow=ON DO backlog power1 ON; delay 2; power1 OFF ENDON ON Event#pow=OFF DO backlog power2 ON; delay 2; power2 OFF ENDON ON Event#pow=1 DO backlog power1 ON; delay 2; power1 OFF ENDON ON Event#pow=0 DO backlog power2 ON; delay 2; power2 OFF ENDON
So when it receives a power ON/OFF command, it switches the corresponding relay on for 200ms to simulate a button press. power1 and power2 refer to the state of the relay and not the dust collector. The actual state of the dust collector isn't yet monitored. If, for some reason, this board loses power, the front panel buttons will continue to work.
Boxes with On/Off buttons will be installed at various tools around the shop. Each button box runs Tasmota firmware with the following rule logic:
ON Switch2#State DO backlog publish cmnd/wood-shop/dust-collector/power ON; publish stat/wood-shop/dc-button-X/pressed 1 ENDON ON Switch3#State DO backlog publish cmnd/wood-shop/dust-collector/power OFF; publish stat/wood-shop/dc-button-X/pressed 2 ENDON