An IoT gateway is the bridge for your things (within this project's scope; it is embedded Bluetooth nodes) to make them able to talk to your cloud server. Most of embedded WiFi modules comes with support of application layer capabilities (such as HTTP requests). But non Bluetooth modules that i have seen had such capabilities in application layer - at least the ones i saw. Most of Bluetooth modules that i tested, access to internet through mobile phone applications. But you might not have "a mobile phone" in your system design all the time. So this was one of my project that i started with such motivation, but sadly i had to leave it in half way. This piece of code manages Bluetooth modules and give them HTTP request capability. Even though this project have long way to go; it does what it has to in modest level.
Github : https://github.com/kerematam/IoT-Gateway-BLE-CC41a
Github : https://github.com/kerematam/IoT-Gateway-BLE-CC41a
What does this Gateway do? :
- This Gateway automatically searches for BLE-CC41A module on each serial port.
- Configures the serially connected BLE-CC41A module as master.
- Searches for availible slave modules around.
- Establishes connection between master and slaves.
- Sends requests of slaves to cloud server.
Requirements :
- A linux machine able to run Python 2.7. I have developed and tested this gateway on Ubuntu 14.04 machine.
- Gateway hardware should have at least one ethernet (to cloud server) and one serial USB port (for BLE-CC41A module).
- A cloud server: I have used my own cloudserver.
3.1. You can go with thingspeak.com and update the code accordingly.
3.2. Wait for me to upload my cloudserver code to handle http requests
3.3. Write your own servercode. - Couple of BLE-CC41A modules. It is clone of HM10.
No comments:
Post a Comment