Skip to content

A python program to save arduino's serial monitor values in a csv & a MySQL database. This is for a CanSat competition!

Notifications You must be signed in to change notification settings

abyssxd/vila2sat_serial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vila2Sat Serial

  • This is literally a serial monitor.
  • Converts the incoming serial data sent by the Vila2Sat's CanSat into the CSV format for the Vila2Sat Dashboard.
  • Converts the incoming serial data sent by the Vila2Sat's CanSat into the KML format to track the Vila2Sat Cansat in Google Earth 3D View.

Integrated Terminal Serial Monitor

This uses its own serial monitor using pyserial, it makes the serial monitor show up in the terminal you run the converter in, and while its being monitored, it updates and saves to the output csv file.

  • Use python serial to open the terminal serial monitor (both save and update the csv & kml files)

Integrated GUI Serial Monitor

This uses its own serial monitor using pyserial, it makes the serial monitor show up in the terminal you run the converter in, and while its being monitored, it updates and saves to the output csv file.

  • Use python serial_gui to open the GUI serial monitor (both save and update the csv & kml files)

Vila2Sat Serial GUI

lv_0_20240423192634

Google Earth Screenshots

This track was made using fake data for visual representation.

Camera View

  • Will add soon.

Overview

  • Will add soon.

DashBoard

You can find the Vila2Sat Dashboard this converts the data for here -> https://github.com/abyssxd/cansat_vila2sat

Setup

  1. Install pyserial by running pip install pyserial, Install simplekml by running pip install simplekml & finally install TtkThemes with pip install ttkthemes
  2. Change the port & baud rate to yours in the csv_conv.py file.
  3. Modify the data_parse function if necessary.
  4. Connect the arduino, esp32 or anything that prints serial data.
  5. Run the file with python csv_conv.py & it should start showing the serial data & saving it in the csv file.

License

Shield: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

About

A python program to save arduino's serial monitor values in a csv & a MySQL database. This is for a CanSat competition!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published