Skip to content

rodrigost23/automailx

Repository files navigation

AutomailX

CircleCI

File Description
automailx.py Reads data from serial or from UDP and shows in 3D
record.py Records data from serial to a file
automailx.ino Sends data via serial
teapot/teapot.pde Reads data from serial and shows in 3D

Arduino requirements

Python script instructions

Run pip install -r requirements.txt to get the dependencies.

usage: automailx.py [-h] [--net [port] | --serial [port] | --demo]

optional arguments:
-h, --help       show this help message and exit
--net [port]     Listen to sensor data over UDP
--serial [port]  Listen to sensor data over serial (default)
--demo           Only show 3D model with no sensor data

Serial data format

The current configuration uses baud rate of 115200 and outputs the following format in the Arduino:

ypr x y z aworld x y z flex x

Yaw/Pitch/Roll for the whole orientation, then acceleration relative to world, then the resistance of the flex sensor, each separated by a tab character.

Releases

No releases published

Packages

No packages published