Page 1 of 1

SPI interfacing to the MPL115A1 pressure sensor?

Posted: Fri Jul 16, 2010 11:31 am
by jpc
Hi,
I am interested in using this sensor (with a mega328) for altitude logging, but I have no experience with coding SPI. Any chance somebody might have a snippet of C code that shows how to talk to this sensor using SPI?

I don't mind learning SPI, but it is always nice to be able to start with a working application.

thanks in advance for any help,
Phil in Austin

Re: SPI interfacing to the MPL115A1 pressure sensor?

Posted: Thu Sep 30, 2010 9:00 pm
by miah
Hi Phil,

I put together an Arduino sketch that uses this device with examples for how to read temperature and pressure and how to calculate altitude.

Hope this is helpful,
Jeremiah

viewtopic.php?f=8&t=23965