Cov txheej txheem:
- Kauj Ruam 1: Pom Kev Yuav Khoom:
- Kauj Ruam 2: Daim Duab Duab (Sab Nraud)
- Kauj Ruam 3: Sab Hauv Daim Duab Duab
- Kauj Ruam 4: Raspberry Pi OS, Python, CRON teeb tsa
- Kauj Ruam 5: Txuas Cov Khoom Siv (Hloov thiab LEDs)
- Kauj Ruam 6: Pem Hauv Ntej Sab Hauv Pom
- Kauj Ruam 7: Pem Hauv Ntej Sab Nraud Saib
- Kauj Ruam 8: Sab Hauv Saib Tom Qab Ntawm Cov Ntaub Ntawv
- Kauj Ruam 9: Rov Qab Ntawm Cov Ntaub Ntawv Sab Nraud
- Kauj Ruam 10: Sab Nraud Saib Ntawm Sab Sab Ntawm Qhov Case
- Kauj ruam 11: Qhov rai Mount
- Kauj Ruam 12: Qauv Tweet:
- Kauj Ruam 13: Kev Xav Thaum Kawg-
Video: Huab Cua Lub Koob Yees Duab Raspberry Pi: 13 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Ib pliag rov qab kuv xav tau ib qhov project uas ua ke cov hauv qab no:
- Raspberry Pi
- Python Code
- Nyob li xwm txheej
- Qhov qhia txog kev ua
Yog li kuv txiav txim siab tsim lub Raspberry Pi lub thawv uas yuav yees duab ntawm kuv lub tiaj nraum qaum tsev ntawm lub sijhawm teem tseg, qhia tias thaum twg cov duab raug coj mus, thiab thaum kawg thawb cov ntaub ntawv ntawd tawm rau Twitter rau tshuaj xyuas.
Cov npe khoom siv hluav taws xob:
- Raspberry Pi
- Raspberry Pi breakout board (rau LED qhia)
- 5 nti LCD rau cov lus sib tham thaum xav tau
- Raspberry Pi Lub Koob Yees Duab (5 megapixel)
- HDMI kab
- CAT 5 kab
- DC fais fab pob rau Pi
- 24-26 gauge hlau lossis dhia
- 3 LEDs
- 3 10-100 Ohm resistors
- 2 txoj haujlwm laub khawm hloov
Daim ntawv teev cov khoom siv:
-
1/4 ntoo thuv panels txiav rau qhov loj ntawm txoj haujlwm
Sab saum toj, Qab, thiab Pem Hauv Ntej thiab Sab Nraud yog tsim los ntawm tib hom ntoo hauv kuv qhov piv txwv
- 1/4 los ntawm 1-nti dav ntoo thuv ntoo tau siv los ua sab laug thiab sab xis ntawm rooj plaub.
- Kev zawm hniav rau lub qhov rai tau tsim los ntawm cov khoom seem uas kuv muaj hauv lub rooj cob qhia.
Lwm yam:
- Screws rau rooj plaub
- Kub kua nplaum rau mounting
- Solder thiab flux rau resistor / LED sib txuas
Cov Cuab Yeej:
- Miter lossis rooj pom
- Jig Saw lossis Dremel
- Sander lossis oscillating cuab yeej nrog lub taub hau
- Phom phom
- Ntoo hlawv
- Rasps, Cov Ntaub Ntawv, Chisels raws li xav tau los ua qhov me me hauv rooj plaub
Software thiab account:
- Raspberry Pi OS ntawm koj xaiv
- Twitter account nrog tus tsim tawm dawb tus yuam sij
- Python 3 ntawm Raspberry Pi
Kauj Ruam 1: Pom Kev Yuav Khoom:
Txhawm rau ua qhov no yooj yim dua, Kuv pom zoo ib qho ntawm Canakit muaj uas tuaj nrog Raspberry Pi, LED's, Resistors, Breakout board, SD card, thiab rooj plaub.
https://www.canakit.com/raspberry-pi-3-ultimate-ki…
Lub koob yees duab uas tam sim no tsim tawm yog 8 megapixel
- https://www.canakit.com/raspberry-pi-camera-v2-8mp…
- Cov qub 5mp version tseem muaj:
Kauj Ruam 2: Daim Duab Duab (Sab Nraud)
Nov yog kev teeb tsa tag nrho ntawm sab nrauv ntawm kuv cov ntaub ntawv, thiab nws yog tiag tiag nyob ntawm yog tias koj txiav txim siab ntxiv txhua feem hauv koj tsim. Tsis tas li nyob ntawm qhov chaw koj npaj yuav tso koj lub koob yees duab koj tuaj yeem pom tias qhov xwm txheej loj no tsis ua haujlwm rau koj yog li cov phiaj xwm no muaj ntau qhov kev qhia ntau dua li daim ntawv teev npe tsim.
Kauj Ruam 3: Sab Hauv Daim Duab Duab
Raws li kuv lub hom phiaj rau txoj haujlwm koj tuaj yeem pom tias kuv tau ntxiv lub koob yees duab rau qhov yooj yim Raspberry Pi system nrog rau pawg thawj coj tawm kom kuv tuaj yeem tswj LED lub hauv ntej ntawm rooj plaub. Kuv txiav txim siab ntxiv LCD rau lub sijhawm uas kuv xav siv Pi sib cuam tshuam thiab tsis nyob hauv hom taub hau.
Lub laub khawm hloov tau ntxiv los pib dua Pi yog xav tau.
Kauj Ruam 4: Raspberry Pi OS, Python, CRON teeb tsa
Raspberry Pi OS:
Yog tias koj yuav cov khoom koj ib txwm yuav tau txais daim npav SD nruab nrog NOOBS, yog tias tsis muaj ntau yam kev qhia tawm rau kev txhim kho RASPBIAN (kuv xaiv ntawm txoj haujlwm no). Tab sis ntawm no yog daim ntawv qhia kev txhim kho RASPBIAN los ntawm daim npav NOOBS SD-
Nab hab sej 3:
Los ntawm lub plhaub yog tias nab nab 3 tsis tau teeb tsa:
sudo apt-tau nruab python3
Cov nab npawb nab npawb se txuas tau teeb tsa los ua cov hauv qab no-
- Nyeem qhov tseem ceeb los ntawm Raspberry Pi (Uptime thiab CPU temp)
-
Tsim ib qho tweet siv tus tsim tawm tokens rau tshaj tawm rau twitter (txuas hauv qab no yuav coj koj mus rau twitter los tsim tus lej dev lossis ntxiv rau koj tus lej nyiaj)
https://developer.twitter.com/en/docs/basics/getti…
- Teeb pom kev daj daj thaum tsim cov ncej
- Teeb lub teeb liab liab thaum tshaj tawm
CRON
Kuv siv txoj haujlwm teem tseg (CRON) los khiav cov ntawv ntawm lub sijhawm xaiv ua ntej:
Raws li pom hauv qab tsab ntawv ua haujlwm txhua tsib feeb los ntawm 7 teev sawv ntxov txog 4 teev tsaus ntuj
0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55 7-16 * * * sudo/usr/bin/python3 /home/pi/system_info.py
Txhawm rau sau cov neeg siv CRON:
sudo crontab -l -u pi
Txhawm rau kho cov neeg siv CRON:
sudo crontab -e -u pi
Kauj Ruam 5: Txuas Cov Khoom Siv (Hloov thiab LEDs)
Pawg neeg tawg ntawm GPIOs mus rau LEDs:
Peb tuaj yeem tswj cov zis los ntawm Raspberry Pi's GPIO txuas siv lub rooj sib cais tawm zoo ib yam hauv daim duab.
Hauv qhov no, peb tus nab npawb nab npawb yuav xa lub teeb liab mus rau tus pin ntawm GPIO (daim duab yog txuas rau GPIO 26). Peb xa qhov hluav taws xob los ntawm cov xaim ntawm lub rooj txiav tawm thiab hla tus tiv thaiv mus rau ib qho ntawm Cov ceg ntawm LED. Lwm sab ntawm LED yog txuas mus rau hauv av sab hauv ntawm pawg thawj coj tawg kom ua tiav qhov Circuit Court.
Nco ntsoov tias tus tiv thaiv kab hauv kab los tiv thaiv kev puas tsuaj ntawm LED, qhov txwv tam sim no ntawm LED lub dimmer nws yuav yog. Cov pob Canakit ib txwm muaj LED's nrog 220 Ohm thiab 10k Ohm resistors ntxiv rau pawg thawj coj tawm. Qhov no pab coj qee qhov kev kwv yees tawm ntawm kev yuav qhov teeb meem tiv thaiv LED teeb.
Laub khawm hloov:
Nrog Raspberry Pi 2 thiab Raspberry Pi 3, rov pib dua yog nyob ntawm lub rooj tsavxwm. Nyob rau hauv rooj plaub ntawm Pi 2 tus "P6" tus khub tus pin thiab ntawm Pi 3 tus "RUN" tus pin txuas tso cai rau peb xa "Siab" thaum peb txuas ob tus pin xa "Halt" rau hauv kab ke.
Qhov no TSIS YOG qhov hloov pauv, tsuas yog rov pib dua….. Kuv pom zoo muab cov hauv qab no los ua lub zog los ntawm lub plhaub:
sudo kaw -h tam sim no
Kauj Ruam 6: Pem Hauv Ntej Sab Hauv Pom
Ob daim duab no qhia txog LCD, Lub Hwj Chim Lub Hwj Chim, Lub Rooj Tswjhwm Saib tawg, thiab LEDs txuas rau ntawm lub hauv ntej ntawm rooj plaub.
Ib qho kev lees paub sai tshaj plaws ntawm sab xis LED nres ua haujlwm uas yog vim li cas cov xov hlau raug txiav (kom txog thaum kuv hloov lub LED)
Kauj Ruam 7: Pem Hauv Ntej Sab Nraud Saib
Raws li koj tuaj yeem pom qhov no ua tiav lub vaj huam sib luag pem hauv ntej nrog LCD, LEDs nyob rau hauv qhov chaw thiab cov duab ntoo tau hlawv rau hauv rooj ntoo thuv
Kauj Ruam 8: Sab Hauv Saib Tom Qab Ntawm Cov Ntaub Ntawv
Kuv nyob ntawm Raspberry Pi sab xis ntawm Raspberry Pi lub koob yees duab yooj yim vim tias lub koob yees duab ribbon cable luv heev.
Kauj Ruam 9: Rov Qab Ntawm Cov Ntaub Ntawv Sab Nraud
Tsis ntau hais txog lub vaj huam sib luag tom qab uas tsis yog lub koob yees duab tau tsau rau hauv txoj haujlwm yog li koj yuav tsum tau txav rooj plaub kom tau lub kaum sab xis uas koj xav tau
Kauj Ruam 10: Sab Nraud Saib Ntawm Sab Sab Ntawm Qhov Case
Sab xis ntawm kuv rooj plaub muaj qhov qhib kom tso cai txuas rau pi (USB thiab CAT 5) nrog rau qee chav kom hloov txoj hlua USB los ntawm LCD rov qab mus rau Pi raws li lub xov tooj tau nruj heev los ua qhov khoov tsis tau nce rooj plaub dav.
Kauj ruam 11: Qhov rai Mount
Vim tias qhov no yog lub koob yees duab ruaj khov txoj haujlwm Kuv yuav tsum tsim kom muaj kev txhawb nqa thiab cov khoom sib dhos kom tau txais lub kaum sab xis ntawm lub koob yees duab rau lub tiaj nraum qaum tsev. Cov ntoo yooj yooj yim los ntawm lub khw thiab qee cov ntoo shims los tsim lub kaum ntse ntse platform. Siv L-brackets tuav lub hauv ntej ntawm lub koob yees duab lub thawv nyob rau hauv qhov chaw (miv feem ntau txav nws ib ncig yog tias tsis muaj dab tsi nyob rau hauv qhov chaw los txhawb nqa rooj plaub)
Kauj Ruam 12: Qauv Tweet:
twitter.com/allthingstazz/status/934537216…
Kauj Ruam 13: Kev Xav Thaum Kawg-
Phau ntawv qhia no tuaj yeem hloov pauv mus rau ntau qhov sib txawv tsim, Kuv tsuas yog los nrog ob peb lub hom phiaj thiab teeb tsa los tsim cov cuab yeej los ua lub hom phiaj. Nrhiav rau pem hauv ntej rau koj cov lus thiab tsim !!
Pom zoo:
$ 5 Lub Koob Yees Duab Lub Koob Yees Duab rau Lub Rooj Sib Tham Video: 4 Cov Kauj Ruam (nrog Duab)
$ 5 Laptop Document Camera for Conferencing Video: Luam tawm 20200811 los ntawm John E. Nelson [email protected] tsis ntev los no tau tshaj tawm qhia qhia kev siv lub khoos phis tawj khoos phis tawj khoos phis tawj ua lub koob yees duab rau kev sib tham video. www.instructables.com/id/A-Sub-10-MetaPrax-Documen
Lub Koob Yees Duab CCTV Nrog NodeMCU + Lub Laus Laptop Lub Koob Yees Duab (Nrog thiab Tsis Siv Blynk): 5 Kauj Ruam
CCTV Lub Koob Yees Duab Nrog NodeMCU + Lub Laus Laptop Lub Koob Yees Duab (Nrog thiab Tsis Siv Blynk): Nyob zoo cov phooj ywg! Hauv cov lus qhia no, Kuv yuav qhia koj li cas kuv siv lub khoos phis tawj qub lub koob yees duab thiab nodeMCU los ua qee yam zoo ib yam li CCTV
Lub taub hau Nrhiav Nrog Wii Lub Koob Yees Duab Lub Koob Yees Duab (Tsov Rog Thunder): 6 Cov Kauj Ruam (nrog Duab)
Txheeb Xyuas Lub Taub Hau Nrog Wii Lub Koob Yees Duab Lub Koob Yees Duab (Tsov Rog Thunder): Nyob zoo txhua tus! Kuv xav qhia rau koj nrog kuv thawj qhov haujlwm tiav Arduino tiav. Kuv tau sim ua ib hom kev ua hauv tsev ntxiv rau kev muaj tiag. Cia kuv piav qhia nws rau koj: Nws yog qhov txheej txheem uas siv lub koob yees duab txhawm rau taug qab koj lub taub hau txav los hloov nws raws li
Lub Koob Yees Duab-Lub Koob Yees Duab Combiner Ua Nrog Lego: 12 Cov Kauj Ruam (nrog Duab)
Camera-Microscope Combiner Made With Lego: Nyob zoo txhua tus, Hnub no kuv yuav qhia yuav ua li cas thiaj ua lub koob yees duab rau lub tshuab tsom iav (ua nrog Lego qhov chaw) uas peb tuaj yeem ntes cov ntsiab lus ntawm tsom iav yooj yim dua. Cia peb pib
Hmo Hmo Pom Lub Zeem Muag Digital Lub Koob Yees Duab/lub koob yees duab: 17 Cov Kauj Ruam (nrog Duab)
Infrared Hmo Hmo Pom Lub Koob Yees Duab/Lub Koob Yees Duab: Cov lus qhia no piav qhia yuav hloov pauv li cas Kev Pom Kev Pom Kev Pom Hmo Hmo Hmo Hmo Hmo Hmo Hmo Hmo Hmo Tsis Pom Kev (uas yog tshaj tawm tsis raug los siv "" lub ntsej muag pom kev hmo ntuj tiag tiag thev naus laus zis ") mus rau qhov tseeb pom pom hmo ntuj pom lub koob yees duab. Qhov no zoo ib yam li IR webca