Best library for ADXL 362/346 and Photon 2?

Hi, All:

I am trying to get what I believe is an ADXL 362/346 (at least that's what it says on the board) to work with a Photon 2, and just getting 0's for acceleration. I did solder the headers myself, but they look OK. I am using the particle_ADXL362 library as is -- there's no real documentation, I dunno if it's really designed for the Photon 2 or not. Any suggestions / help would be appreciated!

I've used the ADXL362DMA library on the Photon 2 and it worked properly.

Whatever they're paying you, it's not enough -- please tell your boss that. :grinning:

With the ADXL362DMA library, and changing the SS pin from A2 to S3, I'm now getting non-zero numbers, around -105, 50 and 1320. I found this data sheet, and if I'm reading it right the scale factor is 1000 LSB/g, so ... divide by 1000? Meaning that gravity is around 1.32g? That seems a little high, but it's certainly in the ballpark.

Thanks again for your help, I am grateful.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.