This repository contains a modified version of the YMFC-AL project from Joop Brokking. Since I was a little boy that I develop a strong passion for electronics, and this guy inspired me to create my first quadcopter project. When I first started this project, my background in this area was too small, so I decided to use the code from this guy instead of starting from scratch. My idea was to create a quadcopter, able to be flight from a smartphone using an internet connection so that it would be possible to control it from everywhere. However, I came to discover that an internet connection is a little overkill since there is a lot of lag and jitter introduced. So instead of using an internet connection to control the quadcopter, I decided to Bluetooth instead.
Briefly, in this repository it's possible to find the code that I have developed in C/C++/Android/Java/Python to make this possible.
- 1 x Raspberry Pi Zero W
- 1 x Arduino Uno
- 1 x Arduino Nano
- 1 x 450 size frame with integrated power distribution board
- 4 x 1000kV motor / 10x4.5 props / ESC combo
- 1 x 3S / 2200mAh / 30C lipo
- 1 x Battery XT60 connector
- 1 x 2S/3S lipo battery charger
- YMFC-AL_setup -> Step 4 - Run the setup software
- YMFC-AL_esc_calibrate -> Step 6 - Calibrate the ESC's & Step 7 - balance the motors and props
- YMFC-AL_Flight_controller -> Step 8 - Upload the flight controller software
- ESC_CALIBRATE_RPi -> Software needed to be running in Raspberry Pi for Steps 6 and 7.
- REMOTE_RPi -> Software needed to be running in Raspberry Pi for flight controller.
- REMOTE_QUADCOPTER -> Software needed to be flashed in arduino nano for making a bridge between the raspberry pi and the arduino uno (that is running the main flight controller alghorithm)
- REMOTE_POT -> Used during devoloping for test purposes.
- APP_ANDROID -> Android application responsible to emulate the RF controller.
- schematic.pdf -> Schematic used for the quadcopter.
- sudo bluetoothctl
- [bluetooth]# power on
- [bluetooth]# agent on
- [bluetooth]# discoverable on
- [bluetooth]# pairable on
- [bluetooth]# scan on