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

  • Joe Desbonnet: Ya, I can recommend the low melting point solder. I used brand 'ChipQuik' and it's amazingly easy to use.
  • Jerome: I need a new BusPirate for the Fablab ;) Many thanks!
  • Max: Seems like an unexpectedly violent way to remove the chip indeed. A hot air station should of course do the job just fine, but in...
  • jose: Part removal described here is pure butchery, the cheapest hot air station will do a fast and clean job removing the QFP, heat air to...
  • Cody: Yes please