Cov txheej txheem:
- Kauj ruam 1: Prototyping
- Kauj Ruam 2: Teeb Kho Raspberry Pi
- Kauj ruam 3: Python Script
- Kauj ruam 4: Boxing Up
- Kauj ruam 5: Soldering
- Kauj Ruam 6: Sealing Nrog Tswm Ciab
- Kauj Ruam 7: Txuas rau Raspberry Pi
Video: Ua Haujlwm Los Ntawm Lub Sijhawm Teev Npe Hauv Tsev Siv Raspberry Pi: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Xyoo dhau los, Kuv muaj lub sijhawm los ua haujlwm hauv tsev. Rau qhov kuv xav tau kom taug qab cov teev uas kuv ua haujlwm.
Pib los ntawm kev siv daim ntawv nthuav qhia zoo thiab nkag mus rau 'moos-hauv' thiab 'moos-tawm' lub sijhawm tus kheej, Kuv tsis ntev pom qhov no yog qhov nyuaj heev (thiab kuv yuav tsis hnov qab nkag mus lub sijhawm).
Kuv muaj Raspberry Pi ntawm kuv lub rooj, thiab yog li txiav txim siab teeb tsa lub sijhawm ua haujlwm kaw cov lus daws teeb meem siv nws thiab qee qhov khoom siv los ntawm kuv tus tub Arduino pib ua haujlwm cov khoom siv.
Khoom siv:
- Raspberry Pi
- 450ohm resistor x3
- 2 LEDs
- Mini Arduino khawm
- Breadboard rau tsab ntawv
- Dupont txuas
Kauj ruam 1: Prototyping
Kuv pib los ntawm kev tsim ib qho qauv ntawm lub sijhawm kaw ntawm ib nrab ntawm lub khob cij. Thaum kuv zoo siab nrog txoj hauv kev nws ua haujlwm txoj phiaj xwm tau muab tso ua ke ib lub thawv ntawv uas siv cov ntawv luam tawm 3d thiab txuas txuas.
Cov khoom sib txuas tau txuas nrog siv Dupont cov xov hlau raws li qhia los ntawm daim duab fritzing.
Kauj Ruam 2: Teeb Kho Raspberry Pi
Kuv tau tsim tsab ntawv nab nab luv uas yuav kuaj pom lub pob nyem thiab hloov lub xeev LED. Ntawm kev hloov pauv, lub sijhawm tau sau tseg hauv phau ntawv ua haujlwm zoo.
Kuv tau siv Openpyxl Library los cuam tshuam nrog phau ntawv ua haujlwm (uas kuv tau tsim los ntawm tus kheej hauv cov ntawv tais ceev tseg hauv tsev ntawm Raspberry Pi).
Tsab ntawv nkag mus rau lub sijhawm pib, sijhawm kawg, thiab tag nrho rau lub sijhawm ua haujlwm.
Tsim ib tsab ntawv hauv phau ntawv qhia tsev siv koj li tus kws kho mob nyiam (Kuv siv Thonney Python IDE) thiab txuag ua clockin.py
Nruab LibreOffice ntawm Pi, yog tias nws tsis tau teeb tsa lawm, thiab tsim phau ntawv ua haujlwm dawb hu ua hours.xlsx Khiav cov ntawv los ntawm lub davhlau ya nyob twg siv lub davhlau ya nyob twg hais kom ua python3 clockin.py. Los yog khiav nws hauv Python plhaub lossis Thonney.
Lub LED liab yuav tsum teeb kom pom tias nws ua haujlwm. Thaum lub pob nyem lub teeb xiav LED teeb, liab liab tawm mus, thiab lub sijhawm tau sau tseg hauv daim ntawv nthuav tawm.
Kauj ruam 3: Python Script
Kauj ruam 4: Boxing Up
Raspberry lub sijhawm kaw lub cuab yeej ua haujlwm li cas kuv xav tau, yog li nws yog lub sijhawm los ua kom nws zoo li kev tshaj lij.
Siv SketchUp los ua qauv lub thawv yooj yim los tuav lub pob thiab ob lub LEDs, nrog lub qhov rau cov xov hlau nkag mus.
Cov qauv tsim thiab luam cov ntawv tuaj yeem pom ntawm Thingiverse
Kuv luam lub thawv hauv dub PLA+, vim nws sib xyaw zoo nrog kuv lub desktop. Cov ntaub ntawv STL tau muab hlais siv CURA software. Tus tsim yuav tsum tau luam tawm nrog kev txhawb nqa.
Kauj ruam 5: Soldering
Ib zaug ntxiv siv Dupont cov xov hlau, muab cov khoom sib dhos tso rau hauv qhov chaw hauv lub thawv luam ntawv.
Kauj Ruam 6: Sealing Nrog Tswm Ciab
Ntxiv ib qho ntawm cov cua sov-ntsws ntawm qhov tawm ntawm lub thawv kom rub cov xov hlau ua ke thiab ua kom tiav chav tsev los ntawm sau nws nrog tswm ciab.
Qhov ntxiv ntawm cov tswm ciab tiv thaiv thiab tuav cov kev sib txuas hauv qhov chaw, tib lub sijhawm ntxiv qhov hnyav los pab nres nws txav mus los thaum siv.
Kauj Ruam 7: Txuas rau Raspberry Pi
Chav ua tiav txuas nrog thiab ua haujlwm
Thaum kawg ntawm lub asthiv, kuv luam daim ntawv ua haujlwm rau hauv lwm phau ntawv ua haujlwm thiab ntxiv kuv cov sijhawm ua haujlwm.
Qhov teeb tsa no yog qhov zoo rau kev taug qab ntawm 'ua haujlwm los ntawm tsev' teev, zoo dua li nkag mus rau lub sijhawm.
Saib qhov haujlwm no ntawm kuv lub vev xaib myprojectcorner.com/raspberry-pi-time-recorder/
Pom zoo:
Siv Kev Cia Siab Lub Hauv Paus txuas ntxiv txhawm rau Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Txoj Cai Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: 11 Kauj Ruam
Siv Kev Cia Siab Lub Hauv Paus Txuas Ntxiv kom Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: Lub hom phiaj ntawm cov lus qhia no yog los qhia seb yuav tshawb nrhiav koj tsev neeg tsob ntoo li cas hauv Tsev Neeg Nrhiav rau cov poj koob yawm txwv nrog kev ua haujlwm hauv lub tuam tsev tsis tiav siv Kev Cia Siab lub hauv siab txuas ntxiv. Siv Kev Cia Siab Lub Hauv Paus tuaj yeem ua rau koj qhov kev tshawb nrhiav tsis tiav
Lub Sijhawm Siv Lub Sijhawm Nco Ntsoov (tsuas Ua Haujlwm ntawm Windows, Ios Yuav Tsis Ua Haujlwm): 5 Kauj Ruam
Screen Time Usage Reminder (tsuas Ua Haujlwm ntawm Windows, Ios Yuav Tsis Ua Haujlwm): Taw Qhia Qhov no yog lub tshuab siv tau los ntawm Arduino, nws ceeb toom koj kom so los ntawm kev ua "biiii!" suab thiab ua rau koj lub khoos phis tawj rov qab xauv npo tom qab siv sijhawm 30 feeb ntawm lub sijhawm tshuaj ntsuam. Tom qab so rau 10 feeb nws yuav "b
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
Cov teev teev teev teeb nyem LED DIY cov khoom siv: 8 Kauj Ruam
Hourglass Shape Flashing LED DIY Cov Khoom Siv: Hauv txoj haujlwm no ICStation yuav qhia koj li cas los tsim kev lom zem teev ntuj zoo li lub teeb nyem LED DIY Cov Khoom Siv. Nws suav nrog 57pcs 5mm LED diodes, sab saum toj LED diode teeb yuav poob qis, thiab hauv qab LED diode teeb yuav heap, thaum mus txog lub sijhawm, pr
Ua Haujlwm Rau Koj Lub Khoos phis tawj kom txiav tawm ncaj qha los ntawm Kev Kos Npe Lub Sijhawm Uas Koj Xav Kom Nws Ua Li No: 4 Kauj Ruam
Ua Haujlwm Rau Koj Lub Khoos phis tawj kom txiav tawm ncaj qha los ntawm Lub Sijhawm Uas Koj Xav Kom Nws Ua Li No: Hav, qhov ntawd yog lwm cov lus qhia coj los ntawm kuv lub neej txhua hnub … zaum kawg kuv tau rub ntau software rau kuv lub PC thiab kuv yuav tsum cia nws rub tawm hmo ntuj, kuv tsis xav kom kuv lub PC qhib txhua hmo ntev tom qab ua tiav rub tawm thiab ntawm