Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensor Bias Magnitude set to : 50-µA, why ? #14

Open
gabriel-marques opened this issue Apr 17, 2023 · 1 comment
Open

Sensor Bias Magnitude set to : 50-µA, why ? #14

gabriel-marques opened this issue Apr 17, 2023 · 1 comment

Comments

@gabriel-marques
Copy link

Hello,

First of all thanks, for your library.

I've been using your module with this library on a RPI 3 and I achieved to use the ADC with a 3V3 reference. For that, I had first to change the reference value from 5.08V to 3.3V in the library and set in the Makefile Wiringpi instead of bcm3835 which was gaving me a segfault. Then, I had to remove the 0 Ohm resistor below the PCB which was connecting AVDD to 5V and connect 3V3 to the AVDD Input slot. But still, when reading values from a ADXL335 the average was around 3.2 V and the reason is that in the library, in function ADS1263_ConfigADC1 of file ADS1263.c the REG_MODE1 is set to 0x84 which modifies the filter selected but is ALSO modifies the sensor bias magnitude and this without specifying why.

I set it to 0 again and now I have great values but why is it set to 50-µA at first place ? If it's something necessary for the diff reading then set it only when needed and not by default.

Best regards

@bibhu223
Copy link

Did you measure sensor volatge which is below 1mV I am facing the issue when I am connecting the sensor , my ref voltage is 5.08V and its single channel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants