Author Topic: digitally controlled potentiometer? I got this!  (Read 7636 times)

0 Members and 1 Guest are viewing this topic.

Offline FlevasGRTopic starter

  • Regular Contributor
  • *
  • Posts: 98
  • Country: gr
digitally controlled potentiometer? I got this!
« on: September 04, 2015, 04:17:31 pm »
The other day i was making a BT controlled 50W flashlight and i wanted a way to change the voltage from the stepup converter but in order to change it i wanted a digitally controlled potentiometer. Unfortunately i couldn't wait for shipping so i had to improvise.

A cheap servo will do the job. 8)

 

Offline lutkeveld

  • Regular Contributor
  • *
  • Posts: 126
  • Country: nl
Re: digitally controlled potentiometer? I got this!
« Reply #1 on: September 04, 2015, 04:25:50 pm »
Lol, make sure to patent this
 

Offline Melt-O-Tronic

  • Frequent Contributor
  • **
  • Posts: 259
  • Country: us
  • Brilliant with a slaughtering iron in my hand!
Re: digitally controlled potentiometer? I got this!
« Reply #2 on: September 04, 2015, 05:26:13 pm »
Facepalm + high five!   :clap:
 

Offline canibalimao

  • Regular Contributor
  • *
  • Posts: 127
  • Country: pt
Re: digitally controlled potentiometer? I got this!
« Reply #3 on: September 04, 2015, 05:36:02 pm »
You don't know for how long I've been looking for a digital variable resistor! This is genious! When will you start selling these things?  :clap:
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: digitally controlled potentiometer? I got this!
« Reply #4 on: September 04, 2015, 05:50:54 pm »
You do know that there are many i2c and SPI digital pots on the market right?

One that I have used before....
http://www.digikey.com/product-search/en?KeyWords=MCP4661T-503E%2FMLCT-ND&WT.z_header=search_go
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline FlevasGRTopic starter

  • Regular Contributor
  • *
  • Posts: 98
  • Country: gr
Re: digitally controlled potentiometer? I got this!
« Reply #5 on: September 04, 2015, 05:55:17 pm »
You do know that there are many i2c and SPI digital pots on the market right?

One that I have used before....
http://www.digikey.com/product-search/en?KeyWords=MCP4661T-503E%2FMLCT-ND&WT.z_header=search_go

Yeas, but as i said i couldn't wait. The only place i can buy ICs is from ebay and it takes 20-30 days :/
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: digitally controlled potentiometer? I got this!
« Reply #6 on: September 04, 2015, 05:59:59 pm »
In that case, BRAVO! Great improvisation in the face of challenge. You would be a good Astronaut.
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline SundayProgrammer

  • Contributor
  • Posts: 33
  • Country: fi
Re: digitally controlled potentiometer? I got this!
« Reply #7 on: September 04, 2015, 06:05:21 pm »
You do know that there are many i2c and SPI digital pots on the market right?

One that I have used before....
http://www.digikey.com/product-search/en?KeyWords=MCP4661T-503E%2FMLCT-ND&WT.z_header=search_go

Yep and even motorized pots are widely available. Right now I'm building spindle control to PCB engraver with one.
http://www.ebay.com/itm/ALPS-2x100KA-LOG-Dual-RK16812MG-Stereo-Motorized-Potentiometer-Pot-1pc-/400714743165?hash=item5d4c75bd7d

Axel.
 

Offline German_EE

  • Super Contributor
  • ***
  • Posts: 2399
  • Country: de
Re: digitally controlled potentiometer? I got this!
« Reply #8 on: September 04, 2015, 09:23:12 pm »
A few observations:

1) Your average digital potentiometer on a chip will only work to the chip supply voltage, feed anything more than this and you let the magic smoke out.

2) Your average digital potentiometer on a chip is a low current device, this method could be used with a wirewound resistor in medium current applications.

3) Most digital potentiometers use either I2C or SPI which means a microchip somewhere, this technique could use a simple 555 chip.

4) Isolation between the control signals and the variable resistor is very good, useful for high voltage applications.

So, this particular implementation may not be too neat but the idea is sound,
Should you find yourself in a chronically leaking boat, energy devoted to changing vessels is likely to be more productive than energy devoted to patching leaks.

Warren Buffett
 

Offline AF6LJ

  • Supporter
  • ****
  • Posts: 2902
  • Country: us
