Unknown component

Discussion in 'The Projects Forum' started by Dritech, Sep 21, 2011.

  1. Dritech

    Thread Starter Well-Known Member

    Sep 21, 2011
    756
    5
    Hi all,

    This is my first post in this forum.

    So basically i want to use an 8051 microcontroller where I will have two input buttons (up and down). Every time the up button is pressed, the output of this 'unknown component' will increase by 10mV. When the down button is pressed, the output will decrease by 10mV. (please see attached photo)

    Can someone please help me in what component to use that will increase and decrease the output by 10mV every time the input buttons (up and down) are pressed ??

    all kind of help will be appreciated :)

    Thank you in advance
    Adrian
    (Malta)
     
  2. MrChips

    Moderator

    Oct 2, 2009
    12,446
    3,361
    Your mystery component can be implemented in a few different ways.
    What you are looking for is called a digital-to-analog converter or DAC.
    You can use a DAC chip.
    You can also use a PWM or pulse-width modulation output followed by an integrator.
    Another simple solution is to use a digital potentiometer.
     
  3. Dritech

    Thread Starter Well-Known Member

    Sep 21, 2011
    756
    5
    Thanks MrChips for your replay.
    I will do some research on digital pots.
     
Loading...