Shop OBEX P1 Docs P2 Docs Learn Events
Problem with Accelerometer Module Sample Rate and SimpleIDE Terminal — Parallax Forums

Problem with Accelerometer Module Sample Rate and SimpleIDE Terminal

Hello,

I am using the MMA7455 3-Axis Accelerometer module (https://www.parallax.com/product/28526) on a Propeller Activity Board. I followed the SPI Example (http://learn.parallax.com/tutorials/language/propeller-c/propeller-c-simple-protocols/spi-example) and am using the provided code to take measurements on the z-axis. When I try to sample at 50Hz by changing the pause time from 500 to 20, the measurements in the SimpleIDE terminal cannot seem to keep up. The datasheet for the accelerometer says the chip can sample at up to 125Hz and 250Hz, depending on the bandwidth setting. Is the Propeller or SimpleIDE terminal the limiting factor or is there something I am doing wrong?

Thanks,
David
Sign In or Register to comment.