the situation:
i am doing project for FYP, a mobile robot using arduino mega 2560 r3 as a microcontroller. i want just it to move forward and backward, and the movement is respond to a switch automatically.
mechanism movement: if it moving forward continously until it trigger the button infront when hitting the wall the mobile robot will stop for a while and backward and vice versa.
my problem is i donno which driver motor and switch should i buy on cytron plus programming code, i have arduino mega 2560. really need help please.