Let's Make Robots!

Arduino code help for Sharp IR, servo and motor controller

Hi, i am new here and new to robotics! I am building my first robot, its a little crude and scruffy, but is intended as a learning base that i can tinker with so that i can venture into the world of robotics, electronics and programming.

Spec:

Self designed, lasercut chassis (mk3)

Tamiya tracks and wheels

Tamiya double motor gearbox (low gear)

Arduino Duemilanove

Sharp GP2D12 IR sensor

Micro servo (generic ebay one)

Prototype shield v5 with breadboard

L298N Motor control module

4xAA 1.2v rechargeables (to power Arduino)