Head office, Rana Pratap Bagh, Delhi011 2721 1512+91 97116 99511

Science project idea

Mini sumo robot that finds its opponent and stays inside the white-edged ring

Sumo robots search for an opponent, push it out of a black ring and stop at the white border. This needs edge detection with reflective sensors and distance sensing, with simple decision priority in the code.

What it shows

Sumo robots search for an opponent, push it out of a black ring and stop at the white border. This needs edge detection with reflective sensors and distance sensing, with simple decision priority in the code.

The science

A TCRT5000 sends infrared light and measures how much returns. Black reflects very little and white reflects a lot, so an output that jumps when the sensor crosses the white edge tells the robot to reverse. The ultrasonic sensor finds the opponent within 30 cm. The priority is: edge first, then attack, then search by turning. A robot must never forget the edge, so the edge check is the first test in every loop.

Materials

Cost: under Rs 1,500. Many items come from home or from waste; spare parts such as LEDs, motors and wire are in the store.

  • An Arduino Uno or Nano
  • Two TCRT5000 reflective infrared sensor modules for the edge
  • An HC-SR04 ultrasonic sensor for the front
  • An L298N motor driver and two gear motors with wheels
  • A 7.4 V two-cell lithium pack with a switch
  • A chassis with a front scoop made from a thin metal or plastic sheet
  • A black board with a white edge about 80 cm across

Safety

For this project: Charge lithium cells only with a proper charger and an adult. Keep hands off the robot during a match. Sharp metal edges on the scoop must be filed smooth.

Never use mains electricity: power models with cells, batteries or a low-voltage adapter. Sharp and hot tools, flames and lab chemicals need an adult or your teacher beside you. Keep magnets, button cells and small parts away from young children, and wash your hands after making.

All the safety rules

Step by step

8 steps. Do them in order, and test each part before you go on to the next. Write what you notice in a notebook as you go.

  1. Fix the two edge sensors at the front corners of the robot, pointing down about 5 mm above the floor.

  2. Connect the sensor outputs to pins A0 and A1 and read them; note the value over black and over white.

  3. Mount the ultrasonic sensor at the front and connect it to pins 9 and 10.

  4. Connect the L298N to pins 5, 6, 7 and 8 and to the battery.

  5. Write the sketch: if either edge sensor sees white, reverse for 300 ms and turn away from that side.

  6. Otherwise if the front distance is below 30 cm, drive forward at full speed to push.

  7. Otherwise spin slowly on the spot to search.

  8. Test on the ring with a cardboard box as the opponent, then tune the speeds and the turn time.

What you should see

The robot stays inside the ring, locates a box and pushes it out of the ring.

Viva questions

A teacher or a judge will ask how it works. Try to answer each question before you open it, then compare.

1How does the edge sensor tell white from black?

White reflects much more infrared light than black.

2Why check the edge first?

Falling out of the ring loses the match even if the opponent is ahead.

3Why is the scoop low?

It slides under the opponent and lifts the front so its wheels grip less.

4Why do robots use a spin to search?

It covers all directions quickly from a fixed place.

Free ebook: Viva Questions for Science Projects

Take it further

Add two side sensors so the robot can see an opponent that attacks from the side.

Change one thing, measure what happens, and add a table or chart of your readings: that is what turns a model into your own investigation.

Free ebooks for this project

WhatsApp us