Skip to the notes
robocupjunior.org.nz

Junior Robotics Notes

an independent NZ guide to classroom robotics

N-12Getting started

Robot vacuums with pets and kids: what to know

The sensors inside a robot vacuum, how it maps a room, and the practical things that trip it up in a busy household.

For many families, a robot vacuum is the first real robot in the house. It is also a good teaching example: it senses its surroundings, builds a picture of the room, plans a route and recovers from mistakes, all without anyone steering. This note looks at how they work and what to expect when the house also contains pets, small children and a lot of cords.

We don't review or recommend particular models. Features and prices change quickly; the ideas below help you understand what the specifications mean.

The sensors on board

  • Bump sensors. A sprung front bumper presses a switch when the robot hits something. The simplest models rely mostly on these.
  • Cliff sensors. Downward-facing infrared sensors under the front edge detect a drop, such as a stair, and stop the robot going over. It is the same reflected-light idea used in school line-following robots.
  • Wheel encoders and gyros. These measure how far the wheels have turned and how the robot has rotated, so it can estimate where it is.
  • Lidar or cameras. Higher-end models use a spinning laser range finder or cameras to measure distances to walls and furniture and build a map.
  • Obstacle cameras. Some models try to recognise small objects such as socks, cables or pet mess and steer around them.

Random bouncing versus mapping

Older and cheaper robots clean by bouncing: drive until you hit something, turn, repeat. Given enough time they cover most of a room, but they miss spots and repeat others. Mapping robots build a floor plan as they go, then clean in tidy rows and know where they've been. They also let you mark "no-go" zones in an app, which matters in a home with pets.

For students, this is a nice illustration of the difference between reactive behaviour (respond to what you sense right now) and planned behaviour (use a model of the world). Both are worth trying on a classroom robot.

Living with pets

  1. Pet hair wraps around brushes. Check and clear the brush roll more often than the manual suggests, especially with long-haired pets.
  2. Pet mess is the famous failure. A robot that drives through it spreads it across the house. Obstacle-recognition helps but isn't perfect, so many owners only run the robot when they've checked the floor.
  3. Food and water bowls get bumped and spilled. Put them on a mat in a no-go zone or lift them before a run.
  4. Nervous animals may be frightened by the noise and movement. Let them watch it while it is switched off first, then run it while they're in another room.

Living with small children

  • Small toys and building bricks can be sucked up or jam the brushes. A quick floor tidy before each run is good practice anyway.
  • Docking stations are tempting to play with. Put them somewhere out of the main play area.
  • Supervise early runs. Watch the first few cleans to see where the robot gets stuck, and fix those spots.

Cords, rugs and thresholds

Charger cables, curtain cords and rug tassels are the most common reason robot vacuums get stuck. Tidy loose cords with clips or covers, and keep blind cords secured out of reach anyway as a child-safety measure. Thick rugs and raised door thresholds can also stop smaller robots; check the maximum climbing height in the specifications against your own floors.

Privacy and connected robots

Mapping robots with cameras and apps send data to the manufacturer's servers so you can control them from your phone. Before connecting one, read what data it collects, whether camera images leave the device, and how to delete your maps. These are good questions for older students to research too.

A classroom connection

Ask students to watch a robot vacuum for ten minutes and write down every behaviour they see: bump, turn, edge-follow, spiral, return to dock. Then try to recreate one behaviour with a classroom robot. It's an excellent way to see that complex-looking robots are built from many simple rules.

Looking after the robot

Robot vacuums last longer with a little routine care. Empty the bin after each run, wipe the cliff sensors and any camera windows so dust doesn't confuse them, and check the wheels for wound-in hair. Side brushes and filters wear out and are designed to be replaced. Batteries also lose capacity over the years, so a robot that once cleaned the whole house may eventually need two runs or a new battery.

When a robot stops working well, resist the urge to replace it straight away. Many problems come from a blocked sensor, a full bin or a worn brush, and fixing them is a satisfying bit of practical troubleshooting for an older student.

Sources: Consumer NZ; Gen Less (EECA): energy at home.