I am trying to control a DAC MAX5217 16 Bits using Arduino NANO with I2C. to get a voltage from 0 .. 5V. I need this accurate resolution cause i am designing adjustable power supply and the DAC will drive the LDO adjustable PIN in my powersupply.
My question is: Can someone hint me to how this will look like in the end? or the steps i have to be aware of?.
Is this picture in my head correct? connect the poti 10k to the analouge pin in Arduino which i will have range from 0 .. 1023 and then write the software which gonna store the value of the Poti? and in the same time the connection I2C to the DAC? I am missing something in this imagination, true?
Can someone simplify this for me so i can know how to write the code?! thanks.
how come this will happen when the ADC in the Arduino is 10 bits and my DAC is 16 bits? how am gonna be able to have all those step voltages from my DAC with using my 10k Poti?