Yes..thats right. I have eventually developed all the above said techies in a past few months...A very thanks to DIY for the help i've found in posts and digging stuff sround on the site.So, inow finally have a EM-406 based Autopilot.Gps runs in NMEA but now i've hooked up to Binary(WOW i dint beliv its gonna be that straight....beliv me guys binary is far simpler as much we thot its difficult).It sends data to Autopilot (self made) which uses AVR atmega16I used the draganflyer to try my skills and i was able to autonomously takeoff and navigate(think so, i actually never let it go all by itself but it did make manouvrs to goto reqd heading)

I was usiing a micromag compass(guys its a hell experience with quitting to use mags unless they r 3-axis and magnetically shielded)Now i thinkGPS shud be used that im gonna run it in binary so i expect a 5hz response...(make sure the vehicle moves abt 3m/s "In INDIA" to detect heading)..FInally im developing a QUAD with hitec outrunners

...i have alrdy workedTHE KALMAN FILTER out

the yellow line --> Actual Gyro angle in degrees(oops they do drift...look below)BLACK line --> Kalman+gyro+acceleroREd--> accelro degrees(oops it jitters)

im usin IMU v2 6DOF by using the IMU in BINARY(wowee binary is fun)THE GCS i have made in VS C# has 3 displays1) Telemetry2)Real Time Vehicle Tracker(a Google map backgorund scaled to gps pts)3)Live Video Relay (video can be processed for objects as small as human ,mines, its can detect patterns if sign is give...have also developed a damn good image processing using SIFT(oops it gives 0.25 FPS hehe..but other r really fast))...all developed in MATLAB.

this 1 gives 0.25 FPS....but its good (ref. Dr. Lowe)...any suggestions...most welcome...
E-mail me when people leave their comments –

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

Join diydrones


  • Hi Dubey, I am currently conducting same project as yours, by using kalman filter for fusion accelerometer and gyro implemented on Matlab. if you don't mind could you share your matlab code about it as my additional reference. it's my mail:

    thank you...

  • Dear Geetesh,
    I am a Naval Architect and seeing all this fascinating stuff from you alike guys, I too want to start this hobby.I am in possession of a HIROBO rcHeli which I want to turn into a UAV.BUT first I need to install a stabilization unit into it; I have chosen an ANALOG DEVICES Triaxial to do this job! As I understand,though feebly, this data from the gyros+Accelerometers needs to be filtered prior going to a PID controller / rc servos.A Kalman Filter / Extended Kalman Filter is employed.I have no erstwhile knowledge of any such programming / mathematics; please can you send me the Kalman code which you have compiled for your project.I have acquired MATLAB and shall give it a try.I want to try this gyro+Kalman+PID outfit over on MATLAB before I transfer the entire code into a DSP???? That is what's up in my mind.Please do forward your kind suggestions; the same would be helpful.
  • Could you send your MatLab Code ?

    I have difficulty for reading the sparkfun 6d0F in MatLab ...
    Thanks !
  • I am still waiting for the motors to come lets see how they perform...they are brushless outrunners so i wont use gears but will use propellers in em bsy tunig the KALMAN which is now DONE but still needs to be transported to embedded code from MATLAB...thats a task i need to do on priority...
  • I'm curious about how you picked your engines/propellers to use. How do you know how fast the propellers need to turn? Do you need to gear them down?
  • Very nice...and all done on a shoestring. Very impressive.
  • THnx Howard for the links..Hey does any1 have idea if its possible to get a 5hz update from an EM406(i heard so..)...
  • I have been looking at SIFT and SURF lately. Here are a couple of C-based SIFT implementations that should be faster than MATLAB.
  • CHris...dats wht i am onto tryin to transport the matlab code to bascom which i use to program my atmega16....i've shown the pic of the development board already...i'll connect the IMU to it and then lets c wht is next..(am scared of all the hardwork i'll have to HIL debugging like....prog-->test-->prog again--->test again--->goto beginning...hehehe)
  • 20 deg is like due to the drift...the black line is the real estimate.well i have used the EKF as used by rotomotion and jordi(his wii project) for my MATLAB based EKF.if need the code ...i can pass it on...i am still tuning the lets wait how it works on the real atmega16( it is on the PC now)..G-Factor if u see the black line closely its almost 0 deg and i calculated the mean(0.somthing) its cool..i can further average the reading to get a better estimate..

    - on the left is the GPS eval board by SParkfun(hehe wise use of FTDI using it to connect my ttl IMU to USB of my laptop)...the IMu is the next green light on right....

This reply was deleted.