# Adafruit AD5693R 16-Bit DAC Breakout Board

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/124/728/medium800/adafruit_products_5811-04.jpg?1695818816)

Which is better, less bits or more? MORE of course! So why settle for a 12-bit DAC like the [MCP4725](https://www.adafruit.com/product/935) when you can go for the 16-bits of the AD5693? OK, well there may be some reason to go with 12-bits, say if you don't need high resolution output and want to go with the more affordable DAC. But for those who like the finer things in life, the **Adafruit AD5693R Breakout Board is a 16-Bit DAC with I2C Interface** and temperature compensated 2.5V internal reference for a compact high-precision output.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/729/medium800/adafruit_products_5811-02.jpg?1695818889)

We break out the ADDR/A0 pin so you can connect two of these DACs on one I2C bus, just tie the A0 pin high (or close the jumper on the back) to keep it from conflicting. Also included is a 6-pin header, for use in a breadboard. Works with both 3.3V or 5V logic, and you can have the output max out at 2.5V or 5V (2xVref). If you're powering from 3.3V, you will be able to set the output range to 2.5V or Vin.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/730/medium800/adafruit_products_5811-03.jpg?1695818939)

[We have an easy-to-use Arduino library and tutorial with a sine-wave output example](https://github.com/adafruit/Adafruit_AD569x/tree/main) that can be used with just about any microcontroller or microcomputer with I2C host.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/731/medium800/adafruit_products_5811-01.jpg?1695818972)

Comes with a bit of 0.1" standard header in case you want to use it with a breadboard or perfboard. Four mounting holes for easy attachment. There's an _optional_ 3.5mm terminal block spot on the PCB - [we don't include a 3.5mm terminal block but they're both common and stocked in the shop](https://www.adafruit.com/product/724) - that you can solder in place if you like.

To get you going fast, we spun up a custom-made PCB in the[&nbsp; **STEMMA QT** form factor](https://www.adafruit.com/?q=stemma%20qt%20sensor "STEMMA QT form factor"), making it easy to interface with. The [STEMMA QT connectors](https://learn.adafruit.com/introducing-adafruit-stemma-qt/what-is-stemma-qt) on either side are compatible with the [SparkFun Qwiic](https://www.sparkfun.com/qwiic)&nbsp;I2C connectors. This allows you to make solderless connections between your development board and the AD5693R or to chain it with a wide range of other sensors and accessories using a [**compatible cable**](https://www.adafruit.com/?q=stemma%20qt%20cable).

# Adafruit AD5693R 16-Bit DAC Breakout Board

## Pinouts

![](https://cdn-learn.adafruit.com/assets/assets/000/124/735/medium800/adafruit_products_double.jpg?1695912396)

The default I2C address is **0x4C**.

## Power Pins

- **VIN** &nbsp;- this is the power pin. Since the DAC chip uses 3-5 VDC to power the board, give it the same power as the logic level of your microcontroller - e.g. for a 5V micro like Arduino, use 5V.  
- **VREF** - this is the voltage reference pin.&nbsp;
- **GND** &nbsp;- common ground for power and logic.

## I2C Logic Pins

- **SCL** - I2C clock pin, connect to your microcontroller's I2C clock line. This pin can use 3-5V logic, and there's a **10K pullup** on this pin.
- **SDA** - I2C data pin, connect to your microcontroller's I2C data line. This pin can use 3-5V logic, and there's a **10K pullup** on this pin.
- **[STEMMA QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt) -** These connectors allow you to connectors to dev boards with **STEMMA QT** connectors or to other things with [various associated accessories](https://www.adafruit.com/?q=JST%20SH%204)

## DAC Output

- **+** - The analog voltage output from the DAC.

## Address Pin and Jumper

- **A0** - The address pin for setting the I2C address. You can chain up to two of these boards together on one I2C bus. Leave this pin **low** for default I2C address **0x4C** or tie it **high** for I2C address **0x4E**.
- **0x4E Jumper** - On the back of the board is the address jumper, labeled **0x4E**. You can leave this jumper open (low) to keep the board on the default I2C address 0x4C. Solder the jumper closed (high) to change the I2C address to 0x4E.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/766/medium800/adafruit_products_i2c_table.png?1695999061)

## LDAC Pin

- **LDAC** - The load DAC pin. Transfers the content of the input register to the DAC register. The pin is tied to ground, allowing the DAC to update when new data is written to the input register.

## Power LED

- **Power LED -** In the upper left corner, above the STEMMA connector, on the front of the board, is the power LED, labeled **on**. It is the green LED.

# Adafruit AD5693R 16-Bit DAC Breakout Board

## CircuitPython and Python

It's easy to use the **AD5693R** with Python or CircuitPython, and the [Adafruit\_CircuitPython\_AD569x](https://github.com/adafruit/Adafruit_CircuitPython_AD569x) module. This module allows you to easily write Python code to control the DAC.

You can use this driver with any CircuitPython microcontroller board or with a computer that has GPIO and Python [thanks to Adafruit\_Blinka, our CircuitPython-for-Python compatibility library](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux).

## CircuitPython Microcontroller Wiring

First wire up the breakout to your board exactly as follows. The following is the breakout wired to a Feather RP2040 using the STEMMA connector:

- **Board STEMMA 3V** to **breakout VIN (red wire)**
- **Board STEMMA GND** to **breakout**** &nbsp;GND (black wire)**
- **Board STEMMA SCL** to **breakout**** &nbsp;SCL (yellow wire)**
- **Board STEMMA SDA** to **breakout**** &nbsp;SDA (blue wire)**

The signal will be output from the DAC **Vout (+)** pin.

![adafruit_products_feather_stemma_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/125/043/medium640/adafruit_products_feather_stemma_bb.jpg?1696949677)

The following is the breakout wired to a Feather RP2040 using a solderless breadboard:

- **Board 3V** to **breakout VIN (red wire)**
- **Board GND** to **breakout**** &nbsp;GND (black wire)**
- **Board SCL** to **breakout**** &nbsp;SCL (yellow wire)**
- **Board SDA** to **breakout**** &nbsp;SDA (blue wire)**

The signal will be output from the DAC **Vout (+)** pin.

![adafruit_products_feather_bb_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/125/044/medium640/adafruit_products_feather_bb_bb.jpg?1696949689)

## Python Computer Wiring

Since there are _dozens_ of Linux computers/boards you can use, we will show wiring for Raspberry Pi. For other platforms, [please visit the guide for CircuitPython on Linux to see whether your platform is supported](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux).

Here's the Raspberry Pi wired with I2C using the STEMMA connector:

- **Pi 3V** to **breakout** **VIN (red wire)**
- **Pi GND** to **breakout** **GND (black wire)**
- **Pi SCL** to **breakout** **SCL (yellow wire)**
- **Pi SDA** to **breakout** **SDA (blue wire)**

The signal will be output from the DAC **Vout (+)** pin.

![adafruit_products_piStemma_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/125/045/medium640/adafruit_products_piStemma_bb.jpg?1696949704)

Here's the Raspberry Pi wired with I2C using a solderless breadboard:

- **Pi 3V** to **breakout** **VIN (red wire)**
- **Pi GND** to **breakout** **GND (black wire)**
- **Pi SCL** to **breakout&nbsp;SCL (yellow wire)**
- **Pi SDA** to **breakout** **SDA (blue wire)**

The signal will be output from the DAC **Vout (+)** pin.

![adafruit_products_piBB_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/125/046/medium640/adafruit_products_piBB_bb.jpg?1696949722)

## Python Installation of AD569x Library

You'll need to install the **Adafruit\_Blinka** library that provides the CircuitPython support in Python. This may also require enabling I2C on your platform and verifying you are running Python 3. [Since each platform is a little different, and Linux changes often, please visit the CircuitPython on Linux guide to get your computer ready](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux)!

Once that's done, from your command line run the following command:

- `pip3 install adafruit-circuitpython-ad569x`

If your default Python is version 3 you may need to run 'pip' instead. Just make sure you aren't trying to use CircuitPython on Python 2.x, it isn't supported!

## CircuitPython Usage

To use with CircuitPython, you need to first install the **Adafruit\_CircuitPython\_AD569x** library, and its dependencies, into the **lib** folder on your **CIRCUITPY** drive. Then you need to update **code.py** with the example script.

Thankfully, we can do this in one go. In the example below, click the **Download Project Bundle** button below to download the necessary libraries and the **code.py** file in a zip file. Extract the contents of the zip file, and copy the **entire**  **lib**  **folder** and the **code.py** file to your **CIRCUITPY** drive.

Your **CIRCUITPY/lib** folder should contain the following folders and file:

- **adafruit\_bus\_device/**
- **adafruit\_register/**
- **adafruit\_ad569x.mpy**

![CIRCUITPY](https://adafruit.github.io/Adafruit_CircuitPython_Bundle/ad569x_ad569x_simpletest.py.png )

## Python Usage

Once you have the library `pip3` installed on your computer, copy or download the following example to your computer, and run the following, replacing **code.py** with whatever you named the file:

`python3 code.py`

## Example Code

**If running CircuitPython:** Once everything is saved to the **CIRCUITPY** drive, [connect to the serial console](https://learn.adafruit.com/welcome-to-circuitpython/kattni-connecting-to-the-serial-console) to see the data printed out!

**If running Python:** The console output will appear wherever you are running Python.

https://github.com/adafruit/Adafruit_CircuitPython_AD569x/blob/main/examples/ad569x_simpletest.py

The AD5693 is initialized over I2C. Then in the loop, a sine wave is output to the DAC. If you connect the DAC output to a scope or other analog visualizer, you will see the sine wave displayed.

![](https://cdn-learn.adafruit.com/assets/assets/000/125/029/medium800/adafruit_products_DS1Z_QuickPrint1.png?1696864020)

# Adafruit AD5693R 16-Bit DAC Breakout Board

## Python Docs

# Adafruit AD5693R 16-Bit DAC Breakout Board

## Arduino

Using the AD5693R breakout with Arduino involves wiring up the breakout to your Arduino-compatible microcontroller, installing the [Adafruit\_AD569x](https://github.com/adafruit/Adafruit_AD569x) library, and running the provided example code.

## Wiring

Wire as shown for a **5V** board like an Uno. If you are using a **3V** board, like an Adafruit Feather, wire the board's 3V pin to the breakout VIN.

Here is an Adafruit Metro wired up to the breakout using the STEMMA QT connector:

- **Board 5V** to **breakout** **VIN (red wire)**  
- **Board GND** to **breakout** **GND (black wire)**  
- **Board SCL** to **breakout** **SCL (yellow wire)**  
- **Board SDA** to **breakout** **SDA (blue wire)**

The signal will be output from the DAC **Vout** ( **+** ) pin.

![adafruit_products_metro_stemma_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/124/767/medium640/adafruit_products_metro_stemma_bb.jpg?1696000495)

Here is an Adafruit Metro wired up using a solderless breadboard:

- **Board 5V** to **breakout** **VIN (red wire)**  
- **Board GND** to **breakout** **GND (black wire)**  
- **Board SCL** to **breakout** **SCL (yellow wire)**  
- **Board SDA** to **breakout** **SDA (blue wire)**

The signal will be output from the DAC **Vout** ( **+** ) pin.

![adafruit_products_metro_bb_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/124/768/medium640/adafruit_products_metro_bb_bb.jpg?1696000666)

## Library Installation

You can install the **Adafruit\_AD569x** library for Arduino using the Library Manager in the Arduino IDE.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/769/medium800/adafruit_products_Arduino_Open_Library_Manager.png?1696000708)

Click the **Manage Libraries ...** menu item, search for **Adafruit\_AD569x** , and select the **Adafruit AD569x** library:

![](https://cdn-learn.adafruit.com/assets/assets/000/124/788/medium800/adafruit_products_ard_lib.png?1696257705)

If asked about dependencies, click "Install all".

![](https://cdn-learn.adafruit.com/assets/assets/000/124/789/medium800/adafruit_products_depends.png?1696257714)

If the "Dependencies" window does not come up, then you already have the dependencies installed.

Warning: 

## Example Code
https://github.com/adafruit/Adafruit_AD569x/blob/main/examples/AD5693_test/AD5693_test.ino

Upload the sketch to your board and open up the Serial Monitor ( **Tools -\> Serial Monitor** ) at 115200 baud. You'll see the AD5693R recognized over I2C.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/779/medium800/adafruit_products_arduino_serial.png?1696005101)

If you connect the DAC output to a scope or other analog visualizer, you will see a sine wave displayed.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/780/medium800/adafruit_products_arduinoScope.png?1696009585)

# Adafruit AD5693R 16-Bit DAC Breakout Board

## Arduino Docs

# Adafruit AD5693R 16-Bit DAC Breakout Board

## Downloads

## Files

- [AD5693R Datasheet](https://cdn-learn.adafruit.com/assets/assets/000/124/732/original/AD5693R_5692R_5691R_5693.pdf?1695820012)
- [EagleCAD PCB Files on GitHub](https://github.com/adafruit/Adafruit-AD5693R-Breakout-Board-PCB)
- [Fritzing object in the Adafruit Fritzing Library](https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%20AD5693R%20Breakout%20Board.fzpz)

## Schematic and Fab Print
![](https://cdn-learn.adafruit.com/assets/assets/000/124/733/medium800/adafruit_products_schem.png?1695820139)

![](https://cdn-learn.adafruit.com/assets/assets/000/124/734/medium800/adafruit_products_fab.png?1695820146 dimensions are in inches)


## Primary Products

### Adafruit AD5693R Breakout Board - 16-Bit DAC with I2C Interface

[Adafruit AD5693R Breakout Board - 16-Bit DAC with I2C Interface](https://www.adafruit.com/product/5811)
Which is better, less bits or more? MORE of course! So why settle for a 12-bit DAC like the [MCP4725](https://www.adafruit.com/product/935) when you can go for the 16-bits of the AD5693? OK well there may be some reason to go with 12-bits, say if you don't need high resolution...

In Stock
[Buy Now](https://www.adafruit.com/product/5811)
[Related Guides to the Product](https://learn.adafruit.com/products/5811/guides)

## Featured Products

### STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long

[STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long](https://www.adafruit.com/product/4210)
This 4-wire cable is a little over 100mm / 4" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/4210)
[Related Guides to the Product](https://learn.adafruit.com/products/4210/guides)
### STEMMA QT / Qwiic JST SH 4-Pin Cable - 50mm Long

[STEMMA QT / Qwiic JST SH 4-Pin Cable - 50mm Long](https://www.adafruit.com/product/4399)
This 4-wire cable is&nbsp;50mm / 1.9" long and fitted with JST SH female 4-pin connectors on both ends. Compared with the chunkier JST PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/4399)
[Related Guides to the Product](https://learn.adafruit.com/products/4399/guides)
### STEMMA QT / Qwiic JST SH 4-pin Cable with Premium Female Sockets

[STEMMA QT / Qwiic JST SH 4-pin Cable with Premium Female Sockets](https://www.adafruit.com/product/4397)
This 4-wire cable is a little over 150mm / 6" long and fitted with JST-SH female 4-pin connectors on one end and premium female headers on the other. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4397)
[Related Guides to the Product](https://learn.adafruit.com/products/4397/guides)
### STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable

[STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable](https://www.adafruit.com/product/4209)
This 4-wire cable is a little over 150mm / 6" long and fitted with JST-SH female 4-pin connectors on one end and premium Dupont male headers on the other. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4209)
[Related Guides to the Product](https://learn.adafruit.com/products/4209/guides)
### JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic

[JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic](https://www.adafruit.com/product/4398)
This cable will make it super easy to use our plug-and-play STEMMA QT boards with boards like Circuit Playground. On one end you get a Qwiic / STEMMA QT connector (technically known as a JST SH 4-pin plug)&nbsp; into 4 individual wires with grippy alligator clips. We're carrying these to...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4398)
[Related Guides to the Product](https://learn.adafruit.com/products/4398/guides)

## Related Guides

- [Faderwave Synthesizer](https://learn.adafruit.com/faderwave-synthesizer.md)
- [Star Trek LCARS Display](https://learn.adafruit.com/star-trek-lcars-display.md)
- [Simple Arduino-based USB VID & PID tester](https://learn.adafruit.com/simple-arduino-based-usb-vid-and-pid-tester.md)
- [Temperature and Humidity Sensing in Home Assistant with CircuitPython](https://learn.adafruit.com/temperature-and-humidity-sensing-in-home-assistant-with-circuitpython.md)
- [Adafruit TFP401 HDMI/DVI Decoder to 40-pin TTL Display](https://learn.adafruit.com/adafruit-tfp401-hdmi-slash-dvi-decoder-to-40-pin-ttl-display.md)
- [PowerWash Simulator Nozzle Controller](https://learn.adafruit.com/powerwash-simulator-nozzle-controller.md)
- [Adafruit HUZZAH ESP8266 breakout](https://learn.adafruit.com/adafruit-huzzah-esp8266-breakout.md)
- [CircuitPython Safe Mode](https://learn.adafruit.com/circuitpython-safe-mode.md)
- [CircuitPython Audio FX](https://learn.adafruit.com/circuitpython-audio-fx.md)
- [Adafruit Metro RP2350](https://learn.adafruit.com/adafruit-metro-rp2350.md)
- [Tiny Pod - BLE Rotary Encoder for iWatch](https://learn.adafruit.com/ano-pod.md)
- [Circuit Playground Bluefruit NeoPixel Animation and Color Remote Control](https://learn.adafruit.com/circuit-playground-bluefruit-neopixel-animation-and-color-remote-control.md)
- [Introducing Bluefruit EZ-Link Breakout](https://learn.adafruit.com/introducing-bluefruit-ez-link.md)
- [CircuitPython BLE Advertising Beacons](https://learn.adafruit.com/circuitpython-ble-advertising-beacons.md)
- [3D Printed Camera Case for MEMENTO](https://learn.adafruit.com/memento-3d-case.md)
