YADIYA - Yet Another DIY Autopilot Project

Yet Another DIY Autopilot :)I've decided to go about making my own AutoPilot board from the ground up. Well, I won't exactly be starting from scratch - hopefully I will be able to incorporate the collective wisdom of this community :). I know there are several boards out there that may fit my needs/wants closely. However, I just wanted to go through the whole process of doing it myself.My goal is to order a batch of PCB's by the end of this year, probably from Gold Phoenix PCB.For some reason I'm bent upon using a RTOS. Actually, there are very good reasons.FreeRTOS is free, popular, and well supported. So as far as processor selection, I want to choose a supported device.FreeRTOS Supported Deviceshttp://www.freertos.org/a00090.htmlI would like the device to be powerful enough to run an AHRS algorithm (extended kalman/DCM - possible both in parallel to compare them), navigation, telemetry, image compression (for images through wireless xbee or whatever data link), input filtering (some inexpensive FIR filters), and whatever else I can think of. Also, the availability of free development tools and debuggers for the processor is a must.As far as sensor inputs - versatility is the name of the game.* 3 axis gyro* 3 axis accel* 3 axis magnetometer* 3 axis thermopiles* differential pressure sensor (speed)* barometer (altitude)* GPS* (optional) camera (simple image processing, horizon detection or something)* Ultra sonic/laser for range finding (used for landing)So, something that can handle all of the above if possible.Another factor in deciding what hardware to use are the packaging of the various parts. For example, while BGA's and LGA's are possible to solder at home using a toaster oven reflow technique ... I would want to avoid that - unless many of you have had positive experiences with it. Quad flat packs are do-able by (my) hand ... Still considering if I want to make a mini project out of soldering grid-array type parts. I'm reading up on how easy or difficult it is currently - as it will effect my choice of parts.For the 3 axis accel and gyro, should I use the Sparkfun Razor 6DOF board? I heard that there are some significantly better performing gyro's in the same flat configuration [I really really want a flat board .. no funny things sticking out of it *cough* ArduIMU *cough* UAVDevBoard :) ]. Is that true? Part numbers? If there isn't much benefit in switching devices, I would rather just buy the SparkFun module just to stay away from having to solder BGA/LGA chips which the gyro/accel's usually come in. I would like the IMU board to be separate anyways, in order to mount it as close as possible to the CoG of the plane. Also, I would like the magnetometer to be able to be remotely located - so as to be able to position it away from EMI.Anywhoo, here's a thread - let's toss some ideas around. I'll be putting schematics together in the next few days and weeks - and will perhaps get an eval kit for whatever processor is chosen.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Another capability that I would like to have on board:
    Data logging to an SD flash card. This would be an invaluable resource - being able to be obscene and log as many parameters as I want to without worrying about available space in EEPROM/whatever :) .
  • I like your proposed approach. I'm considering something similar, although I'm probably going to use Arduino (on a Mega - with all sorts of modularity and the ability to leverage all of the work already done on ArduPilot), but I am curious about the FreeRTOS possibility. I wonder how much simpler that would make the project. I think the bulk of the challenge is in the math with respect to navigation and stabilization. Everything else (even the hardware) seems simple compared to that. It sounds like you are just looking for an opportunity to dive into RTOS programming - or do you have some benefits in mind for RTOS? BTW, it looks like that RTOS will run on a Mega. I'm not sure if the Mega can handle image manipulation (in fact I doubt it), but it would handle everything else all right.
  • Developer
    I use the ADXRS300's which are BGA. I have soldered over 15-20 of these by hand and have had 100% success rate except for the time that I picked up the board when it was still hot and the part fell back off. So I'd say with the right techniques BGA are actually really easy to do. Kinda of scary to screw up soldering a one time only part that costs 50$ each but like I said....Haven't messed up one yet knock on wood!

    Good luck.
    Ryan
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Nov 23
DIY Robocars via Twitter
Nov 23
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: To get ground truth I measured the rug, found the pixel coordinates of its corners, calibrated my phone camera with my standard…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: @DIYRobocars is back in December, but outside. Time to reinvestigate ConeSLAM! I rigged up a quick and dirty ground-truth captur…
Nov 5
More…