Re: digitally controlled potentiometer? I got this!
« Reply #9 on: September 04, 2015, 09:31:11 pm »
I have to hand it to Flavas that is Great.
Sue AF6LJ
 

Offline VK3DRB

  • Super Contributor
  • ***
  • Posts: 2252
  • Country: au
Re: digitally controlled potentiometer? I got this!
« Reply #10 on: September 04, 2015, 11:08:16 pm »
I think we have the next Steve Wozniak here. Can't wait for iPot 2.0 :D. The production volume world wide in the first year is forecast at 1.

Seriously, you could put in a closed loop control algorithm and you could get an accurate resistance, but mechanical hysteresis could present a problem, making it not too different to the resolution of a digital pot IC.
 

Offline retrolefty

  • Super Contributor
  • ***
  • Posts: 1648
  • Country: us
  • measurement changes behavior
Re: digitally controlled potentiometer? I got this!
« Reply #11 on: September 04, 2015, 11:30:08 pm »
Whatever it takes to move the project on is what I say.  :-+

 The fundamental concept is valid. For a more professional rendition for this concept one can look here:

http://jimmyauw.com/wp-datajim/audio/119_alps1.jpg

Another advantage of this kind of arrangement is that one can both manually manipulate the pot as well as electrically. That is something you couldn't do with the hobby servo drive unless you power off servo when not changing values. IC volume chips are very handy but as already stated there are real limitations that the chip solution can't meet for some applications.


 
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16272
  • Country: za
Re: digitally controlled potentiometer? I got this!
« Reply #12 on: September 05, 2015, 05:34:11 am »
Problem with the ALPS motorised pots is that they invariably are a log law ( typically audio taper using 2 track segments) and also are limited to a few low power rated resistance values. Servo upgraded one will work and you are free to use any pot in any power rating with only needing a shaft that is adjustable via a knob. If it needs 200Nm to turn you just get a big enough servo driver to move it.
 

Offline Galenbo

  • Super Contributor
  • ***
  • Posts: 1469
  • Country: be
Re: digitally controlled potentiometer? I got this!
« Reply #13 on: September 05, 2015, 11:45:58 am »
A few observations:
1) Your average digital potentiometer on a chip will only work to the chip supply voltage, feed anything more than this and you let the magic smoke out.
2) Your average digital potentiometer on a chip is a low current device, this method could be used with a wirewound resistor in medium current applications.
3) Most digital potentiometers use either I2C or SPI which means a microchip somewhere, this technique could use a simple 555 chip.
4) Isolation between the control signals and the variable resistor is very good, useful for high voltage applications.
So, this particular implementation may not be too neat but the idea is sound,

I used an optocoupler for that in the past.
All potentiometers I saw are used as variable resistor or voltage divider. A simple schematic with some resistors can do that.
It isn't digitally controlled, an additional D/A or reconfiguring an output pin can do that.

also from me:
Facepalm + high five!   :clap:
« Last Edit: September 05, 2015, 11:48:41 am by Galenbo »
If you try and take a cat apart to see how it works, the first thing you have on your hands is a nonworking cat.
 

Offline canibalimao

  • Regular Contributor
  • *
  • Posts: 127
  • Country: pt
Re: digitally controlled potentiometer? I got this!
« Reply #14 on: September 05, 2015, 11:52:27 am »
You do know that there are many i2c and SPI digital pots on the market right?

One that I have used before....
http://www.digikey.com/product-search/en?KeyWords=MCP4661T-503E%2FMLCT-ND&WT.z_header=search_go

Yes, but using this packages in DIY projects is not very handy...


About the motorized pots, they are a bit expensive and run it on a low power environment could be a bit tricky... I know that a servo isn't better than this, this was just a funny project.
 

Offline krivx

  • Frequent Contributor
  • **
  • Posts: 765
  • Country: ie
Re: digitally controlled potentiometer? I got this!
« Reply #15 on: September 05, 2015, 12:00:45 pm »
You do know that there are many i2c and SPI digital pots on the market right?

One that I have used before....
http://www.digikey.com/product-search/en?KeyWords=MCP4661T-503E%2FMLCT-ND&WT.z_header=search_go

Yes, but using this packages in DIY projects is not very handy...


About the motorized pots, they are a bit expensive and run it on a low power environment could be a bit tricky... I know that a servo isn't better than this, this was just a funny project.

