Hello to all
I am currently working on a wall following,obstacle avoiding bot.
It works on differential drive using two dc motors.
I am using an arduino mega2560.
For distance measurement-sharp GP2D120.
For obstacle sensing-[http://robokits.co.in/shop/index.php?main_page=product_info&products_id=45]
And L293D for motor direction control.
Now i am stuck..there are two inputs to the microcontroller from the driver circuit..I want to use PWM
for controlling the motor speed and direction..WHERE TO PUT THESE TWO INPUTS ON MY MCU??
And how do i maintain a fixed distance from the wall using the sharp sensor..this is all programming part and i am
a beginner..I am in need of some help..!!