Cov txheej txheem:
- Kauj Ruam 1: Qhov Yuav Tsum Tau
- Kauj Ruam 2: Theory Part (imp)
- Kauj Ruam 3: LIBRARY thiab RESISTOR CALCULATION
- Kauj Ruam 4: Pib Ua LCD (Txuas)
- Kauj Ruam 5: Txhim Kho Lcd thiab Khawm Khawm
- Kauj Ruam 6: Soldering Cov Khawm ntawm Zero Pcb
Video: DIY LCD Keypad Shield rau Arduino Uno: 6 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Kuv tau tshawb nrhiav ntau yam los ua DIY LCD Keypad daim thaiv thiab kuv pom tsis muaj yog li kuv tau ua ib qho thiab xav qhia rau koj paub.
Kauj Ruam 1: Qhov Yuav Tsum Tau
- ib Arduino Uno
- 16 x 2 po char
- txiv neej thiab poj niam Header pins
- Zero pcb
- ob peb ntawm resistors
- 10k lauj kaub (tau txais ib tus phooj ywg zoo)
- 5 laub khawm
- qee qhov me me ntawm cov xov hlau
- TOOLS YUAV TSUM TAU
- lub tshuab txiav (rau txiav xoom pcb)
- ib qho hlau txuas
- qee cov xov
- ib tug hlau clipper
- yog tag nrho
Kauj Ruam 2: Theory Part (imp)
Lub LCD keypad cov ntaub thaiv npog siv cov txheej txheem ntse heev thiab zoo uas yog nyeem cov nyees khawm los ntawm Analog nyeem tus pin A0
qhov ntawd yog qhov txias.
tab sis YUAV UA LI CAS?
Qhov zais cia yog VOLTAGE DIVIDERS
yog li dab tsi yog qhov faib hluav taws xob.
Qhov faib hluav taws xob yog ib qho yooj yim Circuit Court uas hloov qhov hluav taws xob loj rau hauv ib qho me me. Siv tsuas yog ob txoj hauv kev tiv thaiv thiab qhov hluav taws xob nkag, peb tuaj yeem tsim qhov hluav taws xob tso tawm uas yog ib feem ntawm cov tswv yim.
yog, kuv luam nws los ntawm google;-)
yog li tam sim no peb yuav tsum ua qhov faib hluav taws xob ntawm 5v thiab A0 ntawm arduino
thiab yuav muaj 4 qhov sib faib hluav taws xob sib txawv thiab txhua tus yuav los rau lub neej thaum peb nias lub pob
thiab yog li ntawd peb tau txais cov tswv yim sib txawv ntawm ib tus pin.
Kauj Ruam 3: LIBRARY thiab RESISTOR CALCULATION
Tam sim no peb paub tias yuav siv cov tswv yim li cas
tab sis dab tsi tus nqi ntawm resistors rau voltage faib peb xav tau
peb lub hauv paus hluav taws xob yog 5v.
raws li LCD Keypad lub tsev qiv ntawv sau los ntawm dzindra ntawm GitHub
qhov txuas yog:-
github.com/dzindra/LCDKeypad
hauv LCD Keypad.h
// koj tuaj yeem hloov qhov chaw pib txhawm rau txheeb xyuas qhov tseem ceeb nias
#define KEYPAD_TRESHOLD_NONE 1000
#define KEYPAD_TRESHOLD_RIGHT 50
#define KEYPAD_TRESHOLD_DOWN 380
#define KEYPAD_TRESHOLD_UP 195
#define KEYPAD_TRESHOLD_LEFT 555
#define KEYPAD_TRESHOLD_SELECT 790
yog li cov thresholds tuav yog analog nyeem ntawm tus pin A0
accrding rau kuv nyeem ntawv
peb xav tau
150k ua lub hauv paus tiv thaiv (txhua lwm yam yog ua raws nws)
250k - xaiv
82k: ua
150k- sab laug
15k ua
2ohm -yog
# yog tias koj tsis muaj qhov txiaj ntsig koj tuaj yeem nce me ntsis lossis qis dua vim tias peb xav tau tsuas yog nyob hauv qhov pib ntawd.
Kauj Ruam 4: Pib Ua LCD (Txuas)
Tam sim no lob cov khoom thiab cov resistors koj suav thiab pib ua
KAUJ RUAM 1.
txiav qhov xoom pcb rau qhov loj ntawm Arduino uno
tam sim no
KAUJ RUAM 2.
ntxiv txiv neej headers rau board
* tus pin txuas nrog lcd yog
#define KEYPAD_LCD_PINS 8, 9, 4, 5, 6, 7
mount txiv neej headers
Cov pins analog zoo nrog xoom pcb wholes
TAB SIS koj xav tau me ntsis khoov tus pin (kho nws)
LCD RS tus pin rau tus lej digital 08
LCD Pab tus pin rau tus lej digital 09
LCD D4 tus pin rau tus lej digital 4
LCD D5 tus pin rau tus lej digital 5
LCD D6 tus pin rau tus lej digital 6
LCD D7 tus pin rau tus lej digital 7
Ib qho ntxiv, xaim 10k lauj kaub rau +5V thiab GND, nrog nws lub wiper (tso zis) mus rau LCD cov ntxaij VO pin (pin3). 220 ohm resistor tau siv los ua lub teeb rov qab thiab nws tswj los ntawm tus pin 10
Kauj Ruam 5: Txhim Kho Lcd thiab Khawm Khawm
Kuv xav kom kuv lub lcd tshem tawm tau yog li kuv siv tus poj niam lub taub hau
cia li khoov tus pin txuas kom lawv tuaj yeem raug muab tso rau ntawm pcb
ntxiv lub lauj kaub raws li
Kauj Ruam 6: Soldering Cov Khawm ntawm Zero Pcb
kuv soldered 4 tus yuam sij thiab xaiv rau lwm sab.
koj tuaj yeem muab nws txhuam rau txhua qhov chaw koj xav tau thiab nws tau npaj siv
Tus PIN-NTAWV NTAWV NTAWM HAUV QAB NO YOG:
* --------------------
| |
| |
| |
--------------------*
THE * cim cov ces kaum yog ib txwm qhib thiab nias lub pob lawv tau txuas nrog
Pom zoo:
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Phaj Pem Hauv Ntej rau 16x2 LCD + Keypad Shield: 8 Kauj Ruam (nrog Duab)
Cov Phaj Pem Hauv Ntej rau 16x2 LCD + Daim Npog Pob Ntseg: Peb tab tom yuav tsim dab tsi: Hauv qhov kev qhia no peb yuav tsim lub lasercut acrylic frontplate rau Adafruit 16x2 LCD + Keypad Shield (Arduino version). Vim yog kev hloov pauv yooj yim, koj yuav nkag tau yooj yim rau txhua lub pob
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Dynamic LED Teeb Pom Duab Duab Lub thawv thiab Ncej rau Kos Duab :: 16 Cov Kauj Ruam (nrog Duab)
Dynamic LED Lighting Shadow Box and Frame for Art :: Teeb pom kev yog qhov tseem ceeb ntawm kev kos duab. Thiab yog tias teeb pom kev zoo tuaj yeem hloov pauv nrog lub sijhawm nws tuaj yeem dhau los ua qhov tseem ceeb ntawm kev kos duab. Txoj haujlwm no tau pib nrog koom nrog kev ua yeeb yam pom thiab pom tias lub teeb pom kev zoo tuaj yeem hloov pauv li cas
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rov Ua Rau Lawv rau 12V.: 3 Cov Kauj Ruam
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rewiring Lawv rau 12V: Kuv txoj kev npaj tau yooj yim. Kuv xav txiav cov phab ntsa uas siv hluav taws xob LED teeb ua ib daim ces rov txuas nws kom khiav tawm 12 volts. Lwm txoj hauv kev yog siv lub zog hloov pauv, tab sis peb txhua tus paub tias lawv tsis muaj txiaj ntsig zoo, puas yog? Txoj cai? Los yog lawv?