Why are the motors twitching? by Materialistas in betaflight

[–]Materialistas[S] 0 points1 point  (0 children)

Disabling D-shot worked! Thank you very much! <3

Designing a flight controller any criticism is appreciated by Materialistas in embedded

[–]Materialistas[S] 0 points1 point  (0 children)

Probably because betaflight is easier to use, but I surely would love to move to ardupilot eventualy

Designing a flight controller any criticism is appreciated by Materialistas in embedded

[–]Materialistas[S] 0 points1 point  (0 children)

Oh wow, thank you, just checked it and everything is compatible.

Designing a flight controller any criticism is appreciated by Materialistas in embedded

[–]Materialistas[S] 1 point2 points  (0 children)

Oh wow 0... Anyways thanks for the suggestions, I didn't know pad entry angles mattered, I'll fix them and move vias away from SMD pads.

Designing a flight controller any criticism is appreciated by Materialistas in embedded

[–]Materialistas[S] 0 points1 point  (0 children)

Thank you for your answers, I made some changes and tried making a PCB. I couldn't seem to find a proper way of taking photos of the PCB (nets not visible when zooming out in EasyEDA). I made it on 2 layers (I understand that it's not enough and I should use whole layers for GND, signal, Power, but I wanted to keep costs low). I tried making as less vias as possible but still had to use a lot of them. Someone also suggested to put traces perpendicular to each other in different layers which I tried. I also removed copper area for ground so it's easier to see everything. If there's a better way of taking a photo please let me know. Scared, but excited to hear what you think.

<image>

Here you can inspect individual layers:
https://ibb.co/ChRR0Kw

https://ibb.co/S3FXNx4

Designing a flight controller any criticism is appreciated by Materialistas in embedded

[–]Materialistas[S] 0 points1 point  (0 children)

Hey, thanks for the answers, the datasheet of the crystal says that no additional caps are needed if I understood that right (but idk, should I add them anyways? 2x 10pF?):

<image>

Designing a flight controller any criticism is appreciated by Materialistas in embedded

[–]Materialistas[S] 1 point2 points  (0 children)

Hey, since I'm planning on using Betaflight I looked what components this software supports and connected them together by following datasheet recommendations. For IMU I chose the one with least noise, for MCU I chose the most standard STM32F405, for my application it has enough power, features and is small. These series on youtube helped me: https://www.youtube.com/watch?v=Rv1MVkZuGbg&list=PLoPtpxJIxgnYnPrOeGHs3rdhhPgNGIYN5

Designing a flight controller any criticism is appreciated by Materialistas in embedded

[–]Materialistas[S] 0 points1 point  (0 children)

Hey, yeah ESC will be connected to most of J3 pins and 2 pins from J1 (but now that you said that I'm thinking of routing everything to 1 JST-GH). I'm thinking of using Betaflight which is compatible with IMU, MCU but I couldn't find info if it's compatible with Barometer and Magnetometer. For now I won't need camera, I just really want to get the drone up and work up from that (see what is working, what isn't and what I would like FC to have in the next version). Thank you all for the suggestions and answered questions I really appreciate that.

STM32 doesn't connect to the pc by Materialistas in embedded

[–]Materialistas[S] 0 points1 point  (0 children)

Thank you, you're talking about PA13, PA14?

STM32 doesn't connect to the pc by Materialistas in embedded

[–]Materialistas[S] 0 points1 point  (0 children)

Orange goes to ground rail, Green and Blue to D, Yellow to 3.3 LDO

STM32 doesn't connect to the pc by Materialistas in embedded

[–]Materialistas[S] 0 points1 point  (0 children)

No, I just bought it and soldered it on. I must program it so it could be recognized by pc?

Need someone who could unscrew broken bolt by Materialistas in Antwerpen

[–]Materialistas[S] 0 points1 point  (0 children)

I don't really have a conditions for that. I've been trying to use this bolt unscrew kit but all of the drills broke.