The "Scared" Robot is an interactive project designed to demonstrate the use of distance sensing and motor control with the ESP32 microcontroller. This project leverages the VL53L0X distance sensor to detect nearby objects and responds by moving away from them, simulating a "scared" reaction. The core components of the project include: ESP32 Microcontroller: This powerful, low-cost microcontroller handles all processing tasks, including reading sensor data and controlling the motors. VL53L0X Distance Sensor: This laser-based sensor provides accurate distance measurements. When an object comes within 200mm of the sensor, the robot is programmed to move backward, mimicking a scared response. Motor Driver Circuit: The ESP32 controls two DC motors via four PWM channels. These motors are responsible for the movement of the robot, allowing it to navigate its environment. How It Works: Initialization: Upon startup, the ESP32 initializes the distance sensor and configures the motor control pins. Continuous Monitoring: In the main loop, the robot continuously reads the distance from the VL53L0X sensor. Reactive Movement: If the sensor detects an object closer than 200mm, the robot moves backward for 200 milliseconds. If no object is detected within this range, the robot moves forward. Serial Output: The distance readings are output to the serial monitor, providing real-time feedback on the sensor's performance. This project showcases the integration of sensor data with motor control to create a reactive system. It is a simple yet effective demonstration of how microcontrollers can be used to create interactive and autonomous behaviors in robotics. Whether you're a beginner or an experienced hobbyist, the "Scared" Robot offers an engaging way to explore the fundamentals of robotics and microcontroller programming.