This code has been deployed on a mobile robot.
To make this robot you will need:
Arduino Mega 2560 ( You can also use Arduino Due )
L298N DC Motor Driver
2 * DC Gear Motors "ZGA25RP" (12V 500RPM)
2 * 5mm Wheels
3 * Ultrasonic Sensors "HC-SR04"
4 * 18650 3.7V Battery + Holder Case (For Motors)
9V Battery (For Arduino)
Mobile Robot Chasis
Jump Wires