Thread Tools
May 03, 2019, 02:52 AM
Registered User
Thread OP
Discussion

Raspberry + STM32


Hi to all,
I'm building a F330 drone, it uses four 1000kv motors and 8045 gemfan props in reversed configuration.
On this quadcopter I designed a firmware loaded into a STM32, I'm still designing, but for now it reads data from a BNO055 and a BMP280, for positioning and altitude replectively. The STM32 is connectet thorugh the USB port to a raspberry pi 0 w comunicating with the serial protocol, there is also a ESP32 configured as AP with an external antenna. The raspberry provides a MQTT server, with two topics, RX to TX and TX to RX, and there is a python script that takes the information to and from the server so we can transmit via serial cable. On the raspberry pi is connected the raspberry camera that is configured with the WebRTC project that can trasmitt a video in real time, I made all of this to have only one 2.4Ghz transmitting and receinving. The transmitter uses an esp8266 with an exernal antenna, with a arduino nano that takes data from seven switch and two stick, and I have a little LCD where I can see everything and configure the drone from the transmitter.

At this moment I can set the pids for roll pitch and yaw, commands are responding good. I still have to finish the hovering feature, in future if this is gonna work I'm going to add a gps to the raspberry and regulate the hoovering function.

My question is how far can I go with this experimental project? It still doesn't fly because I''ve got some pids bugs and I have some problem into regulating them, if someone can give me some tips would be appreciate maybe I will use some wire that will keep the drone for each axes.
Last edited by DaveTheNoob; May 03, 2019 at 03:09 AM.
Sign up now
to remove ads between posts
May 04, 2019, 09:38 AM
Registered User
Hi Dave, nice project! It's only up to you how far you go.
May 20, 2019, 11:54 AM
Registered User
kiosk's Avatar
very cool for learning, you should put it up on hackster.io !!!!


Quick Reply
Message:

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
New Product Crazepony Open Source With STM32 MS5611 Mini Quadcopter RTF bluetooth crazy pony Drra Mini Multirotor Drones 103 May 21, 2017 05:28 PM
Discussion Raspberry Pi robot building kit: Raspberry Pi 3B + AlphaBot + Camera GeekBuying Geekbuying.com 0 Feb 05, 2017 04:53 AM
Discussion Best STM32 F3 FC under 25$ downloader9 Multirotor Drone Electronics 25 Feb 08, 2016 07:41 AM
New Product Stm32 arm 18a esc Vgoodrc Multirotor Drone Electronics 0 Jan 04, 2016 11:01 PM
New Product MINI NAZE32 ACRO Flight Controller 32bit STM32 Processor PWM PPM TheMadCADer Multirotor Drone Electronics 3 Dec 11, 2015 11:20 AM