Cheap pushbutton replaces rotary switch


Posted on May 8, 2012

The problem of setting any one of four modes of a µC-operated process has a straightforward solution: Have the µC check the states of some 4 bits of a µC register or an input port and then execute one of the four predetermined subroutines according to the result. The next question is how the operator sets these 4 bits or, specifically, selects a desirable mode of operation.



One approach is to use a rotary switch (Figure 1a). This circuit does the job but is rather expensive for consumer applications. You can also reject DIP switches because even a qualified person can choose a wrong setting when using this solution. Slide sw




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    IC 2 tones Siren
    eWater Electrolysis
    doorphone intercom
    single zone home alarms systems
    Non-standard 555 Astable Multivibrator
    Automatic Headlight Reminder
    Frequency sensitive rheostat for manual and automatic way starting circuit
    CD4001 composed of single-channel modulator



    Top