I am trying to convert 1-5V to 0-20mA which is then used to drive VFD.

enter image description hereActually, I want 1-5V Variable output from Arduino. I am using PWM but its output 0V or 5V depending upon the duty cycle.

Is their any method to obtain any voltage between 1-5V using Arduino or any other module/controller?

  • Also asked on EE yesterday: electronics.stackexchange.com/questions/501845/…
    – VE7JRO
    May 26 '20 at 16:52
  • By tuning R4 and C1 and using an appropriate PWM frequency and duty cycle, you already have a (simple and slow) D/A converter that can generate voltages between 0 and 5V, but this might not fit your needs. How fast does it need to be? There are many DACs available to be interfaced with Arduinos.
    – StarCat
    May 26 '20 at 16:53
  • @VE7JRO, to be fair, that question was about a 4-20mA output. Now they need to generate a 1-5V input for the same circuit and already added an RC filter to try to accomplish that.
    – StarCat
    May 26 '20 at 16:55
  • @StarCat - The first sentence in the OP's question on EE is "To convert 1-5V to 0-20mA:". Their first sentence here on Ard.SE is very similar. The OP's question on EE has not received any answers, so maybe someone here has the answer. The 741 OP Amp part of the question is better suited for EE because it's off topic for our network, and the OP may want to read this first before choosing that OP Amp: electronics.stackexchange.com/questions/304521/…
    – VE7JRO
    May 26 '20 at 17:07
  • Make C1 ten times bigger.
    – Majenko
    May 26 '20 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.