YourDuino: HandBat - Handheld Ultrasonic Radar using Arduino

Picture of YourDuino: HandBat - Handheld Ultrasonic Radar using Arduino

HandBat is a handheld Ultrasonic Radar device that sends out pulses of UltraSound and listens for Echos, like a Bat. It is intended for use by vision-impaired people or navigation in the dark.

Handbat is housed in a low-cost ($3.97) Rayovac Floating Lantern case from Walmart.

It is made from 5 parts:

  1. A YourDuino Robo1 Microcomputer (Or similar Arduinos)
  2. An Ultrasonic Sensor
  3. A small Beeper
  4. A Battery Holder for 4 AA batteries
  5. "Rainbow" cable (Cablemaker) strips

These parts are widely available on Ebay,,, etc.
A kit with the needed parts is available HERE:


Remove these adsRemove these ads by Signing Up

Step 1: How HandBat Works

Picture of How HandBat Works

The completed HandBat (above) contains the YourDuino/Arduino microcomputer and battery holder inside the lantern case, the UltraSonic Sensor mounted on the front lens, and the beeper on the outside of the case.

Here is a good Educational article we have written about Ultrasonics and EchoLocation: Understanding the Science Behind the Ultrasonic Distance Sensor (click this link)

In use, the HandBat is held by the user and pointed in front of them and around to find out how close objects are. The maximum range is 2 meters (about 6 feet). The user listens to the beeper which tells how close objects are with different tones and rates of beep.

  • 2 meters to 1 meter the tone is lower and the beep rate is slower and increases towards 1 meter.
  • At 1 meter the tone changes higher and slower, then faster towards 25 cm, when it changes to a high pitch
  • From 25 cm down to 2 cm the beeps get faster and faster and small distances can be sensed.

Note: A Kit of parts to build the Handbat (Not including the $4 Walmart Lantern!) is available HERE.

Step 2: What HandBat is Made Of: Mechanical

Picture of What HandBat is Made Of: Mechanical

Above are all the parts of the HandBat before being assembled into the case:

The YourDuino Robo1 and the battery case are wired to opposite sides of a 3 by 4 inch piece of strong cardboard or foamcore.

The Ultrasonic Sensor is glued to the front lens and the beeper is glued to the case and connected through two drilled holes.

Psycho4Ever8 months ago
nice project but it is not a radar it's a sonar ;-)
YourDuino-Maker (author) 11 months ago

The Example Sketch is updated; it was mangled somehow by Instructables.

Hi I'm trying to make a replica of your project but with Arduino Pro Mini, but when loading the error indicates eSketch me uS = (); / / Send ping, ping get time in microseconds (uS).
DistCM = uS / US_ROUNDTRIP_CM; / / Calculate distance in CM
the error indicates that "sound" was not Declared In this scope
What can I do to fix it?
Thanks for your help.

simmew211 months ago

Works very good. i tested it without the enclosure