Go Down

Topic: incorporating GPS in a pan/tilt mount (Read 1 time) previous topic - next topic

ThatNinthGuy

Hi

So basically I want to create a pan/tilt mount for an RC UAV camera pod. Possibly even a live video feed.
But instead of constantly having to move the camera around, I want to make an Arduino-powered pan/tilt system, that automatically would move the camera to a preset GPS location, and altitude above sea level. I have the electronics figured out, but I'm having problems with the code. I'm thinking sin/cos/tan formulas...

I'm going to be using an AtMega328 with OptiBoot and the rest of the parts will be bought at Sparkfun:
For the altimeter
https://www.sparkfun.com/products/11282
And the GPS
https://www.sparkfun.com/products/11058


For the prototype I will be using the breakout boards, but in the end, I will make it as small as possible(thinking ~20*30mm) using an FTDI. If I can make that small, I'll receive a total of 16 PCB's. If you help me or even join the project, there will probably be to many boards, for me to use.... If you know where I'm going at ;)


Simon Madsen
Kind regards
Simon Madsen

holmes4

How are you moving the camera a pan/tilt mount won't change its lat/long or altitude.

Mark

wwbrown

The BMP085 you specc'ed has typical error of +/-1hPa which corresponds to almost +/-10 meters of difference in density altitude.   How does the error in density altitude affect your system, the error causes your system to have an error of +/- 10 m so when the calculations are made to calculate the pointing direction of the pan tilt system.  There will also be error in Lat and Lon from the GPS uncertainty so this will cause an error in the pan tilt calculations.

Are these errors too large?  Whether the error will cause problems for you is dependent upon the distance to the objects of interest and the field of view of your camera, to name a few.

wade

wizdum


How are you moving the camera a pan/tilt mount won't change its lat/long or altitude.

Mark


The camera is going to be mounted on an RC-type airplane.
"Anyone who isn't confused really doesn't understand the situation."

Electronic props for Airsoft, paintball, and laser tag -> www.nightscapetech.com

ThatNinthGuy


The BMP085 you specc'ed has typical error of +/-1hPa which corresponds to almost +/-10 meters of difference in density altitude.   How does the error in density altitude affect your system, the error causes your system to have an error of +/- 10 m so when the calculations are made to calculate the pointing direction of the pan tilt system.  There will also be error in Lat and Lon from the GPS uncertainty so this will cause an error in the pan tilt calculations.

Are these errors too large?  Whether the error will cause problems for you is dependent upon the distance to the objects of interest and the field of view of your camera, to name a few.

wade


The camera will not be zoomed in, so it will have a large area of view, and thus the errors wont matter that much, since the plane will be at least 70m above ground level





How are you moving the camera a pan/tilt mount won't change its lat/long or altitude.

Mark


I'm not sure of what you mean, but the camera will be moved/rotated on a dual axis setup. This should allow it to be "pointed" at the preset target location.
Kind regards
Simon Madsen

Go Up