HobbyKing.com New Products Flash Sale
R/C Groups.com   RCCars Crack Roll Flying Giants RC Power The E Zone Lift Zone Our Sponsors
R/C Groups.com


Go Back   RC Groups > Aircraft - General > Video Piloting (FPV/RPV)

Reply Post New Thread  Previous Thread Next Thread
 
Thread Tools
Old Dec 05, 2008, 09:49 PM   #1
Registered User
 
Join Date: Apr 2007
Posts: 151
DIY head tracker from cheap heli gyro (seems to work!)

It looks like I might have enough money to get a cheap pair of goggles , so I've started looking for cheap HT solutions. I've previously tried to build a HT using only an accelerometer, it worked, but was not great: http://www.rcgroups.com/forums/showthread.php?t=886268

Since good quality gyros from Analog Devices and such are $60-100 (which explains way HTs are so expensive), I've decided to pull apart a RC rate gyro ($15?) to get the el cheapo analog components and interface it with my own micro-controller.

Well, after messing with it a bit, I got it working! It does drift a bit and doesn't re-centre perfectly, but I'm quite surprised by how well it works for a cheap ass piezo gyro and analog circuit without thermal compensation...

Bill of material:
~$15 gyro
~$12 micro-controller
------------------------
~$30 HT

Potentially for dual axis I would like to use an accelerometer for pitch since it's much simpler and drift free. So I'm looking at a total cost for a full dual axis HT of $45-50. It probably will drift more than the one's currently sold, but what's the fun in just buying everything .

I have not yet test it through my RC Tx and Rx, right now it's only connected directly to a servo, here's video:

http://vimeo.com/2442507


Hopefully this will inspire more people to build their own HTs!

Cheers,
-Z-
Attached Thumbnails
  • Name: IMG_0784.jpg
Views: 427
Size: 80.2 KB
Description: The setup The setup 80.2 KB · Views: 427

  • Name: IMG_0785.jpg
Views: 535
Size: 52.7 KB
Description: The donor gyro, the analogue gyro PCB conveniently carries it's own OpAmp.  The donor gyro, the analogue gyro PCB conveniently carries it's own OpAmp. 52.7 KB · Views: 535

  • Name: gyro_data.jpg
Views: 334
Size: 106.5 KB
Description: Data logged from the sensor (red is rate (dgr/s) green is angle (dgr)) Data logged from the sensor (red is rate (dgr/s) green is angle (dgr)) 106.5 KB · Views: 334


Last edited by zitron; Dec 05, 2008 at 10:07 PM.
zitron is offline Find More Posts by zitron   Reply With Quote
Old Dec 06, 2008, 03:27 AM   #2
Registered User
 
massimo's Avatar
 
Join Date: Nov 2001
Posts: 830
zitron nice nice work .
massimo is offline Find More Posts by massimo   Reply With Quote
Old Dec 06, 2008, 05:03 AM   #3
WHEN IN DOUBT FLOOR IT!!!
 
G-unit's Avatar
 
Join Date: May 2006
Location: AZ
Posts: 1,906
Thats cool
G-unit is offline Find More Posts by G-unit   Reply With Quote
Old Dec 06, 2008, 01:17 PM   #4
UNREGISTERED USER :)
 
Join Date: Apr 2007
Location: New York
Posts: 772
orrrrrrr a mechanical HT

nice work tho!!
damian123 is offline Find More Posts by damian123   Reply With Quote
Old Dec 06, 2008, 03:19 PM   #5
Just trying to get a nut.
 
scrtsqrl's Avatar
 
Join Date: Oct 2006
Location: Stavanger, Norway
Posts: 2,849
I like your style...More brains than money...
scrtsqrl is online now Find More Posts by scrtsqrl   Reply With Quote
Old Dec 07, 2008, 01:13 PM   #6
Registered User
 
Join Date: Apr 2007
Posts: 151
Quote:
Originally Posted by scrtsqrl
I like your style...More brains than money...
Actually, now that my uni paid up the money they owed to me, it's the other way around .


damian,

I've actually been using a mechanical tracker, the elastic band to tx antenna type. It works ok, apart from the fact that it's a bit annoying, and well, I didn't get much satisfaction building it !


