The Single Button module is a compact module that integrates a 12x12mm tactile momentary button, pullup resistor and a LED indicator. It also comes with a breadboard/Arduino friendly pin headers. The Single Button module is part of Layad Circuits’ Kimat series of rapid prototyping products.
12x12mm tactile momentary switch
LED indicator for the switch
Integrated pull-up resistor
Compatible with 3.3V or 5V controllers
Compact form factor, board dimensions:
Standard 2.54mm pitch headers. Breadboard
|Vcc pin. Compatible with 3.3V or 5V
|Signal pin. Low when button is
pressed. High otherwise
When the push button is pressed, current flows through LED1 via R1 and hence, will light up the LED. Depressing the button turns the LED off. The output at the S is normally high when the button is not pressed due to the pull-up resistor R2. C1 and R2 also serves as a low pass filter to help smooth out mechanical bounce.
Buttons are among the simplest and fastest user input method for microcontroller projects. To prevent the signal from floating, you often need to connect external pull-up or pull-down resistors when working with GPIO’s without internal. You may also want to add an LED to indicate the state of the button. In some instances, this seemingly simple task may turn troublesome especially for multiple buttons. This is why we have this module. It is a ready-made push button for general purpose user input.