الرئيسية

دخول

تتبع الطلب

Large Button 4*4 Matrix Keypad for Arduino DIY Programming Projects

حالة التوفر: متوفر في المخزون

941 متبقي
مدة الوصل المتوقعة إلى قطر:
[12 ر.ق] (6-14 أيام)
Please select a shipping method
تقدير التسليم
سعر
مرسل
Tracking
6-14 أيام
12 ر.ق
شحن مباشر
لا
Frequently bought together:
Large Button 4*4 Matrix Keypad for Arduino DIY Programming Projects
أنت تشاهد الآن:Large Button 4*4 Matrix Keypad for Arduino DIY Programming Projects
35 ر.ق
لوحة تطوير Keyestudio-Type C USB ، واي فاي مدمج ، بلوتوث لمشاريع اردوينو ، IOT our Plus<span> - </span>esp32-plus-board
لوحة تطوير Keyestudio-Type C USB ، واي فاي مدمج ، بلوتوث لمشاريع اردوينو ، IOT our Plus
esp32-plus-board, esp32-plus-board
ESP32 Core Board
ESP32 PLUS Board
ESP32-IO Shield
144 ر.ق
32 ر.ق
Keyestudio Micro:bit EASY Plug Ultimate Starter Kit for BBC Microbit STEM EDU Programming Learning Sensor Starter Kit<span> - </span>With Micro Bit Board
Keyestudio Micro:bit EASY Plug Ultimate Starter Kit for BBC Microbit STEM EDU Programming Learning Sensor Starter Kit
with-micro-bit-board
No Micro bit Board
With Micro Bit Board
479 ر.ق
Keyestudio Microbit V2.2 الأساسية كاتب عدة ل بي بي سي مايكرو: بت عدة الجذعية برمجة طالب عدة البرنامج التعليمي 38 مشاريع<span> - </span>with-microbit-v2-2
Keyestudio Microbit V2.2 الأساسية كاتب عدة ل بي بي سي مايكرو: بت عدة الجذعية برمجة طالب عدة البرنامج التعليمي 38 مشاريع
with-microbit-v2-2, with-microbit-v2-2
NO microbit V2.2
With microbit V2.2
484 ر.ق
Total: 2,303 ر.ق

شحن دولي

يرجى معاينة تفاصيل المنتج لمعرفة بلد المنشأ والشحن

مشاركة المنتج

  • High-concerned chemical: None
  • is_customized: Yes
  • Model Number: 4*4
  • Supply Voltage: 5v
  • Application: Computer
  • Type: Drive IC
  • Brand Name: keyestudio
  • Origin: Mainland China
  • Condition: New

In the application system of microcontroller, keyboard is essential in man-machine dialogue. When you are short of a button, you can connect one to the I/O port of the comtroller; but when you need a lot of buttons with limited I/O port resources, this 4*4 Matrix Keypad is no doubt your best choice.

In the application system of microcontroller, keyboard is essential in man-machine dialogue. When you are short of a button, you can connect one to the I/O port of the comtroller; but when you need a lot of buttons with limited I/O port resources, this 4*4 Matrix Keypad is no doubt your best choice.

4*4 matrix keypad is the most applied keypad form. We need to master its keypad identification technology as entry to microcontroller world. Here, we will use an examples to illustrate the identification method of 4*4 matrix keypad. The key layout is in matrix form, so with only eight I/O ports, we can identify 16 buttons, saving lots of I/O port resources.




Hardware required

4*4 large button module * 1

Multicolor jumper wires * several 

Breadboard * 1


Sample program

The smaple code of this button module is in the folder “4*4 button experiment”. Firstly, you need to unzip class library file “Keypad.zip” and place it in subfolder “libraries” of folder “Aduino” .

Codes are as below:

#include

const byte ROWS = 4; // define row 4

const byte COLS = 4; // define column 4

char keys[ROWS][COLS] = {

{‘1′,’2′,’3′,’A’},

{‘4′,’5′,’6′,’B’},

{‘7′,’8′,’9′,’C’},

{‘*’,’0′,’#’,’D’}

};

// connect row ports of the button to corresponding IO ports on the board

byte rowPins[ROWS] = {2,3,4,5};

// connect column ports of the button to corresponding IO ports on the board

byte colPins[COLS] = {6,7,8,9};

// call class library performance function of Keypad

Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );

