Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Project Video
- Kauj ruam 2: Phau ntawv
- Kauj ruam 3: Electronics
- Kauj ruam 4: Code
- Kauj ruam 5: Qhov tshwm sim
Video: Lub Sijhawm Nyob: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Ua ke cov khawv koob ntawm kev saib tag nrho Harry Potter cov yeeb yaj kiab hauv ib lub lim tiam thiab lub sijhawm sib tham TTL (Lub Sijhawm Nyob), peb yuav tsim peb tus kheej phau ntawv khawv koob dub, qhia tias koj yuav tsum nyob ntev npaum li cas.
Khoom siv
- Raspberry Pi 3 Qauv B.
- Laub Khawm (ib qho)
- Adafruit Standard LCD - 16x2 Dawb rau Xiav
- Nrov 4300
- Bookbinders Nplaum
- Hluav Taws
Kauj ruam 1: Project Video
Kauj ruam 2: Phau ntawv
Nws pib nrog nrhiav phau ntawv qub los siv. Xyuas kom nws zoo thiab tuab yog li koj muaj chaw txaus rau cov khoom siv hluav taws xob. Ib qhov chaw zoo los saib yog cov khw muag khoom noj khoom haus, lawv muaj cov phau ntawv qub pheej yig. Hauv qhov no kuv tau pom phau ntawv kho mob los ntawm 80's. Zoo meej, vim nws muaj ntau cov duab txias los siv rau kev ua kom zoo nkauj.
Tam sim no peb muaj peb phau ntawv, peb yuav lo rau ntau nplooj ntawv ua ke los tsim qhov "thaiv" zoo. Kuv tau siv qee phau ntawv nplaum vim tias nws qhuav zoo thiab pom los ntawm. Kuv xav tias koj tseem tuaj yeem siv hom sib txawv, tab sis kuv tsis tau sim nws. Muab qee cov kua nplaum tso rau ntawm nplooj ntawv thiab nias lawv khov kho.
Txhawm rau ua kom nrawm dua koj tuaj yeem ua kua nplaum ob sab ua ke, ua ke ntawm qhov no thiab tag nrho nplooj ntawv gluing tsim cov khoom thaiv.
Tom qab ziab, nws yog lub sijhawm los txiav tawm peb cov khoom siv hluav taws xob, Dremel nrog lub tshuab txiav ntoo ua haujlwm zoo kawg nkaus. Nco ntsoov hnav qee qhov kev tiv thaiv, nws tsim cov hmoov av ntau.
Qhov ntawd yog ib qho chaw zoo, tsuas yog ntxiv qee cov kab xev ntxiv rau lub zog. Cov lus qhia tag nrho rau kev tsim phau ntawv zais cia, tuaj yeem pom ntawm no.
Cov kauj ruam tom ntej yog ntxiv "lub hau" rau peb qhov chaw. Gluing qee nplooj ntawv ua ke muab lub hauv paus rau peb. Ntxiv cov hlau nplaum txhais tau tias peb tuaj yeem qhib thiab kaw peb lub hauv paus. Qhov tawm me ntsis me me thiab lo ob qho tib si cov hlau nplaum (nyob ib sab ntawm peb qhov chaw) thiab phaj hlau (hauv qab ntawm lub hau) hauv qhov chaw.
Nrog peb lub thawv thiab lub hau nyob hauv qhov chaw, peb phau ntawv yuav luag tiav. Txhawm rau muab nplooj ntawv pom sab xis (txaus ntshai) saib thiab hnov koj tuaj yeem ua cov hauv qab no:
- Txiav thiab gluing cov duab ntawm nplooj ntawv (pob txha taub hau thiab nroj tsuag hauv qhov no)
- Hlawv cov duab/nplooj ntawv thiab tso lawv rau hauv dej
- Txiav ib kab lus rau hauv nplooj ntawv thiab hla nws nrog hluav ncaig
- Lwm yam uas los rau hauv siab, koj tuaj yeem mus ceev …
Kauj ruam 3: Electronics
Tam sim no peb tuaj yeem txav mus rau cov khoom siv hluav taws xob. Peb yuav xav tau cov hauv qab no:
- Raspberry Pi (Arduino,…)
- Lub laub khawm (ib qho)
- LCD me me
- Powerbank lossis Powerplug
Nov yog ob qho kev qhia zoo los xaim lub pob thiab tshuaj ntsuam. Nrog txhua yam txuas nrog, ntsuas lub khawm/tshuaj ntsuam thiab txiav qhov rau hauv lub hau kom haum zoo.
Kauj ruam 4: Code
Yuav luag muaj!
Qhov tsuas yog tshuav yog cov khawv koob. Koj tuaj yeem pom tag nrho cov cai hauv cov ntawv txuas. Rau kev ntsuas zoo, ua kom pom sai ntawm cov laj thawj:
- Mloog yog khawm raug thawb
- Yog tias yog, tsim lub sijhawm (tus lej thib ob) thiab tso saib nws
- Khawm tsis raug thawb, txheeb xyuas yog lub sijhawm yog 0 Yog tias muaj sijhawm nyob, txo nws los ntawm ib qho, thiab tso saib dab tsi sab laug.
- Tsis muaj sijhawm nyob ntxiv, hais Bye Bye
Koj tuaj yeem hloov kho lub sijhawm koj muab rau cov tsis muaj hmoo hauv kab ntawv hauv qab no:
tooj = random.randint (1, 60)
Koj tseem tuaj yeem hloov cov lus pom hauv kab no:
lcdShowMessage ("Sijhawm Nyob", lcdLine1)
lcdShowMessage ("Bye Bye", lcdLine2) lcdShowMessage (str (tus lej), lcdLine2)
Kauj ruam 5: Qhov tshwm sim
Thiab tag nrho cov!
Tam sim no peb muaj phau ntawv khawv koob, zoo tshaj rau Xus thaum ntxov!
Pom zoo:
RGB Lub Sijhawm Qhia Cov Menyuam Txog Lub Sijhawm: 4 Kauj Ruam
RGB Mloog Qhia Cov Menyuam Txog Lub Sijhawm: Hmo kawg kuv tau los nrog lub tswv yim yuav pab kuv li 5 xyoos kom nkag siab lub sijhawm. feem ntau yog me ntsis ntawm kev tsis sib haum thiab tsis tshua muaj nyob rau hauv kev txiav txim.Thaum tellin
WiFi Lub Sijhawm, Lub Sijhawm & Chaw Huab Cua, Blynk Tswj: 5 Cov Kauj Ruam (nrog Duab)
WiFi Clock, Timer & Weather Station, Blynk Tswj: Qhov no yog Morphing digital moos (ua tsaug rau Hari Wiguna rau lub tswvyim thiab hloov pauv tus lej), nws tseem yog lub moos sib piv, chaw qhia huab cua thiab lub sijhawm ua noj. Blynk app ntawm koj lub smartphone los ntawm WiFi. Lub app tso cai rau koj
Siv DS1307 thiab DS3231 Lub Sijhawm Teev Sijhawm Sijhawm Nrog Arduino: 3 Kauj Ruam
Siv DS1307 thiab DS3231 Lub Sijhawm Caij Nyoog Sijhawm Nrog Arduino: Peb tseem tau txais kev thov yuav siv DS1307 thiab DS3231 lub sijhawm teev sijhawm nrog Arduino los ntawm ntau qhov chaw-yog li qhov no yog thawj ntawm ob ntu kev qhia yuav siv li cas. Txog qhov kev qhia Arduino no peb muaj ob lub sijhawm teev sijhawm ua haujlwm rau peb
Lub Sijhawm Teem Sijhawm Teem Sijhawm ntawm RaspberryPi-4: 6 Cov Kauj Ruam (nrog Duab)
Lub Sijhawm Teem Sijhawm Teem Sijhawm ntawm RaspberryPi-4: Hauv Cov Lus Qhia no peb yuav ua lub ntsej muag-paub lub sijhawm tiag tiag ntawm Raspberry Pi 4 nrog Shunya O/S siv Shunyaface Library. Koj tuaj yeem ua tiav qhov ntsuas pom ntawm 15-17 ntawm RaspberryPi-4 los ntawm kev ua raws cov lus qhia no
Nyob ib ncig ntawm lub Ntiaj Teb Lub Sijhawm: 5 Kauj Ruam (nrog Duab)
Nyob ib ncig ntawm Lub Sijhawm Sijhawm Hauv Ntiaj Teb: Txawm hais tias lub ntiaj teb tab tom khiav lossis tsuas yog xav paub seb nws yog lub sijhawm twg ua ntej yuav hu xov tooj thaum hmo ntuj, 5 cheeb tsam ntiaj teb moos haum rau daim nqi. Txij li thaum kuv tau txais qee qhov ntxiv TM1637 7 tus lej qhia hauv kuv qhov kev xa khoom zaum kawg, Kuv txiav txim siab muab lub moos ua ke rau