Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use FDC1004: Examples, Pinouts, and Specs

Image of FDC1004Design with FDC1004 in Cirkit Designer

Introduction

The FDC1004, manufactured by Protocentral (Part ID: FDC), is a high-precision capacitance-to-digital converter (CDC) designed to measure capacitance with exceptional accuracy and resolution. This component is ideal for applications requiring precise capacitive sensing, such as proximity sensing, liquid level sensing, and touch sensing. Its advanced features and ease of integration make it a popular choice for both industrial and consumer electronics.

Explore Projects Built with FDC1004

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 NFC-Enabled Access Control System with Time Logging: A project utilizing FDC1004 in a practical application
NFC-Enabled Access Control System with Time Logging

This circuit is designed for access control with time tracking capabilities. It features an NFC/RFID reader for authentication, an RTC module (DS3231) for real-time clock functionality, and an OLED display for user interaction. A 12V relay controls a magnetic lock, which is activated upon successful NFC/RFID authentication, and a button switch is likely used for manual operation or input. The T8_S3 microcontroller serves as the central processing unit, interfacing with the NFC/RFID reader, RTC, OLED, and relay to manage the access control logic.

Open Project in Cirkit Designer
Image of NFC-Enabled Access Control System with Real-Time Clock and OLED Display: A project utilizing FDC1004 in a practical application
NFC-Enabled Access Control System with Real-Time Clock and OLED Display

This circuit is designed as an access control system with time-tracking capabilities. It uses an NFC/RFID reader for authentication, a real-time clock for time-stamping events, and an OLED display for user interface, all controlled by a T8_S3 microcontroller. A relay module actuates a magnetic lock, and a button switch provides additional user input, with a switching power supply delivering the necessary voltages.

Open Project in Cirkit Designer
Image of STM32 Nucleo F303RE Controlled Ultrasonic Sensing with RGB Feedback and I2C LCD Display: A project utilizing FDC1004 in a practical application
STM32 Nucleo F303RE Controlled Ultrasonic Sensing with RGB Feedback and I2C LCD Display

This circuit features a STM32 Nucleo F303RE microcontroller interfaced with three HC-SR04 ultrasonic sensors for distance measurement and a 20x4 LCD display over I2C for data output. Additionally, there is a WS2812 RGB LED strip controlled by the microcontroller for visual feedback. The power supply provides a common 5V to the LCD, ultrasonic sensors, LED strip, and the microcontroller's +5V input, with all components sharing a common ground.

Open Project in Cirkit Designer

Common Applications

Technical Specifications

The FDC1004 offers robust performance and flexibility for capacitive sensing applications. Below are its key technical details:

Key Features

Pin Configuration

The FDC1004 is typically available in a 10-pin package. Below is the pinout and description:

Pin Name Description
1 VDD Power supply input (3.3V to 5.5V).
2 GND Ground connection.
3 SDA I²C data line for communication.
4 SCL I²C clock line for communication.
5 CAP1 Capacitive input channel 1.
6 CAP2 Capacitive input channel 2.
7 CAP3 Capacitive input channel 3.
8 CAP4 Capacitive input channel 4.
9 SHLD1 Shield driver output for CAP1 and CAP2.
10 SHLD2 Shield driver output for CAP3 and CAP4.

Usage Instructions

The FDC1004 is straightforward to use in capacitive sensing applications. Below are the steps and best practices for integrating it into your circuit.

Circuit Integration

  1. Power Supply: Connect the VDD pin to a stable 3.3V or 5.5V power source and the GND pin to ground.
  2. I²C Communication: Connect the SDA and SCL pins to the corresponding I²C pins on your microcontroller. Use pull-up resistors (typically 4.7 kΩ) on both lines.
  3. Capacitive Inputs: Connect the capacitive sensors to the CAP1–CAP4 pins. For differential measurements, use pairs of these pins.
  4. Shielding: Use the SHLD1 and SHLD2 pins to drive shields for the capacitive sensors, reducing noise and interference.

Important Considerations

Example Code for Arduino UNO

Below is an example of how to interface the FDC1004 with an Arduino UNO to read capacitance values:

#include <Wire.h>

// FDC1004 I2C address
#define FDC1004_ADDRESS 0x50

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

  // Configure FDC1004 (example: set measurement channel and rate)
  Wire.beginTransmission(FDC1004_ADDRESS);
  Wire.write(0x08); // Address of the configuration register
  Wire.write(0x1C); // Example configuration: enable CAP1, 100 Hz sampling
  Wire.endTransmission();
}

void loop() {
  // Request capacitance measurement from FDC1004
  Wire.beginTransmission(FDC1004_ADDRESS);
  Wire.write(0x00); // Address of the data register
  Wire.endTransmission();

  Wire.requestFrom(FDC1004_ADDRESS, 2); // Request 2 bytes of data
  if (Wire.available() == 2) {
    uint16_t data = Wire.read() << 8 | Wire.read(); // Combine MSB and LSB
    float capacitance = data * 0.000015; // Convert to pF (example scaling factor)
    Serial.print("Capacitance: ");
    Serial.print(capacitance);
    Serial.println(" pF");
  }

  delay(100); // Wait before the next measurement
}

Best Practices

Troubleshooting and FAQs

Common Issues

  1. No I²C Communication:

    • Cause: Incorrect wiring or missing pull-up resistors.
    • Solution: Verify SDA and SCL connections and ensure pull-up resistors are present.
  2. Inaccurate Measurements:

    • Cause: Environmental noise or improper shielding.
    • Solution: Use the integrated shield driver and ensure proper grounding.
  3. Device Not Detected on I²C Bus:

    • Cause: Address conflict or incorrect I²C address.
    • Solution: Check the FDC1004's I²C address and ensure no conflicts with other devices.

FAQs

By following this documentation, you can effectively integrate the FDC1004 into your projects and achieve precise capacitive sensing.