void setup(){

Serial.begin(9600);

}

void loop(){

char key = keypad.getKey();

if (key != NO_KEY){

Serial.println(key);

}

}

5. Upload the program

According to arduino tutorial, upload the program to the board.

6. Program fuction

Upload the program to the board, open serial monitor; press certain button on the module, it will





منتجات مقترحة

Keyestudio BMP280 5V Digital Barometric Pressure Altitude Sensor High Precision Atmospheric Module For Arduino

37 ر.ق

Keyestudio Ultimate Starter Kit For Raspberry Pi Electronic Learning Kit For DIY Projects Programming Learning

تحديد أحد الخيارات هناك العديد من الأشكال المختلفة لهذا المنتج. يمكن اختيار الخيارات على صفحة المنتج

نطاق السعر: من ⁦103 ر.ق⁩ خلال ⁦489 ر.ق⁩

Keyestudio IOT Smart Farm Kit For Arduino&Scratch Programming Projects DIY Sensor Kit STEM Educational Set for Adults Teens

603 ر.ق

Keyestudio DIY Electronic Building Blocks 130 Motor Module For Arduino & Raspberry Pi Copmatible With LEGO

تحديد أحد الخيارات هناك العديد من الأشكال المختلفة لهذا المنتج. يمكن اختيار الخيارات على صفحة المنتج

نطاق السعر: من ⁦39 ر.ق⁩ خلال ⁦132 ر.ق⁩

Keyestudio Breadboard MB102 830/400/SYB-170/ZY-55/ZY-25 Holes PCB Breadboard&Jump line Universal Test For Arduino DIY Projects

تحديد أحد الخيارات هناك العديد من الأشكال المختلفة لهذا المنتج. يمكن اختيار الخيارات على صفحة المنتج

نطاق السعر: من ⁦28 ر.ق⁩ خلال ⁦36 ر.ق⁩

High Quality LED Button Module For Arduino&Micro bit&Raspberry Pi DIY Programming Parts Module Compatible Lego

تحديد أحد الخيارات هناك العديد من الأشكال المختلفة لهذا المنتج. يمكن اختيار الخيارات على صفحة المنتج

نطاق السعر: من ⁦52 ر.ق⁩ خلال ⁦54 ر.ق⁩

بإمكانك إضافة

Keyestudio Complete IOT Starter Kit For Arduino DIY Seratch Graphieal DIY STEM Education Electronic Learning Kit+32 Projects

تحديد أحد الخيارات هناك العديد من الأشكال المختلفة لهذا المنتج. يمكن اختيار الخيارات على صفحة المنتج

نطاق السعر: من ⁦293 ر.ق⁩ خلال ⁦353 ر.ق⁩

Keyestudio DIY Electronic Building Blocks 130 Motor Module For Arduino & Raspberry Pi Copmatible With LEGO

تحديد أحد الخيارات هناك العديد من الأشكال المختلفة لهذا المنتج. يمكن اختيار الخيارات على صفحة المنتج

نطاق السعر: من ⁦39 ر.ق⁩ خلال ⁦132 ر.ق⁩

keyestudio I2C Interface Conversion Shield V1 For Arduino

36 ر.ق

Keyestudio Edge Connector I/O Sensor Breakout Expansion for BBC Micro:bit Microbit

36 ر.ق

Keyestudio NANO IO Shield Controller Terminal Adapter Expansion Board for Arduino Nano

35 ر.ق

High Quality LED Button Module For Arduino&Micro bit&Raspberry Pi DIY Programming Parts Module Compatible Lego

تحديد أحد الخيارات هناك العديد من الأشكال المختلفة لهذا المنتج. يمكن اختيار الخيارات على صفحة المنتج

نطاق السعر: من ⁦52 ر.ق⁩ خلال ⁦54 ر.ق⁩

اختر المنتج
0
    0
    السلة
    السلة فارغةرجوع للمتجر