Information
Item weight
Barcode
Created time
Last updated on
Item description
รายละเอียดสินค้า
โมดูลคีย์บอร์ด ขนาด 4x4 ใช้งานกับ Arduino หรือบอร์ดไมโครคอนโทรลเลอร์ยอดนิยมได้

วิธีการต่อกับ arduino 



Schematic ของอุปกรณ์



ตัวอย่าง Code

/* Keypad Membrane 4x4 Example
Connects to 8 pins defined below.  Can be changed to any digital pins as needed.
Uses Keypad.h library
*/
#include <Keypad.h>

const byte ROWS = 4; // Define the number of rows on the keypad
const byte COLS = 4; // Define the number of columns on the keypad
char keys[ROWS][COLS] = { // Matrix defining character to return for each key
 {'1','2','3','A'},
 {'4','5','6','B'},
 {'7','8','9','C'},
 {'*','0','#','D'}
};
byte rowPins[ROWS] = {5, 4, 3, 2}; //connect to the row pins (R0-R3) of the keypad
byte colPins[COLS] = {9, 8, 7, 6}; //connect to the column pins (C0-C3) of the keypad

//initialize an instance of class
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
//===============================================================================
//  Initialization
//===============================================================================
void setup(){
 Serial.begin(9600);
}
//===============================================================================
//  Main
//===============================================================================  
void loop(){
 char key = keypad.getKey();
 
 if (key){     // If key is pressed, send it to the Serial Monitor Window
   Serial.println(key);
 }
}
Conditions
Tags

Exchange or return policy



Every item comes with a 30-day warranty. However, there are certain conditions that apply:

  1. The customer should not be responsible for any self-inflicted damage, such as incorrect power connections (for example, supplying 5V instead of the required 3.3V for a sensor).

  2. The product must be in perfect condition, without any breakage or damage caused by electricity (e.g., short circuits leading to electrical fires).

  3. The store does not accept product exchanges due to customer misunderstandings, such as purchasing the wrong size for their project or buying something without eventually using it. Customers can inquire about the product details and ensure compatibility before making a purchase by contacting us through our Line account @modulemore during business hours. Please note that there may be delays in response between 12:00 PM and 2:00 PM.

Return Policy: To initiate a product return, customers must provide the original receipt or a copy for quick verification. Returns can be sent to our store address by following these guidelines:

  1. Provide a detailed description of the damaged item(s).
  2. Mention any tests or experiments conducted by the customer.

Please note that the store reserves the right to make the final decision regarding product replacement or refund.

English

Categories

TRACK & TRACE

*Enter your order ID or email used in placing an order

OVERVIEW

Pageviews2,072,402 view(s)
Visitors1,333,128 time(s)
Last updatedSep 6, 2025

JOIN US

ร้านModuleMore
ร้านModuleMore
/www.modulemore.com/en
Join as a Member
600
Become a member of this store to receive special offers and promotions
Choose your language
Language
Currency
Change
Modify language
My orders
This seller's information
ร้านModuleMore
ModuleMore
Arduino compatible board, Iot, ESP32, ESP8266, Nodemcu, Raspberry pi, micro:bit and etc.
Mobile number : 0831710868
E-mail : paheyisoicus@gmail.com
Send message to seller
About this seller
Recently viewed items
Favourite this seller
Join as a Member
Share this page
Share this page

TOP Back to top
Contact me