Hey im making a prototype car that has to go back and fourth from wall to wall without human intervention, my prof. suggested to use a microcontroller attached to a sensor that will sense when the vehicle is close to the wall and then the microcontroller will invert the leads on the motor to make it go the opposite direction. Im new to this kind of projects. If anyone could give me suggestions on the topic like; which kind of microcontroller to use? where can i get one? and how to program it?
thank you
thank you