Navigating the Spectrum

Navigating the Spectrum: Sensor Selection for Pi Wars’ Diverse Arenas

As we gear up for the multifaceted challenges of Pi Wars, our focus shifts to the pivotal role of sensor selection for our robot, the Overwhelming Surplus of Diggity (OSoD). Let’s delve into how we plan to harness these sensors to ensure our robot can ascertain its position within the varied arenas of the competition.

Sensor Requirements for Optimal Navigation

The arenas present unique navigational challenges, from the tight 0.6m wide corridors of Lava Palava and Temple of Doom to the more spacious 2.4m square battlefield of Pi-Noon. Each arena, with its unique wall colours and sizes, demands a sensor suite capable of precise distance measurements and rapid adaptability. To adeptly manoeuvre through these spaces, we seek sensors that can accurately measure up to 3m distances, with a narrow FOV of less than 5 degrees to prevent misreading beyond the arena boundaries or hitting the ground. A minimum 10Hz measurement rate is desirable, although faster is preferable, to swiftly adjust to on-the-spot obstacles and arena walls.

The Sunlight Challenge in Optical Sensing

Sunlight has been the bane of optical sensors in past competitions. Indoors, lux levels are manageable (typically below 50klux), but in direct sunlight they can be blisteringly high, reaching up to 130klux. This intense light can overwhelm sensors rated for only 5klux, leading to miscalculations. However, sensors operating at IR wavelengths, like the 940nm VL53L0x and 850nm TF Luna, have varying degrees of sunlight resistance. The conundrum lies in the disparity between the figures espoused online, actual lux measurements, the specific spectrum transmissibility of the windows at the event and the IR wavelengths of the sensors. All this makes it hard to predict sensor performance based on their lux ratings alone.

Exploring TOF Sensors: A Comprehensive Comparison

In our quest to select the ideal Time Of Flight (TOF) sensor for Pi Wars, we conducted an extensive search encompassing all available TOF sensors. Our focus was on popular models and those boasting high lux ratings or suitability for outdoor and sunlight-exposed environments. This table presents a comprehensive overview of TOF sensors, featuring key specifications relevant to Pi Wars challenges. It’s worth noting that this compilation includes all the sensors we encountered during our search, offering a holistic view of the available options.

Manufacturer Model Price Range (m) Points FOV Update Rate Max lux datasheet
ST vl6180 £14 0.11 1 42° 150hz1 15k (“up to 100klux?!) Datasheet
ST vl53l0x £7 21 1 25° 50hz1 5k Datasheet
ST vl53l1x £19 41 1 100° 50hz1 1k Datasheet
ST vl53l3cx £15 21 1 25° 125hz1 5k Datasheet
ST vl53l5cx £20 41 64 65° 60hz1 5k Datasheet
ST VL53L7cx £15 3.51 64 90° 60hz1 5k Datasheet
ST VL53L8cx £22 41 64 65° 60hz ? Datasheet
TI OPT3101 £28 1 3 30° 4khz 130klux! Datasheet
arducam TOF camera for raspberry pi £49 ? 43200 ? 120hz ? Pi_TOF Camera
Benewake TF-Luna £20 8 1 250hz 70k TF-Luna
Benewake TF mini £30 12 1 2.3° 100hz 70klux Datasheet
Benewake TF mini-S £30 12 1 1000hz 70klux Datasheet
Benewake TF mini plus £35 12 1 3.6° 1000hz 70klux Datasheet
Benewake TF02 £96 40 1 100hz 100k Datasheet
Benewake TF02-pro £88 22 1 100hz 100k Datasheet
Benewake TF03 £234 100 1 0.5° 1000hz 100k Datasheet
DFRobot SEN0413 £16 12 1 500hz 15klux Product Page
DFRobot SEN0430 £10 2.5 1 24° 30hz 100k Product Page
DFRobot SEN0492 £22 4 1 36.5° 20hz ? Datasheet
DFRobot SEN0524 £35 15 1 50hz 100k Datasheet
DFRobot SEN0579 £180 5 307200 60° ? ? Datasheet
DFRobot DFR0727 £1,000 4 7680 132°/9° 20hz 60k Datasheet
DFRobot DFR0727 £1,000 4 7680 132°/9° 20hz 60k Datasheet
DFRobot HPS-3D160-U £264 12 9600 76°/32° 35hz 80k Product Page
TeraRanger Evo Mini £38 3.3 4 27° 4hz ? Spec Sheet
TeraRanger TR-EVO-3M £50 3 1 ? ? Product_Page
TeraRanger Evo 64px £113 5 64 15° 130hz ? Datasheet
TeraRanger TR-EVO-60M £69 60 1 240hz ? Product Page
TeraRanger Evo medium-range £64 15 1 240hz ? Product Page
TeraRanger Evo long-range £83 40 1 240hz ? Product Page
LeddarTech LeddarOne £135 15 1 70hz ? Product Page
Lidar-lite v4 £73 10 1 200hz 50k Datasheet
YDLIDAR GS2 £46 0.3 160 100° 28hz 25k Datasheet
Waveshare WAV-21221 £29 15 1 1-2° 50hz 100k Product Page
Waveshare WAV-18301 £23 5 1 15°-27° 10hz “affected by natural light” Product Page

Our Curated Sensor Selection

After extensive research, we’ve charted a course through the available sensors, seeking those that promise to withstand the luminous challenge:

  • TI’s OPT3101: This sensor, priced at £28 on Pololu’s 3-channel breakout board, stands out with its high 4kHz measurement rate and impressive resistance up to 130klux. The chip itself can measure up to 5m, but the board version limits the range to 1m. Its wide FOV makes it more suitable for obstacle avoidance rather than precise positional awareness. It represents an interesting option, although finding a version tailored for more focused measurements remains a challenge.
  • Benewake TF-Luna: Priced around £25, this sensor offers an 8m range and a rapid 250Hz update rate. While its 70klux rating is robust, it might struggle in direct sunlight, which can exceed its lux capacity.
  • AMS TMF8801: Found on DFRobot’s SEN0430 breakout board for £10, it strikes a balance with a 2.5m range, 30Hz update rate, and a formidable 100klux rating, making it a promising contender for accurate positioning even in brighter environments. We’ll compare them against the old favourite, the VL53L0X:
  • ST VL53L0X: Offers an advertised 2m range for a cost-effective £7, with a wide 25° FOV, suitable for close-range detection but limited usefulness for pinpoint positioning due to the FOV and 5klux light level rating.

Testing Under the Sun

We’re not just stopping at theory. We’ll be field-testing these new sensors against the community favourite VL53L0x, under varied lighting conditions to see which ones truly stand up to the challenge. Our aim is to strike a balance between range, accuracy, and resilience to light interference, ensuring OSoD’s performance remains uncompromised, be it in the simulated shadows of a volcano or the glaring open arenas.

Stay tuned as we refine our choices and push the boundaries of robotic navigation in preparation for the upcoming Pi Wars competition.

“A sophisticated robot navigating a maze with walls equipped with various sensors and a camera The robot is in an indoor setting with beams of sunlight”


  1. Range and update rate depends strongly on one another, configuration, target reflectivity and lux levels, and are generally much lower than the max stated. ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