Ping))) Rev E and onwards

SPIN Code examples for the updated Ping))) module, starting at Rev E

Share this object
<

Overview

  • Object ID : 5248 (2025-06-16 10:44:23)
  • Author : Michael
  • Content :
  • Microcontroller :
  • Language :
  • Category :
  • Licence :

Content

Starting at Rev E, the Parallax Ping))) module adds a serial interface alongside the existing PWM protocol. The newer module is fully backward compatible.

Here are some SPIN code examples for:

  • Original PWM mode (Note: The original PWM code will operate on any revision of Ping or LaserPing module - old or new!)
  • Dual PWM mode - operate two Ping))) sensors!
  • Serial mode

The serial mode switches the Ping))) module into a serial stream output at 115200 baud.
The measurement data is output in millimeters.
The serial data is encoded as standard ASCII decimal with an ASCII carriage return delimiter.


Downloads  
Zip archive download

Leave a Reply