What is the simplest, cheapest, off-the-shelf component that will allow me to output 0-100% of a separate input?
For example, If I have a 12v input going into , and I send 2.5v to it (50% of 5v) from the arduino’s analog out, it will output 6v (50% of 12v). Is such a part commonly available off-the-shelf for low amp applications?
I initially thought a boost converter would be right, but for some reason those things seem to be made to maintain a specified voltage, say 6v, as long as the input is lower, and above some minimum. The key problem is that I want the output to change as the input changes, as a function of the input.
Think cheap, small, low-amp, arduino-controlled power supply