Arduino robot kit – Autonomous Motion

Arduino robot kit – Autonomous Motion
At this point, we can put the motion and the range sensing capabilities of the robot to good use. For autonomous motion (no remote control), the robot needs to use its range sensor to detect obstacles and avoid them by turning to another direction. The next sketch does that by moving the robot forward while reading ...

Arduino robot kit – Range sensor

Arduino robot kit – Range sensor
The robot kit includes an ultrasonic range sensor (HC-SR04), a 2kg-torque servo motor (TowerPro SG90), and a plastic holder that is supposed to attach the motor to the robot top plate and provide a base to attach the sensor. Unfortunately, the items are not totally compatible with each other, so I had to use some wires and ...