hi
i want to interface some switches to the AVR...
i came out to something like this (the Resistance value is 4.7 k,and VCC=5V,) for a pushbutton, and a normal close switch, all i need is the led should be on if switch is pushed, i can manage with change in the logic at GPIO,
but the normal closed switch circuit would be dissipating lots of energy... can some one give me better circuits...
i want to interface some switches to the AVR...
i came out to something like this (the Resistance value is 4.7 k,and VCC=5V,) for a pushbutton, and a normal close switch, all i need is the led should be on if switch is pushed, i can manage with change in the logic at GPIO,
but the normal closed switch circuit would be dissipating lots of energy... can some one give me better circuits...