Tag: robot rover

1 articles found.

PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation

PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation: the ESP32, the PS2 receiver, the VL53L1X, the L298N and two TT gear motors with their wheels

Hello friends, I hope you all are doing great. Today, I am going to share the PS2 Controller Robot Rover with ESP32 and VL53L1X - Proteus Simulation, the ninety-fifth project of our IoT Projects series. If you have searched for an ESP32 PS2 controller robot, how the PS2 controller protocol works, collision avoidance with a time-of-flight sensor, or an L298N robot car with an ESP32, here is a complete rover in a Proteus simulation. A PS2 wireless controller is one of the cheapest ways to drive a robot: a game pad with sixteen buttons, two sticks and two rumble motors, and a small receiver that speaks a simple serial protocol. This rover adds the thing every remote-control car is missing: a sense of what is in front of it. A VL53L1X time-of-flight sensor in its nose measures the distance with a laser sixteen times a second. Within 2.5 m the ESP32 cuts the forward speed in proportion, and at 30 cm it blocks forward completely. It tells the driver too, through the controller's own rumble motors: a buzz in the slow zone, a strong rumble at the wall. Back and turns still work, so you can always drive away. In this tutorial, we will go through the circuit, the PS2 protocol byte by byte, how a time-of-flight sensor measures, the L298N and the differential drive, the collision assist, and the code. Then we drive the rover at a white card, a black object and a wall in the simulation, turn away and race off at full speed. The black object teaches the most. At the end, you can download ...