Labnode/IO: Unterschied zwischen den Versionen

Aus LaborWiki
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „{{ProjektInfoBox |name = LabnodeIO |status = experimental |image = labnodeio.jpg |description = 2 0-10V Ausgänge und 8 I/Os über PCF8574 |a…“)
 
Keine Bearbeitungszusammenfassung
Zeile 5: Zeile 5:
|description = 2 0-10V Ausgänge und 8 I/Os über PCF8574
|description = 2 0-10V Ausgänge und 8 I/Os über PCF8574
|author      = e7p blafoo
|author      = e7p blafoo
|username    = e7p blafoo
|username    = Endres Laurenz
|version    = V0.1
|version    = V0.1
|update      =  
|update      =  

Version vom 23. Februar 2018, 20:52 Uhr

         
LabnodeIO

Release status: experimental [box doku]

Labnodeio.jpg
Description 2 0-10V Ausgänge und 8 I/Os über PCF8574
Author(s)  e7p blafoo (Endres Laurenz)
Last Version  V0.1 ()
Platform  labnode extension
Download  Software: GitHub Hardware: GitHub




Platine mit 2 PWM-angesteuerten 0-10V Ausgängen (z.B. für dimmbare Leuchtstoffröhren-Vorschaltgeräte). Eingang für Nulldurchgangserkennung. Muss an EXT 3 angeschlossen werden (I2C), kann aber theoretisch auf bis zu 8 Stück mit insgesamt 64 I/Os und 2 0-10V Ausgängen (diese sind direkt angeschlossen, durch neuverdrahten sind ggf. zwei weitere 0-10V Ausgänge möglich) an einem Labnode kaskadiert werden.

Auf dem labnode läuft der can_dimmer.

CAN: (TODO: Verify this!)

function 0x00 - 0x04
lamp 0x00 - 0x03
brightness 0x00 - 0xff
  • destination port:1
    • 1st data byte is the function (0x00-0x04)
      • function 0x00:
        • toggle lamps, switch to next pattern, called by the light button in the room
      • function 0x01:
        • set lamp (2nd data byte) brightness to value (3rd data byte), only possible for channels 0 and 1
      • function 0x02:
        • fade all lamps, called by the light button in the room if held
      • function 0x03:
        • toggle direction for fading, called by the light button in the room if held and then released
      • function 0x04:
        • enable/disable (3rd data byte), disable == 0 brightness, enable == [saved brightness (function 0x01)] lamp (2nd data byte)