Skip to content

This is software for the Telemetry board which is powered by MCU STM32F103C8T6. It is a simple implementation of communication MCU - SD Card via SPI. Furthermore, communication via UART with a bus is implemented.

License

Notifications You must be signed in to change notification settings

EcoTech-Team/Telemetry

Repository files navigation

Telemetry

This project was a part of the electronic system of hydro-powered vehicles. Telemetry module provides data collecting from RS-485 bus and store it in a flash drive. Here is a code for STM32F103C8T6 microcontroller.

IDE configuration

This project was created in Visual Studio Code with stm32-for-vscode extension which requires some other programs and extensions to work properly:

  • STM32 CubeMX for microcontroller configuration and code generation (HAL Libraries)
  • Cortex-Debug extension
  • ST-Link (Drivers and Utility)
  • GNU Arm Embedded Toolchain

For more information please refer to the extension site.

MCU Configuration

For this purpose STM32 CubeMX was used. Here you can find a tutorial with a quick start.

Data analysis

For this purpose python script analyze_data was created. It require to run it with one additional parameter which provide a path to the location of telemetry folder:

$ python3 analyze_data.py /mnt/Telemetry

Note: Telemetry folder includes one file with specific name

Before run the script installing some packages is necessary. You can do it by running this command:

$ pip3 install -r requirements.txt

About

This is software for the Telemetry board which is powered by MCU STM32F103C8T6. It is a simple implementation of communication MCU - SD Card via SPI. Furthermore, communication via UART with a bus is implemented.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published