Im an electrician and musician as well. I never knew this was how this stuff was done. Ive recently gotten very interested in analog synthesizers and it has boggled my mind how we can store and recall settings of analog potentiometers and this video has answered my main question. Pretty incredible. Thanks much.
@0033mer Жыл бұрын
Thanks for the visit! Here are some other videos that might interest you: kzbin.info/www/bejne/l3m1n3SKbLWafbs kzbin.info/www/bejne/g4HLi4Chj5Z-oLM kzbin.info/www/bejne/q2OoeXevp7uSfJI
@urgirlcassie235 жыл бұрын
OMG, thank you. This is just the sort of thing I was looking for. I've been planning a project that is using an RC controller to control an arduino that pulses a power transistor at high frequencies, but my understanding is that an arduino's PWM can't handle higher than 65 khz without issues. I could obviously just use a 555 timer or other IC & some pots to get the low duty cycle 1-4 Mhz I need - but I can't use a traditional knob turning pot, since it has to be RC. A digital pot is going to make it so much easier to figure out this design; I didn't know there was such a component.
@francisvachon20512 жыл бұрын
Really like your video and would like to do similar setup except I would like the digital pot to be control by a temperature sensor so that the temperature remain constant. I am using TEC cooling pad to cool a Diode laser and by varying the DC power (12v or less) it lower the cooling capability. So when cutting with the laser on high power I need more cooling then when I am engraving and also depending on how deep I am engraving the temperature will change.
@SmalltimR7 жыл бұрын
Great tutorial - I'm looking forward to using these with Arduino. Anyone know how many watts can the X9C103P can handle on the pot side? Also, does anyone know how to use a digipot in high wattage applications?
@0033mer7 жыл бұрын
Digipots are designed for small signal control applications not high wattage circuits. Check the data sheet for the wiper current spec ( IW ). It will vary with the pot resistance. ( A few mA ) You could buffer the output with a power op amp or emitter follower transistor/mosfet. I have used digipots in place of the control resistor in a LM317 voltage regulator circuit. www.onsemi.com/pub_link/Collateral/AND8414-D.PDF
@paulmanhart4481 Жыл бұрын
Great video. I actually understood much of it. It seems that the number of resistors determines your resolution? I want to hook up a digital pot to my SCR controlled variable speed drive for my 130 vdc 4.25 hp treadmill motor. But I have no idea how to do this. I followed your video, but have trouble implementing it to my application. I like your keypad control. That’s cool. Can you help me figure out what I need and how to hook it up? I need 140k Ohms max. I’m currently breaking that down into a 117k and a 25k pot wired in series for course and fine rpm adjustment. Thanks, Paul
@lew90688 ай бұрын
Very informative video. Please may I ask whether there is any cause for potential delay when using one of the chips X9C103P?Does the initial voltage on a digital or manual potentiometer make a difference? Very curious.
@0033mer8 ай бұрын
The digital pot wiper will move as fast as you clock it. The maximum voltage you can apply to the digital pot is 5 volts. There are other ones that can handle higher voltages. Greater than the supply voltage. kzbin.info/www/bejne/l3m1n3SKbLWafbs
@Enigma7584 жыл бұрын
These seem to only handle a few ma of current so I don't see them as a direct replacement for standard pots like the one shown at the beginning of the video.
@0033mer4 жыл бұрын
Yes .. as per data sheet specs the wiper can only handle a few mA. The digi-pot can only be used for small signal control but acts like a standard pot which people are familiar with so I used it for comparison. To control larger loads check out this video: kzbin.info/www/bejne/baSwhmqsr9Wiabs
@mahlonkarpaiya2523 жыл бұрын
Id like to do this with audio. Arduinos make a;lot of noise. can i power the chip from something eles ?
@mahlonkarpaiya2523 жыл бұрын
thank you . well explained. Good class,teacher.
@moonan8582 жыл бұрын
thank you for solving my question!
@0033mer2 жыл бұрын
Happy to help!
@dwalden745 жыл бұрын
Can you provide the code you used for this?
@acqurius-gx8lr5 жыл бұрын
how to adjust digital pot to a predefined resistance.is there any calculate that can be used in program to adjust the resistance to a define value
@0033mer5 жыл бұрын
The X9C103 contains 99 resistors with 100 wiper taps. Starting from the bottom ( 0 ohms ) each pulse on pin 1 will add 100 ohms of resistance. By counting the number of pulses you can adjust the pot to the desired resistance.
@billybob8843 жыл бұрын
very helpful explanation, thank you!
@0033mer3 жыл бұрын
Glad it was helpful!
@dgb58204 жыл бұрын
Wow great video
@steffan94156 жыл бұрын
Can I use this to an AC dimmer?
@borismemedov5 жыл бұрын
Nope
@LalanKumar-fz3oo5 жыл бұрын
can i code the arduino to get a specifir resistance using key pad ??? like getting 2k ohms directly , just by pressing ' 2 ' in the keypad ???
@0033mer5 жыл бұрын
The X9C103 contains 99 resistors with 100 wiper taps. Starting from the bottom ( 0 ohms ) each pulse on pin 1 will add 100 ohms of resistance. By counting the number of pulses you can adjust the pot to the desired resistance. Pressing 2 on a keypad would pulse pin1 20 times resulting in 2k ohms.
@mmbrazil6 жыл бұрын
Hi, your video was just what I was looking for. I am trying to do a digital AC controller. My AC box uses 3 10k potenciometer like you show in the begining of your video, to controll it. My question is what digital potentiometer do you suggest I use to controll the AC motors.
@0033mer6 жыл бұрын
Check the data sheets of vendors that make digital potentiometers and note the maximum voltage and current spec of the resistor string and wiper. Ensure that your circuit is within these specs.
@Milan222296 жыл бұрын
Do you know if there are any with more then 500kOhm and 2W. Because i have a mechanical one and cant find a digital one to replace it
@0033mer6 жыл бұрын
Digi-pots are for small signal applications. To control heavier loads you need to buffer the Digi-pot output. kzbin.info/www/bejne/baSwhmqsr9Wiabs
@Sandreble7 жыл бұрын
great video... did you use any library in this example ?
@0033mer7 жыл бұрын
I do not use the Arduino IDE but program in Forth which is close to assembler.
@MagivaIT6 жыл бұрын
silly question but why do you use Forth, is that just a comfy thing from previous experiences ?
@freetubemovies.6445 жыл бұрын
Hello , I really liked your video sir ! 💜💜 Sir , actually I need your help ! sir , I am working on a project where I have to use a suitable potentiometer that can oppose 2 Amperes of D.C current !!! I have 6 A of D.C current and I want to use 4 A of D.C current by stopping 2 Amperes using a potentiometer or anyhow possible ! 6-2 = 4 ( 4 Amperes I want to achieve). Can you please tell me which potentiometer should I use or how can I do that anyway ?
@0033mer5 жыл бұрын
Controlling high current to a load a PWM circuit using a MOSFET would be a better route to go. Check out this video: kzbin.info/www/bejne/o5usppWAmrmFr7s
@Thisishousemusic6 жыл бұрын
I'm looking for a way to digitally control volume, would this be a solution? Im not sure how the resistor will change the input signal to the amplifier.
@0033mer6 жыл бұрын
Yes, this can be used as a volume control. The input signal to the amplifier will range from 0 to full signal level just like a mechanical pot.
@Thisishousemusic6 жыл бұрын
Thanks for your reply. My plan is to have two input signals (L/R) and split it up to 6 output signals (L/R x 3). Then I want digitally control the 6 outputs, with 6 digital pots. Do you think that would be a problem when i split the two inputs into 6 outputs?
@0033mer6 жыл бұрын
That can be done. Buffer all your outputs from the source signal. electronicsarea.com/1-input-4-outputs-stereo-audio-splitter/
@Thisishousemusic6 жыл бұрын
Thanks, that could be a solution! I only have a +36 VDC supply through. I'm not an electronic expert :)
@jivanescalante-garcia88417 жыл бұрын
thanks for this great tutorial
@theplaidgamer1653 Жыл бұрын
How do i make it save the current value automatically?
@0033mer Жыл бұрын
If the INC pin is held HIGH while the CS pin goes HIGH the wiper position will be saved. A digital pot controlled by I2C bus has a save mode that can be configured during programming. kzbin.info/www/bejne/l3m1n3SKbLWafbs
@theplaidgamer1653 Жыл бұрын
@@0033mer this seems a bit confusing. What I am trying to do is create a volume controller with two push buttons. One to go up and the other to go down. And it should save the value once I stop pressing either of the buttons.
@0033mer Жыл бұрын
INC will move the wiper up or down with push-buttons and stay. If not check the data sheet and your circuit. Make sure your push-buttons are de-bounced. The last post was referring to saving the wiper value on power down.
@theplaidgamer1653 Жыл бұрын
@@0033mer i think I found an alternative chip online. The DS1809-010+. It has an auto save feature that saves the current resistor value in its eeprom when it detects the Vcc shutting off. Then reads it on start up. And it only requires 2 pushbuttons for up and down so I won't need to use a microcontroller.
@wires4auto6 жыл бұрын
Great video, what applications would you use this in? I have a few buttons on my car steering wheel that all link to a data wire and use resistance to ground to to control stuff. I am planning on using something like this to "ping" commands onto the data wire
@0033mer6 жыл бұрын
You can use it anywhere a mechanical pot is used but watch the max current allowed specification.
@arrshithrg53597 жыл бұрын
what signal u were giveing at ra , rb of digipot . Sine wave ??
@0033mer7 жыл бұрын
It was a square wave oscillator but a sine wave would also work.
@arrshithrg53597 жыл бұрын
will sine wave swinging from +ve voltage to -ve work ??(not from 0 to some +ve voltage )
@0033mer7 жыл бұрын
Yes .. the chip can handle +/- 5 volt signals with respect to ground.
@arrshithrg53597 жыл бұрын
ok i just wanted to use it as a digital signal attenuator to reduce the voltage of a sine wave signal using voltage divider method . but what about noise , will there be any addition of noise ??
@0033mer7 жыл бұрын
The results will be the same as a regular mechanical pot.
@johnmalcolm48224 жыл бұрын
If you already know what a manual potentiometer is, skip the first 3 minutes.
@pick-pock4 жыл бұрын
Thank you!
@0033mer4 жыл бұрын
You're welcome!
@acqurius-gx8lr5 жыл бұрын
thanks for reply.i checked the link you forwarded.i want to know that at which terminal you are inputting square wave signal to digital potentiometer and also ground pin of digital potentiometer. may be I am wrong but as far as I understand it's input can be either of RH or RL pin of digital potentiometer.is I right? and wiper pin is connected to operational amplifier.plz correct me.i tried it with Arduino but not getting useful result.I am using headphone speaker of 8 ohm. can you forward your email id so that I can share my schematic with you.once again thanks for replying.
@0033mer5 жыл бұрын
Audio is applied to pot across RH and RL. Input signal is connected to RH and RL is connected to ground. Output audio is taken from wiper (pin5) and ground just like a mechanical pot. Normal op amps can not drive an 8 ohm speaker. I used the LM386 as my amplifier. Check out this video: kzbin.info/www/bejne/sH7QknmMlK-Fd9k
@acqurius-gx8lr5 жыл бұрын
thanks for replying
@t1d1002 жыл бұрын
Thanks!
@0033mer2 жыл бұрын
Welcome!
@arrshithrg53597 жыл бұрын
you got a new subscribe also
@hamid.s.zolfagari7 жыл бұрын
Thanks you so much . useful
@vardfriki72743 жыл бұрын
Thanks heaps!
@0033mer3 жыл бұрын
You're welcome.
@ctbully6 жыл бұрын
Circuit Diagrams would be nice :-)
@0033mer6 жыл бұрын
Circuit diagrams at 3:27
@ctbully6 жыл бұрын
Thanx
@acqurius-gx8lr5 жыл бұрын
you have not shown speaker in schematic.
@0033mer5 жыл бұрын
Check out this video: kzbin.info/www/bejne/sH7QknmMlK-Fd9k
@rhlgm7 жыл бұрын
code for arduino?
@0033mer7 жыл бұрын
I do not use the Arduino IDE but program in Forth which is close to Assembler. If there is enough interest I will post some tutorials.
@atphack5 жыл бұрын
A rhéostat and a potentiomètre is not the same thing
@0033mer5 жыл бұрын
A potentiometer wired as a two terminal device (wiper to outer terminal) is a rheostat as shown at 1:47. en.wikipedia.org/wiki/Potentiometer
@X_is_learning4 жыл бұрын
Thank you so much.
@0033mer4 жыл бұрын
You're welcome!
@tomer3535 жыл бұрын
Plzzzz can you send the code ???
@0033mer5 жыл бұрын
My code in written in Forth but if you check the comments there is Arduino code available on Github : PULSE.INC Pin8 LOW \ Step wiper Pin8 HIGH ; : WIPER.UP Pin9 HIGH ; \ Set wiper direction UP : WIPER.DOWN Pin9 LOW ; \ Set wiper direction DOWN : STEP.UP WIPER.UP PULSE.INC ; \ Move wiper one step UP : STEP.DOWN WIPER.DOWN PULSE.INC ; \ Move wiper one step DOWN : JUMP.UP WIPER.UP 9 FOR PULSE.INC NEXT ; \ Jmp UP 10 steps : JUMP.DOWN WIPER.DOWN 9 FOR PULSE.INC NEXT ; \ Jmp DOWN 10 steps : WIPER.TOP WIPER.UP 99 FOR PULSE.INC NEXT ; \ Wiper --> TOP : WIPER.BOTTOM WIPER.DOWN 99 FOR PULSE.INC NEXT ; \ Wiper --> BOTTOM
@louisferreira10125 жыл бұрын
@@0033mer I'm sorry to ask such a stupid question but where on github can i find this? I've just looked. I am new, just been trying to play with arduino and digipot MCP41010 for 2days now and cant seem to understand how to adapt a program to take button inputs to change resistance rather than just cycle through the ladder. thanks
@0033mer5 жыл бұрын
Check out these sites: github.com/sleemanj/MCP41_Simple henrysbench.capnfatz.com/henrys-bench/arduino-output-devices/mcp41010-digital-potentiometer-arduino-user-manual/
@saadhassan1926 жыл бұрын
Code ?
@0033mer6 жыл бұрын
The program was written in Forth. I do not use the Arduino IDE. : SET.LEVEL INIT INIT.X9C103 BEGIN Key dup 56 = \ STEP up IF STEP.UP THEN dup 50 = \ STEP down IF STEP.DOWN THEN dup 57 = \ JUMP up IF JUMP.UP THEN dup 51 = \ JUMP down IF JUMP.DOWN THEN dup 55 = \ Home IF WIPER.TOP THEN dup 49 = \ End IF WIPER.BOTTOM THEN 27 = \ ESC UNTIL PIN8 HIGH 10 MS PIN10 HIGH PIN13 LOW ;
@arrshithrg53597 жыл бұрын
like for this video
@uksuperrascal4 жыл бұрын
Whats the point in making half a video - What you done with the Code ?
@0033mer4 жыл бұрын
Code is simply setting a GPIO pin high then low which a beginner to coding would know how to do. Samples of doing this is repeated many times in other videos.
@uksuperrascal4 жыл бұрын
@@0033mer You have taken it for granted that everyone Knows what a GPIO pin is - As I said Half a video. P.S Thank you for the reply.
@testerrtestowwyyy39416 жыл бұрын
trim fingernails - OMG! / rest its OK!
@SameAsAnyOtherStranger Жыл бұрын
Here to enlighten myself about digital potentiometers. Like almost anyone doing the same, I already know what a potentiometer is. If they don't, they should be directed elsewhere. AND 𝗲𝘃𝗲𝗿𝘆𝗼𝗻𝗲 calls it a potentiometer. It's called a rheostat when only one side and the wiper are used making it a variable resistor. It's a matter of how it's used, not what "some might call it."