1602 LCD 16x2 Keypad Shield for Arduino (Blue Screen)

1602 LCD 16x2 Keypad Shield for Arduino (Blue Screen)
1602 LCD 16x2 Keypad Shield for Arduino (Blue Screen)1602 LCD 16x2 Keypad Shield for Arduino (Blue Screen)1602 LCD 16x2 Keypad Shield for Arduino (Blue Screen)
รหัสสินค้า SKU-00661
หมวดหมู่ โมดูลจอ LCD
ราคา 130.00 บาท
สถานะสินค้า พร้อมส่ง
ลงสินค้า 20 ก.ย. 2565
อัพเดทล่าสุด 20 ก.ย. 2565
คงเหลือ ไม่จำกัด
จำนวน
ชิ้น
หยิบลงตะกร้า
บัตรประชาชน
บุ๊คแบ๊งค์
คุ้มครองโดย LnwPay

LCD 16x2 Keypad Shield for Arduino

จอแสดงผล LCD ขนาด 16 ตัวอักษร 2 บรรทัด พร้อมปุ่มกด สามารถใช้ป้อนค่าปุ่มที่กดให้กับ Arduino เอาไปควบคุมข้อมูลต่าง ๆ ที่ต้องการได้อย่างสะดวก ไม่ต้องต่อสายเพิ่ม แค่เสียบก็พร้อมใช้งาน เหมาะสำหรับงานแสดงผลข้อมูลออกจอ LCD ที่ต้องการรับค่าปุ่มจากผู้ใช้ไปประมวลผล

Pin Function
Analog 0 Button (select, up, right, down and left)
Digital 4 DB4
Digital 5 DB5
Digital 6 DB6
Digital 7 DB7
Digital 8 RS (Data or Signal Display Selection)
Digital 9 Enable
Digital 10 Backlit Control

ตำแหน่งขาที่ใช้งานของ LCD Keypad Shield





วิธีการต่ออุปกรณ์ สอนใช้งาน Arduino LCD Keypad Shield จอแสดงผล พร้อมปุ่มกด

1.เชื่อมต่ออุปกรณ์ตามด้านล่าง
Arduino LCD Keypad Shield -> Arduino UNO R3

3. จากนั้นทำการ copy โค๊ดด้านล่างไปใส่ไว้ในโปรแกรม Arduino IDE

 

1
#include <LiquidCrystal.h>
2
const int pin_RS = 8;
3
const int pin_EN = 9;
4
const int pin_d4 = 4;
5
const int pin_d5 = 5;
6
const int pin_d6 = 6;
7
const int pin_d7 = 7;
8
const int pin_BL = 10;
9
LiquidCrystal lcd( pin_RS, pin_EN, pin_d4, pin_d5, pin_d6, pin_d7);
10
void setup() {
11
lcd.begin(16, 2);
12
lcd.setCursor(3, 0); // กำหนดตำแหน่ง Cursor (ช่องแนวนอนนับจากด้านซ้าย, ฃ่องแนวตั้งนับจากด้านบน)
13
lcd.print("My Arduino");// แสดงข้อความออกจอ LCD
14
lcd.setCursor(0, 1);
15
lcd.print("Press Key:");
16
}
17
void loop() {
18
int x;
19
x = analogRead (0); // อ่านค่าปุ่มที่ผู้ใช้งานกด
20
lcd.setCursor(10, 1);
21
 
22
if (x < 60) {
23
lcd.print ("Right ");
24
}
25
else if (x < 200) {
26
lcd.print ("Up ");
27
}
28
else if (x < 400) {
29
lcd.print ("Down ");
30
}
31
else if (x < 600) {
32
lcd.print ("Left ");
33
}
34
else if (x < 800) {
35
lcd.print ("Select");
36
}
37
}
 

วิธีการชำระเงิน

ร้านค้านี้ยังไม่ได้กำหนดวิธีการชำระเงิน กรุณา ติดต่อกับทางร้าน เกี่ยวกับรายละเอียดในการชำระเงิน
ทางร้านยังไม่ได้ทำการเพิ่มบัญชีรับเงิน กรุณาติดต่อ เจ้าของร้าน

CATEGORY

MEMBER

STATISTIC

หน้าที่เข้าชม114,268 ครั้ง
ผู้ชมทั้งหมด51,030 ครั้ง
เปิดร้าน31 ก.ค. 2559
ร้านค้าอัพเดท4 ก.ย. 2568

CONTACT US

รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านบ้านโค้ด-Bancode
บ้านโค้ด-Bancode
จำหน่ายบอร์ดไมโครคอนโทรลเลอร์ Arduino,Module,Shield,Sensor,R,L,C,IC เเละอื่นๆ โทร.0624952525
เบอร์โทร : 0964188828
อีเมล : bancode.dev@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

TOP เลื่อนขึ้นบนสุด
พูดคุย-สอบถาม