I have a project that needs me to build a autonomous car. im trying to build a device or circuit that would make my motor run forward for a certain amount time , then runs in the opposite direction for certain time and stop without any switches involved. I need an idea of wat parts to use and how the circuit looks like.. ive thought of reverse polarity n stuffs but i have little knowledge about electronics.so any advice or suggestion would be helpfull....thank u