MCP4728 12-Bit 4-Channel DAC Module - I2C Interface
Open this project in the Soldr app → What is Soldr.ai → wiring, code and test steps for exactly these parts
MCP4728 12-Bit 4-Channel DAC with I2C and EEPROM
The MCP4728 is a quad-channel, 12-bit digital-to-analog converter with on‑board EEPROM and an I2C interface. It provides four independent analog voltage outputs from a single device, making it ideal for precision control applications such as sensor simulation, waveform generation, and voltage calibration. With built‑in reference options and low power consumption, it integrates seamlessly into microcontroller projects.
Key Specifications
| Specification | Value |
|---|---|
| Resolution | 12 bits |
| Channels | 4 |
| Interface | I2C (address selectable via A0 pin) |
| Supply Voltage | 2.7V to 5.5V |
| Internal Reference | 2.048V internal or VDD, selected per channel in software (no VREF pin) |
| EEPROM | Integrated (stores DAC settings) |
What You Can Build With This
- Programmable multi‑channel voltage source for testing
- Audio waveform generator (e.g., sine, square, triangle)
- Sensor output simulator (e.g., pressure, temperature)
- Precision LED brightness control with multiple independent channels
Compatibility
This DAC operates on 3.3V and 5V logic, making it fully compatible with Arduino, Raspberry Pi, ESP32, and any microcontroller that supports I2C. The module works out of the box with the standard Wire library on Arduino and the smbus2 library on Raspberry Pi.
Wiring Notes
Connect VCC to 3.3V or 5V, GND to ground, and SDA/SCL to your microcontroller's I2C pins. The module includes onboard pull‑up resistors, so external pull‑ups are not required for most setups. Each channel's reference is the internal 2.048V or VDD, selected in software; there is no VREF pin.
Is this compatible with Arduino?
Yes, the MCP4728 module works directly with Arduino using the Wire library. Set the I2C address (default 0x60) and send 12‑bit values for each channel.
Can I use an external voltage reference?
Only VDD. There is no VREF pin: each channel uses the internal 2.048V reference or VDD, selected per channel in software.
Does it retain settings after power is removed?
Yes. The integrated EEPROM stores DAC register values and configuration bits, so your last settings are restored upon power-up if saved before shutdown.
Free Setup Handoff Document Included
Every Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.
What you can build with this
Shipping Information
- Prepaid Orders: ₹45 for orders up to ₹1,999, FREE shipping above ₹1,999
- COD Orders: ₹45 shipping for orders up to ₹1,999, FREE shipping above ₹1,999. COD available.
- Delivery Timeline: Dispatch in 3-7 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items