Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use AD7745: Examples, Pinouts, and Specs

Image of AD7745
Cirkit Designer LogoDesign with AD7745 in Cirkit Designer

Introduction

The AD7745 is a high-precision capacitive-to-digital converter (CDC) manufactured by Analog Devices. It is designed to measure small changes in capacitance with high accuracy and resolution. The device features a low-noise architecture and is ideal for applications requiring precise capacitive sensing.

Explore Projects Built with AD7745

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
LD1117 Voltage Regulator Circuit with Input and Output Capacitors
Image of regulator: A project utilizing AD7745 in a practical application
This circuit is designed to provide a stable output voltage from an input voltage source. It uses an LD1117 voltage regulator in conjunction with an electrolytic capacitor on the input side and a tantalum capacitor on the output side to filter noise and stabilize the voltage. The common ground ensures a reference point for all components.
Cirkit Designer LogoOpen Project in Cirkit Designer
Bluetooth-Enabled Audio Amplifier System with Subwoofer and Cooling Fan
Image of 2.1 120w amplifier: A project utilizing AD7745 in a practical application
This circuit is a Bluetooth-enabled audio amplifier system with a subwoofer pre-amp and dual 8-ohm speakers. It includes a 12V power supply, a 7805 voltage regulator, and a cooling fan, with a toggle switch to control power. The Bluetooth module provides audio input to the amplifiers, which drive the speakers and subwoofer.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Pro Mini FM Radio with LCD Display and Battery Power
Image of DIY FM Radio RDA5807M V2: A project utilizing AD7745 in a practical application
This circuit is a portable FM radio receiver with an integrated display and audio output. It uses an Arduino Pro Mini to control an RDA5807M FM receiver module, an ADS1115 ADC for additional analog inputs, and a PAM8403 amplifier to drive loudspeakers. The circuit also includes a rotary encoder for user input, an LCD screen for displaying information, and a boost converter for power management.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Powered Wi-Fi Controlled Robotic Car with OLED Display and Ultrasonic Sensor
Image of playbot: A project utilizing AD7745 in a practical application
This circuit is a battery-powered system featuring an ESP32 microcontroller that controls an OLED display, a motor driver for two hobby motors, an ultrasonic sensor for distance measurement, and a DFPlayer Mini for audio output through a loudspeaker. The TP4056 module manages battery charging, and a step-up boost converter provides a stable 5V supply to the components.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with AD7745

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of regulator: A project utilizing AD7745 in a practical application
LD1117 Voltage Regulator Circuit with Input and Output Capacitors
This circuit is designed to provide a stable output voltage from an input voltage source. It uses an LD1117 voltage regulator in conjunction with an electrolytic capacitor on the input side and a tantalum capacitor on the output side to filter noise and stabilize the voltage. The common ground ensures a reference point for all components.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of 2.1 120w amplifier: A project utilizing AD7745 in a practical application
Bluetooth-Enabled Audio Amplifier System with Subwoofer and Cooling Fan
This circuit is a Bluetooth-enabled audio amplifier system with a subwoofer pre-amp and dual 8-ohm speakers. It includes a 12V power supply, a 7805 voltage regulator, and a cooling fan, with a toggle switch to control power. The Bluetooth module provides audio input to the amplifiers, which drive the speakers and subwoofer.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of DIY FM Radio RDA5807M V2: A project utilizing AD7745 in a practical application
Arduino Pro Mini FM Radio with LCD Display and Battery Power
This circuit is a portable FM radio receiver with an integrated display and audio output. It uses an Arduino Pro Mini to control an RDA5807M FM receiver module, an ADS1115 ADC for additional analog inputs, and a PAM8403 amplifier to drive loudspeakers. The circuit also includes a rotary encoder for user input, an LCD screen for displaying information, and a boost converter for power management.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of playbot: A project utilizing AD7745 in a practical application
ESP32-Powered Wi-Fi Controlled Robotic Car with OLED Display and Ultrasonic Sensor
This circuit is a battery-powered system featuring an ESP32 microcontroller that controls an OLED display, a motor driver for two hobby motors, an ultrasonic sensor for distance measurement, and a DFPlayer Mini for audio output through a loudspeaker. The TP4056 module manages battery charging, and a step-up boost converter provides a stable 5V supply to the components.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications:

  • Touch sensing for user interfaces
  • Liquid level detection in industrial and medical systems
  • Proximity sensing for automation and robotics
  • Pressure sensing and humidity measurement (when paired with external sensors)

Technical Specifications

The following table outlines the key technical details of the AD7745:

Parameter Value
Supply Voltage (VDD) 2.7 V to 5.25 V
Capacitance Measurement Range ±4 pF (with 17-bit resolution)
Capacitance Resolution 4 aF (femtofarads)
Interface I²C (up to 400 kHz)
Operating Temperature Range -40°C to +85°C
Power Consumption 1 mA (typical) at 3.3 V
Package Type 16-lead TSSOP (AD7745BRUZ)

Pin Configuration and Descriptions

The AD7745 is housed in a 16-lead TSSOP package. Below is the pin configuration and description:

