Skip to content

Gyroscope device using the STM32F429 Discovery Board (ARM-based) and associated L3GD20 gyroscope. ECE 6483 course project.

License

Notifications You must be signed in to change notification settings

synkathairo/embedded-gyrometer

Repository files navigation

📟 Embedded-Gyrometer

First Image
Overview our Embedded Challenge submission. (a) is the initial screen that shows when the STM32 F429 DISCOVERY board is first powered on. The user is required to use the blue button to input their height. (b) is the next screen that is shown once the height is accepted. The user can use the data shown on screen for their own purposes.

Installation

NOTE: The instructions have been tested on a M1 Macbook pro.

We use PlatformIO and teleplot plugins on VS Code to run and compile this project.

Environment

git clone [email protected]:synkathairo/embedded-gyrometer.git
cd embedded-gyrometer

Compile

We use the PlatformIO GUI to compile the code. We can also run the following command on the terminal:

pio run

Upload

We use the PlatformIO GUI to upload the code and use serial monitor. We can also run the following command on the terminal:

pio run -t upload

Teleplot and monitoring

We use the Teleplot plugin on VS Code for plotting continous values. At any given time, we can use either the Teleplot or Serial monitor. The board uses a baudrate of 9600. By default, we have disabled serial outputs to maximize performance. To enable serial outputs, set the DEBUG macro to 1 in src/main.cpp.

Development

We use pre-commit to format and style our code. To contribute to this project, first clone the repository and activate the environment. Then run the following:

pre-commit install

Once the hooks are installed, continue committing to the repository as usual. The first commit will be slow.

Key bindings

Key Duration (ms) Bindings
blue button 0 - 499 + 1cm
blue button 500 - 2000 + 10cm
blue button 2000+ Accept Height
black button any Reset

Acknowledgments

The project uses components from the recitation lectures of Real Time Embedded Systems.

Citation

If you find this work useful, please cite us using (bibtex):

@software{Gupta_Embedded-Gyrometer,
author = {Gupta, Shubham and Zhu, Charles and Gupta, Sarthak},
title = {{📟 Embedded-Gyrometer}},
url = {https://github.com/synkathairo/embedded-gyrometer}
}

About

Gyroscope device using the STM32F429 Discovery Board (ARM-based) and associated L3GD20 gyroscope. ECE 6483 course project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •