Hello All! I am in a bit of a pickle and I am looking for the best way and options to complete what I am dreaming up. I need to be able to take an analog voltage of 0-5v dc and use that input to change a potentiometer. From my reading, I have discovered digital potentiometers that you can control over an SPI or I2c protocol. Is using an arduino the easiest way? If so, what would the best digipot be? I need it to be a relatively fine step count as well which makes this more difficult.
Long story short is I would like to take a force sensitive resistor powered by the arduino and use the resistors output as an analog in. So it would be a 0-5V signal. I would like to be able to control a potentiometer that would connect to my welder. The welder currently uses a 10kohm mechanical potentiometer on the foot pedal, but I would like to make something that uses a hand control instead with linear function not just on and off. Hopefully this makes a little sense. If you need more clarification just let me know.
If you’re keen on using a Digi pot find the spec sheet for the pot you’re going to use and doublecheck all the parameters.
They’re very narrow range of voltages etc. Or you could always stick a step motor or servo on a normal pot and span the range that you want to just by stepping the motor - between zero and 100%.
Why don't you make a hand control with a 10K pot and connect it where the foot control would be connected.
Can I suggest before you get to involved, get some force sensitive resistor to see how repetitive they are and you will have to consider any EMR from the welder arc causing problems with the input.
Is this for a TIG welder? You should read the thread linked in post #6. I don't remember it ever being officially solved, but it could point you in the right direction or inspire questions.
Yes that is my project. I currently had working prototypes with a potentiometer on the hand control and they seem to be very bulky. I was also able to use an arduino to output a pwm signal to the welder via input from and FSR. The problem I’ve run into is the welder needs a potentiometer not just a varying voltage. When I tried to use the pwm signal it worked, but I would not get full amperage. I was just coming back with another post to see if I am missing a more simple solution or if I just need to pull up and figure out how to program a digital potentiometer.
Yeah that explanation sounds really dumb. lol. Let me try to explain better. Using the arduino to output a pwm signal for 0-5V that worked on the lower amperage setting of the welder. When the welder is set to max amps (225) it outputs 10v to the foot pedal potentiometer. When set to the lowest amperage (10) the voltage going to the foot pedal was 1v. So when I set up the pwm signal, it really only worked for the middle amperage range. If I wanted 225 amps my 5 volts wouldn’t get me there and on the low end it would be really touchy. Does this help?
I once had a similar situation with existing equipment that was not supposed to be modified electrically, but still needed a remote-control option.
The solution was to place a potentiometer at the remote control position, read it with an Arduino, and then use a small stepper motor to mechanically turn the original potentiometer on the device so both stayed synchronized.
I have thought about that same solution before for a similar problem that @jord99999 is facing. I wanted to be able to remote control the amperage on my arc welder (different type of welder and welding process than what the OP is looking at) so I can change the amperage if I am 100 feet from my welder, or up high on a scissor lift, or changing types of rods, etc... I am still considering this approach, the only problem would be figuring out what the welder is set to if you can't see the display. There is far more to the settings than simply mapping a POT to an amperage.
Regarding the amperage:
If the remote potentiometer has a pointer knob, you could simply create your own scale by transferring the amperage values from the welder display to the remote control.
At least for frequently used settings, that might already work surprisingly well. What would speak against that approach?
That's the best possible case. A digital pot will do the trick. But not something like an MCP4161; that's limited to a 0-5V range. But an AD5280 can go up to 15V, for example. 5V logic, 15V on the pot.