Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:calaos_io_controller [2015/08/21 15:29] cleger [Software] |
en:calaos_io_controller [2015/08/21 22:46] cleger [Software] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Calaos PLC IO ====== | ||
+ | |||
+ | Calaos IO is currently in design phase, and it's far to be complete. The following page aims to describes what Calaos IO will be. | ||
+ | |||
+ | Calaos IO is a board designed to controlled as many I/O as possible. It's intented to replace the wago IO modules in a house. It takes places in the electronic board. | ||
+ | |||
+ | The spectifications are the following : | ||
+ | |||
+ | Digital inputs : 48 Inputs | ||
+ | 24V Input | ||
+ | Isolation 5000V | ||
+ | Connectors for wires of 0.08 to 1.5mm2 / AWG 28 ... 16 | ||
+ | LEDs indicator. | ||
+ | |||
+ | Digital Outputs : 48 Outputs | ||
+ | 24V outputs | ||
+ | 30mA per outputs | ||
+ | Isolation 5000V | ||
+ | Connectors for wires of 0.08 to 1.5mm2 / AWG 28 ... 16 | ||
+ | LEDs indicator? | ||
+ | |||
==== Bus ==== | ==== Bus ==== | ||
- | RS485 will be used as the principal bus. | + | RS485 will be used as the principal bus to control the IOs on the board |
==== Hardware ==== | ==== Hardware ==== | ||
+ | |||
+ | The hardware is designed arround a tiny microcontroller. | ||
+ | The folling ICs maybe used : | ||
+ | |||
+ | - STM32F0 (1,40€) | ||
+ | - ATMEGA328 (3,20€) | ||
+ | |||
+ | The IO are drived by a 2 GPIO exapanders connected via the I2C bus of the microcontroller | ||
+ | |||
+ | - PCA9505 is a gpio expander with 40 IOs | ||
+ | |||
+ | The Inputs and Outputs are isolated from the low volatage side via Optoisolators. | ||
+ | |||
+ | - LTV-847S (4 Channels) | ||
+ | - LTV-817 (1 channel) | ||
=== IO Controller === | === IO Controller === | ||
+ | |||
=== Sensor Nodes === | === Sensor Nodes === | ||
+ | |||
+ | |||
==== Software ==== | ==== Software ==== | ||
In order to communicate between the nodes, something similar to modbus could be used. | In order to communicate between the nodes, something similar to modbus could be used. | ||
- | Modbus has the inconvenient of having a big overhead per packet. | + | Modbus has the inconvenient of having a big overhead per packet |
+ | |||
+ | The frames will have the following format: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | * Slave ID is a configurable id (through DIP switch or jumper) located on each sensors. | ||
+ | * The content is then application defined | ||
+ | |||
+ | {{: | ||
+ | {{: |