Cov txheej txheem:

Huab Cua tshwm sim: 3 Kauj Ruam
Huab Cua tshwm sim: 3 Kauj Ruam

Video: Huab Cua tshwm sim: 3 Kauj Ruam

Video: Huab Cua tshwm sim: 3 Kauj Ruam
Video: Daim Av 3 Nti tsom xyooj nkauj tshiab 2020 2024, Hlis ntuj nqeg
Anonim
Huab Cua tshwm sim
Huab Cua tshwm sim

Chaw nres tsheb huab cua

Cov kab ke no yog lub chaw nres tsheb huab cua qis uas siv Raspberry 3 thiab Texas Instruments Sensor Tag CC2650 los sib piv huab cua sab nraud nrog cov xwm txheej sab hauv. Siv Node Red thiab Freeboard, lub dashboard tuaj yeem tsim los kom pom cov ntaub ntawv. Zoo rau tsev ntsuab. feral miv chaw nyob, chaw nyob aub, barns lossis txawm muv hives.

Kauj Ruam 1: Teeb Kho Vajtse

Teeb Kho Vajtse
Teeb Kho Vajtse

Teeb Kho Vajtse

Cov chaw saib huab cua tuaj yeem raug nqi ntau pua daus las yog li kuv tsim lub chaw nres tsheb huab cua thiab lub koob yees duab infrared rau ib feem ntawm tus nqi.

Sensors

Kuv yuav siv lub Texas Instrument Simple Link Sensor Tag txhawb nqa Bluetooth Ntse, 6LoWPAN thiab ZigBee. Kaum lub cim ntim rau ntawm ib lub cuab yeej!

Nov yog lub cuab yeej txias thiab suav nrog 10 onboard sensors. Teeb yog yooj yim. Koj rub daim yas los qhib lub ntsuas cua thiab rub tawm ib qho dawb Android lossis IPhone App kom pom cov ntaub ntawv.. Cov Tag muaj roj teeb lub neej ntawm ib xyoos. Yog tias koj rub tawm lub app koj tuaj yeem pom cov ntaub ntawv los ntawm lub cim cim npe hauv feeb.

Raspberry Pi 3

Muaj daim duab tshiab los ntawm Raspberry Pi uas tuaj yeem pom ntawm nplooj ntawv no. Yog tias koj twb muaj Jessie teeb tsa koj tuaj yeem hloov kho cov duab los ntawm kev siv cov lus txib hauv qab no:

sudo apt-tau hloov tshiab

sudo apt-tau nruab dist-upgrade

sudo apt-tau nruab raspi-gpio

Yog tias koj yog tus neeg siv tshiab thiab qhov no yog thawj zaug koj tau teeb tsa Raspberry Pi ces koj xav tau ob peb lub software program uas rub tawm dawb.

Kuv muaj Windows 10 acer Laptop thiab siv SD daim ntawv pom zoo los ntawm Raspberry Pi Foundation. Qhov no tuaj yeem pom ntawm qhov txuas no. Thaum koj ntxig koj daim npav SD thiab khiav qhov program los ua daim npav. Cov cuab yeej tom ntej yog sau cov duab rub tawm rau SD daim npav. Qhov no tuaj yeem pom ntawm qhov txuas no.

Hauv qhov xaus koj rub daim duab los ntawm Raspberry Pi site rau koj lub khoos phis tawj, ntaus daim npav SD thiab sau daim duab rau daim npav. Thaum ua tiav koj tuaj yeem tshem daim npav SD thiab tso daim npav micro hauv Raspberry Pi.

Tsuas yog dongle kuv xav tau yog rau kuv cov keyboard wireless thiab nas. Kuv muaj RCA TV ua tus saib thiab HDMI cable txuas nrog PI. Tab sis kuv kuj siv lub davhlau ya nyob twg ntawm lub laptop rau program. Kuv siv Putty thiab koj tuaj yeem rub tawm qhov program dawb ntawm no.

Kauj Ruam 2: Teeb IBM BlueMix thiab Txuas Tus Pi thiab Sensor Tag

Teeb IBM BlueMix thiab Txuas Tus Pi thiab Sensor Tag
Teeb IBM BlueMix thiab Txuas Tus Pi thiab Sensor Tag

Txog Cov Kauj Ruam no kuv tau tsim cov ntawv PDF nrog txhua qhov kev tshuaj ntsuam.

Kauj Ruam 3: Teeb Node Liab thiab DashBoard

Teeb Node Liab thiab DashBoard
Teeb Node Liab thiab DashBoard

Node Red yog cov cuab yeej zoo kawg uas tso cai rau koj ua haujlwm rau koj daim ntawv thov siv pallet thiab cov nodes. Kuv tsim lub chaw nres tsheb huab cua uas sib piv sab hauv thiab sab nraud huab cua. Yuav luag tsis muaj qhov sib txawv ntawm qhov koj yuav xav ntsuas. Thaum koj xub qhib lub app hauv Node Red muaj cov kab teeb tsa ua ntej. Tus tshiab ua rau nws yooj yim ntxiv cov nodes ntxiv. Hauv kuv qhov kev tsim kuv xav tau OpenWeatherMap rau cov xwm txheej sab nrauv tam sim no. Kuv kuj tau teeb tsa Dweetio rau kev khaws cia thiab Freeboard los tsim DashBoard. IBM node twb tau nyob hauv lub pallet lawm. Nyob rau sab xis sab tes xis ntawm qhov screen muaj Deploy Button. Qhov no yuav tig liab yog tias koj hloov pauv rau koj. Debug ntawm qhov tseem ceeb. Nws tso cai rau koj pom cov zis thiab yuav muab cov lus yuam kev.

Kev zoo nkauj thiab yooj yim ntawm kev xa koj cov ntaub ntawv mus rau IBM Cloud yog lub peev xwm khaws cov ntaub ntawv ntawd nyob hauv ntiaj teb. Yog li yog tias kuv tso lub Sensor Tag thiab Raspberry Pi tso rau hauv ib puag ncig tsiaj, Kuv tuaj yeem saib xyuas qhov ntsuas kub, av noo thiab lux (ci ntsa iab) thiab ceeb toom yog tias muaj teeb meem. Kuv tuaj yeem xa email mus rau kuv lub xov tooj ntse yog tias cov xwm txheej ua tau raws li qhov pib uas muaj peev xwm txaus ntshai.

Kuv tau txuas daim ntawv PDF rau kev teeb tsa yooj yim ntawm Dashboard.

Pom zoo: