I have recently started on a project using the MCP4725, however, I have not been able to find much information about using the MCP4725. When I started to do some research on how to do it, there is not much good usable information. I am trying to build a simple program that is able to output a voltage if I give it a specific input step count (i.e. input: 4096, output: 5.5 Volts). I am just having some trouble setting up the I2C bus along with the MCP4725 specific parameters. Thank you all for your help, have a terrific day! ![]()
limitedbeyondlimits:
I have not been able to find much information about using the MCP4725.
Google something like "MCP4725 datasheet" or "MCP4725 Arduino library".
Lots of projects out there.
The MCP4725 outputs x/4096 of it supply.
So you don't get 0-5.5volt output, unless the supply is 5.5volt.
Leo..
I did it 10 moth ago - Arduino library for I²C MCP4725
-operating/reference voltage 2.7v - 5.5v
-output voltage from 0 to operating voltage
-maximum output current 25mA
-output impedance 1 Ohm
-maximum output load 1000pF/0.001μF in parallel with 5 kOhm
-voltage settling time 6 μsec - 10 μsec
-slew rate 0.55 V/μs
-add 100μF & 0.1 μF bypass capacitors within 4mm to Vdd
-device has 14-bit EEPROM with on-chip charge pump circuit for fail-safe writing
-estimated EEPROM endurance 1 million write cycles
-if Vdd < 2v all circuits & output disabled, when Vdd increases above Vpor device takes a reset
state & upload data from EEPROMSupports all MCP4725 features:
-Fast write
-Register read** & write
-EEPROM read** & write
-Power down
-General reset
-General wake-upTested on:
Arduino AVR
Arduino ESP8266
Arduino ESP32
Arduino STM32** Library returns 65535 if there is a communication error on the I²C bus