Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

PSoC Range Finder – The Simple Ultrasonic Distance Meter!

You’re searching for a reliable and compatible Ultrasonic Distance Meter, but those that available on the market didn’t seem to fix your needs? Well, you’re better saving up your time, by develop a simple PSoC Range Finder!

The PSoC Range Finer is a quite simple, inexpensive ultrasonic distance meter. Those electronic components that needed to build this gadget are:

  1. A PSoc device,
  2. Two 40 kHz ultrasonic transducers,
  3. Two resistors, and
  4. Two capacitors.

The best part about the PSoC device is all the digital and analog devices are supplied by Programmable system on chip. Furthermore, it enables some typical applications, such as positioning for robotics, generic distance measurement and contactless liquid level measurement!


There are two different modes in this PSoC Range Finder, which as normal mode and calibration mode.

During the normal mode, the software is continuously run the transmitted ultrasonic burst and waits for return ultrasonic signal. The range value is written to the LCD and sent to serial interface.

While in the calibration mode, the software is similar to normal mode, except the measured value is compared with the constant value 50 and the resultant offset is stored in an EEPROM non-volatile memory.

In overall, this simple ultrasonic distance meter is very awesome and useful for your daily life!

[..Source link..]

Bookmark the permalink.


  1. hi

  2. Dear Would you inform me about how can I get this range finder the design . please

  3. I’m looking for one to operate under water to measure distance up to 10m (30FT) through a muddy water. Will the device above work (after watertight insulation of course)? Can anybody help, please?


Comments are closed