Connect with us

problem with dip switch

Discussion in 'General Electronics Discussion' started by singleboy, Apr 14, 2011.

Scroll to continue with content
  1. singleboy

    singleboy

    2
    0
    Apr 14, 2011
    hi
    I want to design a simple circuit with a dip switch. when the dipswitch is ON, we receive the Vcc and when its OFF, we receive the Ground.
    how can I design?
    -----------
    edit: sorry for wrong topic. I meant DIP SWITCH
     
    Last edited: Apr 14, 2011
  2. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,411
    2,779
    Jan 21, 2010
    It depends on the current that is required. There are many solutions.

    For just a voltage level, where minimal current will be sunk, connecting one side of the switch to Vcc and the other via a suitable resistor to 0V will do the trick.

    If you need more current, then you could either use the same circuit and some transistors to give you a low impedance path to either Vcc or gnd.

    Another option is a dip switch that is spdt rather than the more usual spst.

    Note that some things listed as DIP switches are not in fact in a DIL package -- if that is important.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-