MMA7361L Freescale Accelerometer basic stamp code needed
Caleb
Posts: 18
Hi,
I have two type of accelerometers belows
1. one from Freescale, MMA7361L http://www.freescale.com/files/sensors/doc/data_sheet/MMA7361L.pdf?pspll=1
2. other from STM,
http://www.st.com/stonline/products/literature/ds/12726.pdf
Data sheet link attached.
these are for digital output, and I have tried to communicate with those using i2c.
I could succeed for STM parts using I2C commend in BASIC STAMP code, but, couldn't for Freescale parts. I wonder if those two parts has different device id or what....any comment will be appreicated...
Caleb
·
I have two type of accelerometers belows
1. one from Freescale, MMA7361L http://www.freescale.com/files/sensors/doc/data_sheet/MMA7361L.pdf?pspll=1
2. other from STM,
http://www.st.com/stonline/products/literature/ds/12726.pdf
Data sheet link attached.
these are for digital output, and I have tried to communicate with those using i2c.
I could succeed for STM parts using I2C commend in BASIC STAMP code, but, couldn't for Freescale parts. I wonder if those two parts has different device id or what....any comment will be appreicated...
Caleb
·
Comments
There is nothing on the Freescale chip for direct communication with a stamp. It outputs an analog voltage on the 3 axis pins. You will need an analog to digital convertor chip to read it with a stamp. Even then, seems like too much to bother with.
This is the interface from the manual.
**