Flight Controller
To create a simple flight controller with a range of sensors in order to effectively fly and control a rc aircraft
Created by
nalijar201034
Tier 2
2 views
0 followers
Timeline
nalijar201034
added to the journal ago
Fixed issues with Arduino ide and completed the firmware
I had a issue in arduino IDE where it kept my flash memory at 32Kb instead of the full flash memory the STM32F103RET6 which is 512kb, Turns out that I forgot to specify the board part number and this caused the IDE to default to 32Kb of Flash Memory, Once I fixed the issue I was able to complete the firmware
FULL DISCLAIMER: I have very little experience when it comes to coding in C or C++ and hence I did use AI for and only the firmware to give a natural framework I can build off and bug fixes down the line, The official rules say that it is okay to use AI for the firmware however I can't use it for anything else.

nalijar201034
added to the journal ago
Devoloped simple firmware
I designed and made simple firmware today using Arduino IDE and STM32Duino to developed simple firmware capable of reading sensor data, One I receive my device, I plan to further expand on the capabilities of the code.

nalijar201034
submitted Flight Controller for review ago
funkeudo
requested changes for Flight Controller ago
Hi, this is a great project, but it does need a firmware as it's a tier 2, just write as much as you can - it's more of a proof of concept. Additionally, you need a BOM.csv file. https://blueprint.hackclub.com/about/submission-guidelines has some more info about what a complete project looks like, thanks!
nalijar201034
submitted Flight Controller for review ago
nalijar201034
added to the journal ago
Finally finished PCB routing
After a few hours of PCB routing and finalizing I realized that a lot of this is way easier then it seems, I finally finished the PCB routing and I have the final images of the PCB view and rendered PCB view attached below


This took me an additional 3 hours or so to do
While no firmware exists yet I hope to make the firmware after fabricating and receiving the device from JLCPCB provided that I am able to secure a grant
nalijar201034
added to the journal ago
I made a mistake, A big mistake
So remember when I said I had almost routed the PCB completely, I kind of jumped the gun and routed the entire PCB without following a few specific instructions which may force me to restart the entire PCB, This was pretty much a massive waste of 8 hours, and now it may take me a little longer to reach my goal, But since I have holidays right now and pretty much no life, I think it's okay to be focusing on this

As you can see I over complicated the entire circuit which made me make a lot of mistakes to the point where I pretty much thought that it is better to restart
nalijar201034
added to the journal ago
Almost done Routing the PCB
So over the past 5 or so hours I have been working route the PCB, I wasted quite a lot of time routing the PCB trying to avoid merging traces of the same color, But then I finally figured out what a VIA is and I have been using that to make my job Infinitely easier.
I think I will be able to finish Routing by tomorrow or the after

nalijar201034
added to the journal ago
Schematics Completed, Onto Routing the PCB
After a few more hours of design work and messing around in software I was able to complete the schematics, I now need to design the PCB which I think may take the longest amount of time as I try to optimize the layout to be efficient and use the least amount of conductive (copper layers) possible however I anticipate that I may need at least 3 to 4 layers.

PS: This schematics is copied from the guide however as I continue with this project I do plan to add more features
nalijar201034
added to the journal ago
Completed Most of the Schematics
So as a starter in KiCAD, I naturally chose the hardest guided project possible, and that is to build a simple flight controller, turns out it wasn't very simple, however after 4.5 hours of figuring things out, figuring out the python script and how to use KiCAD in general, I am at the stage where I designed almost my entire circuit... Everything except the actual microcontroller.
I writing this journal to get earlier feedback on any features I could add and any tips or tricks that are great in KiCAD, I am currently planning to use the current sensors I have in order to add extra feaures as I possibly couldn't add them in KiCAD without a PHD in Electrical Engineering
Any ideas are greatly appreciated!

nalijar201034
started Flight Controller ago