GPS controlled servo

I wish to move a servo motor to a particular angle on the basis of the altitude sensed by a gps unit. I am using an atmega 128 and a mediatek mt2239 gps unit. How do I go about writing the code?

I am completely new to avr…

I also wish to log the gps data onto EEPROM or sd card.

Please guide…

  1. Get an Arduino board and make it easy on yourself

  2. Go to www.arduino.cc and read the documentation

  3. Learn to blink an LED

  4. Learn to move a servo

  5. Learn to read serial NMEA data

  6. Learn to read/write an SD card

  7. Put them all together

  8. http://www.catb.org/esr/faqs/smart-questions.html