Steampunk Geocaching

PrintPrint PDF Make this a favorite!Favorite FacebookFacebook TwitterTwitter Send this to a friendE-mail
by r10n
Instructables is Hiring! Java Developer & Sales Positions

step 3The source.

As with everything in this instruction the souce is an extention of that in the 'Steampunk Compass' instructable.

Using the TinyGPS library your current position is taken and the direction to the final location is calculated. Taking the compass direction of the box away from this direction gives you the required heading, and this is whats displayed via the servo.

Your final destination is specified in the attached code;

#define DESTINATION_LATITUDE ( 37.916553f * DEG_TO_RAD ) // destination imitos
#define DESTINATION_LONGITUDE ( 23.815278f * DEG_TO_RAD ) // destination imitis
 
Remove these adsRemove these ads by Signing Up.
« previous step To Download the PDF or View All Steps,   
Become a Pro Member »
next step »