Using LIS3dh with Thingy52

Hi

I am a student and this is my first project working on BLE. Please keep that in mind.

The end goal is to create a fingerprinting system with a Thingy (nRF6936) as a node. This Thingy currently broadcasts a UUID for gateways to pick up without a connection. The RSSI can then be derived inside the gateways. I am using the 17.1.0 nRF5 SDK

To increase the accuracy, I want to add accelerometer data inside the advertisement packet. Also, I want to make it more low power by sending very slow advertisements when the node isn't moving. 

I couldn't find any drivers for the LIS3dh that work on Thingies. That means I have to use SPI or I²C? 

The problem with this is that I need the pin layout of the Thingy to speak to the accelerometer directly. 

Where can I find these?

I have included the code of my beacon. 

 glass_beacon.zip

Parents Reply Children
Related