Node DeWalt

Uit MakerSpace Leiden
Ga naar: navigatie, zoeken

{{Category::SpaceDocs}}

DeWalt node/verklikker

Kleine ESP6822 node die monitored of een machine aangelaten/gebruikt wordt.

Planning is om ze op de compressors en afzuigers te hebben (en andere dingen die vaak aangelaten worden).

Wiring and technical data

DeWalt node/verklikker - wiring

The 4 screw terminals are AC (2x) and Optocoupler detect (2x). AC is nearest to the PSU; the inputs are 'under' the opto-coupler wires (the resistors are on the back of the board).

The fuse is a 800 mA fast (it should probably be a 50 or 100 mA slow).

Both expect AC/230 volt. The green LED is wired directly to the PSU. The blue LED has the same role as the Aart led in the other nodes. And the Red LED is swiched in software and should follow voltage detect on the Optocoupler input.

Code in [[1]]/

Current mac address is A0:20:A6:04:5A:45 -- the node is on wifi, so no switch port assigned.

Typical log

  {
     "node": "dewalt",
     "machine": "dewalt",
     "maxMqtt": 1258,
     "id": "285253",
     "ip": "<",
     "net": "WiFi",
     "mac": "A0:20:A6:04:5A:45",
     "beat": 0,
     "approve": 0,
     "deny": 0,
     "requests": 0,
     "mqtt_reconnects": 2,
     "loop_rate": 22560.2,
     "heap_free": 27104,
     "state": "Powered - but idle",
     "powered_time": 271192,
     "running_time": 157,
     "ota": true,
     "acstate": true
  }