-
Notifications
You must be signed in to change notification settings - Fork 59
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
I can not use it on my Rasp pi4 64bits with python3.11? what's the reason? #95
Comments
This repo is for the ADS1015 and ADS1115 ADC's. Are you using either of those? You only mention the INA219, which is something different. |
Sure, I am using the ADS 1X15 module for ADC checking. I can not detect it when I run my code. |
If you run the basic example from this library: |
The output from my terminal here: |
It's working, so it looks like it's detecting the ADS? It's unclear what the issue is? |
No, it can not initialize the ADS module, but I checked the voltage from the ADC pins with a multimeter. |
It's not clear what "can not initialize" means. If there were issues initializing, some form of error message(s) would be expected. Is the issue that the values are not changing in the output? |
The output from my program is here:sudo python3 SilverGuiTester.py |
Is the basic example from the library working as expected? Are the ADC values changing? Trouble shoot with the library example. Make sure it works before moving to your code. It looks like you are using the ADS1115 and not the ADS1015, so try this example: Change the channel being used as needed: chan = AnalogIn(ads, ADS.P0) |
ok, thanks. let me do it now. |
I check my address 0x49 with channel-0, it outputs here:raw v |
Are you able to apply a varying voltage as well? To confirm the ADC is reading the changes. |
Hi,
I am trying to run the libs, but I encounter the issue that it can not detect INA219 or the Likes issue. I am using the Rasp pi4 64bits with the python3.11 version. but in the other same environment, python3.9, it's working. what's the reason? differency?
The text was updated successfully, but these errors were encountered: