0-10v analog signal set using microcontroller not potentiometer.

DickCappels

Joined Aug 21, 2008
10,661
Why we need voltage reference.
The voltage reference will set the fully scale voltage. If you use the power supply as a reference you will probably see a lot of drift over temperature. A voltage reference chip will vastly improve temperature stability. You don't need a separate reference, it all depends on how stable you want your readings to be. I use the power supply for many A-to-D applications where I don't care as much about stability.
 

Thread Starter

MPLIGHT

Joined Mar 8, 2021
18
The voltage reference will set the fully scale voltage. If you use the power supply as a reference you will probably see a lot of drift over temperature. A voltage reference chip will vastly improve temperature stability. You don't need a separate reference, it all depends on how stable you want your readings to be. I use the power supply for many A-to-D applications where I don't care as much about stability.
Arduino, MCP4922 and LM4140ACM. Using MCUs I want 10v,9v,5v resp output not moving with potentiometer.
 

Ya’akov

Joined Jan 27, 2019
10,294
Yes sir. Is it manually potentiometer moves or our code will give output according to that.
I fear there is something of a language barrier here.

The module I showed you takes a PWM input and outputs 0-10V. To use it, you generate the appropriate PWM signal for the corresponding voltage you want. The PWM is generated by the MCU, the module uses it to determine the voltage output. There is no limitation on how discrete the steps are, once you calibrate it, you can choose any specific voltage without passing through the others.

It’s PWM controlled, it produces 0-10V. I don’t know how i can be more clear. I’m sorry, but I am having a very hard time understanding what you want at this point so I am going to step away. Good luck.
 

DickCappels

Joined Aug 21, 2008
10,661
As Yakkov says, you don't need a DAC if you are using an Arduino. If you set a PWM output to 50% the filtered output will be 50% of the reference voltage, which may be the power supply. PWM is a very simple and straight forward means of generating precision voltage ratios.
 

ElectricSpidey

Joined Dec 2, 2017
3,358
A good workable solution is offered right in the OP, but the poster gives no way to determine why it's not working...so offering alternate solutions wont help. if they can't figure out a simple serial controlled DigiPot, or offer the information needed to help with it.

The next thread will be..."I tried these other parts...but...
 

Thread Starter

MPLIGHT

Joined Mar 8, 2021
18
I fear there is something of a language barrier here.

The module I showed you takes a PWM input and outputs 0-10V. To use it, you generate the appropriate PWM signal for the corresponding voltage you want. The PWM is generated by the MCU, the module uses it to determine the voltage output. There is no limitation on how discrete the steps are, once you calibrate it, you can choose any specific voltage without passing through the others.

It’s PWM controlled, it produces 0-10V. I don’t know how i can be more clear. I’m sorry, but I am having a very hard time understanding what you want at this point so I am going to step away. Good luck.
OK thanu so much.
 
Last edited:

Thread Starter

MPLIGHT

Joined Mar 8, 2021
18
As Yakkov says, you don't need a DAC if you are using an Arduino. If you set a PWM output to 50% the filtered output will be 50% of the reference voltage, which may be the power supply. PWM is a very simple and straight forward means of generating precision voltage ratios.
Ok I'll try
 
Top