Wiring up the MCP4725 breakout PCB is super easy. To start, we'll attach the breakout headers so we can plug it into a breadboard.
Break off a strip of 6-pins of 0.1" male header and stick the LONG pins down into a breadboard
Break off a strip of 6-pins of 0.1" male header and stick the LONG pins down into a breadboard
Solder each pin using a soldering iron and solder, to make solid connection on each pin.
This part is not optional! You cannot 'press fit' the header on, it must be attached permanently
This part is not optional! You cannot 'press fit' the header on, it must be attached permanently
Now that the header is attached, we can wire it up. We'll demonstrate using an Arduino
- Breakout VDD (power) to 5V if your microcontroller is 5V logic, or to 3V if your micro is 3V logic (red wire on STEMMA QT version)
- Breakout GND to microcontroller GND (black wire on STEMMA QT version)
- Breakout SDA to microcontroller I2C Data (blue wire on STEMMA QT version) (on the Uno, this is A4 on the Mega it is 20 and on the Leonardo digital 2)
- Breakout SCL to microcontroller I2C Clock (yellow wire on STEMMA QT version) (on the Uno, this is A5 on the Mega it is 21 and on the Leonardo digital 3)
There's two other pins remaining.
- A0 allow you to change the I2C address. By default (nothing attached to A0) the address is hex 0x62. If A0 is connected to VDD the address is 0x63. This lets you have two DAC boards connected to the same SDA/SCL I2C bus pins.
- VOUT is the voltage out from the DAC! The voltage will range from 0V (when the DAC value is 0) to VDD (when the DAC 'value' is the max 12-bit number: 0xFFF)
Page last edited March 08, 2024
Text editor powered by tinymce.