Giter VIP home page Giter VIP logo

temp3rr0r / longsword-data-mqtt-publisher Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 3.0 201 KB

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.

Home Page: https://devpost.com/software/longsword-trainer

Python 100.00%
aws-iot aws-polly imu ssml python mqtt gattlib ble boto3 pygame

longsword-data-mqtt-publisher's Introduction

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>

longsword-data-mqtt-publisher's People

Contributors

temp3rr0r avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.