ADS1115 A/D Analog-to-Digital Small 16-Bit
4-channel ADS1115 ultra-small 16-bit high-precision analog-to-digital converter ADC development board module/โมดูลแปลงสัญญาณ Analog to Digital จำนวน 4 ช่อง ความละเอียด 16 บิต เชื่อมต่อแบบ I2C ใช้ไฟเลี้ยง 2.0 -5 .5 Volt
FEATURES DESCRIPTION
23 ULTRA-SMALL QFN PACKAGE: The ADS1113, ADS1114, and ADS1115 are
2mm 1,5mm 0,4mm precision analog-to-digital converters (ADCs) with 16
WIDE SUPPLY RANGE: 2.0V to 5.5V bits Of resolution offered in an ultra-small, leadless
LOW CURRENT CONSUMPTION: QFN-10 package or an MSOP-10 package. The ADS1113/4/5 are designed with precision, power, and
Continuous Mode: Only 150A ease of implementation in mind The ADS1113/4/5
Single-Shot Mode: Auto Shut-Down feature an onboard reference and oscillator. Data are
PROGRAMMABLE DATA RATE: transferred via an I2C-compatible serial interface; four
8SPS to 860SPS I2C slave addresses can be selected. The
INTERNAL LOW-DRIFT ADS1113/4/5 operate from a single power supply
VOLTAGE REFERENCE ranging from 2.0V to 5.5V.
INTERNAL OSCILLATOR The ADS1113/4/5 can perform conversions at rates
INTERNAL PGA up to 860 samples per second ( SPS). An onboard PGA is available on the ADS1114 and ADS1115 that
I2CTM INTERFACE: Pin-Selectable Addresses offers input ranges from the supply to as low as
FOUR SINGLE-ENDED OR TWO 256mV, allowing both large and small signals to BE
DIFFERENTIAL INPUTS (ADS1115) the Measured with High Resolution. at The ADS1115 Also
Features AN the INPUT Multiplexer (MUX) that the Provides TWO PROGRAMMABLE COMPARATOR Differential or at Four SINGLE-ended the Inputs.
(ADS1114 and ADS1115)
at The ADS1113 / 4/5 Operate either in the Continuous
APPLICATIONS conversion mode or a single-shot mode that
PORTABLE INSTRUMENTATION automatically powers down after a conversion and greatly reduces current consumption during idle
CONSUMER GOODS periods. The ADS1113/4/5 are specified from 40C
BATTERY MONITORING to +125 C.
Lib:
Example :
ทดสอบโดยใช้ 3.3 volt เป็น input ให้ ADS1115
#include #include
Adafruit_ADS1115 ads(0x48);
float Voltage = 0.0;
void setup(void)
{
Serial.begin(9600);
ads.begin();
}
void loop(void)
{
int16_t adc0; // we read from the ADC, we have a sixteen bit integer as a result
adc0 = ads.readADC_SingleEnded(0);
Voltage = (adc0 * 0.1875)/1000;
Serial.print(“AIN0: “);
Serial.print(adc0);
Serial.print(“tVoltage: “);
Serial.println(Voltage, 7);
Serial.println();
delay(1000);
}