What can I do with a mcp4725 12 bit DAC?

What can I do with a mcp4725 12 bit DAC?

This breakout board features the easy-to-use MCP4725 12-bit DAC. Control it via I2C and send it the value you want it to output, and the VOUT pin will have it. Great for audio / analog projects, such as when you can’t use PWM but need a sine wave or adjustable bias point.

How to wire a mcp4725 to an Arduino?

First wire up a MCP4725 to your board exactly as shown on the previous pages for Arduino using an I2C connection. Here’s an example of wiring a Feather M0 to the sensor with I2C: Since there’s dozens of Linux computers/boards you can use we will show wiring for Raspberry Pi.

What’s the output voltage of the Adafruit mcp4725?

The output voltage is rail-to-rail and proportional to the power pin so if you run it from 3.3V, the output range is 0-3.3V. If you run it from 5V the output range is 0-5V. Available from the Adafruit shop! 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.

What can I do with a mcp4725 breakout board?

Now it can! This breakout board features the easy-to-use MCP4725 12-bit DAC. Control it via I2C and send it the value you want it to output, and the VOUT pin will have it. Great for audio / analog projects, such as when you can’t use PWM but need a sine wave or adjustable bias point.

How much power does a mcp4725 analog converter need?

There is also the signal out and a GND pin grouped together to connect to an oscilloscope or whatever other device you’re hooking up to the breakout. The breakout can be powered anywhere between 2.7V to 5.5V, making it great for both 5V and 3.3V microcontrollers.

How to change the address of a mcp4725?

By default, this pin is pulled LOW to GND. To change the address of your other device, simply de-solder the jumper and add a blob of solder to the middle pad and the Vcc pad. If you’re going to have more than one MCP4725 on a bus, you’ll also want to disable the pull-up resistors on all but one breakout.

How to hook up a mcp4725 sine wave probe?

Once the sketch is uploaded, fire up the o-scope, connect the probe, if you haven’t yet, and you should be greeted with a nice looking sine wave. With that, you should be able to get your MCP4725 working the way you’d like and integrated into your next project.

What is the output of a 12 bit DAC?

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.

Can a mcp4725 be used on a single bus?

The MCP4725 has a single A0 address input pin, meaning that only two devices can be placed on a single I2C bus. However there is a workaround that allows you to place 8 devices on a single bus. Warning: You can only use two devices on a single I2C bus unless…