Qwiic Human Presence Sensor (AK9753) with Python/Raspberry Pi

I’m trying to use the Human Presence Sensor with a Raspberry Pi but The Qwiic package doesn’t seem to have a module for it? Am I missing something? It appears that the drivers are only supplied for Arduino.

Thanks.

We currently do not have code supporting Python/Raspberry Pi. You can find more information about Raspberry Pi and I2C here: https://learn.sparkfun.com/tutorials/py … ure-sensor. That way you can write your code needed for your uses.

Been working on this. And got most of the code working. I can read and write to to all the configuration registers etc. However, all the high and low order data registers are always 0. Its like the chip isn’t really on - its not collecting data.

Its in continuos mode (100). The data ready flags (DR and DRDY) never change to 1.

Anybody got any ideas what to look at?

I’m reading the high and low bytes separeately using readByte from the qwiic_i2c module. All the IR registers and temperature value bytes come back as 0. I know I’ve got to put the bytes together and deal with two’s complement, but with all 0s not sure how any of that could be an issue. I’m also reading the dummy register to let it know it can refill data.

It just seems like I’m missing something that says “GO”.

Thanks.