They are available in soic and DIP as well. http://www.microchip.com/wwwproducts/Devices.aspx?product=MCP41010
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8240
Re: digitally controlled potentiometer? I got this!
« Reply #16 on: September 05, 2015, 12:20:16 pm »
Search "motorised rheostat" and you can find some very high-power ones, used in industrial control applications:

http://www.micronor.com/products.php?product_id=248
 

Offline canibalimao

  • Regular Contributor
  • *
  • Posts: 127
  • Country: pt
Re: digitally controlled potentiometer? I got this!
« Reply #17 on: September 05, 2015, 12:51:00 pm »
You do know that there are many i2c and SPI digital pots on the market right?

One that I have used before....
http://www.digikey.com/product-search/en?KeyWords=MCP4661T-503E%2FMLCT-ND&WT.z_header=search_go

Yes, but using this packages in DIY projects is not very handy...


About the motorized pots, they are a bit expensive and run it on a low power environment could be a bit tricky... I know that a servo isn't better than this, this was just a funny project.

They are available in soic and DIP as well. http://www.microchip.com/wwwproducts/Devices.aspx?product=MCP41010

OMG how could I never see this?  :o  |O I've asked so many times for an electronic variable resistor and the only replys I got were recommending that other IC rx8pilot posted.

Thank you very much!!!
 

Offline Galenbo

  • Super Contributor
  • ***
  • Posts: 1469
  • Country: be
Re: digitally controlled potentiometer? I got this!
« Reply #18 on: September 06, 2015, 11:31:11 am »
Search "motorised rheostat" and you can find some very high-power ones, used in industrial control applications:

http://www.micronor.com/products.php?product_id=248

The word makes me think of the "actuator" that controls the throttle of a Diesel engine in a 1000kVA UPS/GenSet.
If you try and take a cat apart to see how it works, the first thing you have on your hands is a nonworking cat.
 

Offline webgiorgio

  • Regular Contributor
  • *
  • Posts: 70
  • Country: dk
Re: digitally controlled potentiometer? I got this!
« Reply #19 on: May 01, 2023, 11:43:00 am »
True there are digital potentiometer chips...but this one also features several kV isolation :)
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12807
Re: digitally controlled potentiometer? I got this!
« Reply #20 on: May 01, 2023, 12:00:39 pm »
It would probably have been much simpler to vary the boost converter output voltage by injecting current at its controller's feedback pin to offset the feedback voltage.   Filtered PWM from your MCU fed via a resistor to that pin could sweep the output from a little above that set by the feedback divider down to the input voltage as you increase the duty cycle.

OTOH that's boring and wouldn't have provided much needed amusement on a bank holiday!
 

Offline pardo-bsso

  • Regular Contributor
  • *
  • Posts: 201
  • Country: ar
Re: digitally controlled potentiometer? I got this!
« Reply #21 on: May 01, 2023, 04:00:11 pm »
Search "motorised rheostat" and you can find some very high-power ones, used in industrial control applications:

http://www.micronor.com/products.php?product_id=248

The word makes me think of the "actuator" that controls the throttle of a Diesel engine in a 1000kVA UPS/GenSet.

You also find them in old (and not quite) xray power supplies. At least I did when servicing crystallography equipment. Many of them were all vacuum tube and the servo arrangement was very clever.
 

Offline Kim Christensen

  • Super Contributor
  • ***
  • Posts: 1258
  • Country: ca
Re: digitally controlled potentiometer? I got this!
« Reply #22 on: May 01, 2023, 04:17:36 pm »
When I saw OP's avatar and the top part of the image, I thought I was on a different forum and was going to see "a digitally controlled potentiometer landed on the Mun" or something.
« Last Edit: May 01, 2023, 04:21:31 pm by Kim Christensen »
 

Online Bud

  • Super Contributor
  • ***
  • Posts: 6877
  • Country: ca
Re: digitally controlled potentiometer? I got this!
« Reply #23 on: May 01, 2023, 04:51:59 pm »
Motorized linear actuated pots were a thing in professional audio mixing gear back then, weren't they ?
Facebook-free life and Rigol-free shack.
 

Online themadhippy

  • Super Contributor
  • ***
  • Posts: 2545
  • Country: gb
Re: digitally controlled potentiometer? I got this!
« Reply #24 on: May 01, 2023, 05:01:10 pm »
Cunning solution.similar to the old rc car,no complicate electronics,  speed controllers
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf