Node Compressor: verschil tussen versies

Uit MakerSpace Leiden
Ga naar: navigatie, zoeken
(Wiring and technical data)
 
(15 tussenliggende versies door 4 gebruikers niet weergegeven)
Regel 1: Regel 1:
[[Category:ACNode]][[Category:RunningTheSpaceDocs]]
+
[[Category:Nodes & network devices]]
 
+
[[Bestand:Compressor-mounted.jpg|miniatuur|Compressor node/verklikker]]
 
[[Bestand:Compressor-outside.jpg|miniatuur|Compressor node/verklikker]]
 
[[Bestand:Compressor-outside.jpg|miniatuur|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.
 
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 >'''
+
The node is nearly identical to the [[Node DeWalt]].
 +
 
 +
=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 [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.
  
= Wiring and technical data =
+
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).
  
The 2 screw terminals are an Optocoupler for AC. It expects AC/230 volt. The RED led on the front is the 'AartLED'.
+
Current mac address is ''' A0:20:A6:07:93:F3''' / 192.168.6.217 (dhcp)
  
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.
+
The AC sense wiring is across the pressure driven on-off switch. Rather than between the N and the L of the motor. The reason for this is a rather larger leak current which shows a 100V in the off position (and 230V when on) -- both sufficient to drive the optocoupler. So instead we have wired the optocoupler across the on-off switch. Sensing the leak voltage when the motor is off; and the no voltage (i.e. across the 0 ohm switch poles) when the switch is on and hence the motor on.  
 
Current mac address is '''3a0:20:a6:7:93:f3 '''.
 
  
= Opto electronics =
+
The software corrects for this by negating the check in line [[https://github.com/dirkx/AccesSystem/blob/master/lib-arduino/ACNode/examples/CompressorNode/CompressorNode.ino#L169 | 169]].
  
 +
=Opto electronics=
 
[[Bestand:Opto-wiring.png|400px|Wiring of the the opto coupler]]
 
[[Bestand:Opto-wiring.png|400px|Wiring of the the opto coupler]]
  
= Typical log =
+
=Typical log=
 
 
 
-- not yet in use --
 
-- not yet in use --

Huidige versie van 16 nov 2024 om 23:16

Compressor node/verklikker
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.

The node is nearly identical to the Node DeWalt.

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 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 A0:20:A6:07:93:F3 / 192.168.6.217 (dhcp)

The AC sense wiring is across the pressure driven on-off switch. Rather than between the N and the L of the motor. The reason for this is a rather larger leak current which shows a 100V in the off position (and 230V when on) -- both sufficient to drive the optocoupler. So instead we have wired the optocoupler across the on-off switch. Sensing the leak voltage when the motor is off; and the no voltage (i.e. across the 0 ohm switch poles) when the switch is on and hence the motor on.

The software corrects for this by negating the check in line [| 169].

Opto electronics

Wiring of the the opto coupler

Typical log

-- not yet in use --