Comments: MCP4725 Digital to Analog Converter Hookup Guide

Pages

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • -------------------- Tech Support Tips/Troubleshooting/Common Issues --------------------

    Using Multiple MCP4725s

    To use more than one MCP4725, you will need to modify the solder jumper on the ADDR pin to change address and disable a few pull-up resistors as explained in the tutorial. By writing a few more lines of code, you should be able to talk to multiple MCP4725s. There is also a note in the datasheet on page 1 and 27 [ https://cdn.sparkfun.com/datasheets/BreakoutBoards/MCP4725_2009.pdf ]. It looks like you can only change the MCP4725 to one of two I2C address since two bits are set by the factory. Therefore, it appears that you can only have 2x MCP4725s on the same I2C bus:

    I2C Address    
    GND = 1100 00 0 (0x60) (DEFAULT)
    VCC = 1100 00 1 (0x61) 
    

    If you require more than two MCP4725, you could try to use the software I2C [ http://playground.arduino.cc/Main/SoftwareI2CLibrary ] or use a dedicated I2C mux like the PCA9548A [Qwiic Mux - PCA9548A - https://www.sparkfun.com/products/14293 or Qwiic Mux Shield for Arduino - PCA9548A - https://www.sparkfun.com/products/14257 ]. Please be aware of the note for the SparkX product.


If you've found an issue with this tutorial content, please send us your feedback!