User avatar
Posts: 70
Joined: Sat Apr 28, 2012 3:32 pm
Location: NYC, USA
Contact: Website

How-to: Add a DAC (digital to analog convertor) to your Pi

Sat Aug 18, 2012 1:04 pm

MCP4725 12-Bit DAC with Raspberry Pi
Add a DAC (digital to analog convertor) to your Raspberry Pi

We have a new tutorial - Already mastered Analog Inputs with the Pi, and looking for a new challenge? How about: How can I generate an analog output on the Pi?!

There are several ways you can accomplish this, but one of the easiest and most flexible is to use a dedicated IC called a Digital to Analog Convertor (or DAC). A DAC allows you to specify a numeric value (0..255 for an 8-bit DAC, 0..4095 for a 12-bit DAC, etc.), and the IC will output a voltage based on the supply voltage, and relative to that numeric value. For example, using a 12-bit DAC like the MCP4725 we'll be using here, setting the value to 2048 on a 3.3V system will results in ~1.65V output on the DAC.

This guide will show you everything you need to know to be able to generate precise analog outputs using your Pi and the MCP4725 12-Bit I2C DAC, from connecting everything up, to how to use our easy Python library. ... spberry-pi


Posts: 7
Joined: Mon Aug 26, 2013 4:22 am
Location: Irvine, CA, USA
Contact: Website

Re: How-to: Add a DAC (digital to analog convertor) to your

Mon Aug 26, 2013 4:56 am

My I2S RPi-DAC, with PCM1794 and headset amp, works nice as I2S DAC on Raspberry Pi.
If you are interested in getting one - I have to think about how to offer (right now, please find all project file there)

Return to “Interfacing (DSI, CSI, I2C, etc.)”

Who is online

Users browsing this forum: No registered users and 12 guests