Line 2: |
Line 2: |
| <translate> | | <translate> |
| <!--T:1--> | | <!--T:1--> |
− | {{RevisionChanger | hasA = 0 | hasB = 0 | hasC = 1}}
| |
| {{Infobox module | | {{Infobox module |
| | name = DW-IO.C | | | name = DW-IO.C |
− | | image = DW-IOC.png | + | | image = DW-IO.png |
| | outCount = | | | outCount = |
| | dimmOut = | | | dimmOut = |
Line 11: |
Line 10: |
| | peakdl = | | | peakdl = |
| | dt = | | | dt = |
− | | inCount = 14
| |
− | | inB = 14
| |
| | inDry = | | | inDry = |
| | voltage = 11.5...27.5 V DC | | | voltage = 11.5...27.5 V DC |
Line 21: |
Line 18: |
| | | |
| <!--T:3--> | | <!--T:3--> |
− | This module can support up to 14 buttons/reed switches/LED buttons/leak sensors/motion sensors/temperature sensors/led strips/rgb strips/WS strips. | + | This module can support up to 14 buttons/reed switches/LED buttons/leak sensors/motion sensors/temperature sensors/led strips/rgb strips/WS2812B strips. |
| | | |
| ==Features== <!--T:4--> | | ==Features== <!--T:4--> |
− | *Up to 14 buttons/reed switches/LED buttons/leak sensors/motion sensors/temperature sensors/led strips/rgb strips/WS strips. | + | *14 universal input/output channels support: |
− | *Line noise protection
| + | **Buttons |
| + | **Reed switches |
| + | **LED buttons |
| + | **Leak sensors |
| + | **Motion sensors |
| + | **Temperature sensors |
| + | **Led strips |
| + | **3-4-5 channel rgb strips |
| + | **WS2812B strips. |
| | | |
| <!--T:5--> | | <!--T:5--> |
Line 67: |
Line 72: |
| | | |
| <!--T:19--> | | <!--T:19--> |
− | [[File:IOC_CONN_LM.png|200px|Contactor]] | + | [[File:IOC_CONN_LM.png|300px|Contactor]] |
− | | |
| | | |
| ==Led button scheme== <!--T:12--> | | ==Led button scheme== <!--T:12--> |
Line 80: |
Line 84: |
| <div class="caution">CAUTION! Output channels should only be connected using amplifier which uses 5V PWM signal from DW-IO output as input</div> | | <div class="caution">CAUTION! Output channels should only be connected using amplifier which uses 5V PWM signal from DW-IO output as input</div> |
| [[File:IOC_RGB_EX.png|500px]] | | [[File:IOC_RGB_EX.png|500px]] |
| + | |
| + | ==WS2812B connection scheme== <!--T:13--> |
| + | |
| + | <!--T:14--> |
| + | [[File:IOC_CONN_WS.png|300px]] |
| | | |
| ==Module parameters== <!--T:16--> | | ==Module parameters== <!--T:16--> |
Line 86: |
Line 95: |
| {{ Mp | | {{ Mp |
| | ioqty = 14 | | | ioqty = 14 |
− | | maxperch =~0* | + | | maxperch = 5mA* |
| | blvoltage = 3V | | | blvoltage = 3V |
| | power = 11.5 … 27.5 V DC from CAN | | | power = 11.5 … 27.5 V DC from CAN |
− | | maxcur24v = ??? mA | + | | maxcur24v = 30 mA |
| | buttonreclen = 30m | | | buttonreclen = 30m |
| | bustype = CAN (4-wire) | | | bustype = CAN (4-wire) |
Line 107: |
Line 116: |
| {{indicationfw | | {{indicationfw |
| |err1 = 1 | | |err1 = 1 |
− | |err5 = 1
| |
| |canact = 1 | | |canact = 1 |
| |canacttxt = Key pressed | | |canacttxt = Key pressed |
Line 134: |
Line 142: |
| *'2' - linear-dimmer | | *'2' - linear-dimmer |
| *'3'..'6' - RGB-3..6 channels | | *'3'..'6' - RGB-3..6 channels |
− | *'z' - WS-string | + | *'z' - WS2812B -string |
| | | |
| *'e' - led-button inverse | | *'e' - led-button inverse |
Line 141: |
Line 149: |
| *'b' - button | | *'b' - button |
| *'s' - switch | | *'s' - switch |
− | *'k' - contact inverse | + | *'k' - contact |
− | *'h' - contact | + | *'h' - contact inverse |
| *'l' - leak | | *'l' - leak |
| *'n' - Neptun | | *'n' - Neptun |
| *'v' - motion inverse | | *'v' - motion inverse |
− | *'v' - motion | + | *'m' - motion |
| *'r' - thermo-resistor | | *'r' - thermo-resistor |
| *'t' - DALLAS | | *'t' - DALLAS |
Line 152: |
Line 160: |
| *'-' - none | | *'-' - none |
| Example: io='4---1-T-3-----' | | Example: io='4---1-T-3-----' |
| + | |- |
| + | |hw||string||98||-||hw="...", where |
| + | *pwm_invert – PWM inverting [1, 0]; |
| + | *lbn_bright – brightness of led buttons, range (0 - 255); |
| + | *f – by default PWM frequency is 1000, range (1 - 5000). |
| + | Example: |
| + | <syntaxhighlight lang="xml" line> |
| + | hw="io='4---zdd----t--' pwm_invert=1 lbn_bright=255 f=1000" |
| + | </syntaxhighlight> |
| |} | | |} |
| <syntaxhighlight lang="xml" line> | | <syntaxhighlight lang="xml" line> |
− | <item addr="441:11" cfgid="55" name="Switch" type="switch" uniq_id="4628"/> | + | <item addr="317:1" auto-period="600" cfgid="195" channels="4" name="RGB" type="rgb-lamp"/> |
− | <item addr="441:12" cfgid="55" name="Switch" type="switch" uniq_id="4629"/>
| + | <item addr="317:5" auto-period="600" cfgid="195" hw="length=26 runtime=5" name="RGB" type="rgb-lamp"/> |
− | <item addr="441:13" cfgid="55" name="Switch" type="switch" uniq_id="4630"/> | + | <item addr="317:6" cfgid="195" name="Switch" type="switch"/> |
− | <item addr="441:14" cfgid="55" name="Switch" type="switch" uniq_id="4631"/>
| + | <item addr="317:7" cfgid="195" name="Switch" type="switch"/> |
− | <item addr="441:15" cfgid="55" name="Switch" type="switch" uniq_id="4632"/> | + | <item addr="317:12" cfgid="195" name="Temperature" type="temperature-sensor"/> |
− | <item addr="441:16" cfgid="55" name="Switch" type="switch" uniq_id="4633"/> | + | <item addr="317:97" cfgid="195" name="Temperature" system="yes" type="temperature-sensor"/> |
− | <item addr="441:17" cfgid="55" name="Switch" type="switch" uniq_id="4634"/> | + | <item addr="317:98" cfgid="195" hw="io='4---zdd----t--' pwm_invert=1 lbn_bright=255 f=1000" logic-ver="19" name="Temperature" sn="1529500271" system="yes" type="temperature-sensor"/> |
− | <item addr="441:18" cfgid="55" name="Door" type="door-sensor" uniq_id="4637"/> | + | <item addr="317:100" cfgid="195" name="RS232" type="com-port"/> |
− | <item addr="441:19" cfgid="55" name="Switch" type="switch" uniq_id="4638"/> | |
− | <item addr="441:20" cfgid="55" name="Switch" type="switch" uniq_id="4639"/>
| |
− | <item addr="441:25" cfgid="55" name="Switch" type="switch" uniq_id="4640"/>
| |
− | <item addr="441:98" cfgid="55" hw="io='4---1-T-3-----'" name="Temperature" system="yes" type="temperature-sensor" uniq_id="4636"/> | |
| </syntaxhighlight> | | </syntaxhighlight> |
| </translate> | | </translate> |