Datasheet

Copyright © Parallax Inc. Altimeter Module MS5607 (#29124) v1.0 11/3/2011 Page 5 of 5
Communication Protocol
The Altimeter Module has built in two types of serial interfaces: SPI and I
2
C. Pulling the Protocol Select
pin PS low selects the SPI protocol. The module pulls the PS high making the default communication
protocol I
2
C. For details on use of these communication protocols, please refer to the datasheet located
on the 29124 product page.
Example Code
Example code is available for download from the 29124 product page at www.parallax.com.
C Code
Please see application note “APPNote_520_C_code.pdf” on the 29124 product page for C code examples
using Measurement Specialties Altimeters.
Propeller
™
P8X32A
The Altimeter_Demo_and_Driver.zip contains 29124_simple_altimeter_demo.spin file which is a simple
demonstration showing altitude with a configurable starting altitude. Also contained in the zip file is an
HTML file “29124_altimeter.html” that goes over in detail about the altimeter driver used in the demo
code.
The Demo programs use Parallax Serial Terminal to display the device output. The object and the
Parallax Serial Terminal itself are included with the with the Propeller Tool v1.2.7 or higher, which is
available from the Downloads link at www.parallax.com/Propeller.