Pin Number Pin Name Description
1 VDD Positive power supply (2.7 V to 5.25 V).
2 GND Ground reference.
3 SCL I²C clock input.
4 SDA I²C data input/output.
5 CAPDAC1 Capacitance-to-digital converter input (Channel 1).
6 CAPDAC2 Capacitance-to-digital converter input (Channel 2).
7 EXC1 Excitation output for capacitive sensing.
8 EXC2 Excitation output for capacitive sensing.
9 NC No connection (leave unconnected).
10 NC No connection (leave unconnected).
11 ADDR I²C address selection pin.
12 NC No connection (leave unconnected).
13 NC No connection (leave unconnected).
14 NC No connection (leave unconnected).
15 NC No connection (leave unconnected).
16 NC No connection (leave unconnected).

Note: Pins labeled as "NC" should not be connected to any signal or power line.

Usage Instructions

How to Use the AD7745 in a Circuit

  1. Power Supply: Connect the VDD pin to a stable power supply (2.7 V to 5.25 V) and the GND pin to the ground.
  2. I²C Communication: Connect the SCL and SDA pins to the corresponding I²C lines of your microcontroller. Use pull-up resistors (typically 4.7 kΩ) on both lines.
  3. Capacitive Sensing: Connect the capacitive sensor to the CAPDAC1 or CAPDAC2 pin. Use the EXC1 and EXC2 pins to provide the excitation signal for the sensor.
  4. I²C Address: Configure the I²C address using the ADDR pin. Refer to the datasheet for address selection details.
  5. Bypass Capacitor: Place a 0.1 µF ceramic capacitor close to the VDD pin for power supply decoupling.

Important Considerations and Best Practices

  • Ensure that the capacitive sensor is properly shielded to minimize noise and interference.
  • Use short and low-impedance connections for the capacitive sensor to maintain measurement accuracy.
  • Avoid placing the AD7745 near high-frequency switching components to reduce noise coupling.
  • Configure the device registers via I²C to set the desired measurement mode and resolution.

Example: Connecting the AD7745 to an Arduino UNO

Below is an example of how to interface the AD7745 with an Arduino UNO using the I²C protocol:

Circuit Connections:

  • VDD: Connect to the Arduino's 3.3 V pin.
  • GND: Connect to the Arduino's GND pin.
  • SCL: Connect to the Arduino's A5 pin (I²C clock).
  • SDA: Connect to the Arduino's A4 pin (I²C data).
  • CAPDAC1: Connect to the capacitive sensor.
  • EXC1: Connect to the excitation electrode of the capacitive sensor.

Arduino Code:

#include <Wire.h> // Include the Wire library for I²C communication

#define AD7745_ADDRESS 0x48 // Default I²C address of the AD7745

void setup() {
  Wire.begin(); // Initialize I²C communication
  Serial.begin(9600); // Initialize serial communication for debugging

  // Configure the AD7745
  Wire.beginTransmission(AD7745_ADDRESS);
  Wire.write(0x07); // Point to the configuration register
  Wire.write(0x30); // Set the device to continuous conversion mode
  Wire.endTransmission();

  Serial.println("AD7745 initialized.");
}

void loop() {
  // Read capacitance data from the AD7745
  Wire.beginTransmission(AD7745_ADDRESS);
  Wire.write(0x01); // Point to the capacitance data register
  Wire.endTransmission();

  Wire.requestFrom(AD7745_ADDRESS, 3); // Request 3 bytes of data
  if (Wire.available() == 3) {
    uint8_t msb = Wire.read(); // Most significant byte
    uint8_t lsb = Wire.read(); // Least significant byte
    uint8_t status = Wire.read(); // Status byte

    // Combine the MSB and LSB to form the 16-bit capacitance value
    int16_t capacitance = (msb << 8) | lsb;

    // Print the capacitance value
    Serial.print("Capacitance: ");
    Serial.print(capacitance);
    Serial.println(" (raw value)");
  }

  delay(500); // Wait for 500 ms before the next reading
}

Note: The above code assumes the AD7745 is configured with its default I²C address (0x48). Adjust the address if necessary.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Response from the AD7745 on the I²C Bus:

    • Ensure the pull-up resistors (4.7 kΩ) are connected to the SCL and SDA lines.
    • Verify the I²C address matches the configuration of the ADDR pin.
    • Check the power supply voltage (VDD) and ensure it is within the specified range.
  2. Inaccurate Capacitance Measurements:

    • Verify that the capacitive sensor is properly connected to the CAPDAC1 or CAPDAC2 pin.
    • Minimize noise by shielding the sensor and using short connections.
    • Ensure the excitation signal (EXC1/EXC2) is properly configured.
  3. High Noise in Measurements:

    • Place a bypass capacitor (0.1 µF) close to the VDD pin.
    • Avoid placing the AD7745 near high-frequency switching components.

FAQs

Q1: Can the AD7745 measure differential capacitance?
A1: Yes, the AD7745 can measure differential capacitance using its two input channels (CAPDAC1 and CAPDAC2).

Q2: What is the maximum capacitance range the AD7745 can measure?
A2: The AD7745 can measure capacitance changes within a range of ±4 pF with a resolution of 4 aF.

Q3: Can the AD7745 operate at 5 V?
A3: Yes, the AD7745 supports a supply voltage range of 2.7 V to 5.25 V.

Q4: Is the AD7745 suitable for battery-powered applications?
A4: Yes, the AD7745 has low power consumption (1 mA typical), making it suitable for battery-powered systems.