Welcome to MiniFlightSimulator! This application lets you experience a simple flight simulation using the STM32 Nucleo F446RE and the ADXL345 Accelerometer. It lights up LEDs according to the tilt of your flight path, allowing you to see how the simulator responds in real-time.
- Interactive Flight Experience: Visualize flight paths through LED indicators.
- User-Friendly Interface: Designed for ease of use for non-technical users.
- Real-Time Response: The LEDs change instantly based on the tilt detected by the ADXL345 Accelerometer.
- Open Source: Modify and expand the project as you wish.
To run MiniFlightSimulator, ensure you have the following:
-
Hardware:
- STM32 Nucleo F446RE board
- ADXL345 Accelerometer
- A computer with a USB port for programming
-
Software:
- Windows, macOS, or Linux
- STM32 development tools (such as STM32CubeIDE)
- Basic USB drivers for the Nucleo board
To get started, visit the following link to download MiniFlightSimulator:
-
Download the Repository: Open the link to the repository and click the "Code" button. Choose either to download it as a ZIP file or clone it using Git.
-
Extract the Files: If you downloaded a ZIP file, locate it in your downloads folder and extract it.
-
Set Up Development Environment: Install STM32CubeIDE if you haven’t already. Make sure it is up-to-date for compatibility with your hardware.
-
Connect the Nucleo Board: Use a USB cable to connect your STM32 Nucleo F446RE to your computer.
-
Open the Project: Launch STM32CubeIDE and open the project folder you extracted earlier.
-
Build and Upload: Click on the build button to compile the code and ensure there are no errors. Once the build completes successfully, click the upload button to transfer the program to the Nucleo board.
-
Test the Simulator: Once uploaded, tilt the Nucleo board gently. Observe the LEDs lighting up according to the tilt. Enjoy the flight simulation!
This project includes several relevant topics to help understand its scope:
- Accelerometer
- ADXL345
- C Programming
- Embedded Systems
- Flight Simulator Concepts
- I2C Protocol
- LED Control
- STM32 Family
Join our community for support and discussion:
- Feel free to open issues for suggestions or questions.
- Contribute by opening pull requests with improvements or features.
- Check our Wiki on the repository for more tutorials and advanced topics.
If you have any questions or need further assistance, please don't hesitate to ask in the Issues section.
MiniFlightSimulator is open-source software, licensed under the MIT License. You can freely modify and distribute this project as long as you credit the original author.
For more information about the STM32 Nucleo series and the ADXL345 Accelerometer, check out these links:
Thank you for using MiniFlightSimulator! Happy flying!