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 @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13, 2022
More…