+ Post New Thread
Results 1 to 10 of 10
  1. #1
    Member level 3
    Points: 431, Level: 4

    Join Date
    Sep 2017
    Posts
    57
    Helped
    0 / 0
    Points
    431
    Level
    4

    digital pot rather than analog pot

    Hi,

    I would like to use a digital pot in place of the analog pot in this circuit. However, it does not work properly. There are some very tiny sound fluctuations but that is all. I wonder what needs to be done, or why its not working as expected, or how I can work out what the problem is.

    thanks

    •   AltAdvertisment

        
       

  2. #2
    Super Moderator
    Points: 65,813, Level: 62
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    13,386
    Helped
    3090 / 3090
    Points
    65,813
    Level
    62

    Re: digital pot rather than analog pot

    Hi,

    we can´t see the digital pot in your circuit.

    --> show your exact circuit with all electrical connections - especially of the EPOT.

    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



  3. #3
    Super Moderator
    Points: 248,053, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    43,142
    Helped
    13126 / 13126
    Points
    248,053
    Level
    100

    Re: digital pot rather than analog pot

    Not sure what you mean with "tiny sound fluctuations"? An effectively useless description.

    You missed however to tell the used digipot type and how it's connected in the circuit.

    Just in case, notice that the analog potentiometer is exposed to an AC voltage, to avoid distortions, a digipot in this place would need a dual power supply. Or be connected slightly different, with DC bias and capacitor at the pot ground node.

    Or does "fluctuations" refer to crosstalk of the digital control signal? This can easily happen.



    •   AltAdvertisment

        
       

  4. #4
    Member level 3
    Points: 431, Level: 4

    Join Date
    Sep 2017
    Posts
    57
    Helped
    0 / 0
    Points
    431
    Level
    4

    Re: digital pot rather than analog pot

    Quote Originally Posted by FvM View Post
    Not sure what you mean with "tiny sound fluctuations"? An effectively useless description.

    You missed however to tell the used digipot type and how it's connected in the circuit.

    Just in case, notice that the analog potentiometer is exposed to an AC voltage, to avoid distortions, a digipot in this place would need a dual power supply. Or be connected slightly different, with DC bias and capacitor at the pot ground node.

    Or does "fluctuations" refer to crosstalk of the digital control signal? This can easily happen.
    Tiny fluctuations refers to tiny bandwidth filter changes, just as you would expect with a wah wah circuit, but very tiny. The digital pot replaces the 100k analog pot in the circuit.

    The digital pot simply has a two potentiometer ends and a wiper.

    can you explain how it would be connected differently. thanks



    •   AltAdvertisment

        
       

  5. #5
    Super Moderator
    Points: 65,813, Level: 62
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    13,386
    Helped
    3090 / 3090
    Points
    65,813
    Level
    62

    Re: digital pot rather than analog pot

    Hi,

    The digital pot simply has a two potentiometer ends and a wiper.
    This means your digital pot has no power supply connections and no control pins. --> I´ve never seen such a thing.

    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



  6. #6
    Member level 3
    Points: 431, Level: 4

    Join Date
    Sep 2017
    Posts
    57
    Helped
    0 / 0
    Points
    431
    Level
    4

    Re: digital pot rather than analog pot

    the micro and dig pot are running on 5 volts. a separate supply, but with the same ground as the analog circuit.



  7. #7
    Advanced Member level 5
    Points: 13,861, Level: 28
    schmitt trigger's Avatar
    Join Date
    Apr 2013
    Posts
    2,322
    Helped
    754 / 754
    Points
    13,861
    Level
    28

    Re: digital pot rather than analog pot

    Your problem is that the audio signal fed to the digipot is not biased at Vdd/2 to allow the positive and negative excursions that an audio signal has.

    Download the datasheet, and look for Figure 2-64.
    My batteries are recharged by "Helpful Post" ratings.
    If you feel that I've helped you, please indicate it as a Helpful Post



  8. #8
    Super Moderator
    Points: 248,053, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    43,142
    Helped
    13126 / 13126
    Points
    248,053
    Level
    100

    Re: digital pot rather than analog pot

    Connect P0A to a virtual ground node, a sufficient large capacitor to ground (e.g. 1 µF) and a voltage divider generating Vdd/2.

    It's not obvious to me, if clipping of AC voltage can produce "tiny bandwidth filter changes", but may be it does. You'll know after testing a correct digipot bias.



  9. #9
    Member level 3
    Points: 431, Level: 4

    Join Date
    Sep 2017
    Posts
    57
    Helped
    0 / 0
    Points
    431
    Level
    4

    Re: digital pot rather than analog pot

    thanks. what is a "virtual ground node". I have googled it, but don't understand what is required. How is that done?



    •   AltAdvertisment

        
       

  10. #10
    Super Moderator
    Points: 248,053, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    43,142
    Helped
    13126 / 13126
    Points
    248,053
    Level
    100

    Re: digital pot rather than analog pot

    A virtual ground circuit is completely described in the previous post.



--[[ ]]--