ESP32 KY-053 Analog Digital Converter Module

KY-053 Analog Digital Converter Module image

KY-053

Protocol: I2C

Overview

The KY-053 is an analog-to-digital converter module featuring the ADS1115 ADC. It provides four 16-bit resolution channels and communicates via the I²C interface. This module is ideal for expanding the analog input capabilities of microcontrollers and single-board computers, enabling precise voltage measurements in various applications.

About KY-053 Analog Digital Converter Module

The KY-053 module is an analog-to-digital converter (ADC) that allows for precise measurement of analog voltage values on up to 4 inputs. It communicates via the I²C bus, making it compatible with various microcontrollers and single-board computers, including Arduino and Raspberry Pi. With a resolution of up to 16 bits and programmable sampling rates ranging from 8 to 860 samples per second (SPS), it is suitable for applications requiring accurate analog measurements.

Technical Specifications

ADC Channels 4
Resolution per Channel 16 Bit
Programmable Sampling Rate 8 to 860 SPS
Operating Voltage 2 V to 5.5 V
Analog Input Voltage 0 V to Operating Voltage
I²C Logic Voltage 0 V to 5.5 V
I²C Address 0x48 to 0x4B (configurable via ADDR pin)
Typical Operating Current 150 μA
Dimensions 18 x 28 mm

Pinout Configuration

The VCC pin is used to supply power to the sensor, and it typically requires 3.3V or 5V (refer to the datasheet for specific voltage requirements). The GND pin is the ground connection and must be connected to the ground of your ESP32.

  • VDD: Power supply pin, can be connected to 2V to 5.5V.
  • GND: Ground pin.
  • SCL: I²C clock line.
  • SDA: I²C data line.
  • ADDR: Used to select the I²C slave address.
  • ALRT: Sends a signal when the conversion is ready or when the comparator output is ready.
  • A0 - A3: Analog inputs for voltage measurement.

Wiring with ESP32

  • VDD: Connect to 3.3V or 5V on the microcontroller.
  • GND: Connect to the ground of the microcontroller.
  • SCL: Connect to the SCL pin of the microcontroller (e.g., GPIO22 on ESP32).
  • SDA: Connect to the SDA pin of the microcontroller (e.g., GPIO21 on ESP32).
  • ADDR: Connect to GND, VDD, SDA, or SCL to set the I²C address (0x48 to 0x4B).
  • ALRT: Optional, can be used to monitor conversion readiness.
  • A0 - A3: Connect to analog signal sources to be measured.

Troubleshooting Guide

Common Issues

❌ Module Not Detected

⚡ Incorrect Voltage Readings

Debugging Tips

🔍 Serial Monitor

⚡ Voltage Checks

Code Examples

Arduino Example

C++
🔧

ESP-IDF Example

C++
🏠

ESPHome Example

YAML
🛠️

PlatformIO Example

C++
🐍

MicroPython Example

Python

Conclusion

The ESP32 KY-053 Analog Digital Converter Module is a powerful KY-0xx module sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.