TEAM 2 DART FIRMWARE DEVELOPMENT
Authors: Abhirit Das, Ben Park, Lucas Sanabria, Jason Kim
Progress:
- Operate an LED (10.27.2024)
- Able to sample IMU data using SPI and transmit data through UART (11.16.2024)
- Successful Mahony Filter on IMU data to estimate pitch, roll, and yaw angles
- Sucessfully retrieved altitude and temperature data from barometer (will likely need some reevaluation)
Current Goals:
- Develop modular code to interface with servos and motors
- Implement basic altitude PID control in firmware and perform HIL on pivot arm test rig
- Design a high-level control system model in Python
- Write control system in firmware...
Documentation:
Install STM32CubeIDE https://www.st.com/en/development-tools/stm32cubeide.html#get-software
Install STM32H7 Firmware
In CubeIDE go to
Help > Configuration Tools > Manage Embedded Software Packages

Common Problems:
-"float formating support is not enabled" when printing a float through SPI
To fix turn on these two settings
right click on the current project > properties > C/C++ Build > MCU/MPU Settings
check these two boxes
