![]() |
![]() |
![]() |
|
|
|||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I'm having problems with a digital potentiometer. I'm not sure what it is, but I can't get the potentiometer to decrease and increase the resistance right. The resistance keeps jumping around, sometimes randomly. Sometimes it will start decreasing and then it will increase and then decrease and back and forth again and again. I really don’t know what’s wrong with it. Anyone have any ideas? Could it be that I need a debouncing circuit? But I don’t think it matters since I’m using a Function Generator or a microprocessor to create the pulses. Is there something else that I need? Thanks in advance for any help.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
I'm using the X9C103 from Xicor. Right now I don't have any schematics. I'm just trying to figure out how it works so I can see how I'm going to use it in my project. So far this is what I have hooked up to the digital pot.
Pin 1 (Inc): Clock generated by Function Generator Pin 2 (U/D Bar): Right now it's low for down Pin 3 (VH/RH): + Lead of a DMM measuring Resistance Pin 4 (Vss): Gnd Pin 5 (Vw/Rw): It's hooked up to RL Pin 6 (VL/RL): - Lead of a DMM Pin 7 (CS Bar): Kept Low so that no value would be stored so resistance can be adjusted Pin 8 (Vcc): +5v The pulse that is generated by the Function Generator is 0-3.3V I hope this is enough information. If there's something else that I'm missing or you need clearification on please let me know. |
|
|
|
|
|
|
(permalink) |
|
I don't see anything wrong with your hookup. Perhaps this URL will be helpful:
http://www.xicor.com/app_notes.php
__________________
see my website: www.geocities.com/russlk |
|
|
|
|
|
|
(permalink) |
|
I think I found out what type of problem I have. It's a walking wiper. The solution for that is that I use a pull-up for CS Bar on power up. What does it mean by that? Do I tie it to Vcc during power up? Or do I use something else? Thanks.
|
|
|
|
|
|
|
(permalink) |
|
A capacitor to VCC and resistor to GND. The cap pulls the pin up temporarily and the resistor pulls it down.
__________________
see my website: www.geocities.com/russlk |
|
|
|
|
|
|
(permalink) |
|
How big of a cap to use?
|
|
|
|
|
|
|
(permalink) |
|
A wide range of values will work, try .01uF and 10K
__________________
see my website: www.geocities.com/russlk |
|
|
|
|
|
|
(permalink) |
|
The wiper still walks. It even walks when it digital pot isn't even powered. Is that supposed to happen?
|
|
|
|
|
|
|
(permalink) |
|
It can get power thru the clock input, but if there is no input then you must have a high impedance that is picking up noise.
__________________
see my website: www.geocities.com/russlk |
|
|
|
|
|
|
(permalink) |
|
Is there something I can do to reduce the noise? Is it possible that the noise could be coming from a moniter or computer?
|
|
|
|
|
|
|
(permalink) |
|
Your connections are not what you think they are. Take it apart and put it together again. It may not solve the problem, but it will be different.
__________________
see my website: www.geocities.com/russlk |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Also, if you re-wire, double check each connection right after you make one, just to be 100% sure that it is wired correctly and the device has a good power and ground connection to the supply. |
||
|
|
|