element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Variable programable resistor
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 7 replies
  • Answers 3 answers
  • Subscribers 474 subscribers
  • Views 731 views
  • Users 0 members are here
  • microcontrollers
  • embedded
  • programmable_logic
Related

Variable programable resistor

Former Member
Former Member over 14 years ago

Hello all,

 

I need to creat a cheap device under 50$ that can simulate a Digital potentiometer. A digital potentiometre is also know as programmable resitor and it alows the user to change it's value from a PC.I found some uC that can simulate a digital potentiometer. My biggest problem is that I can't use the because they don't have a good rezolution. I need a device that can go from 0 to 400ohm whit a rezolution of at least 1 ohm (it whould be recomanded to be 0.5ohm). This device I need to creat some test in a lab enviroment so they need to realy good.

 

At the moment whe have some devices bouth they are realy expensive. I need 8 variable resistors and the price of one devce that simulate one resistor is around 250$. An this is to much.

 

My device is power by a variable pover supply from 0 to 36v. Has any one an ideea how cold I creat a divece to do this?

  • Sign in to reply
  • Cancel
  • jvdberg@ieee.org
    0 jvdberg@ieee.org over 14 years ago

    If you want to control a powersupply, why not use a D/A converter to create a reference voltage?

    Or use an A/D converter to read back voltage and current. For metering two or more values, an analog switch like CD4066BM..CD4066BM.. can be used to sequencially connect the different parameters to the A/D converter. Digital potentiometers are made to divide an unknown signal. The accurate ones are indeed very expensive.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 14 years ago in reply to jvdberg@ieee.org

    I need to creat a fule tank simulater. A fule tank sensor is somthing like you can see in the picture below. The value for Rv and R1s is fix. My problem is that i need to crate a diceve that simulates the 2 resistor, R11 and R12. I don't have the permision to interfere whit the power supplay voltage. The only thing I can do is to get whit an ADC the electricity characteristics and uses the DAC to simulate the Resistor.

     

    When the tank is empty then R11 is 0 and R12 is 400ohm. also when the tank if full R12 is 0 and R11 is 400ohm.

     

     

    image

    I macked some devices whit uC PIC16F PIC24F and i used the DAC and ADC in a realy simple way to pover a led ore somthing like this. I belive that it wold be more eficent to uses a DSP because it has more convertors and it's faster.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • lpetacchi
    0 lpetacchi over 14 years ago in reply to Former Member

    In my opinion, the easiest way is to use 2 DACs for U11 and U12. Reading U voltage with an ADC, you can program DACs with very high resolution. PSOC1 fits the task.

    You only need to formally derive U11 and U12 as a function of R11, R12, with simple circuit analysis.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 14 years ago in reply to lpetacchi

    Thank you for youre help. I started to work at the schematic.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jvdberg@ieee.org
    0 jvdberg@ieee.org over 14 years ago in reply to Former Member

    I assume the Rv resistors are the coils of a crossed coil meter.

    This is a wheatstone bridge.

    Try this schematic. The pot has to be adjusted once for middle range. You can start with an other voltage source to drive the left transistor. If it works satisfactory, you can add the DAC and buffer circuits.. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 14 years ago in reply to jvdberg@ieee.org

    I cold use 2 DAC and buffers to control the tranzistors. Because the value for the input voltage may vary from 6 to 17v then I cold uses another ADC to monitorzate the input voltage. And if a variation ocures then to ajust the tranzistors. Because i need to check the software that evaluets the value of fule in the tank i need to control the value of bouth rezistors, in this cases tranzistors and set diferent values.

     

     

    I draw a quick schematic ... Sorry  i draw this schematic reali fest

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • lpetacchi
    0 lpetacchi over 14 years ago in reply to Former Member

    Just a suggestion:  close the op-amp feedback on Q1 (Q2) . This way you don't need a (matched) differential stage; remember to invert the connections to opamp inputs and check for stability.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube