Analog to Digital Converter [ADS1115] (Raspberry Pi)
HTML-код
- Опубликовано: 8 сен 2024
- Official Write-up: www.piddlerint...
ADS1115 Specifications: www.ti.com/lit...
Required Parts:
CanaKit Raspberry Pi 4 4GB Starter Kit - amzn.to/2Jrlbfj
ADS1115 ADC - amzn.to/3o12cHi
Dupont Jumper Cables - amzn.to/3n1Cql1
Capacitive Soil Mosisture Sensor - amzn.to/3pC7WI6
adafruit-circuitpython-ads1x15 github: github.com/ada...
Donate to the Channel:
/ piddlerintheroot
I've been looking for this for so long, so much help THANKS!
I will use this one today.
Great tutorial. Everything works great however I realized that all the GPIOS are needed by the ADS115 ADC. Can I also connect it with a Breadboard so that I have some Pins left?
Great help, thx!
I do appreciate this code example, but the one thing I don't like about the ADS1115 driver: How do we set the address?
I can't find any information on that.
The ADS1115 has 4 addresses, but the Raspberry Pi code I've been running across doesn't let you enter the address.
I have multiple ADS1115 boards; I want to give each a different address and use same I2C bus to talk them all.
Can anyone make a suggestion? The only alternative I see is to abandon that driver and make my own I2C low-level driver that allows for addressing.
Thank you.
Hey, the basic "import busio" isn't working, after running its showing "no module named busio". Please can you help me out.
finally, thanks, this is what am looking for, but how if we use 5 sensors?
Thanks for posting the tutorial and I am following your steps with the same equipment. However, my output of CHAN is always 0, both for raw and volt. How can I detect the problem? Is that the ADS problem or the sensor problem?(BTW I'm using RPi 3B+ instead of 4)
I have the same issue did you figure it out?
Hello, I want put a gain. What is the code please ?
I can't find a working program...
Thanks you.
If you are using an ADS1115, FS=3.3Vdc, for 32,768 raw. Correct? 16 bit signed is 15 bits of data. 2^15 is 32768. So, I’m not sure why it is that on channel 0 (raw is 11264) while (voltage is reading 1.408). Shouldn’t 11264 raw = 1.134Vdc? If I understand it correctly, and perhaps I don’t, 3300mV / 32768 = 0.100708 mV/bit ergo 11264 = 1134mV or 1.134Vdc; not 1.408Vdc. Can you help me out here? Thanks!
The default range is 4.069 V so 1 bit corresponds to 4.096/32768 = 0.000125. The raw value of 11264 therefore correponds to 1.408 V.
Thanks! Most Appreciated.
In your code you are using ADS1015, not 1115. You loose 4 bits of precision (16 times less precise)
How you attach duppont cable into header ?
what is AN0 in raspberry pi GPIO pins
I'm getting an error python setup.py egg_info' failed with error code 1 for sysv-ipc when trying to install the adafruit package. Any ideas?
looks like by running the commands without 'sudo' everything worked. Not sure why, still new to this ecosystem.
Are all the gpios taken up by the hat? I intend to use this with a pump and relay
Hey thanks for the video can u save the output to a .CSV file so we can export the file and draw cool graphic design on it
what if there are 2 analog sensors to be connected?
1:50