Node Compressor: verschil tussen versies

Uit MakerSpace Leiden
Ga naar: navigatie, zoeken
(Wiring and technical data)
(Wiring and technical data)
Regel 11: Regel 11:
 
The 2 screw terminals are an Optocoupler for AC. It expects AC/230 volt. The RED led on the front is the 'AartLED'.
 
The 2 screw terminals are an Optocoupler for AC. It expects 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/CompressorNode/CompressorNode.ino]]. Opto coupler is wired to GPIO 13, the red LED to GPIO 15 while the green LED sits across the 3v3 of the PSU.
+
Code in [[https://github.com/dirkx/AccesSystem/blob/master/lib-arduino/ACNode/examples/CompressorNode/CompressorNode.ino|github]]. Opto coupler is wired to GPIO 13, the red LED to GPIO 15 while the green LED sits across the 3v3 of the PSU.
 +
 
 +
The 3v3 on the duaghter board is wired to the ADC -- so the PSU can power the board through this pin. The VCC pin runs via an 5v->3v3 regulator on the back. This lets us re-program it (e.g. when OTA has failed) with a standard ESP 5v programming board (such as any|Witty Cloud ESP12 or similar board (Around 3 euro for a programmer and an ESP12E).
 
   
 
   
 
Current mac address is '''3a0:20:a6:7:93:f3 '''.
 
Current mac address is '''3a0:20:a6:7:93:f3 '''.

Versie van 5 jan 2019 om 22:46


Compressor node/verklikker

ESP6822 gebaseerde node die kijkt of the compressor (nog) aan staat. De 'sense' pin zit aan de 'druk' schakelaar van de compressor.

< work in progress >

Wiring and technical data

The 2 screw terminals are an Optocoupler for AC. It expects AC/230 volt. The RED led on the front is the 'AartLED'.

Code in [[1]]. Opto coupler is wired to GPIO 13, the red LED to GPIO 15 while the green LED sits across the 3v3 of the PSU.

The 3v3 on the duaghter board is wired to the ADC -- so the PSU can power the board through this pin. The VCC pin runs via an 5v->3v3 regulator on the back. This lets us re-program it (e.g. when OTA has failed) with a standard ESP 5v programming board (such as any|Witty Cloud ESP12 or similar board (Around 3 euro for a programmer and an ESP12E).

Current mac address is 3a0:20:a6:7:93:f3 .

Opto electronics

Wiring of the the opto coupler

Typical log

-- not yet in use --