Replace a potentiometer by a digital pot


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Roger,

    PWM controlled LM317, output voltage 0V to 6V. (Yes, really 0V!)
    The PWM signal is generated by the microcontroller and the output
    voltage is monitored by the ADC of the microcontroller.

    Best regards,

    Luciano


    (Click to enlarge).
    Last edited by Luciano; - 4th November 2007 at 14:06.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Hi, Roger

    another excerpt ... from the 317 datasheet ...

    Smells the R-2R ladder ... don't you think !

    with a full port ... 256 steps : no so bad !

    Alain
    Attached Images Attached Images
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    ...snif et m.... encore raté!

    Thanks Alain, I've seen this info but, unlike in the shema of my first post, the High end is "open" (not connected) and I thought this would be okay this way.

    Okay then, so how should I control the voltage regulator if not with my DS1804?

    The AD7376 is another option, yes.

    And yes, I've tried to control the LM317 with R+Tr already but you fully loose in ouput voltage precision.

    Is there a other way to do?
    Roger

  4. #4
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    Alain,

    How would you make a 256 resistors ladder with 8 ports?

    Any example?
    Roger

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

  6. #6
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    Is it correct to say that this is a Digital-To-Analog converter?
    Last edited by flotulopex; - 5th November 2007 at 08:19.
    Roger

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default

    That is correct. This is exactly what it does.

    Ioannis

Similar Threads

  1. Digital Pot
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd January 2012, 08:54
  2. Controlling a MCP4162 Digital Pot
    By SOTASOTA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th February 2011, 19:51
  3. Digital Pot Advice
    By Tobias in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd October 2007, 21:38
  4. Replies: 4
    Last Post: - 24th January 2007, 23:20
  5. Serial control of a digital pot?
    By TonyA in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd June 2006, 00:49

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts