Skip to content

Working demo: https://www.youtube.com/watch?v=v7hvOyPQ0EM. The main IoT app. It runs on Nvidia Jetson TX2(embedded super-computer). Connects with sensors via BLE and publishes all the real-time IMU data to the AWS IoT stream via MQTT. It also interacts with the user via AWS Polly text-to-speech.

Notifications You must be signed in to change notification settings

temp3rr0r/Longsword-Data-MQTT-Publisher

Repository files navigation

LongswordStances

Working demo: https://www.youtube.com/watch?v=v7hvOyPQ0EM

The main IoT app. It runs on Nvidia Jetson TX2(embedded super-computer). Connects with sensors via BLE and publishes all the real-time IMU data to the AWS IoT stream via MQTT. It also interacts with the user via AWS Polly text-to-speech.

Technologies

  • Text-to-speech (AWS Polly)
  • Internet Of Things (AWS IoT)
  • Inertial Measurement Unit (IMU)
  • Speech Synthesis Markup Language (SSML)
  • Publisher-Subscriber pattern
  • Bluetooth Low Energy (BLE)

SDKs & Libraries

  • csv, json
  • boto3 (AWS)
  • Pygame Mixer (Audio playback)
  • gattlib (BLE data transfer)
  • AWS Iot MQTT Python SDK

Installation

Packages:

sudo apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y
sudo apt-get install python python-pip glib-2.0-dev libbluetooth-dev libreadline-dev libboost-python-dev pkg-config libboost-python-dev libboost-thread-dev libglib2.0-dev python-dev libblas-dev liblapack-dev -y

Pip:

sudo pip install AWSIoTPythonSDK gattlib scikit-learn scipy numpy sklearn h5py Pillow Theano TensorFlow

Source code samples

sudo git clone https://github.com/aws/aws-iot-device-sdk-python.git
cd aws-iot-device-sdk-python/samples
python basicPubSub.py -e <endpoint> -r <rootCAFilePath> -c <certFilePath> -k <privateKeyFilePath>

About

Working demo: https://www.youtube.com/watch?v=v7hvOyPQ0EM. The main IoT app. It runs on Nvidia Jetson TX2(embedded super-computer). Connects with sensors via BLE and publishes all the real-time IMU data to the AWS IoT stream via MQTT. It also interacts with the user via AWS Polly text-to-speech.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages