Skip to content

Noah-Retro/Flightcontroller-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schubvektorsteuerung

Simple overview of use/purpose.

Description

A radio controlled Airplane code for python. Controlled by an PS4 controller and transmitted via NRF24. With a GUI, flexible settings, data recording and data visualization see: src/Libs/visualization if it works 🤷‍♂️.

Getting Started

Hardware

  • RASPBERRY PI * 2
  • NRF24l01 + * 2
  • I2C MPU9250
  • Display for Raspi
  • Ps4 controller

Installing

  • Just download
  • install requirements.txt
  • setup Bluethooth
  • connect display to master Raspi

wire the circut

Alt-text

PIN GPIO MPU 925 NRF24 Servo check if 5V ESC
1 3V
3 2/I2C SDA
2 5V if 5V 5V
5 I2C SCL
6 GND GND GND GND GND
Choose a free pin Data Data
connect like image
  • Wire the NRF modules exact like this: Alt-text

  • test it

Executing program

  • How to run the program
  • install requirements
pip install -r requirements.txt

or

pip3 install -r requirements.txt

or

python3 -m pip install -r requirements.txt
  • run on the controller in the directory of this file
python main.py
  • run via ssh or somtehing for the airplain
sudo python main_airplaine.py
  • make shure to anable all the interfaces who are needed.

Authors

Contributors names and contact info

ex. Noah-Retro

Version History

  • 1.0
    • Release

Acknowledgments

Inspiration, code snippets, etc.