Example program to create IoT devices for a local network, which connect to a local server.
Dependencies: WebSocketClient WiflyInterface mbed messages
This code is used in the second part of my Internet of Things (IoT) blog post available here. The code is fairly simple, but its real value is in its reliability. I have worked hard to try to make the wireless connection as reliable, and as fast, as possible. There are a few lines of code that must be modified before it will work correctly, and those are described in the following Wiki pages.
It is designed to work with a Python WebSocket Server running on a PC, the source code of which is available here.
Once operating with the server, each microcontroller, or IoT device, will broadcast a counter and its internal temperature to your WebSocket Server.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
8:5afd599875e4 | 2016-11-24 | defrost | - Updated messages.h to its own library |
7:bd21c60b5dd2 | 2016-10-06 | defrost | - Updated wifi settings |
6:424e225d2a91 | 2016-10-06 | defrost | - Updated comments |
5:0c7d131e6089 | 2016-10-06 | defrost | - Added comments, cleaned up code |
4:9e98e7679a62 | 2016-10-04 | defrost | - Initial publish of my IoT example using the WiFly Interface; - Works with Python WebSocket Server |
3:f20e114eb2ee | 2016-10-04 | defrost | - Works well with server |
2:7abdaa5a9209 | 2016-10-04 | defrost | - Internal temperature sensing works |
1:4403f2ed1c1f | 2016-10-04 | defrost | - Temperature sensor with injected channel conversion |
0:c5607b31fb07 | 2016-10-04 | defrost | - Initial Commit |