← All articles

2 November 2026

How Does a Mini Vacuum Robot Work?

Illustration of a mini vacuum robot: sensors, brushes and wheels

If your home has a robot vacuum, your child has almost certainly sat and watched it work: it slides under chairs, circles table legs, stops at the top of the stairs and turns around, and when its battery runs low it drives itself back to its charging dock. It looks like it can "think".

In truth, a robot vacuum doesn't think very much. It just does three things very well: sense its surroundings, make simple decisions, and repeat those two steps hundreds of times a minute. Those are exactly the three skills children learn when they build robots. Let's open the lid and look inside.

What's inside a robot vacuum?

A mini robot vacuum is a complete robot, shrunk down to the size of a dinner plate. Inside you'll find:

Does that list sound familiar? Ultrasonic sensors, infrared sensors, motors, batteries — these are all parts children learn about in robotics lessons.

How does it move around without crashing into everything?

Cheaper robot vacuums use the simplest method: drive straight until you hit something, then change direction. Bump into a wall, turn by a random angle, and carry on. It sounds silly, but if it runs long enough, it will cover almost every spot in the room — like colouring in a whole page with random strokes.

More advanced robots draw a map: they use a laser or camera to measure the room, remember which areas are cleaned and which aren't, and then drive in neat straight lines, like ploughing a field in rows.

Whichever method it uses, the decision-making is still a set of very simple if-then rules:

None of these rules is complicated. The robot's power comes from repeating them continuously, without getting tired or losing focus — exactly the kind of "code running in a loop" that children learn about in lessons on loops.

How does it find its way home to charge?

When the battery runs low, the robot switches to "go home" mode. The charging dock sends out an infrared signal the robot can "see" from across the room, like a lighthouse guiding a ship. The robot follows that signal until it touches the dock, then charges itself. The next morning it's full again and ready to work.

This is a lovely example of a robot working in states: normally it cleans the house, but when the battery is low it switches to the job of going home to charge. In code, that's just one condition: if the battery is below a certain level, do something else.

Can your child build an obstacle-avoiding robot?

Absolutely — and it's one of the first projects children build when they learn robotics. A mini version of a robot vacuum needs exactly three parts: an ultrasonic sensor to "see" obstacles, two motors to drive and turn, and a few lines of if-then code to decide when to turn.

On ManuStem, your child can try this project right in the browser, no kit required: write the code, press run, and watch a 3D robot avoid obstacles on screen. The robot hits a wall? Fix the code and try again in seconds. That's also how real engineers work — try, fail, fix, try again.

The course has 28 lessons: 8 Component Lab lessons that teach each part — the ultrasonic sensor, the infrared sensor, motors — followed by 20 Competition Robot lessons where your child combines them into a complete robot. Lessons are in Vietnamese or English, for ages 8 and up, with an AI co-pilot guiding every step and suggesting fixes when the code goes wrong.

Next time the robot vacuum rolls past your feet, ask your child: "What do you think it just decided?" Their answer — "it saw the wall, so it turned left" — is programming thinking.


Let your child build an obstacle-avoiding robot — try 4 lessons free at ManuStem. No kit required, runs right in the browser.

Read the Vietnamese version:

Robot hút bụi mini hoạt động như thế nào?