#104 ADS1115 Analog-to-Digital Converter for Arduino, Pi 🥧& All (2018)
New! https://ralphbacon.blog
The analog accuracy and sensitivity of the standard Uno / Nano pins is about 5mv per 'step' that we can read from executing an AnalogRead. Fine for many purposes but not so great if you're trying to measure at sub-millivolt levels. And if you have an ESP8266 with just one input, or a Raspberry Pi with no analog pins at all this could be the answer you're looking for.
Enter the ADS1115 analog-to-digital I2C converter with a maximum resolution of 0.184mV per 'step', although as this device has a Programmable Gain Amplifier (PGA) on board it's easy to change that.
Nothing is perfect, though, so watch the video for some gotchas and coding techniques we can use to maximize the usefulness of this I2C (two-wire) device.
Sketch used in the demo (including the averaging function) is in the Github.
https://github.com/RalphBacon/ADS1115-ADC
Where I bought my ADS1115 ADC
https://www.aliexpress.com/item/ADS1115-ADC-ultra-compact-16-precision-ADC-module-development-board/32313388618.html
Adafruit do a library and everything! Not used in this demo but doubtless worth a look.
https://www.adafruit.com/product/1085
https://learn.adafruit.com/adafruit-4-channel-adc-breakouts?view=all
Datasheet is in the GitHub, worth reading the bit about registers.
https://github.com/RalphBacon/ADS1115-ADC
Видео #104 ADS1115 Analog-to-Digital Converter for Arduino, Pi 🥧& All (2018) канала Ralph S Bacon
The analog accuracy and sensitivity of the standard Uno / Nano pins is about 5mv per 'step' that we can read from executing an AnalogRead. Fine for many purposes but not so great if you're trying to measure at sub-millivolt levels. And if you have an ESP8266 with just one input, or a Raspberry Pi with no analog pins at all this could be the answer you're looking for.
Enter the ADS1115 analog-to-digital I2C converter with a maximum resolution of 0.184mV per 'step', although as this device has a Programmable Gain Amplifier (PGA) on board it's easy to change that.
Nothing is perfect, though, so watch the video for some gotchas and coding techniques we can use to maximize the usefulness of this I2C (two-wire) device.
Sketch used in the demo (including the averaging function) is in the Github.
https://github.com/RalphBacon/ADS1115-ADC
Where I bought my ADS1115 ADC
https://www.aliexpress.com/item/ADS1115-ADC-ultra-compact-16-precision-ADC-module-development-board/32313388618.html
Adafruit do a library and everything! Not used in this demo but doubtless worth a look.
https://www.adafruit.com/product/1085
https://learn.adafruit.com/adafruit-4-channel-adc-breakouts?view=all
Datasheet is in the GitHub, worth reading the bit about registers.
https://github.com/RalphBacon/ADS1115-ADC
Видео #104 ADS1115 Analog-to-Digital Converter for Arduino, Pi 🥧& All (2018) канала Ralph S Bacon
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Arduino, ADS1115 16-Bit ADC with I2C Bus and Adafruit Library – The Details#219 Generating sounds 🎵 from the PICO! But is it music to my 👂 ears?#340 How good are the ADCs inside Arduinos, ESP8266, and ESP32? And extenal ADCs (ADS1115)#99 Logic Analyzer for I2C, SPI and many more protocolsRaspberry Pi Analog Water Sensors ADC TutorialHow to Use the LCD1602 I2C Display with Raspberry Pi (Python Tutorial with Multi-Threading)#71 How to create an Arduino Library - easy!#108 Breadboard gripes 😡 plus Mega 2560 PRO (Eclipse version)Electronic Basics #27: ADC (Analog to Digital Converter)#18 ADS1115 Analog-to-Digital Converter Tutorial#186 Measure Current with an Arduino - Digital or Analog? Easy!#119 Bootloader Shield 🛡️ and 8Mhz Arduino Barebones (made easy)Measure DC Voltage and Current with ArduinoArduino and Raspberry Pi, working together over a serial communication. Step-by-step tutorial (UART)#96 Rotary Encoder Update - Stepless & Software Debounced#173 ATTiny85 Power On Off ShutdownRaspberry Pi: Using GPIO InputsHow I2C Communication Works and How To Use It with ArduinoTUTORIAL: How to / About the ADS1115 External 16 Bit ADC - Part 2#224 🛑 STOP using Serial.print in your Arduino code! THIS is better.