Cov txheej txheem:
- Kauj ruam 1: Ua Tutorial (yees duab)
- Kauj ruam 2: Nta
- Kauj Ruam 3: Qhov No Ua Haujlwm Li Cas..?
- Kauj Ruam 4: Cov Cheeb Tsam Xav Tau Rau Qhov No
- Kauj Ruam 5: Circuit Daigram
- Kauj Ruam 6: Txoj Cai Txheej Txheem thiab Teeb Meem Teeb Meem
- Kauj Ruam 7: Shrinking Circuit (soldering)
- Kauj Ruam 8: Ua Lub Xauv
- Kauj Ruam 9: Xauv Ua thiab Kawg
- Kauj Ruam 10: Tsis zoo, Txhim Kho
- Kauj ruam 11: Ua tsaug
Video: Phau Ntawv Tsis Txaus Ntseeg Nrog Qhib Qhov Qhib: 11 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Thaum nws los txog rau zais peb yam tsis pub lwm tus paub. Peb ib txwm zais hauv lub raj mis lossis hauv lub thawv uas zoo.!
Tab sis tsis zoo ib txwm atleast rau geeks vim tias tsis yog 100% nyab xeeb thiab tseem tsis muaj qhov xav xav hauv qhov ntawd hauv qhov kev qhia no kuv tab tom qhia yuav ua li cas kuv ua Phau Ntawv nrog zais qhov rooj kaw. Nrog phau ntawv no peb tuaj yeem zais koj cov khoom muaj nqis sab hauv. tsis muaj leej twg tuaj yeem nqa dab tsi yam tsis muaj koj kev paub vim tias peb kaw peb phau ntawv nrog lub qhov rooj kaw tsis pub lwm tus paub. Yog li cia pib.
Kauj ruam 1: Ua Tutorial (yees duab)
Kuv kuj tau ua daim vis dis aus qhia thiab. yog li saib cov vis dis aus kom pom qhov kev nqis tes ua.
Kauj ruam 2: Nta
- Ib leeg khawm rau qhov program lossis kaw lub xauv tshiab
- Peb tuaj yeem zais peb cov khoom me me hauv phau ntawv
- Tsis muaj leej twg xav txog qhov kev kaw lub kaw lus zoo li no
- Peb tuaj yeem xauv phau ntawv no nrog kev khob tshwj xeeb
- Peb tuaj yeem siv lub voj voog no tseem nyob hauv peb lub qhov rooj
- Ib qhov yooj yim hobby project
Kauj Ruam 3: Qhov No Ua Haujlwm Li Cas..?
Kuv tau hais rau koj ua ntej qhov xauv zais cia no yog los ntawm kev khob.
Lub piezoelectric disc
Lub hauv paus tseem ceeb ntawm peb lub Circuit Court yog piezo disc.
Piezoelectricdisc yog lub transducer thiab uas hloov cov khoom siv kev co hauv correcsponding voltages.so nrog kev pab los ntawm arduino Peb nyeem qhov kev co co. Ntawd yog txhua yam txog kev paub txog ib feem.
Txoj hauv kev zoo li no peb tuaj yeem nyeem qhov khob nrog kev pab ntawm lub cajmeem peb tuaj yeem khaws qhov tshwj xeeb ua ntu zus thiab tseem tsav lub xauv. (Programming piav qhia tom qab)
Kauj Ruam 4: Cov Cheeb Tsam Xav Tau Rau Qhov No
1. Arduino (ib qho arduino)
Txog kev tsim qauv kuv siv arduino uno thiab txhawm rau txo qhov loj ntawm Circuit Court kuv siv arduino pro mini
2. Piezoelectric disc
Piezo tsis tsim nyog rau txoj haujlwm no peb tseem tuaj yeem siv Me mic lossis hais lus. Yog tias koj tsis pom piezo koj tuaj yeem khaws los ntawm buzzer.
3.sg90 cav
Ib qho servo yog hom iav iav nrog lub zog loj peb siv servo rau lub hom phiaj xauv
4.resistors (1mega ohm, 10k, 1k)
5.2* LEDs
rau qhia qhov xwm txheej siv xim sib txawv
6.dot board
7. Khawm hloov
Roj teeb 8.3.7v
Me me zoo dua Kuv tab tom siv lithium polymer
Kauj Ruam 5: Circuit Daigram
Kev sib txuas
- Txuas piezoelectric rau Analog tus pin 0 thiab hauv av kuj ntxiv 1mega ohm resistor ntawm piezo
- Txuas servo D3
- Txuas LEDs rau D4 thiab D5
- Txuas khawm hloov mus rau D2 thiab 5v tseem txuas rau 10k rub qis resistor
Kauj Ruam 6: Txoj Cai Txheej Txheem thiab Teeb Meem Teeb Meem
Ua tsaug rau STEVE HOEFER
const int threshold = 4; Qhov no yog qhov rhiab heev ntawm lub khob ntsuas. Yog tias koj tau txais lub suab nrov ntau, nce qhov no (txog 1023), yog tias koj muaj lub sijhawm nyuaj hnov pob ntseg koj tuaj yeem txo qis nws (qis li 1)
constell rejectValue = 25;
constint nruab nrabRejectValue = 15;
Ob qho no tau siv los txiav txim siab qhov tseeb ib tus neeg yuav tsum tau khob. Lawv yog cov feem pua thiab yuav tsum yog nyob ntawm 0-100. Txo cov no txhais tau tias ib tus neeg yuav tsum muaj lub sijhawm tseeb dua, siab dua yog kev zam txim ntau dua. nruab nrab RejectValue yuav tsum ib txwm qis dua rejectValue. Settings txog 10 thiab 7 ua rau nws nyuaj rau ob tus neeg los tsoo tib lub khob txawm tias lawv paub lub suab sib dhos. Tab sis nws kuj nce tus naj npawb ntawm qhov tsis zoo negatives. (piv txwv li: Koj khob kom raug thiab nws tseem tsis qhib.)
const int knockFadeTime = 150; Qhov no yog qhov sib cav debounce timer rau lub khob ntsuas. Tom qab nws hnov pob nws tsis mloog rau ntau lub milliseconds yog li nws tsis suav qhov khob tib yam ntau dua ib zaug. Yog tias koj tau txais ib qho suav suav ua ob zaug ces nce lub sijhawm no. Yog tias nws tsis sau npe ob qhov nrawm nrawm ces txo nws.
const int lockTurnTime = 650; Qhov no yog tam sim no ntau milliseconds peb khiav lub cav kom qhib lub qhov rooj. Ntev npaum li cas qhov no yuav tsum yog nyob ntawm qhov tsim ntawm koj lub cav thiab koj lub xauv. Nws tsis ua li cas yog tias nws ua haujlwm me ntsis ntev txij li kuv tau tsim cov khoom siv yooj yim rau hauv qhov tsim, tab sis nws zoo dua rau txhua qhov yog tias nws tsis ua haujlwm ntau dhau.
const int maximumKnocks = 20; Muaj pes tsawg knocks peb kaw. 20 yog ntau. Koj tuaj yeem nce qhov no yog tias koj qhov kev zais zais raug tiv thaiv los ntawm cov nruas devious nrog kev nco zoo. Ua kom nws ntau dhau thiab koj yuav tsis nco.
const int knockComplete = 1200; Kuj tseem paub tias yog tus lej ntau ntawm milliseconds nws yuav tos kom khob. Yog tias nws tsis hnov pob rau qhov ntev no nws yuav xav tias nws ua tiav thiab tshawb xyuas seb lub khob puas zoo. Nce qhov no yog tias koj yog tus qeeb qeeb Txo nws yog tias koj yog tus ntaus nrawm thiab ua siab ntev tos 1.2 vib nas this rau koj lub qhov rooj kom qhib. Txog Kab 39: int secretCode [maximumKnocks] = {50, 25, 25, 50, 100, 5….. This is the default khob uas nws paub thaum koj qhib nws. Qhov no yog qhov txawv txav qhov cim tseg txij li txhua tus nqi yog feem pua ntawm qhov khob ntev tshaj plaws. Yog tias koj muaj lub sijhawm nyuaj kom nws paub txog "chais plaub hau thiab txiav plaub hau" hloov qhov no mus rau {100, 100, 100, 0, 0, 0…
Kev debugging:
Serial.begin (9600);
Serial.println ("Kev pib ua haujlwm."); Tsis pom zoo cov kab no kom pom qee cov ntaub ntawv debug ntawm qhov chaw nres nkoj. Muaj ob peb lwm txoj kab ntawm kev debugging code teeb tsa thoob plaws cov cai uas koj tuaj yeem tsis pom zoo kom pom dab tsi tshwm sim sab hauv. nws ua haujlwm tab sis koj yuav tsis xav hloov nws yog tias koj tsis hloov pauv qhov tsim.
Tsev qiv ntawv Servo
download tau code los ntawm no
Kauj Ruam 7: Shrinking Circuit (soldering)
Kuv sim lub Circuit Court ntawm daim ntawv tais tom qab txo txhua qhov ua yuam kev thiab tom qab ntsuas ntsuas kuv txiav txim siab ua kom luv Circuit Court.
Yog li kuv hloov lub arduino uno rau arduino promini. Tom qab ntawd kuv tau siv tag nrho cov khoom siv raws li daim duab qhia chaw ntawm lub teev pcb. Tom qab ntawd nrog kev pab ntawm ib leeg xaim xaim kuv txuas lub teev pcb nrog promini. Tas nrho
Kauj Ruam 8: Ua Lub Xauv
Ua ntej kuv coj cov mis nyuj qub (tuab yuav tsum siab dua servo)
Tom qab ntawd kuv glued cov nplooj ntawv ua ke
Tom qab ziab khaub ncaws kuv tau kos daim duab plaub sab hauv thiab nrog kev pab ntawm nplai thiab riam kuv txiav thiab txiav daim ntawv thiab ua rau hauv kab noj hniav.
Saib cov vis dis aus rau lub tswv yim zoo dua.
Kauj Ruam 9: Xauv Ua thiab Kawg
Kuv nqa tes servo thiab txiav ua ob daim ces kuv koom nrog ob daim ua ke zoo li L duab
Thiab txhua yam tsau hauv phau ntawv
Kuv tsau lub piezo ntawm npog
Thiab nws yog….
Kauj Ruam 10: Tsis zoo, Txhim Kho
Qhov tsis zoo ntawm qhov xauv no yog nyob hauv roj teeb. Yog tias lub roj teeb ntws tag peb yuav tsum tau rhuav tshem phau ntawv kom rov qab tau peb cov khoom.
Txhawm rau daws qhov uas kuv tab tom npaj yuav hloov pauv Circuit nrog cov khoom siv sab nraud nrog ob txoj hauv kev..
Kauj ruam 11: Ua tsaug
Yog tias koj ntsib teeb meem ntawm qhov no thov tawm tswv yim hauv qab no
VISIT Kuv CHANNEL rau NTAWV NTSEEG ZOO TSHAJ PLAWS
Ua tsaug…..
Pom zoo:
LED Phau Ntawv Teeb - Hauv Phau Ntawv!: 10 Kauj Ruam (nrog Duab)
LED Phau Ntawv Teeb - Sab Hauv Phau Ntawv!: Ib yam li cov npe hauv lub xeev, Cov Lus Qhia no yuav qhia koj yuav ua li cas thiaj ua lub teeb ci hauv phau ntawv. Kuv tau pib xav txog kev siv phau ntawv me me rau qhov kev tsim no yog li nws tuaj yeem ua lub hnab loj (tseem yuav ua rau ib qho) tab sis kuv txiav txim siab ua kom yooj yim rau
Siv HomeLink Nrog Qhov Tsis Txaus Siab Nkag Qhov Rooj Qhib: 6 Kauj Ruam
Siv HomeLink Nrog Qhov Tsis Txaus Siab Qhov Rooj Nkag Qhov Rooj: Kuv nyob hauv chav tsev thiab kuv nyuam qhuav tau txais homelink teeb tsa hauv kuv lub tsheb. Hmoov tsis zoo, lub chaw tso tsheb deb deb lawv muab rau kuv siv qhov kev sib txuas maxSecure uas tsis txhawb homelink. Yog li kuv txiav txim siab los nrhiav kev daws teeb meem
RAWS LI COV NTAUB NTAWV NTSEEG NTAWV NTAWV MUAJ NTAWV TSHUAJ NTAWV TSO CAI RAU RASPBERRY PI: 6 Kauj Ruam (nrog Duab)
RAWS LI COV NTAUB NTAWV NTAWV MUAJ NTAWV TSHUAJ NTXIV RAU RASPBERRY PI: Hauv qhov haujlwm no, peb yuav txuas peb ntawm Atlas Scientific's EZO sensors (pH, yaj cov pa thiab kub) mus rau Raspberry Pi 3B+. Hloov chaw ntawm txuas cov kab hluav taws xob mus rau Raspberry Pi, peb yuav siv Whitebox Labs Tentacle T3 daim ntaub thaiv. T
AR Portal mus rau Qhov Tseeb Los Ntawm Cov Neeg Tsis Txaus Ntseeg: 10 Kauj Ruam (nrog Duab)
AR Portal mus rau Qhov Hloov Los Ntawm Cov Neeg Tsis Txaus Ntseeg: Cov Lus Qhia no yuav dhau los ntawm kev tsim qhov kev hloov pauv kev muaj tiag mobile app rau iPhone nrog lub portal uas coj mus rau qhov siab dua los ntawm Stranger Things. Koj tuaj yeem nkag mus hauv lub portal, taug kev ncig, thiab rov qab los. Txhua yam nyob hauv tsev
Saib zoo li koj tus yeeb ncuab: Tsim cov cim uas tsis meej pem, tsis txaus ntseeg thiab tsis sib luag !: 6 Cov kauj ruam (nrog Duab)
Saib zoo li koj tus yeeb ncuab: Tsim cov cim uas tsis meej pem, Tsis txaus ntseeg thiab tsis sib luag!: Hauv cov lus qhia no koj yuav kawm Tsim Camouflage. Hauv cov phiaj xwm yav dhau los Kuv tau tsim nyog thiab ua kom zoo ntau yam txheej txheem kom ua raws tsoomfwv lossis cov npe tuam txhab. Kev siv cov txheej txheem uas tau hais tseg hauv cov kauj ruam hauv qab no yuav tso cai rau koj mus ib ntus