Create a Fun, Simple IoT Accelerometer Game
We will stream accelerometer data from a couple of smartphones in the audience to the cloud, capture it in a database, and then have a Python script calculate the winner. You will get to learn about MQTT, Node-RED, Apache CouchDB, and Apache Spark along the way, running in the IBM cloud environment:
- Node-RED, which we use to create the IoT application and which we use to stream the data from the sensor to the database
- IoT Platform, which we use as the MQTT message broker to hold it all together
- Cloudant, a NoSQL database system that we use to store the data
- An ApacheSpark SQL script, that tells you who wins
The smartphones will act as the sensors, streaming the data into our IoT cloud.