I'll see how far I can go with the cheap gyro. When I get the whole thing working I'll put together some documentation in case anyone else wants to try building one...

-Z-
zitron is offline Find More Posts by zitron   Reply With Quote
Old Dec 07, 2008, 01:34 PM   #7
Registered User
 
Daemon's Avatar
 
Join Date: Aug 2002
Location: Lakewood, Colorado
Posts: 13,618
Quote:
Originally Posted by zitron
I've actually been using a mechanical tracker, the elastic band to tx antenna type. It works ok, apart from the fact that it's a bit annoying, and well, I didn't get much satisfaction building it !
It'd probably be less annoying if you used the badge reel as originally
suggested, since it has a near constant light pull instead of getting
quickly tighter as you turn your head with the elastic band.


Quote:
I'll see how far I can go with the cheap gyro. When I get the whole thing working I'll put together some documentation in case anyone else wants to try building one...
Looks to me like you've got a ways to go yet. You'll need to round up
the individual servo PPM pulses from the gyro, and make a proper
combined pulse to feed to the trainer port on the radio on selected
channels. In the end you'll still have a 2 axis gyro HT with inherent
geometric drift problem requiring periodic re-centering. You may
find yourself going back to the mechanical HT because it just works
and you never have to calibrate or recenter it.

ian
Daemon is online now Find More Posts by Daemon   Reply With Quote
Old Dec 07, 2008, 01:57 PM   #8
Registered User
 
Join Date: Apr 2007
Posts: 151
Quote:
Originally Posted by Daemon
It'd probably be less annoying if you used the badge reel as originally
suggested, since it has a near constant light pull instead of getting
quickly tighter as you turn your head with the elastic band.
Agreed. If I had a badge reel thing it would be better, even without it, the mechanic tracker worked fine. But my original goal was to build a cheap general purpose HT (some what related to my research at uni), not just to use it for FPV, but also for things like walking around in VR n'stuff, where you don't have a convenient post in front of you to clip to...

For FPV alone, a mechanical tracker is cheaper, simpler, and in some ways more effective. I think there is probably a market opportunity for a nicely packaged mechanical tracker.


Quote:
Originally Posted by Daemon
Looks to me like you've got a ways to go yet. You'll need to round up
the individual servo PPM pulses from the gyro, and make a proper
combined pulse to feed to the trainer port on the radio on selected
channels. In the end you'll still have a 2 axis gyro HT with inherent
geometric drift problem requiring periodic re-centering. You may
find yourself going back to the mechanical HT because it just works
and you never have to calibrate or recenter it.
Well integrating it in to the Tx will be simple. I have already modified my cheap RC radio, removed the original digital board, and replaced it with my own (actually I did it because I destroyed the old board by accidentally soldering 12V to 5V , but I digress...). So all I need to do is to link my HT with my Tx board with a simple serial connection.

The drift problem is more of a concern. I'm planning to use an 3 axis accelerometer for pitch and roll, so there will be no drift in pitch, and I can attempt to correct the gyro drift using a kalman filter in IMU style, as long as your head is not exactly straight up all the time. This is the part that will take the most work.

-Z-
zitron is offline Find More Posts by zitron   Reply With Quote
Old Dec 07, 2008, 03:03 PM   #9
UNREGISTERED USER :)
 
Join Date: Apr 2007
Location: New York
Posts: 772
Quote:
Originally Posted by zitron

damian,

I've actually been using a mechanical tracker, the elastic band to tx antenna type. It works ok, apart from the fact that it's a bit annoying, and well, I didn't get much satisfaction building it !



-Z-
hehehe it is a bit a annoying I agree but hey its cheap and it works!

good luck on your HT!
damian123 is offline Find More Posts by damian123   Reply With Quote
Old Dec 21, 2008, 11:51 AM   #10
Registered User
 
Join Date: Apr 2007
Posts: 151
Update:

I've pretty much got the thing working. Still need to add some drift correction stuff, but otherwise it works great!

