Classroom Internet of Things
Fragment of Sense script that updates and reads a Xively feed
The project will use a number of different IoT devices, from scientific data loggers, air quality monitors, weather stations and the OU's Sense board to demonstrate how learning can be enhanced by IoT technologies. Working with schools across the UK, we installing these devices in class rooms, playgrounds (really, wherever the students / teachers want) and making the data streams they generate available a xively feeds. This allows the schools to use each others' data in ways that allows students to carry out experiments using real data gathered from sites across the UK.
In order to allow students to build their own IoT devices that either available data, or generate their new data, we have integrated the OU's Sense platform with the xively service. This uses the existing RSS capabilities of the Sense programming language to interact with a local 'bridge' server that converts the RSS get/put requests generated by Sense into xively API calls. Ideally I would have liked to do integrate the calls into the xively API directly the Smalltalk code of Sense, but given the timescales it was easier to implement the bridge service in Python.
Watch this space for updates on how we use this new capability of Sense!