Cov txheej txheem:

Infrared Matrix Password Input System Nrog Arduino: 13 Cov Kauj Ruam
Infrared Matrix Password Input System Nrog Arduino: 13 Cov Kauj Ruam

Video: Infrared Matrix Password Input System Nrog Arduino: 13 Cov Kauj Ruam

Video: Infrared Matrix Password Input System Nrog Arduino: 13 Cov Kauj Ruam
Video: Tutorial for Arduino ▶22 Infrared Matrix Password Input System with Arduino 2024, Kaum ib hlis
Anonim
Infrared Matrix Password Input System Nrog Arduino
Infrared Matrix Password Input System Nrog Arduino

Pab pawg ICStation qhia koj paub Infrared Matrix Password Input System raws ICStation Compatible Board Arduino. Nws ua haujlwm nyob rau hauv DC 5v lub zog xa khoom, thiab siv 4 *4 Matrix Keyboard lossis lub chaw taws teeb tswj hluav taws xob kom nkag mus rau tus password, thiab siv LCD1602 los tso saib cov cim uas tus lej nkag mus raug thiab tsis raug tus lej nkag. Cov kab ke no yooj yim heev ua nrog tus nqi qis thiab muaj kev ruaj ntseg zoo. Dab tsi ntxiv, nws tuaj yeem siv rau hauv cov xwm txheej tshwj xeeb uas tib neeg ib txwm yuav tsum tsis txhob nyob ze, xws li thaj chaw tawg hluav taws xob siab, thaj chaw muaj kab mob siab thiab lwm yam.

Kev ua haujlwm: 1) Siv 4 *4 Matrix Keyboard txhawm rau nkag tus password thiab siv LCD1602 los tso saib qhov tshwm sim. Thaum tus lej zais raug, LCD1602 yuav tso tawm "Ua tiav!". Thaum tus lej zais tsis raug, LCD1602 yuav tso tawm "zoo siab txais tos".

2) Siv lub chaw taws teeb tswj hluav taws xob txhawm rau nkag tus password thiab siv LCD1602 los tso saib qhov tshwm sim. Thaum tus password raug, LCD1602 yuav tso tawm "Ua tiav!". Thaum tus lej zais tsis raug, LCD1602 yuav tso tawm "zoo siab txais tos".

Code rau siv:

www.icstation.com/newsletter/eMarketing/Infrared_Possword Code.zip

Kauj Ruam 1: Daim Ntawv Teev Npe:

Daim Ntawv Teev Npe
Daim Ntawv Teev Npe

1.1 × ICStation ATMEGA2560 Mega2560 R3 Board tau tshaj Arduino

2.1 × Pawg mov ci

3.1 × 10K RM103 Xiav Dawb Kuj Kuj Kuj Kuj Kuj Kuj Ruaj Khov

4.1 × 1602A HD44780 Cim LCD Zaub Module LCM Blue Backlight

5.1 × 4 *4 Matrix Keyboard

6.1 × Infrared Chaw Taws Teeb Tswj Cov Qauv

7.15 × Jumpers

8.15 × Dupont Kab

9.1 × 5v Lub Hwj Huam Fais Fab

Kauj ruam 2: Schematic Daim duab

Schematic Daim duab
Schematic Daim duab
Schematic Daim duab
Schematic Daim duab

Kauj Ruam 3: Txuas 5v Lub Hwj Huam Fais Fab thiab GND ntawm ICStation Mega2560 mus rau Pawg Mov Ci

Txuas 5v Cov Khoom Siv Hluav Taws Xob thiab GND ntawm ICStation Mega2560 mus rau Pawg Thawj Tswj Hwm
Txuas 5v Cov Khoom Siv Hluav Taws Xob thiab GND ntawm ICStation Mega2560 mus rau Pawg Thawj Tswj Hwm

Txoj kab liab yog rau lub hwj chim, dub yog rau GND.

Kauj Ruam 4: Faib Cov 16 Pins no

Faib Cov 16 Pins no
Faib Cov 16 Pins no

Kauj Ruam 5: Siv tus Pins rau LCD1602

Soldering Pins rau LCD1602
Soldering Pins rau LCD1602

Kauj Ruam 6: Txuas lub LCD1602 mus rau Lub Rooj Mov Mov

Txuas lub LCD1602 mus rau Lub Rooj Mov Mov
Txuas lub LCD1602 mus rau Lub Rooj Mov Mov

Kauj Ruam 7: Txuas Anode thiab Cathode ntawm LCD1602 mus rau Common Anode thiab Cathode

Txuas Anode thiab Cathode ntawm LCD1602 mus rau Common Anode thiab Cathode
Txuas Anode thiab Cathode ntawm LCD1602 mus rau Common Anode thiab Cathode

Kauj Ruam 8: Muab Tus Kws Kho Mob Kho Tau

Muab qhov Adjustable Resistor
Muab qhov Adjustable Resistor
Muab qhov Adjustable Resistor
Muab qhov Adjustable Resistor
Muab qhov Adjustable Resistor
Muab qhov Adjustable Resistor

Pin 1-anode, Pin3-cathode, tus pin 2-pin3 (LCD1602)

Kauj Ruam 9: Txuas tus Pin5 ntawm LCD1602 rau GND

Txuas tus Pin5 ntawm LCD1602 rau GND
Txuas tus Pin5 ntawm LCD1602 rau GND

Kauj ruam 10: Txuas 1602LCD mus rau ICStation Mega2560

Txuas 1602LCD mus rau ICStation Mega2560
Txuas 1602LCD mus rau ICStation Mega2560
Txuas 1602LCD mus rau ICStation Mega2560
Txuas 1602LCD mus rau ICStation Mega2560
Txuas 1602LCD mus rau ICStation Mega2560
Txuas 1602LCD mus rau ICStation Mega2560
Txuas 1602LCD mus rau ICStation Mega2560
Txuas 1602LCD mus rau ICStation Mega2560

Tus Pin4 (1602LCD) -The Pin12 (ICStation Mega2560)

Tus Pin6 (1602LCD) -The Pin11 (ICStation Mega2560)

Tus Pin 14 (LCD1602) -The Pin5 (ICStation Mega2560)

Lub Pon13 (LCD1602) -The Pin4 (ICStation Mega2560)

Pon12 (LCD1602) -Pin3 (ICStation Mega2560) Pon11 (LCD1602) -The Pin2 (ICStation Mega2560)

Kauj Ruam 11: Txuas 4 *4 Matrix Keyboard rau ICStation Mega2560

Txuas 4 *4 Matrix Keyboard rau ICStation Mega2560
Txuas 4 *4 Matrix Keyboard rau ICStation Mega2560
Txuas 4 *4 Matrix Keyboard rau ICStation Mega2560
Txuas 4 *4 Matrix Keyboard rau ICStation Mega2560

Kauj Ruam 12: Txuas Infrared Remote Control Module rau Pin7of ICStation Mega2560, GND thiab Anode

Pom zoo: