Accelerometer -> uC -> Tx -> Pan servo (Poor man's HT?)
- Can't afford a proper goggles+tracking setup
- Full house glider needs both hands to fly
- No intuitive way of controlling camera pan/tilt
- Mount accelerometer on RC TX to sense tilt
- Microcontroller converts G force -> tilt angle -> analogue voltage -> replace RC TX pot
- Accelerometer: MMA1260D, +/- 1.5G
- Microcontroller: Arduino
- Output: PWM+low pass filter
Obligatory video demo:
- Need to turn TX very gently to avoid getting movement/vibration being interpreted as tilt
- It works but it's not very intuitive, maybe able to get used to it...
Final Verdict: Meh... Not too impressed with my design.
¡ It´s not a bad idea ! , for sure if you keep on working on it it will do the job .... :eek:
The problem is tilting the tx doesn't seem like a natural way of controlling the camera. Maybe it is easy for Wii players, but I need to pause and think about what I'm doing before panning the camera.
I think I'm going to try mounting the accelerometer to my head and see if tilting my head is easier...
I hope it works out for you, it's a great accomplishment so far!
Keep after it!
No it won't drift because it senses the gravity vector, which should always point downward unless you are sitting in a centrifuge, or something fundamental in the universe goes wrong :D .
I've tested mounting it on my hat, works amazingly well :eek: ! The annoying thing is you must tilt you head down by 20-30 degrees if you want it to work like a regular head tracker. Other wise it wont sense any change in panning.
It's too windy for flight tests today, I made a video from my stupid robot thing:
Right now it's a bit twitchy because I limited the head turning angle so when I turn my head I can still see the screen. Should be even better if I had goggles!
Accelerometers are much cheaper than gyros, no drift and require less processing, perhaps this can be made into a much cheaper HT solution!
I was working on my own head tracker largely based of this project that used a the accelerometers from a wii nunchuck and and arduino clone.
I paused it's development while i had exams and will probably resume in the near future.
First off, your robot isn't stupid! I have stacks of organizers full of Lego Mindstorms and other Lego kits. I know, it may SOUND stupid for a 44 year old man to be playing with Legos, but I've learned a lot from several interesting experiments. I made a vehicle that moves around the house picking up dog toys...but I could never get it to recognize the difference between toys and shoes. Not a big problem, if you're missing a shoe just look where the toys are!
So, back to the head tracker...
I have a sneaking suspicion that a new (top secret) head tracker being developed by one of our favorite RC companies is exactly what you are working on. I promised not to let the cat out of the bag, so all I can tell you is that accelerometers are definitely the way to go! Keep at it, you may be able to get yours fine tuned before theirs hits the market. Not that you would want to mass produce them, but if your solution is reasonably cheap, then they will have to price theirs accordingly to capture the business of us do-it-yourselfers.
I had an idea for a head tracker that might work well and be cheap. I feel that a head tracker should track POSITION instead of MOVEMENT. And position relative to what? Well, your Tx is always in front of you, no matter what you're doing. So why not track position relative to the Tx?
How? A Nintendo Wii tracker. The sensor bar goes on the Tx, the emitters go on your head.
It's just an idea at this point, and I'm not going to run out and buy a Wii just to hack it up, but I think the idea is a solid one, and it should be cheap and easy to implement.
BY THE WAY: Anyone who is reading this and thinks they can pull it off, please feel free to use the idea. I don't have the time or money to make it happen, but I would love to see it.
Good job Zitron (can I call you "Zit"?:D )
I just read your post, you must have posted while I was typing...
NICE!!! See, I knew it was a good idea! RUN WITH IT!!!
Ok guys, there are several new trackers about to hit the market. Your efforts will help keep the costs down for all of us. So, FULL SPEED AHEAD!
And you never know, lots of us may just follow in your footsteps and make our own instead of buying one. It's way more fun this way anyway...
Nice job guys!
What about implementing it this way:
All you need is some bungy choord, or one of those retractable key ring thingies...
Attach the bungy choord to the back of the ballcap on one end, and the other end to your shirt.
Attach the accelerometer to the bungy choord.
When you look either side, it causes the bungy choord to tilt.
What do you think?
Nice to see someone else using the arduino! I was also thinking about using a 2 or more axis sensing accelerometer, since elevation (up-down) is trivial to sense compared to azimuth (left-right), but I only have a 5 and 1/2 channel radio, and the single axis accelerometer is all I have at hand. If you want, I can give you my arduino code. Good luck with your project, I'd love to see your solution!
Thanks for the encouragement, but don't put your hopes up too much yet, there's a couple of problems with my approach:
Because of these problems, I wouldn't call an accelerometer only system a real head tracking solution. If I was to design a proper system, I would use both gyros and accels, using a Kalman filter to use the accel data to correct gyro drift. That's the proper way of doing it, 'cause you can jump around and do whatever the system will always work. I'm guessing that's what the companies are working on. I highly doubt anyone is trying to bring a pure accel HT to market, because drift is a small problem compared to what I listed above. But of course, unless they have the cheap skates like me as their target customers :p !
Talking about cheap, if you get a low G single channel accelerometer with 5V input and analogue output (like this one, although this is two axis: you can get a single axis one on ebay for less than $10), you can plug it directly into the TX instead of a pot with 3 wires :eek: !! (Assuming your tx works like mine) Sure you don't get the full servo range, or linear movement that the micro controller gives you, but look at the price!
I also thought about the Wii remote photogrammetry based sensing you mentioned, that can easily be done using a computer with a webcam, some IR LEDs and some way of passing the data to the TX. Or alternatively, get the data out of the Wiimote directly using the Wii interface. It's a bit more complicated (especially when "camera" and "outside" are involved), and I just happened to have an accelerometer, so I did it my way :).
That is a GREAT idea, I wish I thought of it! I would test it tomorrow but I'm moving to a different house next week!! :mad:
There are some problems I foresee though:
I will definitely test it out when I get the chance!
Phew.. got to be me longest. post. ever.
No need to do whacky math. Just vary the length of the chord.
I went through this drill a while back...Here's what I came up with instead...Admitedly, only single axis HT...However, it is REALLY cheap and simple...
|All times are GMT -5. The time now is 04:00 PM.|