automatic gear shifter for a bicycle

My first Arduino project: with a reed sensor connected to one pedal, the Arduino reads the cadence and tells a servo when to change gears.

demo on YouTube