Cov txheej txheem:
- Kauj Ruam 1: Txuas Pi (s) rau Zaub (s)
- Kauj Ruam 2: Npaj 1 lossis Ntau Qhov Raspberry Pi's
- Kauj Ruam 3: Clone + Hloov Kho Kuv Cov Cai los Tsim Kev Siv Cov Ntaub Ntawv Tiag Tiag Sijhawm
- Kauj Ruam 4: Tsim thiab Txiav Tawm Cov Ntaub Ntawv Viz rau IoT Smart Displays hauv Lub Sijhawm Tiag
Video: IoT Cov Ntaub Ntawv Kev Tshawb Fawb PiNet rau Lub Sijhawm Tiag Smart Screen Cov Ntaub Ntawv Viz: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-31 10:20
Koj tuaj yeem yooj yim ua ke IoT network ntawm cov lus qhia ntse rau cov ntaub ntawv pom tau los ua kom muaj zog ntxiv rau koj cov kev tshawb fawb hauv Cov Ntaub Ntawv Kev Tshawb Fawb lossis txhua qhov kev suav.
Koj tuaj yeem hu "thawb" ntawm koj cov phiaj rau cov neeg siv khoom tau los ntawm hauv koj cov lej lej (Python, R, Matlab/Octave, SAS, thiab lwm yam), thiab nws hloov kho cov lus hauv lub sijhawm tiag.
Lub tswv yim yog qhov pheej yig saib lub desktop qub uas koj tuaj yeem dag ib puag ncig tuaj yeem rov ua dua rau IoT cov khoom siv uas pheej yig Raspberry Pi cov phiaj xwm txhim kho tau txais thiab tso tawm koj cov ntaub ntawv pom tau zoo hauv lub sijhawm tiag tiag los ntawm koj thawj lub cuab yeej (piv txwv li lub laptop). Yog tias koj tsis muaj flatscreens tsis txhob txhawj, lawv nyob dawb - ze dawb.
Tus nqi thiab kho vajtse xav tau tsawg kawg.
YUAV UA LI CAS
-
1 lossis ntau dua Raspberry Pi's
- Kuv pib nrog 3, ntawm 2 yog 3B+ thiab 1 yog Xoom
- Nqi: ~ $ 10 - $ 40
-
Cov zaub
- Kuv pib nrog ob peb pre-HDMI flatscreen qhia
- Pub dawb - $ 25/txhua ntawm Free Cycle, Craigslist, khw muag khoom thib ob, koj lub nkas -las, eBay, thiab lwm yam. Kom tau txais kev pom zoo ntawm cov khoom hnyav dua qub zoo li lub khw no hauv ib cheeb tsam. Tib neeg ntuav tawm lawv lub iav duab.
- Tsis teb los tau: Phab ntsa -tiaj tus phab ntsa (~ $ 9 rau lub ntsej muag me me ntawm lub desktop, $ 20 - $ 30 rau lub vijtsam loj, piv txwv li 50 ")
- Yog tias nws tsis muaj HDMI (lossis yog tias koj siv Pi Zero) koj tuaj yeem tau txais qhov hloov pauv <$ 8 los ntawm Amazon, eBay, Micro Center, Walmart, koj tus phooj ywg, txhua qhov chaw
- Kuv pib nrog ob peb pre-HDMI flatscreen qhia
-
HDMI lossis micro-HDMI cables
- Pub dawb yog tias koj tau txais nws nrog koj Pi lossis muaj ntau yam khoom seem zoo li kuv
- $ 2 nrog kev xa khoom dawb los ntawm ntau lub khw muag khoom online
Thaum koj muaj cov cai los ntawm GitHub, kho vajtse, thiab koj li Raspberry Pi tau ua haujlwm li cas OS koj xav tau, Kuv kwv yees qhov no yuav siv sijhawm li ob peb feeb mus rau 1 teev feem ntau.
Koj tuaj yeem yooj yim hloov txoj haujlwm no rau lwm qhov IoT siv rooj plaub. Koj kuj tseem xav ua Arduino version! Thov koj xav koom tes nrog kuv ntawm GitHub.
Kauj Ruam 1: Txuas Pi (s) rau Zaub (s)
Qhov no yog qhov yooj yim thiab yooj yim.
Tsuas yog lob cov lus hais txog HDMI (rau Pi) lossis micro-HDMI (rau Pi Zero) cable thiab ntxig rau hauv Pi. Rov ua dua rau cov zaub, siv ib qho khoom siv tsim nyog (HDMI rau micro-HDMI, thiab lwm yam).
Ua tiav
Kauj Ruam 2: Npaj 1 lossis Ntau Qhov Raspberry Pi's
Tau koj Pi nce thiab khiav? Koj tuaj yeem hla ua ntej!
Cia li khiav
sudo apt nruab feh
yog tias koj xav siv tib daim duab saib uas kuv tau ua.
Txwv tsis pub, cov kauj ruam no tsis tshwj xeeb rau qhov kev qhia no - raws li rau txhua qhov haujlwm Pi, peb tsuas yog xav kom koj muaj Pi uas tau khiav Raspbian lossis koj nyiam OS. Tsis tas li, peb yuav xav mus tom ntej thiab ua kom ntseeg tau tias nws tau teeb tsa nrog koj li WiFi password (lossis cov txheej txheem tso cai uas xav tau) thiab kuv yuav muab qee qhov IMHO rau koj "kev xyaum zoo tshaj plaws" teeb tsa uas zoo rau cov neeg nyiam ua haujlwm IoT/Pi (tsis tas yuav tsum tau ua) rau kev nyab xeeb, kev ua haujlwm, kev tsim khoom lossis lwm yam ntsiab lus zoo li ntawd).
Kuv 2 ntu lub tswv yim ntawm no yog txhawm rau txuas koj mus rau cov ncauj lus kom ntxaws, tsim cov lus qhia los ntawm cov neeg thib 3 thiab tom qab ntawd muab rau koj kuv qib kev txheeb xyuas qib siab ntawm yuav ua dab tsi.
- Cov ncauj lus kom ntxaws, tsim tau zoo thib 3 ntu Raspberry Pi teeb tsa cov lus qhia
- https://projects.raspberrypi.org/en/projects/noobs…
- https://www.howtoforge.com/tutorial/howto-install-…
-
Kuv cov ntsiab lus qib siab
-
Tau txais WiFi qhib Pi
- Pi 2 nrog USB wireless network adapter
- 3,3B+
- Zero W, Zero WH
-
Siv qhov tsim nyog HDMI lossis micro-HDMI cable txuas koj cov lus rau Pi
- cov lus qhia hloov pauv (kwv yees li $ 10 ntawm Amazon, eBay, thiab lwm yam) tuaj yeem siv rau cov lus qhia qub xws li VGA
- Qub VGA tiaj cov ntxaij vab tshaus yog li $ 5 - $ 25 ntawm cov khw muag khoom thib ob! Koj kuj tseem tuaj yeem hloov kho lub desktop rau $ 9 flatscreen phab ntsa mount, yog tias koj nyiam.
-
Hlawv NOOBS, Raspbian, Google AIY, Debian, Ubuntu, Slackware, lossis ib qho ntawm ntau qhov lom zem Linux OS koj tuaj yeem tshawb xyuas thiab siv dawb
- Ib qho 8GB+ daim npav micro SD zoo
- Ib qho cuab yeej hlawv zoo li Etcher.io, Unetbootin, LiLi, thiab lwm yam
- Tua tawm OS, txuas rau koj lub WiFi network, txuag koj tus password
-
Tua tawm Raspi-teeb tsa (lossis koj li OS sib npaug) thiab teeb tsa cov kev xaiv hauv qab no
- Khau raj rau Desktop
- Auto-login as pi (zoo rau IoT kev txhim kho, tsis zoo rau kev ruaj ntseg hauv kev tsim khoom)
-
Ua tsis taus pa (muaj ntau txoj hauv kev los ua qhov no)
- Rau kuv, tsuas yog xiam qhov screensaver tau txaus (tejzaum yog vim tau teeb tsa ua ntej cov ntxaij vab tshaus hauv kuv Google AIY diav rawg ntawm Raspbian)
- Hauv lwm qhov xwm txheej muaj tus lej CLI txoj hauv kev los ua qhov no lossis koj tuaj yeem teeb tsa `xscreensaver` tom qab ntawd ua haujlwm nws hauv GUI
- https://raspberrypi.stackexchange.com/questions/75…
- https://raspberrypi.stackexchange.com/questions/75…
-
Nruab feh
- qhov no tsuas yog qhov yooj yim, lub teeb yuag, cov cuab yeej saib duab zoo rau Linux peb tuaj yeem siv
- sudo apt nruab feh
- Lwm tus saib duab zoo ib yam nkaus
-
Kauj Ruam 3: Clone + Hloov Kho Kuv Cov Cai los Tsim Kev Siv Cov Ntaub Ntawv Tiag Tiag Sijhawm
Yog tias koj tseem tsis tau ua tiav, koj yuav tsum luam kuv tus lej piv txwv los ntawm GitHub lub sijhawm no.
Koj muaj ntau txoj kev xaiv yuav ua li cas:
- Lub taub hau mus rau GitHub thiab rub tawm cov ntawv ua.zip
- Clone nrog
- git clone [email protected]: hack-r/IoT_Data_Science_Pi_Net.git
- Tsuas yog ua tib zoo saib kuv cov cai thiab sau koj tus kheej los ntawm kos
Thaum koj muaj tus lej, thov hloov kho txoj hauv kev nrog koj tus kheej txoj kev, tus lej zais thiab tus yuam sij SSH.
Kauj Ruam 4: Tsim thiab Txiav Tawm Cov Ntaub Ntawv Viz rau IoT Smart Displays hauv Lub Sijhawm Tiag
Hauv cov kauj ruam kawg no thiab txaus siab tshaj plaws peb tsuas tso peb cov Pi network sib dhos los sim!
Rau peb cov lej sib npaug ntawm "Nyob Zoo Ntiaj Teb" cia khiav ib tsab ntawv ntawm koj lub khoos phis tawj lossis lub cuab yeej tseem ceeb los ua Lub Tshuab Kawm ntawm qee cov ntaub ntawv, tsim cov ntaub ntawv pom, thiab tso tawm rau peb Pi-based smart screens ("cov neeg siv khoom").
DEMO
Cov lus piav qhia hauv qab no siv lub Windows laptop khiav R ua piv txwv ntawm thawj lub cuab yeej ("server").
-
Ua ntej R tsab ntawv tau ua tiav ntawm kab lus txib dua cov ntaub ntawv piv txwv. R los ntawm GitHub
- Raws li pom hauv 1st screenshot ntawm cmd qhov hais kom ua
- Cov ntaub ntawv piv txwv luam tawm thawj ob peb kab ntawm 2 cov ntaub ntawv teeb tsa thiab tsim cov ntaub ntawv viz cov phiaj (-p.webp" />
-
YOOJ YIM Tsab ntawv pov thawj tseeb khiav tawm tsam SCP (WinSCP hauv qhov kev qhia no)
- Khiav cov ntawv no sab nraum R lossis Python tsis tsim nyog ntxiv, nrog kuv hloov kho GitHub code:)
- Koj tseem tuaj yeem khiav nws ntawm cmd kab hais kom ua ncaj qha
- SSH kuj zoo
- SFTP kuj zoo
- Kev siv tshwj xeeb/app tsis tseem ceeb
-
Nov yog cov ntaub ntawv scp_pi_pushN.txt los ntawm GitHub
Kuv teeb tsa qhov no nrog 1 rau ib tus neeg siv khoom siv
Viola!
Tam sim no koj cov lus ntse tau nthuav tawm cov ntaub ntawv pom los ntawm koj cov phiaj xwm phiaj xwm!
Pom zoo:
Lub Sijhawm Tiag Tiag Tiag Tiag Tiag Paub Siv EM Hneev Taw: 6 Kauj Ruam
Kev Pom Zoo Lub Sijhawm Tiag Tiag Siv EM Cov Hneev Taw: Cov cuab yeej no yog txhawm rau faib cov khoom siv hluav taws xob sib txawv raws li lawv cov cim EM. Rau cov cuab yeej sib txawv, lawv muaj cov cim sib txawv EM tawm los ntawm nws. Peb tau tsim kev daws teeb meem IoT txhawm rau txheeb xyuas cov khoom siv hluav taws xob siv Particle
HP-35 Kev Tshawb Fawb Txog Kev Tshawb Fawb Nrog Arduino Uno: 4 Cov Kauj Ruam
HP-35 Kev Tshawb Fawb Txog Kev Tshawb Fawb Nrog Arduino Uno: Lub hom phiaj ntawm txoj haujlwm no yog kom ua raws cov kev sim hauv qab no https://www.hpmuseum.org/simulate/hp35sim/hp35sim….on ntawm Arduino Uno nrog TFTLCD thiab Touch Screen zoo ib yam thawj HP-35 Kev Tshawb Fawb Kev Tshawb Fawb Nws ua raws li tus lej qub khaws cia
Visuino Tsim Kev Tshawb Fawb Kev Tshawb Fawb Siv Arduino: 8 Cov Kauj Ruam
Visuino Tsim Kev Tshawb Fawb Kev Tshawb Fawb Siv Arduino: Hauv qhov kev qhia no peb yuav siv XYC-WB-DC Microwave Radar Motion Sensor txuas nrog Arduino UNO thiab Visuino txhawm rau txheeb xyuas txhua qhov txav hauv ib puag ncig 5m suav nrog cov phab ntsa nyias
Ua Kev Tshawb Fawb Txog Kev Tshawb Fawb: 7 Kauj Ruam (nrog Duab)
Ua Kev Tshawb Fawb Txog Kev Tshawb Fawb: Yog tias koj ib txwm xav ditch tus qauv kev nthuav qhia swb lossis cov qauv peb-quav, koj yuav txaus siab rau kev ua, kev nthuav qhia nthuav tawm uas yog lub zog los ntawm Scratch programming, Makey Makey board, thiab cov khoom siv tes ua yooj yim! Cov haujlwm no txhawb nqa
Tus Saib Xyuas V1.0 --- Txhim Kho Qhov Rooj Peephole Lub Koob Yees Duab Nrog Arduino (Kev Tshawb Fawb Kev Tshawb Fawb & Hluav Taws Xob Nta): 5 Kauj Ruam
Tus Saib Xyuas V1.0 ||| Txhim Kho Qhov Rooj Peephole Lub Koob Yees Duab Nrog Arduino (Kev Tshawb Fawb Tsab Ntawv Teev Tseg & Nta Hluav Taws Xob Nta): Kuv tau xaj lub koob yees duab peephole tab sis thaum kuv siv nws, pom tau tias tsis muaj qhov pib ua haujlwm (qhib los ntawm kev ntsuas pom). Tom qab ntawd kuv pib tshawb xyuas nws ua haujlwm li cas. Txhawm rau kaw cov vis dis aus, koj yuav tsum 1- khaws lub zog khawm yuav luag 2 vib nas this