I just got my first arduino (Mega) and want to try out a project. I want to try and use it to help me geotag pictures I capture while riding my bike. I've got a camera that will snap the shutter when it receives a ttl pulse. What I want to do is use a wheel sensor on my bike to send a pulse to the arduino and after counting a certain number of revolutions, send a pulse to the camera to take a picture. When the pulse gets sent to the camera I also want to record the current location via GPS and store it to an SD card.
I've seen the GPS kits available (Adafruit GPS logegr shield v1.1) and I already have the wheel sensor from an old bike computer so I don't think the hardware will be a problem. What I don't know about is how to approach the coding since I'm new to arduino programming. Can anyone give me some pointers/direction?
Thx!