Cov txheej txheem:

Tsis Siv Neeg Qhov Rooj Xauv: 5 Kauj Ruam
Tsis Siv Neeg Qhov Rooj Xauv: 5 Kauj Ruam

Video: Tsis Siv Neeg Qhov Rooj Xauv: 5 Kauj Ruam

Video: Tsis Siv Neeg Qhov Rooj Xauv: 5 Kauj Ruam
Video: Cas Tsis Xaiv Koj - R-Lin Thoj New Song Original By Zaj Dub [Official MV] 2023 2024, Kaum ib hlis
Anonim
Image
Image
Tsis Siv Neeg Qhov Rooj Xauv
Tsis Siv Neeg Qhov Rooj Xauv
Tsis Siv Neeg Qhov Rooj Xauv
Tsis Siv Neeg Qhov Rooj Xauv
Tsis Siv Neeg Qhov Rooj Xauv
Tsis Siv Neeg Qhov Rooj Xauv

HLO LAWD !!

Nov yog kuv thawj Phau Ntawv Qhia! Vam tias nej txhua tus yuav nyiam nws.

Hauv qhov haujlwm no peb tab tom tsim Kev Siv Tus Kheej (tiv thaiv tus password) Lub qhov rooj xauv. Qhov ntsuas phoo classic thiab qhov tseem ceeb yog qhov tseeb 100 xyoo ntawm kev tsim, thiab raws li peb paub "kev hloov pauv yog txoj cai ntawm Xwm" yog li nws yog lub sijhawm rau kev hloov pauv.

Lub xauv peb yuav ua yog hluav taws xob, nws lub hlwb yuav yog Arduino Uno (Arduino nano lossis pro mini kuj tseem yuav ua haujlwm tau zoo), thiab yuav muaj 16*2 lcd screen rau zaub thiab DIY keypad rau nkag tus lej nkag, nws yuav yuav tsum tau kos nrog lub buzzer. Hauv qhov kev qhia no kuv yuav siv dc hobby motor rau lub tshuab xauv, tab sis koj tuaj yeem siv lub servo hloov.

Tam sim no cia peb pib !!

Khoom siv

Cheebtsam xav tau los tsim lub xauv tau yooj yim avilable online nrog rau offline, Kuv yuav muab koj cov kev txuas rau tib yam.

~ Arduino Uno: koj tuaj yeem yuav los ntawm no

~ 16*2 lcd zaub: koj tuaj yeem yuav los ntawm no

~ l293D IC: koj tuaj yeem yuav los ntawm no

~ DC hobby motor / Servo motor: koj tuaj yeem yuav los ntawm no

~ thawb hloov x 18: koj tuaj yeem yuav los ntawm no

~ perf board

~ 1Kohm resistor x 16

~ 10Kohm potentiometer

~ 1Mohm resistor

~ lub suab nrov

~ thaiv rau tso cov khoom

qee cov xov hlau, lub taub hau, cov laug thiab cov hlau txuas yuav txaus los ua lub qhov rooj kaw qhov rooj.

Kauj Ruam 1: Sib cuam tshuam 16*2 LCD Zaub Nrog Arduino

Sib cuam tshuam 16*2 LCD Zaub Nrog Arduino
Sib cuam tshuam 16*2 LCD Zaub Nrog Arduino
Sib cuam tshuam 16*2 LCD Zaub Nrog Arduino
Sib cuam tshuam 16*2 LCD Zaub Nrog Arduino
Sib cuam tshuam 16*2 LCD Zaub Nrog Arduino
Sib cuam tshuam 16*2 LCD Zaub Nrog Arduino

Nws yooj yim heev rau interface LCD nrog arduino.

Ntawm no kuv tau muab koj daim duab kos rau tib yam, kuv tau ua DIY daim thaiv rau cov zaub no los txuas Lcd yooj yim dua. Peb tab tom ua siv 4 cov ntaub ntawv pins (uas yog D4, D5, D6, D7) ntawm cov zaub rau cuam tshuam nws nrog arduino.

Kuv qhia koj kom siv cov hlua xaim txhawm rau ua kom muaj kev sib txuas zoo lossis koj tuaj yeem siv cov hlua nrog lub khob cij.

Txhawm rau txheeb xyuas txhua yam ua haujlwm tau zoo lossis tsis yog koj tuaj yeem tso Hello World piv txwv piv txwv ntawm LIQUID CRYSTAL lub tsev qiv ntawv uas kuv kuj tau muab.

Kauj Ruam 2: Ua thiab cuam tshuam nrog Keypad

Ua thiab Interfacing Keypad
Ua thiab Interfacing Keypad
Ua thiab Interfacing Keypad
Ua thiab Interfacing Keypad
Ua thiab Interfacing Keypad
Ua thiab Interfacing Keypad

Kuv tau ua kuv cov keyboard yooj yim es tsis txhob siv cov keyboard keypad muaj nyob hauv khw, vim nws siv 8 i/o pins thiab yog tias peb siv tus qauv no. Peb yuav tsis muaj I/O pins rau lwm yam khoom.

