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.
History
- Updated messages.h to its own library
2016-11-24, by defrost [Thu, 24 Nov 2016 16:54:56 +0000] rev 8
- Updated messages.h to its own library
- Updated wifi settings
2016-10-06, by defrost [Thu, 06 Oct 2016 08:05:21 +0000] rev 7
- Updated wifi settings
- Updated comments
2016-10-06, by defrost [Thu, 06 Oct 2016 08:04:34 +0000] rev 6
- Updated comments
- Added comments, cleaned up code
2016-10-06, by defrost [Thu, 06 Oct 2016 07:58:31 +0000] rev 5
- Added comments, cleaned up code
- Initial publish of my IoT example using the WiFly Interface; - Works with Python WebSocket Server
2016-10-04, by defrost [Tue, 04 Oct 2016 16:52:21 +0000] rev 4
- Initial publish of my IoT example using the WiFly Interface; - Works with Python WebSocket Server
- Works well with server
2016-10-04, by defrost [Tue, 04 Oct 2016 16:20:14 +0000] rev 3
- Works well with server
- Internal temperature sensing works
2016-10-04, by defrost [Tue, 04 Oct 2016 13:59:13 +0000] rev 2
- Internal temperature sensing works
- Temperature sensor with injected channel conversion
2016-10-04, by defrost [Tue, 04 Oct 2016 13:19:19 +0000] rev 1
- Temperature sensor with injected channel conversion
- Initial Commit
2016-10-04, by defrost [Tue, 04 Oct 2016 11:34:47 +0000] rev 0
- Initial Commit