The project I’m working on is about making a home automation system using an ARM Cortex A8 1Ghz Android based development board and some Arduino slaves that communicates using rs485 and modbus.
In the previous article, I wrote about how to create Arduino slaves that wait and answer for modbus requests. Indeed, I also made some performance tests in case of rs485 communication failure. Please take a look at the end of the article.
It is now time to present how to write an Android project that acts as a master and communicates with slave devices.
The nice thing of this design is that the logic that controls the smart home system is not constrained to be on the masters’ node. Instead, it can be distributed across all the Arduino devices. Indeed, since rs485 and modbus protocol were designed for industrial environments, this project could be easily used in industrial automation.
Continue reading