Next level of my floor cleaner robot, codename: [Lazy Wife 02] to become an automatic robot. I did set up Sonar sensor HC-SR04 with it. Let's see ...
Detail
1. Final look of the robot
2. This is my designed robot's state machine. It will change it's state due to the range that read from sonar sensor. It has counter to save the robot in case of over turn or run too far for forward and backward.