QB098 4×4 Touch Keyboard Module

1.Product Introduction

../../_images/4x4-1.png

The 4×4 touch keyboard module is an input device used to input data into a computer or other electronic device. Each key of this keyboard is a capacitive touch design, with a layout of four rows and four columns, and each key represents a specific character. When a finger touches a key, it causes a corresponding change in the capacitance of the touch key. Once the detection circuit connected to the key detects this capacitance change, it outputs information that the corresponding key has been pressed.

Application reference: password doors, calculators, ATM machines, mobile phones, etc.

2.Parameter Specification

Parameter Value//Description
Operating voltage 3.3V~5V
Operating temperature -40°C~+85°C
Communication method I2C
Size 5.6cm*7.8cm
../../_images/4x4-2.png

3.Wiring Diagram

Hint

Expansion board is attached to esp32 controller board.

../../_images/4x4-3.png
4×4Touch Keyboard ESP32
SCL SCL
SDA SDA
VCC 5V
GND GND

4.Sample Code

 1#include <ACB_KeyBoard_I2C.h>
 2ACB_KeyBoard_I2C kb;//Create a touch keyboard object
 3
 4void setup() {
 5
 6  Serial.begin(115200);
 7}
 8
 9void loop() {
10    char customKey = kb.getKey();//Get the value of a key
11    if(customKey){ //Waiting for a key touch
12      Serial.print(customKey);
13      delay(500);
14    }
15    
16  }
17
18

5.Test Result

After you have successfully connected the circuit according to the wiring diagram and successfully uploaded the correct program, when you touch and press a key, the serial port monitor will print the corresponding key value.

../../_images/4x4-4.png

6.Related Resources

PDF and Code

7.Get One Now

B2B Business: info@acebott.com

1.Product Introduction

../../_images/4x4-1.png

The 4×4 touch keyboard module is an input device used to input data into a computer or other electronic device. Each key of this keyboard is a capacitive touch design, with a layout of four rows and four columns, and each key represents a specific character. When a finger touches a key, it causes a corresponding change in the capacitance of the touch key. Once the detection circuit connected to the key detects this capacitance change, it outputs information that the corresponding key has been pressed.

Application reference: password doors, calculators, ATM machines, mobile phones, etc.

2.Parameter Specification

Parameter Value//Description
Operating voltage 3.3V~5V
Operating temperature -40°C~+85°C
Communication method I2C
Size 5.6cm*7.8cm
../../_images/4x4-2.png

3.Wiring Diagram

Hint

Expansion board is attached to esp32 controller board.

../../_images/4x4-3.png
4×4Touch Keyboard ESP32
SCL SCL
SDA SDA
VCC 5V
GND GND

4.Sample Code

 1#include <ACB_KeyBoard_I2C.h>
 2ACB_KeyBoard_I2C kb;//Create a touch keyboard object
 3
 4void setup() {
 5
 6  Serial.begin(115200);
 7}
 8
 9void loop() {
10    char customKey = kb.getKey();//Get the value of a key
11    if(customKey){ //Waiting for a key touch
12      Serial.print(customKey);
13      delay(500);
14    }
15    
16  }
17
18

5.Test Result

After you have successfully connected the circuit according to the wiring diagram and successfully uploaded the correct program, when you touch and press a key, the serial port monitor will print the corresponding key value.

../../_images/4x4-4.png

6.Related Resources

7.Get One Now

B2B Business: info@acebott.com

Related posts

Leave the first comment

Apply for a Free Trial

This product trial is prioritized for educators and academic institutions.

By filling out and submitting this form, you agree to the
Acebott Product Trial Terms and Conditions.

Unlock Your Exclusive Education Discount Today

Fill out this form to apply for special discounts tailored for educators and institutions. Enjoy at least 5% off on our STEM kits—because education deserves a reward!

Please fill out the form above, and our team will get in touch with you promptly!
😊🚀

Get A Free Quote! 🎉

Can’t find the perfect STEM kit ? Want the best wholesale prices ?
Interested in becoming a distributor ?

Just fill out the form above, and we’ll get back to you ASAP with all the info you need! 😊🚀

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.