I am using NRF52832 as tags for asset tracking. I want to sense whether the asset is in movement or not as simple logical '0' or '1' response from sensor. Please suggest a best sensor to connect with my NRF52832 tag.
Regards,
Ashiq Mohammed
I am using NRF52832 as tags for asset tracking. I want to sense whether the asset is in movement or not as simple logical '0' or '1' response from sensor. Please suggest a best sensor to connect with my NRF52832 tag.
Regards,
Ashiq Mohammed
Hi Ashiq,
I would go for an acceleratometer that communicates either over TWI or SPI, e.g. the ADXL345.
Best regards
Bjørn
Hi Ashiq,
I would go for an acceleratometer that communicates either over TWI or SPI, e.g. the ADXL345.
Best regards
Bjørn
Thanks bjorn, Can you please help with pin connection between NRF52832 and ADXL345 along with sample code for getting Moving responses?
We do not have an official example for the ADXL345. I made a simple driver for the ADXL375, which is very similar to the 345, but its for an older SDK version, see this question for the link to the code. You should at least be able to use it as a reference and you may not have to modify it to much to make it compatible with the latest SDK.
Best regards
Bjørn
How to interface anything to anything else: www.8052mcu.com/.../160143