Node Lights Out: verschil tussen versies
k (MarkKlaauw heeft de pagina Nodes Lights Out hernoemd naar Node Lights Out zonder een doorverwijzing achter te laten) |
|||
(15 tussenliggende versies door 4 gebruikers niet weergegeven) | |||
Regel 1: | Regel 1: | ||
− | [[Category:ACNode]][[Category: | + | [[Category:ACNode]] |
− | + | [[Category:Nodes & network devices]] | |
− | [[Bestand:NodeLightsOut-outside.jpg|miniatuur|Lichten node/verklikker]] | + | [[Bestand:NodeLightsOut-outside.jpg|miniatuur|Lichten node/verklikker (photo out of date)]] |
[[https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware OLIMEX PoE]] gebaseerde node die kijkt naar de 3 AC netten van het licht. | [[https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware OLIMEX PoE]] gebaseerde node die kijkt naar de 3 AC netten van het licht. | ||
Regel 11: | Regel 11: | ||
All 3 expect AC/230 volt. The RED led on the front is the 'AartLED'. | All 3 expect AC/230 volt. The RED led on the front is the 'AartLED'. | ||
− | Code in [[https://github.com/dirkx/AccesSystem/blob/master/lib-arduino/ACNode/examples/LightsOutNode/LightsOutNode.ino]] | + | Code in [[https://github.com/dirkx/AccesSystem/blob/master/lib-arduino/ACNode/examples/LightsOutNode/LightsOutNode.ino "het git repo van de Makerspace".]]. |
Current mac address is '''3C:71:BF:10:62:A7''' -- wired to the top patch panel, port 23. It is currently connected by a yellow cable to the top switch; port 23 (auto-negotiation, no further settings) | Current mac address is '''3C:71:BF:10:62:A7''' -- wired to the top patch panel, port 23. It is currently connected by a yellow cable to the top switch; port 23 (auto-negotiation, no further settings) | ||
+ | |||
+ | = Update September 2019 = | ||
+ | |||
+ | [[Bestand:ESP32-POE-connector.jpg|miniatuur|ESP32 PoE connector olimex]] | ||
+ | The AC voltage resistors/optocouplers have been moved out of the low voltage electronics box; and now reside in/behind the two light switches. With just 2 and 4 wires (gnd/E and signal/C of the optocouplers) going to the grey box. | ||
+ | |||
+ | White is the gnd, the colours (brown, orange, green) are the signal wires. | ||
+ | |||
+ | Furthermore GPIO 34 (was 5) has been wired to a 433 Mhz receiver - for [[Mains sensor|our radio based mains-monitoring]]. As the digital out is 5volt - there is a simple 3k3/1k8 voltage divider to bring the signal to the 3v3 that the ESPs GPIO likes. | ||
= Building wiring = | = Building wiring = | ||
− | Note that the building wiring is a bit funny - an earth wire is used as a black-switch phase wire in the leftmost switch. | + | Note that the building wiring is a bit funny - an earth wire is used as a black-switch phase wire in the leftmost switch. Talk ''first'' to the trustees if you want to fix it - as this is a key part of building relative to the agreements made with the landlord. |
= Opto electronics = | = Opto electronics = |
Huidige versie van 25 aug 2024 om 11:02
[OLIMEX PoE] gebaseerde node die kijkt naar de 3 AC netten van het licht.
Inhoud
Wiring and technical data
The 6 screw terminals are Optocoupler detect (2x3) of AC.
All 3 expect AC/230 volt. The RED led on the front is the 'AartLED'.
Code in ["het git repo van de Makerspace".].
Current mac address is 3C:71:BF:10:62:A7 -- wired to the top patch panel, port 23. It is currently connected by a yellow cable to the top switch; port 23 (auto-negotiation, no further settings)
Update September 2019
The AC voltage resistors/optocouplers have been moved out of the low voltage electronics box; and now reside in/behind the two light switches. With just 2 and 4 wires (gnd/E and signal/C of the optocouplers) going to the grey box.
White is the gnd, the colours (brown, orange, green) are the signal wires.
Furthermore GPIO 34 (was 5) has been wired to a 433 Mhz receiver - for our radio based mains-monitoring. As the digital out is 5volt - there is a simple 3k3/1k8 voltage divider to bring the signal to the 3v3 that the ESPs GPIO likes.
Building wiring
Note that the building wiring is a bit funny - an earth wire is used as a black-switch phase wire in the leftmost switch. Talk first to the trustees if you want to fix it - as this is a key part of building relative to the agreements made with the landlord.
Opto electronics
Typical log
AC1 to AC3 are the OPTO couplers state; True is off (there is a pull up at work), False is AC voltage detected.
{ "node": "lights", "machine": "lights", "maxMqtt": 768, "id": "a46210bf713c", "ip": "192.168.3.173", "net": "UTP", "mac": "3C:71:BF:10:62:A7", "beat": 0, "approve": 0, "deny": 0, "requests": 0, "cache_hit": 0, "cache_miss": 0, "mqtt_reconnects": 1, "loop_rate": 11137.78, "coreTemp": 72.22222, "heap_free": 223272, "state": "Powered - no lights", "powered_time": 1195, "running_time": 0, "ota": true, "acstate1": true, "acstate2": true, "acstate3": true }