
Key takeaways
- A sorting robot repeats four steps: sense, decide, move, check.
- Rules are tried in order, and the first one that fits picks the bin.
- Put the magnet rule first, because foil and steel both look shiny.
- Always finish with a catch-all rule so nothing is left on the tray.
- Change one thing per run and score how many items land in the right bin.
A recycling sorting robot is a set of rules that turns what a sensor notices into what an arm does. Your child can plan one on paper, then run it by hand with a cardboard arm, a shoebox lid and five pieces of clean recycling. It takes about 45 minutes, suits ages 5 to 12, and needs no batteries or screens. It is a thinking model, not a copy of a real machine, but the logic is the same one real sorting plants use.
What does a recycling sorting robot actually do?

It follows four steps, over and over: sense, decide, move, check. A sensor notices one thing about an item, such as whether a magnet sticks to it. A list of rules turns that reading into a bin choice. An arm pushes the item into that bin. Then the robot checks it went where it should.
Real recycling plants do the same job at a much bigger scale. Big magnets lift out steel cans. A spinning magnetic field called an eddy current kicks aluminium cans off the belt. Infrared light spots different plastics, and a quick puff of air blows each one into its own bin. Screens with gaps let small things fall through while flat card rides over the top. Your child's version uses a fridge magnet, a card marker and their own eyes, which is plenty to learn how the rules work.
What materials do you need?

- Clean, dry recycling: a steel food can, a plastic bottle, a cardboard tube, a paper cup and a clean foil tray
- A fridge magnet or other small magnet
- A shoebox lid or tray to act as the conveyor
- Three small boxes for bins
- A strip of card about 25 cm long, a paper fastener and sticky tape for the arm
- Paper, a pencil and sticky notes for labels
Safety: an adult checks the rim of the steel can first and covers any sharp edge with tape. Small magnets are a swallowing hazard, so keep them away from toddlers and supervise younger children. Keep magnets away from phones and bank cards. Paper fasteners are small parts too. Rinse the recycling before you start and wash hands afterwards. If you want to add a light as a pretend sensor, use only 2 AA batteries in a matching bulb holder, with an adult helping. No mains power, heat or sharp tools are needed.
How do you plan the sorting rules?
Write your rules in a list, in order. The robot tries Rule 1 first, and if the item doesn't match, it moves to Rule 2, and so on. The first rule that fits decides the bin.
- Line up five items on the tray.
- Guess first. Write down which bin you think each one belongs in.
- Pick sensors you can act out: does a magnet stick? Is it taller than a card marker? Can you see through it?
- Write three rules. Rule 1: magnet sticks, go to Bin A. Rule 2: tall and see-through, go to Bin B. Rule 3: everything else, go to Bin C.
- Stick a label on each bin so the robot can't get mixed up.

Rule 3 is the catch-all. Without it, anything that matches no rule just sits on the tray. Real sorting lines have the same problem, which is why people still stand at the start of the line pulling out things that don't belong, like batteries.
How do you build and run the arm?
Pin one end of the card strip to the edge of a box with a paper fastener so it swings like a gate. Put the shoebox lid on top of the box as the conveyor, and set a bin at the side where the arm can push items in.
- An adult pokes a small hole near one end of the card strip and in the box edge.
- Push the paper fastener through both holes and open its legs. Tape over the legs.
- Check the arm swings freely across the tray.
- Slide an item to the sensor spot. Say the reading out loud, such as "magnet sticks".
- Find the first rule that fits, then swing the arm to push the item into that bin.
- Swing the arm back to the start, ready for the next item.

Your child is the robot's brain here. That is the point. A real robot can't guess; it only does what the rules say. If your child finds themselves thinking "well, I know it's plastic", the rules need fixing, not the robot.
Why does rule order matter?
Because two items can pass the same test. A foil tray and a steel can both look shiny. If "shiny" comes first, the steel can lands in the foil bin and never reaches the magnet test. Put the magnet rule first and both items end up in the right place.

- Run all five items with your rules.
- Swap Rule 1 and Rule 2.
- Run them again in the same order.
- Count how many items changed bins.
Steel food cans stick to a magnet because steel contains iron. Aluminium cans and foil don't, even though they look just as shiny. If your child likes this idea, the robot in the robot keeps dropping the box is another good puzzle about tiny instructions, and you can practise ordered steps on screen in Robot Steps.
How do you run a fair test, and what if it goes wrong?
Keep the item order, the tray position and the arm length the same every time. Change one thing only: the rule order, or one rule. Score how many of the five items land in the bin you expected, and run the same test twice to check you get the same answer.
- Items jam on the tray: tilt it a little, or use lighter items.
- The arm misses: shorten the strip or move the bin closer.
- A rule grabs the wrong item: check the order. Put the most exact test (the magnet) first.
- Something matches no rule: add a catch-all rule at the end.
- The magnet doesn't stick to a can: it may be aluminium, which isn't magnetic. That is a real result, so write it down.
Next test: add a sixth item that breaks your rules, like a plastic bottle with a metal lid. The magnet sticks only to the lid. Should the robot take the lid off first? Rewrite the rules until it works. Then try sorting with only two sensors and see how many items you can still get right.
How do you adapt it by age?
- Ages 5 to 7: two bins and one rule (magnet sticks or not). Let your child move the arm and say the reading out loud. The Junior Engineers workbook has more hands-on builds at this level.
- Ages 8 to 10: three rules, three bins and the fair test table below.
- Ages 11 and 12: draw the rules as a flow chart with yes and no arrows, and explain in writing why the order was chosen. The Engineering Workbook for Kids has more design challenges for this age.
Print the sheet below to write the rules and record each run.

Want to know who builds real sorting robots? Read what software and robotics engineers do, or take the robot onto a whole island with build a sustainable island.
Questions parents ask
How do real recycling robots sort rubbish?
Real sorting plants use magnets to lift out steel, eddy currents to push aluminium off the belt, infrared light to tell plastics apart and puffs of air to blow each item into the right bin. Screens split items by size and shape. Some plants also use robot arms with cameras to pick items.
Why does a magnet stick to some cans but not others?
Steel food cans contain iron, so a magnet sticks to them. Aluminium drinks cans and foil are not magnetic, even though they look shiny too.
Do you need electronics to build this robot?
No. The arm is card and a paper fastener, and your child acts as the robot's brain by following the rules. If you add a light as a pretend sensor, use only 2 AA batteries in a matching holder with an adult.
Is it safe for young children?
Yes with an adult nearby. Check can rims for sharp edges and tape them, keep small magnets and paper fasteners away from toddlers, use clean and dry recycling, and wash hands after.
What age is this activity for?
Ages 5 to 12. Younger children use one rule and two bins; older children write three or more rules, run a fair test and draw a flow chart.
What does this teach about coding?
It teaches if-then rules, the idea that order matters, and the need for a catch-all rule. Those are the same ideas used in computer programs.
Pip







