AIO General Information
The All In One (AIO) module has been designed to be cost and space optimised and make installation easy and straight forward. The goal of this module is to get a full automation system in 1 module so for smaller installations, 1 AIO is sufficient to cover the full functionality however this module has the power and extensibility to cover larger buildings as well.
Inside the AIO
Inside the AIO, we've 3 board:
- Main board: This is the master processor (Microchip DSPIC33E), all the peripherals and the necessary electronics. The Master processor will take care of the real time tasks
- Beagle Bone (BB): The BB will be put on the main board and will provide a full communication layer to the outside world and will take care of the non real time tasks.
- Top board: This board is mounted on top of the module and has all the feedback leds and will add functionality to the main board depending on the Top Board model used. Multiple models will be created in the future with different functionality. Example:
- Top Board 1: Will add 8 outputs 0-10V
- Top Board 2: Will add 8 inputs
- Top Board 3: Will add 4 Dim Control and 4 Open Collector outputs
- Top Board 4: Will add 7 analogue inputs
For larger projects, Openmotics can make specific Top Boards to add specific functionality
Below are the specifications of the Main Board
- 4 inputs onboard: Can be used as digital or analogue input
- 480 inputs supported in the current firmware (Max 640)
- 16 relays onboard:
- 1 Common per 2 relays
- 230VDC 16A per relay, 100A inrush current
- 230VDC 16A maximum per common
- 480 outputs supported in the current firmware (Max 640)
- CAN Bus: Enables direct connection of Micro CAN's so switches and sensors (temperature, humidity, lux, air quality (CO2), ADC etc) can be connected in bus which implies less and much simpler cabling
- RS485 Bus 1: On this bus, additional input, output and other Openmotic modules can be connected to extend the system. This Bus is connected on the Master Processor
- RS485 Bus 2: On this bus, Openmotics energy modules can be connected. This Bus is connected on the BB.
- RS485 Bus 3: For further extension. This Bus is connected on the BB.
- RS232 Port 1: CLI is available on this port (CLI is also available on the internal UART between Master and BB). This port can also be switched to connect DALI equipment. This port is connected on the Master.
- RS232 Port 2: For future use. This port is connected on the BB.
- 4 Open Collector outputs: To connect external relays or switch other external equipment (which is suitable to be switched with an Open Collector Output)
- P1 port: The new electricity meters installed in houses and buildings have a P1 port. The AIO allows to read the data of the P1 port.
- Ethernet: To connect the module to the outside world. The AIO module does not require internet to fully function.
- UART connectivity: 2 UART's are used between the Master and the BB which allows simultaneous API and CLI communication.
- EEPROM: The EEPROM on the Main board is used to store the full configuration.
- FRAM: An FRAM chip is mounted on the main board to store statistics and last status of inputs and outputs
- RTC: A battery backed up Real Time Chip is used to provide accurate timing and execute time based action in a timely manner
- Tempo Sensor: An onboard temperature sensor is used to monitor the health of the module
Relevant Technical documents
The Master will have 2 UART connections with the BB, 1 connection is used to communicate over API, the other one over CLI. Both connections can be used simultaneously.
The following Basic Actions can be performed on the Master. These basic actions can be performed in real-time, with IF THEN ELSE functionality and scheduled actions:
The AIO has eeprom and FRAM onboard, the Memory Model used for both chips is the following: