Sumo Bots
  • Introduction
    • What is robot sumo?
    • Robot sumo weight classes
    • Rules in robot sumo
    • What makes up a sumo bot?
  • Electronics
    • Choosing parts for your robot
      • Motors
      • Motor drivers
      • IR sensors
      • Edge sensors
      • Microcontroller
      • IR/RF Remote
      • Battery
      • Voltage regulator
    • Calculating power consumption
    • Making your first schematic
    • Turning your schematic into a PCB
    • Getting your PCB fabricated
  • SOFTWARE
    • Getting Started
    • Firmware Training
      • Part 1: Running Blinky
  • MECHANICAL DESIGN
    • Page 3
Powered by GitBook
On this page
Export as PDF
  1. Electronics
  2. Choosing parts for your robot

IR sensors

The eyes of the robot

PreviousMotor driversNextEdge sensors

Last updated 10 months ago

In robot sumo, there are two common types of sensors used for object detection: ultrasonic and infrared (IR) sensors. Ultrasonic sensors use sound waves to measure distance while IR sensors rely on presence of infrared radiation. In this guide, we mainly recommend IR sensors because they respond quicker due to using light instead of sound waves. Granted, ultrasonic sensors are better at accurately measuring distances, but in robot sumo this is not required.

IR sensors come in two types: analog and digital sensors. Analog sensors, such as the Sharp sensor outputs a voltage that corresponds to a distance. Digital sensors such as the JSUMO's uses a 0 or 1 to determine if an object is present.

If using JSUMO sensors, be mindful of limited documentation that is provided.

There is an Arduino library called that makes reading analog signals from several models of IR sensors a lot easier.

SharpIR
GP2Y0A21YK0F
JS40F
JSUMO JS40F IR sensors
SHARP GP2Y0A21YK0F