DomBus: Plug&Play and Low power consumption home automation systems
Extract the plugin on Domoticz, add Creasol DomBus hardware and all I/O of the board will be immediately available in the Switches panel!
DomBus1 can be supplied from 5 to 25Vdc, and power consumption is really low: at 12V, for example, 3mA in standby, 9.5mA with 1 relay ON, 16mA with 2 relays ON, 41mA with 3 relays ON.
One or multiple DomBus boards can be connected via RS485 bus, so using a 4-wires cable it's possible to implement a network of I/O and sensors where 2 lines are for data and 2 for power supply (from 5 to 24Vdc).
LEDs connected on all inputs, outputs and bus, permit to check the status of the board and found any problem on wire connections: LEDs are enabled by pressing the Prog button and remain active for 60 seconds, then will be OFF until Prog button is pushed again.
Relay outputs Out1 and Out2 are configured for low power mode, consuming less than 30% of the power normally needed by relays, so they can be used for outputs that stay ON for long time (alarm/security signals, night lights, ...).
The LEDs-enable, low power relay outputs and switching mode power supply, lead to a full control of inputs/outputs with an optimized power consumption.
Any customization you need, please contact us: we normally provide customizations even for small quantities.
- Switching mode power supply unit, converting 5-25Vdc input voltage to 5V and reducing power dissipation/consumption
- RS485, 115200bps half duplex (2 wires bus) with 32bit microcontroller
- 3 relay outputs (250V 5A switch capability with non-inductive load. In case of inductive load, switch current is lower)
- 2 relays can be configured in low power mode: current consumption is reduced to 6.5mA @12V instead of 25mA @12V (typical relay coil corrent)
- 1 230V AC input (with optocoupler), suitable to sense AC voltage: terminal block is not available, so 2 wires have to be soldered to the electronic board.
- 6 inputs, fully configurable, with internal pull-up to 5V.
- current consumption in standby: typically 6mA @5Vdc, 3mA @12Vdc, 2mA @24Vdc
- Domoticz automatically recognize new DomBus attached to the RS485 bus when one input change state, and add the corresponding I/Os automatically to Domoticz switches panel
- Easy way to configure I/O using the switch description (e.g. configure an output as normal or low power relay, normally open or closed, or configure an input as digital normally open or closed, or analog, ....)
Using RS485 specific cables it's possible to get almost 1km linear bus with more devices attached. Alternatively, it's possible to use 2 twisted pairs of cheap Cat.6 UTP or STP cable, one twisted pair for data (A and B) and one for 12-24V power supply. Be careful to connect all devices using a linear bus topology, to get the lowest reflection/noise, and connect 100-150 Ohm resistor on the two ends, as illustrated in the Fig. 2.
At Raspberry/PC side, it's possible to use a cheap USB-RS485 adapter, if a serial port with RS485 driver is not available.
Uncompress this TAR archive into domoticz directory, using the following commands (from Linux shell):
cd /home/pi/domoticz # or other directory where domoticz is installed
wget -O /tmp/dombus.tgz http://docs.creasol.it/domoticz_CreasolDomBus.tgz
tar xvzf /tmp/dombus.tgz
Enter domoticz website, go to Setup -> Hardware and create a new hardware named dombus (or another name), type Creasol DomBus .
Attach one DomBus device at a time: devices are all factory programmed with address 0xff01 (hex format), so to avoid address conflicts it's mandatory to change its address to another one (for example 0x0001, 0x0002, 0x0003, ...or any address up to 0xff00). To change the address of a device, go to Switches, choose a device starting with "dombus - [Hff01]..." click on Edit and add in the description ",HWADDR=0x0002" to change its address to 0x0002: new Switches will be automatically created with the new address, named "dombus - [H0002]...".
Every I/O can be configured via the Domoticz switch description: for example a device type IN_DIGITAL normally is On when it's left unconnected, and Off when it's shorted to GND, but it's possible to invert this function specifying in the switch description the parameter INVERTED, separated from a comma (,): "IN_DIGITAL,INVERTED". Please check the following sections I/O parameters and DomBus1 I/O capabilities.
I/O that are not used can be disabled in Domoticz Setup -> Devices clicking on the blue arrow of each useless device (I/O).
|HWADDR=0xNNNN||Set new address for that dombus device: it will take the new address and remove this parameter to the old switch. NNNN is an exadecimal number, from 0x0002 to 0xfffe, so 65533 combinations are available. Keep note of address assegnated to each dombus device, because in case of address conflict it's needed to switch off one of the conflicting device and program the remaining one to another address.|
|INVERTED||Used to invert the logic state of an input or output. Can be used in conjuction with OUT_DIGITAL, OUT_RELAY_LP, IN_DIGITAL.
Normally, domoticz switch is On if input is at logic level high (open), and Off when it's shorted to ground. If INVERTED is specified, domoticz switch will be On when the corresponding input is shorted to ground, and vice versa.
|OUT_DIGITAL||Output is managed as digital, On when it's active and Off when it's disabled.|
|OUT_RELAY_LP||Relay output managed in low power saving mode, to reduce relay coil current consumption at less than 30% of normal value.|
|IN_DIGITAL||Digital input, is On when the corresponding input is at high voltage level (open), and Off when the corresponding input is at GND (shorted).|
DomBus1 I/O capabilities
|1||OUT1 Relay||OUT_DIGITAL, OUT_RELAY_LP||OUT_RELAY_LP||Relay output, that can be managed as standard relay (OUT_DIGITAL) or low power relay (OUT_RELAY_LP)|
|2||OUT2 Relay||OUT_DIGITAL, OUT_RELAY_LP||OUT_RELAY_LP||Relay output, that can be managed as standard relay (OUT_DIGITAL) or low power relay (OUT_RELAY_LP)|
|3||OUT3 Relay||OUT_DIGITAL||OUT_DIGITAL||Relay output that works only as standard relay|
|4||IN1||IN_DIGITAL, IN_ANALOG||IN_DIGITAL||Normally it works as digital input, 0-5V: a modification to the circuitry is needed to measure 0-5V analog voltage|
|5||IN2||IN_DIGITAL, IN_ANALOG||IN_DIGITAL||Normally it works as digital input, 0-5V: a modification to the circuitry is needed to measure 0-5V analog voltage|
|6||IN3||IN_DIGITAL, IN_ANALOG||IN_DIGITAL||Normally it works as digital input, 0-5V: a modification to the circuitry is needed to measure 0-5V analog voltage|
|10||IN AC/OUT SSR||IN_AC, OUT_DIGITAL||IN_AC INVERTED||230Vac line sensing, used to detect blackout or line voltage. DomBus1 board can be modified to replace the circuitry with a 60V 100mA SSR (current consumption less than 1mA), suitable for controlling a siren or other security device, heating system or another low voltage device.|