I am looking to build a robot that will travel and zig-zag down the hallway.It will be headed towards a wall at roughly 45 degrees and then use a IR LED to detect when a wall is nearby. From there, the robot will rotate and head towards the other wall at a 45 degree angle. The robot will zig zag back and forth until it reaches the end of the hallway.
I have researched a lot of various robots using a search of "Obstacle Avoiding Robot". However, all of these designs use IC L293D motor drivers. However, for my class, I am only able to use a select few diodes, power MOSFETs, BJTs, OP-amps, and 555-timers, and no microcontroller.
Can anyone give me advice on how to create a motor driver using these parts? Also, do you have any additional tips to help me build this robot?
Thank you!
It will be headed towards a wall at roughly 45 degrees
... that is a faulty assumption ... it could easily not travel in a straight line $\endgroup$