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:

New Circuits

.

 


Popular Circuits

Courtesy-light-delay-switch
single chip am radio circuit
Lessons In Semiconductors
Loudspeaking radio receiver with a bridge amplifier powered by free energy
L4960 by a monolithic switching power supply
Two electric motors has started manual and automatic control circuit
A hydraulic circuit diagram showing



Top