It's too cold to fly, so I've been testing it in FSX. Currently there is quite a bit of drift in the panning, I've not yet added any button to re-zero the angle, I've simply programmed it to reset the angle when you lower your head more than 60 dgrs. You can see me do that in the video. Because the roll and pitch axes are accelerometer based, there are no drift in those. Here's a video of me doing the helicopter oil rig inspection mission:

http://vimeo.com/2590122


The first couple of times I tried flying with goggles, I was looking around a lot, but I've since stopped doing that because it really gives me motion sickness!

Cheers,
-Z-
Attached Thumbnails
  • Name: IMG_0814.jpg
Views: 459
Size: 76.6 KB
Description: The device The device 76.6 KB · Views: 459

zitron is offline Find More Posts by zitron   Reply With Quote
Old Dec 21, 2008, 12:19 PM   #11
Registered User
 
tychoc's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 998
Great job! That looks really good.

-tychoc
tychoc is online now Find More Posts by tychoc   Reply With Quote
Old Dec 21, 2008, 12:24 PM   #12
Registered User
 
mmormota's Avatar
 
Join Date: Jul 2003
Location: Budapest
Posts: 2,354
What about using a magnetic sensor in order to avoid drift? Even the price is better then gyro's. (Honeywell SSEC - HMC1002-RC etc.)
mmormota is online now Find More Posts by mmormota   Reply With Quote
Old Dec 23, 2008, 06:42 PM   #13
Registered User
 
Join Date: Apr 2007
Posts: 151
Mmormota, do you know anywhere that sells the HMC1002 magnetometers (or similar) on easily usable boards? It looks interesting, but it needs external amplification circuits to get it working with a micro-controller. Since I only know how to do strip boards, even a simple OpAmp circuit will be quite big, I'd really like my HT to be small...

I've actually been looking at this:
http://www.sparkfun.com/commerce/pro...roducts_id=761

It's a bit more than a cheap RC gyro, but is the cheapest I could find.

Cheers,
-Z-
zitron is offline Find More Posts by zitron   Reply With Quote
Old Dec 23, 2008, 06:55 PM   #14
Registered User
 
mmormota's Avatar
 
Join Date: Jul 2003
Location: Budapest
Posts: 2,354
Good find, I don't know any better for an evaluation kit.

I proposed the magnetic sensor because the drift is inherent feature of the piezo gyro's and practically impossible to avoid it. The smm gyro's are better but more expensive, and hard to find smm sensor's in small quantities.
mmormota is online now Find More Posts by mmormota   Reply With Quote
Old Dec 23, 2008, 08:19 PM   #15
UNREGISTERED USER :)
 
Join Date: Apr 2007
Location: New York
Posts: 772
zitron, I liked that mission as I have done it myself I wish I would have a ht for the red bull race mission..
http://vimeo.com/2433863
I got my time down by alot since that video

Last edited by damian123; Dec 23, 2008 at 08:24 PM.
damian123 is offline Find More Posts by damian123   Reply With Quote
Reply Post New Thread  Previous Thread Next Thread

Castle Creations      DRIVE / FLY / SUPPORT  

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Discussion Another very cheap head tracker device randall1959 Video Piloting (FPV/RPV) 67 Aug 18, 2008 04:25 PM
Question Separate Radio for gyro Head-Tracker Crash9 Video Piloting (FPV/RPV) 16 May 19, 2007 10:41 PM
Sold FS: Servos, Gyro, Brushless motor from Micro Heli rhetrick Aircraft - General - Radio Equipment (FS/W) 1 Jan 23, 2006 12:09 PM
DIY Heli Gyro mattweisz DIY Electronics 1 Jun 10, 2004 03:43 AM
cheap heli? SR_yoshi Electric Heli Talk 9 Jun 17, 2002 07:36 PM




All RCGroups content copyright 1996 - 2010 by RCGroups.com and Jim Bourke except where otherwise indicated.
Terry the transmitter, the RCGroups name and logo, The E Zone, Lift Zone, and RC Power are all trademarks of RCGroups and Jim Bourke. Please report any misuse of our trademarks using the contact form. Thank you.

Congratulations SimpleM!
You provided the winning caption for this photo.

Powered by vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.