Node DeWalt: verschil tussen versies
(→Wiring and technical data) |
(→Opto electronics) |
||
Regel 21: | Regel 21: | ||
= Opto electronics = | = Opto electronics = | ||
− | [[Bestand:Opto-wiring.png|Wiring of the 3 opto couplers]] | + | [[Bestand:Opto-wiring.png|300px|Wiring of the 3 opto couplers]] |
= Typical log = | = Typical log = |
Versie van 27 dec 2018 om 23:05
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
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.
Opto electronics
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 }