#Support for ATmega 328P
1 messages · Page 1 of 1 (latest)
Betaflight is a long descendant of MultiWii, which was pretty much the first open flight controller firmware available, and did actually run on 8-bit arduino hardware. Everything since then has been on STM32 MCUs with 32-bit architectures
https://betaflight.com/docs/wiki/getting-started/introduction#whats-different-from-other-fc-software
see diagram and explanation here
Betaflight will not run on an ATmega328p
I understand now, thank you for your clarification. I will check MultiWii for more information for my project.
I once made a drone on multiwii and adruino
Why do you want build drone on a arduino?
Was that project successfull?
There is not a specific reason. I thought using Arduino with brushed motors would be a good entry point for designing flight controllers. Also the cost is low. Do you think this is a bad decision?
with problems but yes
micro drone?, and what esc
idk it's a good decision or no but be careful of weight. I firstly also built with brushless motors but drone overall had too much weight
so I built 5inch
(tip: use arduino promicro if you have, on atmega 32u4)
Yes, I can find that.
Appreciate it if you could share. 🙂
ahh half year of work
you are going to use IBUS or PPM?
this is great thank you.
here is video and presentation in link, I was doing it as a "exam" in school
I plan to use brushed motors like 8520 coreless motors (Assuming it is possible to use them for drones) and control the speed using A2SHB MOSFET. I have already made and tested the circuit part for speed control.
okey, have you good lipo for this?
I was doing with 8520 and similar mosfets but like I said, my construction was too heavy
and flying like sh...
Not at the moment but I am planning to buy, still not finalized on what specs to use.
What is the airframe you chose?
I have built an x-axis structure with 2 motors. I started writing code with PID control(Most of the parts are taken from crazyflie-firmware). My initial plan was to test it for one axis and extend it. But It was not successful. That is why I raised my question here. I will send some photos of my structure.
if you don't have experience with coding it'll be useless to write code from 0 I think
Yes, I agree with you. I will try MultiWii
so you have arduino promicro and gyro?
mpu6050 gyro is probably the most affordable
show on pictures all your gear what you have now to be use for drone
then I'm going to create the simplest way to build the drone
and show me your circuit with motor and mosfet what you tested
btw you know it's easier and better if you just buy a aio for micro drone?
I don't see any point in building a drone on Multiwii/Arduino other than as a hobby
This is my one-axis simple setup, Still, I am using UNO. But I plan to use promicro.
This circuit is used to control the motors
k
promicro use if you want do it with multiwii
because there may be problems using the atmega328
also the big UNO board won't fit in small drone
Is that fine to use promini?
promini is on atmega328, so as I said
sometimes there is a problem with it, sometimes not
the problem what you may come across: "one motor is always producing less thrust compared to others causing that to continuously yaw around that motor". I came across this sometimes, I don't know why it happens, but on atmega32u4 the problem did not occur
btw makeshift if you do not want to buy a controller right away, you can connect another module such as wemos d1 mini with wifi module and control from a phone, I did it that way, it is difficult to control it, but for testing ok