The goal of this project is to create hardware and software platform that allows you integrate many devices into single network and control it from simple python interface.
System’s hardware consists of one master (pc or embedded board), many slaves (controllers) and wired network to connect them (Controller Area Network).
Master runs under GNU/Linux. System’s software on master provides API for user’s applications that allows them to control slaves and their devices. Actually, it is a set of libraries, which contains basic network library and device drivers libraries (for each device). Each library has python binding.
Slave runs under Contiki OS. System’s software on slave consist of two parts:
- Basic firmware part with network capabilities.
- Drivers for devices, which builds into firmware.
Platform can be applied for both industrial and home automation.
(the one that worked last time)
Master: ARM926 board (AT91SAM9XE512, 200Mhz, 32Mb RAM).
Slave: Atmel at90can128.
(on hardware listed higher)
Sending commands from pure C interface:
delay was acceptable ( undetectable with bare eye ( <100ms ) ).
Sending same commands from python:
~500ms (need better HW for master).
Not supported.
Access Control System: not adopted for system.
Test application: nonexistent.