CleaningRobotPy is an autonomous cleaning robot that moves in a room, detects obstacles, and cleans dust from the floor using a built-in cleaning system. It is equipped with sensors and motors that allow it to navigate and operate efficiently.
When powered on, the robot activates its cleaning system and starts moving.
It follows movement commands from the Route Management System (RMS).
If it encounters an obstacle, the infrared sensor detects it and adjusts movement accordingly.
The battery sensor (IBS) continuously monitors battery charge.
If the charge is too low, the recharge LED turns on, signaling that it needs to be recharged.
The room is represented as a rectangular grid where the RMS keeps track of obstacles and the robotβs position.
DC Motor (wheels) β Moves the robot forward
DC Motor (rotation) β Rotates the robot left or right
Route Management System (RMS) β Sends movement commands
Infrared Sensor β Detects obstacles
Intelligent Battery Sensor (IBS) β Checks remaining charge
Recharge LED β Signals low battery
Cleaning System β Two rotating brushes
git clone https://github.com/yourusername/cleaningrobotpy.git
cd cleaningrobotpy
pip install -r requirements.txt
python cleaning_robot.py
This project is licensed under the MIT License.