I'm trying to make a robot with the help of avr atmega16 that goes forward for x time and takes a turn and then again goes for y times and stop there after fixed duration it moves again.
In this i require robot to go in straight path with the help of hmc5883l and uses PID for error collection.
Could u please help here is port detail.
port b mortor driver
port c HMC5883l(digital compass)
port d TX of data using RF sensor
An early reply would be very helpful
Thanks
Prateek Chuahan