Need help? Call us:

+356 27443236

No products in the cart.

Menu 2 Menu

ACEBOTT 12X12mm Button Module/ Push Botton/ Switch/ Key ModuleEasy-Plug

2.95 inc vat

In stock

Estimated Delivery Time: Within 24 hours

or
SKU: QB067 Categories: ,

Have any Questions?

Feel free to Get in touch

Pay safely with Visa Pay safely with Master Card Pay safely with PayPal Pay safely with Maestro
Guarantee Safe and Secure Payment Checkout

QB038/QB067 Button Module

1.Product Introduction

Button module is a common electronic component used to achieve key operation in electronic devices.

The Button module is composed of two electrodes and a spring-type button, which is located between the two electrodes. When the button is not pressed, the two electrodes of the button are disconnected, and the circuit is in the disconnected state; When the key is pressed, the two electrodes touch to form a closed circuit.

Application reference: keyboard, control switch, etc.

2.Parameter Specification

Parameter Value//Description
Operating voltage 3.3V~5V
Operating temperature -10°C~+50°C
Output signal Digital signal
Size 3.16cm*2.38cm
../../_images/Button-5.jpg

3.Wiring Diagram

../../_images/Button-2.png
PIR Motion Sensor UNO
VCC 5V
GND GND
S Digital Pin 7

4.Sample Code

1//www.acebott.com
2void setup() {
3pinMode(7,INPUT);///Set pin 7 to input mode
4Serial.begin(9600);//Set baud rate to 9600
5}
6void loop() {
7Serial.println(digitalRead(7));//Read the state of pin 7and print it to the serial monitor
8delay(1000);
9}

5.Test Result

After uploading the code to the controller board, open the serial port monitor of the Arduino IDE, set the baud rate to 9600, and switch to scroll mode.

When we press the key, the serial port returns data 0; When the key is released, the serial port returns data 1.

../../_images/Button-3.png
../../_images/Button-4.jpeg

6.Related Resources

ACEBOTT 12X12mm Button Module/...

2.95 inc vat

In stock