Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 2.44 KB

README.md

File metadata and controls

13 lines (10 loc) · 2.44 KB

BikeIoT-Raspi

An IoT project that receives 9-axis IMU (Inertial Measurement Unit) data from the SenseHAT emulator in the Raspberry Pi via the AWS IoT Core service and displays the retreived data by means of a dynamic graph made using Python. This project was done to model a system that gets data from sensors attached to a motorbike. The data retreived from the SenseHAT emulator are: 3-axis gyroscope, 3-axis accelerometer and 3-axis magnetometer. This project has the code present on the Raspberry Pi which connects to AWS cloud and sends the real-time data generated from the SenseHAT emulator on the Raspberry Pi.

  • IMU_data.py - Has the Python code to get the data from the SenseHAT emulator and attaches it with a timestamp(which will be used as the x-axis during display) and stores it in a local text file.
  • AWSPubSub.py - Python file that publishes the 9-axis data along with a device id and timestamp to the AWS IoT Core service under a specific topic name

Note: The Documentation folder in the BikeIoT-PC repository has the documents that explain how to setup the AWS cloud service and how the sent data is being stored in the cloud.