Yog li, kuv txiav txim siab los ua tus kheej tus lej keyboard uas siv tsuas yog ib tus pin analog ntawm arduino !!

peb tuaj yeem ua kom yooj yim nrog kev pab ntawm qee lub laub khawm thiab cov neeg tawm tsam. txoj haujlwm ua haujlwm ntawm qhov no yog Voltage Divider, koj tuaj yeem pom cov thaiv thiab ua haujlwm los ntawm cov duab saum toj no. Kuv tau ua nws dhau los ntawm daim phiaj perf, koj tuaj yeem ua tau ib yam thiab tam sim no nws yog super yooj yim txuas los ntawm Arduino.

NCO TSEG: qhov ua haujlwm loj dua ntawm 1 M ohm tsis kam yuav ua rau cov keypad raug dua.

Kauj Ruam 3: Teeb Latch

Latch Teeb
Latch Teeb
Latch Teeb
Latch Teeb
Latch Teeb
Latch Teeb

muaj ob txoj hauv kev los teeb tsa lub qhov rooj

1. DIY

koj yuav xav tau lub qhov rooj tsis tu ncua (Kundi), lub tshuab dc, ob lub laub khawm, threaded pas nrig (kuv tau siv tus ntsia liaj qhov rooj), txiv ntseej thiab qee yam epoxy los koom ua ke (kuv tau siv M foob).

tsuas yog koom nrog cov hlua txuas nrog lub cev muaj zog thiab cov txiv ntoo nrog lub latch kov, lo ob lub laub khawm ntawm lub latch nyob rau hauv xws li ib txoj hauv kev uas thaum twg los xij lub latch tuav yog nyob rau hauv nws txoj haujlwm hnyav ib yam ntawm lub laub khawm yuav tsum tau nias.

Ua lub thaiv raws li qhia hauv daim duab.

txuas lub cav nrog tus tsav tsheb, ntawm no kuv siv L293D ic rau tswj Dc kev nyiam ua lub cev muaj zog.

2. Xaiv lub xauv solenoid

Koj tuaj yeem yuav lub solenoid xauv aviliable online. Kuv tseem muab qhov txuas rau koj tib yam ntawm no.

Kauj Ruam 4: Ntxiv Buzzer thiab Nrhiav Cov Ntaub Ntawv rau Cov Cheeb Tsam

Ntxiv Buzzer thiab Nrhiav Cov Ntaub Ntawv rau Cov Cheeb Tsam
Ntxiv Buzzer thiab Nrhiav Cov Ntaub Ntawv rau Cov Cheeb Tsam
Ntxiv Buzzer thiab Nrhiav Cov Ntaub Ntawv rau Cov Cheeb Tsam
Ntxiv Buzzer thiab Nrhiav Cov Ntaub Ntawv rau Cov Cheeb Tsam
Ntxiv Buzzer thiab Nrhiav Cov Ntaub Ntawv rau Cov Cheeb Tsam
Ntxiv Buzzer thiab Nrhiav Cov Ntaub Ntawv rau Cov Cheeb Tsam
Ntxiv Buzzer thiab Nrhiav Cov Ntaub Ntawv rau Cov Cheeb Tsam
Ntxiv Buzzer thiab Nrhiav Cov Ntaub Ntawv rau Cov Cheeb Tsam

Tam sim no txhua yam yuav luag teeb tsa, Koj tuaj yeem ntxiv lub suab nrov rau ua rau koj lub xauv sib tham ntau dua

txuas ib lub xov tooj ntawm buzzer rau gnd thiab lwm yam rau tus pin 10 ntawm arduino.

Tam sim no nrhiav lub thawv uas pom zoo rau tso cov khoom sib xyaw ua kom koj txoj haujlwm zoo li txias.

Kuv tau siv tus ntoo ntoo kom ruaj ntseg Lcd thiab cov keyboard uas kuv tau teeb tsa hla cov ntaub yas uas muaj arduino, buzzer thiab tsav tsheb.

Kauj ruam 5: Code

Code
Code
Code
Code

Tsis muaj ntau yam hais txog cov cai, Kuv ua nws tus kheej thiab nws ua haujlwm tau zoo.

muaj ob tus yuam sij los ntawm qhov rooj qhib tau. ib tus yog tus tswv tseem ceeb uas tau tshaj tawm ua ntej hauv tus lej thiab tsis tuaj yeem hloov pauv thiab lwm qhov tseem ceeb tau hloov kho tshiab thiab khaws cia hauv eeprom thiab tuaj yeem hloov pauv los ntawm nias C tus yuam sij Yog tias ua yuam kev koj tau nkag mus yuam kev tsis raug koj tuaj yeem lwv nws los ntawm nias tus yuam sij ntawm cov keyboard.

koj tuaj yeem hloov cov lus txais tos kuv cov lus hloov pauv hauv kev txais tos () muaj nuj nqi.

Ntawd yog txhua qhov rau txoj haujlwm no Tam sim no koj yuav zoo mus.

Txoj haujlwm no yog ib feem ntawm kev sib tw arduino 2020 txiav txim siab pov npav nws, Ua tsaug.

Pom zoo: