You can also use an LM317 and a digital potentiometer. For example this circuit:
http://www.electronics-lab.com/articles/LM317/
Here's a cheap 5K potentiometer that's discontinued but still in stock at Digi-Key:
http://www.digikey.com/product-detail/en/MCP4132-502E%2FP/MCP4132-502E%2FP-ND/1874332
Here's a larger one with 257 steps:
http://www.digikey.com/product-detail/en/MCP4251-502E%2FP/MCP4251-502E%2FP-ND/1635677
If you get that one, around 9V, you would get about 0.11V precision.
On Monday, September 17, 2012 at 16:21 , Rob Graham wrote:
> You might try using the analog output of an Arduino to drive a power transistor like the Darlington 2N6284 (NPN). It's going to depend on how much current you need to draw.
>
> From: adamdb <
ada...@gmail.com (mailto:
ada...@gmail.com)>
> To:
nycresistormi...@googlegroups.com (mailto:
nycresistormi...@googlegroups.com)
> Sent: Monday, September 17, 2012 2:26 PM
> Subject: [NYCR:Microcontrollers] Need Controllable Circuit that Varies Output Voltage
>
> I need to build a circuit, that can vary a voltage between 0 and 18 volts. This current will be connect to another device. The circuit in question must also be controllable via an Arduino Uno controller. I'm aware the the Uno has a max output of 5 volts, this is part of the problem. Any help, advice, links, or schematics would be greatly appreciated! Thanks. --
> You received this message because you are subscribed to the Google Groups "NYCResistor:Microcontrollers" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/nycresistormicrocontrollers/-/T3idQzLpce0J.
> To post to this group, send email to
nycresistormi...@googlegroups.com (mailto:
nycresistormi...@googlegroups.com).
> To unsubscribe from this group, send email to
nycresistormicrocon...@googlegroups.com (mailto:
nycresistormicrocon...@googlegroups.com).
> --
> You received this message because you are subscribed to the Google Groups "NYCResistor:Microcontrollers" group.
> To post to this group, send email to
nycresistormi...@googlegroups.com (mailto:
nycresistormi...@googlegroups.com).
> To unsubscribe from this group, send email to
nycresistormicrocon...@googlegroups.com (mailto:
nycresistormicrocon...@googlegroups.com).