App note: Implementing ultrasonic ranging on PIC16 microcontrollers

Posted on Saturday, October 29th, 2011 in app notes by DP

This app note by Microchip describes how to implement ultrasonic ranging on their PIC16 family of microcontrollers.

Object ranging is essential in many types of systems. One of the most popular ranging techniques is ultrasonic ranging. Ultrasonic ranging is used in a wide variety of applications including:
• Autofocus cameras
• Motion detection
• Robotics guidance
• Proximity sensing
• Object ranging
This application note describes a method of interfacing PIC16CXXX microcontrollers to the Polaroid 6500 Ranging Module.

Their design uses the Polaroid 6500 ranging module interfaced with the PIC by using a pair of digital output pins and one CCP input pin. One digital pin (INIT) starts the module, while the other (BINH) provides a blanking interval during which the module does not respond to revived signals. The CCP module is setup to time the interval from initializing the module to the time an echo is received. Assembler source code is provided by Microchip.

This entry was posted on Saturday, October 29th, 2011 at 10:00 am and is filed under app notes. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Cody: Yes please
  • Edward Mallon: I've been oversampling those thermistors with the ADC and some pin-toggle noise for a while now, and that method is good. But lately I've been...
  • Marko: armature -> amateur
  • Crawford: Dibs,
  • bill: a sunny Sunday here