I would like to replace a variable resistor with a device that is controlled by MCU. I know a transistor can act like a switch which solves part of my problem.
Thanks,
Clem
Be sure to click 'more' and select 'suggest as answer'!
If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!
I would like to replace a variable resistor with a device that is controlled by MCU. I know a transistor can act like a switch which solves part of my problem.
Thanks,
Clem
Do you have a schematic?
No, one's idea in head. I am looking for a valve function without a pot. The current will be small < 500mA.
Maybe a PWM would work?
Was my first thought, too. If you only look at the output, a pot supplies a variable voltage. That's what pwm after smoothing does.
BTW: think there's a typo in the title.
Hi Clem,
There are digitally controlled resistors available.
I had one with my Parallax sensor kit and that was four years ago, so do some product searches, I am sure they are even better now.
DAB
If you are a 'roll-yer-own' kind of guy, you could use a MUX and a resistor network, maybe R2R, probably.
Hi Clem,
I remember that Jeremy Blum had a chapter in his book, (Chapter 9) "Exploring Arduino" where he used the Arduino to control a digital potentiometer. As I remember it was very well written and might provide a good template for doing what you want to do. Here is a Link to his web site and a preview of that chapter.
http://www.exploringarduino.com/content/ch9/
John