Cov txheej txheem:
- Kauj ruam 1: Teeb Kho Vajtse
- Kauj ruam 2: Rub Raspbian
- Kauj Ruam 3: Txheeb Xyuas Micro SD Device
- Kauj Ruam 4: Luam theej duab Raspbian rau hauv MicroSd Card
- Kauj Ruam 5: Tuaj Caum Thawj Zaug
- Kauj Ruam 6: Hloov Kho Cov Ntawv Teev Npe
- Kauj Ruam 7: Pab kom VNC, SSH thiab I2C
- Kauj Ruam 8: Hloov Raspberry Pi Password
- Kauj Ruam 9: Nruab I2c-cov cuab yeej
- Kauj ruam 10: Txheeb xyuas I2C Kev Sib Txuas Lus
- Kauj ruam 11: Txheeb xyuas Python Version
- Kauj Ruam 12: Txheeb Xyuas Muaj Python Versions
- Kauj Ruam 13: Hloov Kho Python Symbolic Link
- Kauj Ruam 14: Rub tawm THP Logger Source Code
- Kauj ruam 15: Unzip Source Code Zip File
- Kauj ruam 16: Khiav lub THP Logger
- Kauj Ruam 17: Pib Ntsuas THP
- Kauj Ruam 18: Tau Txais Cov Ntaub Ntawv SFTP
- Kauj Ruam 19: Saib Cov Ntaub Ntawv
- Kauj Ruam 20: Ua Cov Ntaub Ntawv
- Kauj Ruam 21: Chav Rau Kev Txhim Kho
Video: Kub, Txheeb Ze Vaum, Huab Cua Siab Logger Siv Raspberry Pi thiab TE Kev Sib Txuas MS8607-02BA01: 22 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Taw qhia:
Hauv qhov haujlwm no kuv yuav qhia koj yuav tsim teeb tsa li cas los ntawm kev nkag mus rau qhov ntsuas cua sov thiab huab cua siab. Txoj haujlwm no yog ua raws li Raspberry Pi 3 Model B thiab TE Kev Sib Txuas ib puag ncig sensor nti MS8607-02BA01, cov nti no yog qhov me me tiag tiag yog li kuv xav kom koj tau txais nws hauv daim ntawv txheeb xyuas, sim siv tes laug nws tsis pom zoo, Kuv tau txais nws qhov kev ntsuas board DPP901G000 ntawm Amazon rau $ 17. Qhov kev zov me nyuam uas ua txoj haujlwm no yog nyob ntawm github thiab tau sau ua sej 3.
Kuv yuav sim ntau npaum li kuv tuaj yeem muab tag nrho cov ntsiab lus tsis txaus ntseeg yog li leej twg nrog kev paub hauv computer yooj yim tuaj yeem ua tiav txoj haujlwm no.
Qhov chaw thiab Cov ntaub ntawv:
www.te.com/commerce/DocumentDelivery/DDECon…
www.te.com/commerce/DocumentDelivery/DDECon…
en.wikipedia.org/wiki/Raspberry_Pi
github.com/anirudh-ramesh/MS8607-02BA01/bl…
Qhov Chaw thiab Cov Cuab Yeej Xav Tau:
-Raspberry Pi 3 Qauv B thiab khoom siv ntxiv: rooj plaub, nas, keyboard, saib lossis TV, daim npav microSD thiab lwm yam.
-MS8607-02BA01 tshuaj xyuas lub Rooj Tswjhwm Saib, DPP901G000 lossis sib npaug, yuav xa mus rau nws hauv seem ntawm cov lus qhia no raws li Lub Rooj Tswjhwm Saib Sensor.
- Plaub lub xov tooj hluav taws xob txuas mus txuas rau Raspberry Pi mus rau lub ntsuas phoo sensor
-Computer teeb tsa Raspberry Pi, Kuv siv lub khoos phis tawj khiav Ubuntu, Windows PC yuav ua haujlwm nrog qee qhov kev hloov pauv rau cov lus qhia.
Kauj ruam 1: Teeb Kho Vajtse
-Kev txuas Raspberry Pi mus rau Sensor Board raws li tau piav qhia hauv lub rooj thiab daim duab saum toj no
Kauj ruam 2: Rub Raspbian
-Download Raspbian SD daim duab los ntawm
-Xaiv mus rau koj cov ntawv rub tawm thiab unzip Raspbian SD daim duab siv siv cov lus txib unzip.
Kauj Ruam 3: Txheeb Xyuas Micro SD Device
-Muab daim npav MicroSD tso rau hauv Micro SD daim npav nyeem ntawv/sau ntawv uas txuas nrog lub PC, -Kev txheeb xyuas lub npe micro SD daim npav ntaus ntawv hauv koj lub PC siv "sudo fdisk -l" hais kom ua raws li hauv qab no, ceeb toom tias SD daim npav ntaus ntawv tau txheeb xyuas los ntawm qhov loj me thiab lub npe khoom siv, hauv qhov xwm txheej tshwj xeeb no SD card ntaus ntawv lub npe yog "/dev /mmcblk0”, ntawm koj lub computer nws tuaj yeem sib txawv. Yog tias koj muaj lub khoos phis tawj Windows siv Win32 Disk Imager rau qib no.
Kauj Ruam 4: Luam theej duab Raspbian rau hauv MicroSd Card
-Burn Raspbian rau hauv daim npav MicroSD siv qhov hais kom ua:
dd yog = SDcard_image_file_name ntawm = SD_Card_Device_Name xwm txheej = kev vam meej.
Tos kom daim ntawv theej tiav, qhov no yuav siv ob peb feeb.
Kauj Ruam 5: Tuaj Caum Thawj Zaug
-Tshem tawm micro SD ntawm lub PC thiab tso rau hauv Raspberry, siv lub zog, Raspberry Pi yuav tsum tau khau raj.
- Ntawm Raspberry Pi nthuav tawm SD, los ntawm kev qhib kab hais kom ua dav hlau, tom qab ntawv ntaus ntawv "sudo raspi-config", xaiv Nthuav Tawm Cov Ntaub Ntawv kom ua tau zoo ntawm tag nrho qhov chaw muaj nyob hauv daim npav SD. Reboot thaum nug kom rov pib dua.
Kauj Ruam 6: Hloov Kho Cov Ntawv Teev Npe
-Txuas Raspberry Pi rau Wifi lossis txuas nws siv ethernet cable los ntawm koj lub tsev router.
-Ntawm kab hais kom ua hauv Raspberry Pi khiav "sudo apt-tau hloov tshiab" txhawm rau hloov kho pob khoom npe.
Kauj Ruam 7: Pab kom VNC, SSH thiab I2C
Ntawm Raspberry Pi Desktop cov ntawv qhia zaub mov tseem ceeb, nyem rau Preference ces xaiv Raspberry Pi Configuration utility. Hauv Interfaces tab, pab kom SSH, VNC, thiab I2C.
Kauj Ruam 8: Hloov Raspberry Pi Password
-Tam sim no yog lub sijhawm zoo los hloov Raspberry Pi lo lus zais.
Kauj Ruam 9: Nruab I2c-cov cuab yeej
Ntawm kab hais kom ua nruab I2C cov cuab yeej siv cov lus txib sudo apt-get install i2c-tools
Kauj ruam 10: Txheeb xyuas I2C Kev Sib Txuas Lus
- Txheeb xyuas tias Raspberry Pi tuaj yeem sib txuas lus nrog Sensor Board hla I2C siv qhov hais kom ua "i2cdetect -y 1", Lub Rooj Tswjhwm Saib Sensor yeej muaj ob lub I2C pab kiag li lawm, ntaus ntawv qhov chaw 0x76 yog rau ntsuas siab thiab ntsuas kub, ntaus ntawv chaw nyob 0x40 yog rau ntsuas cov txheeb ze txheeb ze. Vim tias pom ob qho tib si.
Kauj ruam 11: Txheeb xyuas Python Version
Txoj haujlwm uas peb yuav khiav los nyeem cov ntaub ntawv ntsuas xav tau yam tsawg kawg Python version 3.2 kom khiav, cov laus dua yuav tsis ua haujlwm zoo.
Linux siv lub cim txuas (saib cov cim sib txuas ntawm linux OS online kom nkag siab qhov kuv tab tom tham txog) txhawm rau taw qhia tus nab npawb txhais lus txhais lus twg uas yuav siv los khiav cov ntawv nab nab. Siv qhov hais kom ua "ls/usr/bin/python -l" kom pom cov lus taw qhia rau, hauv qhov xwm txheej tshwj xeeb no nws tau taw qhia rau nab nab 2.7 uas yuav tsis ua haujlwm rau peb.
Kauj Ruam 12: Txheeb Xyuas Muaj Python Versions
Siv qhov hais kom ua "ls/usr/bin/nab hab sej*" kom pom txhua qhov muaj cov nab npawb ntawm koj li Raspberry Pi.
Kauj Ruam 13: Hloov Kho Python Symbolic Link
Nws zoo nkaus li peb muaj version python3.5, cia peb txuas nws lub cim rau/usr/bin/python
Kauj Ruam 14: Rub tawm THP Logger Source Code
-Download THP Logger qhov chaws los ntawm Github
Kauj ruam 15: Unzip Source Code Zip File
-Unzip qhov chaws tus lej zip file.
Kauj ruam 16: Khiav lub THP Logger
-Kev siv kab hais kom ua davhlau ya nyob twg hloov cov npe ua haujlwm tam sim no siv "cd ~/Download/THP_Logger-master"
-Qhia THP Logger app siv qhov hais kom ua "nab hab sej main.py"
Kauj Ruam 17: Pib Ntsuas THP
- Pab kom txiav cav, xaiv lub sijhawm tsim nyog rau qhov koj xav tau, cia nws khiav.
Kauj Ruam 18: Tau Txais Cov Ntaub Ntawv SFTP
-Kuv tsis tau sim nws tawm tsam cov cuab yeej ntsuas ntsuas tab sis qhov ntsuas qhia tau zoo ib yam nrog kuv lub ntsuas cua sov. Kuv kuj pom qhov poob ntawm cov av noo thaum kuv qhib lub qhov rooj vim tias nws khov sab nraum thiab cov av noo sab nraud yog qhov tsawg dua hauv.
-Txhua cov ntaub ntawv hla hauv csv hom los ntawm Raspberry Pi rau koj lub PC hla SSH, siv koj qhov kev nyiam SFTP tus thov kev pabcuam, rau Windows koj tuaj yeem siv WinSCP, Kuv siv bareFTP rau kuv lub tshuab linux.
Kauj Ruam 19: Saib Cov Ntaub Ntawv
-Qhib cov ntaub ntawv csv uas tau siv Microsoft Excel lossis OpenOffice Calc, siv cov ntaub ntawv los tsim cov duab los saib cov kev hloov pauv ib puag ncig ib hnub lossis ib hnub.
Kauj Ruam 20: Ua Cov Ntaub Ntawv
Lub app tsis tsim ntau cov ntaub ntawv piv txwv li yog tias koj khiav lub app dhau 24 teev nrog kev ncua sijhawm ntawm 60 vib nas this, qhov loj ntawm cov ntaub ntawv cov ntaub ntawv yog li 50 KiB
Saum toj no yog kab ntawv kuv tsim nrog LibreOffice Calc program siv cov ntaub ntawv tsim tawm ntau dua 70000 vib nas this (19 teev), ib qho kev ntsuas ntsuas txhua 60 vib nas this.
Kauj Ruam 21: Chav Rau Kev Txhim Kho
Xav tias dawb los txhim kho ntawm txoj haujlwm no, ob peb lub tswv yim:
1-Tshaj tawm cov ntaub ntawv rau hauv internet server xws li
2-Muaj cov ntaub ntawv ua tiav thiab nthuav tawm los ntawm koj tus kheej lub web server tuav ntawm Raspberry Pi
3-Muaj qhov haujlwm tsis muaj lub taub hau thaum pib thiab tau txais cov ntaub ntawv tas mus li thiab ceeb toom koj yog tias muaj qee yam xwm txheej tau ntsib thiab lwm yam.
4-Txuas ntxiv kev ua haujlwm ntawm lub kaw lus los ntawm kev ntxiv cov ntsuas thiab tus ua haujlwm ntawm I2C npav, lossis tsheb npav SPI.
5-Txuag cov ntaub ntawv mus rau USB flash drive tsis txhob siv daim npav SD, muaj lub program npe cov ntaub ntawv cov ntaub ntawv raws hnub/sijhawm.
Pom zoo:
Ua Koj Tus Kheej Txuas Cov Cua Kub Kub thiab Txuag Nrog Cua Kub: 53 Cov Kauj Ruam (nrog Duab)
Ua Koj Tus Kheej Txuas Cov Cua Kub Kub thiab Txuag Nrog Cua Kub: Lub hom phiaj yog dab tsi? Ua kom yooj yim dua los ntawm kev ua kom sov koj lub tsev raws nraim qhov koj xav Ua kom txuag nyiaj thiab txo cov pa roj carbon tsev tso cua sov los ntawm cua sov koj lub tsev tsuas yog thaum koj xav tau Kev tswj hwm koj cov cua sov nyob txhua qhov chaw koj zoo siab koj tau ua nws y
Raspberry PI Kev ntsuas kub thiab vaum, Chaw Huab Cua Huab Cua, Wifi thiab Xov Tooj Txawb: 6 Kauj Ruam
Raspberry PI Kev ntsuas kub thiab vaum, Chaw Huab Cua Huab Cua, Wifi thiab Xov Tooj Txawb: Nrog Raspberry PI cov cuab yeej koj tuaj yeem teev cov ntsuas kub thiab cov av noo sab nraum, hauv chav, tsev cog khoom, lab, chav txias lossis lwm qhov chaw dawb kiag li. Qhov piv txwv no peb yuav siv los ntsuas qhov kub thiab txias. Cov cuab yeej yuav txuas nrog internet v
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
HRV (Lub Tsev Huab Cua Hloov Chaw) Arduino Tus Tswj Nrog Huab Cua Huab Cua: 7 Cov Kauj Ruam (nrog Duab)
HRV (Lub Tsev Huab Cua Hloov Chaw) Arduino Tus Tswj Nrog Air Economizer: HRV Arduino Tus Tswj Nrog Air Economizer Yog li kuv keeb kwm nrog txoj haujlwm no yog kuv nyob hauv Minnesota thiab kuv lub rooj tsav xwm hluav taws xob kib ntawm kuv LifeBreath 155Max HRV. Kuv tsis xav them $ 200 rau qhov tshiab Kuv ib txwm xav tau qee yam nrog kev lag luam huab cua kev ua txhaum
IoT Ua Yooj Yim: Txheeb Xyuas Cov Ntaub Ntawv Huab Cua Tej Zaum: UV thiab Huab Cua Kub & Vaum: 7 Kauj Ruam
IoT Ua Yooj Yim: Txheeb Xyuas Cov Ntaub Ntawv Huab Cua Nyob deb: UV thiab Huab Cua Kub & Vaum: Ntawm qhov kev qhia no, peb yuav ntes cov ntaub ntawv nyob deb li UV (Ultra-Violet hluav taws xob), huab cua kub thiab av noo. Cov ntaub ntawv no yuav yog ib qho tseem ceeb heev thiab yuav siv rau yav tom ntej Chaw Ua Haujlwm Huab Cua.Qhov thaiv daim duab qhia tau tias peb yuav tau txais dab tsi thaum kawg