DAC

hello, i am new here using arduino uno board.

the arduino board already have a function as ADC converter, but now i want to use DAC converter, is there any way from uno board ?

thank.

The closest the Uno has to D/A is PWM output on the pins marked ~. That uses analogWrite to output a fast switching digital 0V / 5V pulse to give an average voltage between 0 and 5, but it's not analog.

You can feed the PWM, Jim mentioned, to a filter to get an analog voltage.

MR_HONG:
but now i want to use DAC converter, is there any way from uno board ?

thank.

There are few ways to have DAC for Uno,

  1. is the low pass filter the PWM pin out to get an analog voltage as mentioned.
  2. using R/2R resistors ladder to form the DAC.
  3. using Microchip MCP4901, MCP4911, MCP4921, MCP4902, MCP4912, MCP4922 series DACs
  4. Using a AD420 Serial Input 16 bit DAC with Arduino