Page 1 of 1

help with voltage programming as output

Posted: Tue Jul 25, 2017 4:25 am
by subazaindustries
I need a program and schematic circuit for this porpuse, let me sumarize it.

I want to program the output voltage from 0 to 12v, I want to have different voltages for the output, if for example I want to have 7 volts as output the circuit would provide that voltage. I want to program that in arduino pro mini, how can I do that?

Re: help with voltage programming as output

Posted: Tue Jul 25, 2017 2:10 pm
by Docara
Hi,

What resolution, what current?

DAC - Op Amp
Analogue switch + resistors
PWM + capacitors

Have you Googled something like digitally controlled volume control or similar

Re: help with voltage programming as output

Posted: Tue Jul 25, 2017 3:08 pm
by Benj
Hello,

DAC + OPAMP would be my choice.

v7 has a new DAC component allowing you to easily drive the DAC peripheral on-board some of the newer micros.

If your using v6 or a device without a DAC peripheral then you can probably get an external SPI or I2C DAC IC.