I have a motor controller that takes a 0-10V input for control. The DAC I usually use is an I2C 0-5V version. Can I use the on board current DAC to create this 0-10V output? Am I better off using a PSOC 5 with a VDAC and an op amp?
Can the setup on page 5 here create a 0-10V signal?
Thank you for your input,
The IDAC compilance range is maxed out with the Vdda
supply, so no to 10V. You could use an external OpAmp
to G up the slope of the onboard DAC, or just use an external
part that can handle the voltage range needed.
You could setup PSOC IDAC as source, feeding external mirror
to handle the voltage. In its collector use any value scaling R,
within leakage constraints, to gte the V you need. But problem
is it is un-buffered approach, regarding load effects.
Mirrors, I think a couple of semi manufacturers make them or
you buy matched transistors.
Internal OpAmp also constrained to Vdda.
10,000 opamps, you are right about that. The good old LM324 or
its variant will do for most applications. If trying to get to the rails
with its output then there are lots of R-R solutions, look carefully
at what load the OpAmp can tolerate to meet R-R.
You can use this board, it has a 12bit DAC, Rail to rail amp and a boost converter to provide 10V.
This has i2c port, so you can interface it wilt any micro controller which has i2c.