Cov txheej txheem:
- Kauj ruam 1: Yuav tsum tau ua
- Kauj ruam 2: Teeb Kho Vajtse
- Kauj ruam 3: Teeb Firmware
- Kauj Ruam 4: Pom Koj Cov Ntaub Ntawv
- Kauj Ruam 5: Cov txiaj ntsig
Video: Txuas Koj RevPi Core rau Ubidots: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Revolution Pi yog qhov qhib, hloov pauv, thiab ua haujlwm ruaj khov PC raws li tsim Raspberry Pi thaum ua tau raws li EN61131-2 tus qauv. Nruab nrog Raspberry Pi Compute Module, RevPi Core lub hauv paus tuaj yeem nthuav dav txuas ntxiv siv qhov tsim nyog I/O cov qauv thiab cov qhov rooj nkag mus rau lub zog rau kev tswj hwm lub zog, txheej txheem tshuaj xyuas, tshuab noj qab haus huv thiab ntau ntxiv.
Rev Pi Core yog lub hauv paus rau txhua daim ntawv thov thiab nyob ntawm koj li I/O qhov xav tau nthuav dav cov qauv xws li RevPi DIO, RevPi AIO, RevPi Gates tuaj yeem txuas ua digital, analog, lossis rooj vag modules. Revolution Pi series pib nrog lub hauv paus ntaus ntawv, RevPi Core thiab RevPi Core 3, lub hauv paus ua haujlwm ntawm cov txheej txheem. Nruab nrog plaub-ntxhais processor nrog 1.2 GHz thiab 1 GByte RAM, cov tub ntxhais ua haujlwm los ntawm Broadcom muaj lub zog txaus rau cov haujlwm nyuaj xws li ua cov duab lossis suav suav. Txhim kho hauv tsev DIN kev tsheb nqaj hlau thiab siv los ntawm 24 VDC RevPi Core tau tsim los kom kawg thiab xav tau cov qauv siv hluav taws xob.
Hauv phau ntawv qhia hauv qab no koj yuav kawm paub yuav ua li cas koom ua ke koj li RevPi Core thiab RevPi Core 3 nrog Ubidots Huab, sim siab, ntsuas kub, thiab vaum nyeem los ntawm cov ntawv sej firmware, thiab pom cov ntaub ntawv no hauv koj tus kheej daim ntawv thov Ubidots tau yooj yim. Cov ntawv qhia no yog tsim rau tsuas yog RevPi Core teeb tsa, yog tias koj twb tau sau koj cov tub ntxhais ua ke thiab saib tam sim no ua haujlwm nrog qee qhov kev nthuav dav, thov siv cov kab lus teeb tsa hauv qab no rau kev sib txuas ntxiv thiab txhim kho daim ntawv thov: RevPi Core + RevPi DIO
Kauj ruam 1: Yuav tsum tau ua
- Ethernet Cable
- 24V Fais Fab Khoom
- Revolution Pi Core 3
- Ubidots tus account - lossis - STEM License
Kauj ruam 2: Teeb Kho Vajtse
Txhawm rau pib teeb tsa koj li RevPi Core lossis RevPi Core 3, siv Phau Ntawv Qhia Pib Pib los ntawm Revolution Pi kom tau txais koj lub cuab yeej teeb tsa thiab txuas nrog.;)
Thaum koj RevPi Core tau teeb tsa nrog cov duab kawg (Jessie) thiab txuas nrog lub cuab yeej lub davhlau ya nyob twg kom raug, ua raws cov lus txib hauv qab no:
sudo apt-tau hloov tshiab
ces:
sudo apt-tau hloov tshiab
NCO TSEG: Cov lus txib saum toj no yuav siv sijhawm ob peb feeb los hloov kho. Tag nrho cov kab ke tau hloov kho tshiab, yog li thov ua siab ntev.
Kauj ruam 3: Teeb Firmware
Peb txiav txim siab siv Python lus programming, vim nws yooj yim siv nrog RevPi Core. Yog tias koj xav kom sau lwm hom lus thov siv rau Revolution Pi lub rooj sab laj kom paub meej ntxiv hauv kev txhawb nqa firmware.
Yog tias qhov no yog koj thawj zaug ua haujlwm nrog Python hauv koj RevPi Core, ua qhov siab tshaj ntawm cov vis dis aus no kom paub me ntsis.
1. Txhawm rau pib sau koj lub khoos phis tawj, tsim cov ntawv Python hauv RevPi Core davhlau ya nyob twg. Peb yuav siv nano editor, txhawm rau tsim tsab ntawv tshiab. Txhawm rau ua qhov no khiav cov lus txib hauv qab no:
nano ubidots_revpi.py
2. Thov luam thiab muab cov qauv coj ua hauv qab no tso rau hauv nano editor. Thaum dhau los, muab koj li Ubidots Token qhov uas tau qhia hauv tsab ntawv. Siv ntawm no txhawm rau pab nrhiav koj li Ubidots token.
Hauv cov qauv piv txwv no peb tau sau qeeb rau kev sib txuas lus cov ntaub ntawv nrog Ubidots kom yog txhua 1 thib ob. Yog tias koj xav ncua qhov ncua sijhawm no, koj tuaj yeem ua tau yooj yim los ntawm kev kho kab "Ncua = 1".
NCO TSEG: Txhawm rau txuag tsab ntawv rau hauv nano editor - nias Ctrl+o, lees paub lub npe cov ntaub ntawv kom sau (ubidots_revpi.py) thiab nias sau. Txhawm rau kaw nano editor nias Ctrl+x.
3. Tam sim no cia peb sim cov ntawv. Khiav tsab ntawv yav dhau los tsim hauv RevPi davhlau ya nyob twg: nab hab sej ubidots_revpi.py
Thaum tsab ntawv pib ua haujlwm, koj yuav pom qhov xwm txheej ua tiav cov lus teb los ntawm Ubidots Server.
Kauj Ruam 4: Pom Koj Cov Ntaub Ntawv
Mus rau koj tus lej Ubidots thiab txheeb xyuas cov ntaub ntawv tau txais. Koj yuav pom lub cuab yeej tshiab tau txais kev tsim nyob hauv ntu Ntaus nrog lub cuab yeej lub npe yog MAC chaw nyob ntawm koj RevPi Core.
Qhov zoo ntawm kev xa RevPi Core MAC chaw nyob raws li daim ntawv lo ntaus ntawv, yog tias tib tsab ntawv yuav ua haujlwm rau tag nrho koj li RevPi Cores, tab sis xav tau tsuas yog kho MAC chaw nyob hauv txoj cai. Qhov no tswj hwm los ntawm thawj zaug mus rau zaum kawg uas koj xa cov ntaub ntawv mus rau Ubidots, cov ntaub ntawv ib txwm tseem khaws cia hauv nws cov cuab yeej tsim nyog hauv Ubidots.
Tsis nyiam MAC chaw nyob raws li koj lub cuab yeej lub npe hauv koj lub Ubidots zaub? Tsis txhob txhawj! Koj tuaj yeem hloov lub npe mus rau tus phooj ywg zoo dua, tab sis daim ntawv lo ntawm lub cuab yeej yuav nyob twj ywm raws li MAC chaw nyob kom tsis txhob poob siab tias lub cuab yeej twg yog qhov twg. Txheeb tawm qhov chaw pabcuam kab lus no kom nkag siab zoo Cov Ntawv Cim Ntaus Ntawv thiab Ntaus Npe hauv Ubidots.
Nyem rau ntawm ib qho cuab yeej twg hauv koj Cov Khoom seem kom pom kev hloov pauv tau raug kaw thiab xa mus rau Ubidots los ntawm peb cov qauv firmware. Raws li koj tuaj yeem pom, peb tus qauv piv txwv tau muab peb qhov hloov pauv: av noo, siab, thiab kub.
CEEB TOOM CEEB TOOM: Raws li tau hais yav dhau los, cov ntaub ntawv luam tawm los ntawm cov qauv coj ua piv txwv. Txhawm rau pib nkag siab qhov chaw ib puag ncig hauv ntiaj teb tiag, koj yuav xav tau qhov nthuav dav ntawm Revolution Pi. Ib qho xws li RevPi DIO, thov siv rau kab lus hauv qab no txhawm rau tsim kev sib koom ua ke no rau kev ntsuas thiab ntsuas tus nyeem: RevPi Core + RevPi DIO
Kauj Ruam 5: Cov txiaj ntsig
Hauv ob peb feeb koj tau koom ua ke RevPi Core nrog Ubidots, xa qee cov ntaub ntawv piv txwv siv tus lej Python thuam, thiab tshaj tawm koj txoj haujlwm rau Ubidots rau khaws cov ntaub ntawv, pom kev, thiab suav. Txhawm rau xa koj cov kev daws teeb meem rau kev tshuaj xyuas lossis kev tswj hwm, txheeb xyuas tag nrho cov npe ntawm RevPi nthuav dav cov qauv.
Tam sim no nws yog lub sijhawm los tsim Ubidots Dashboards kom pom thiab nkag siab koj cov ntaub ntawv los txiav txim siab qhov zoo tshaj plaws, yooj yim thiab ua ke.
Pom zoo:
Txuas Koj RevPi Core + RevPi DIO rau Ubidots: 8 Cov Kauj Ruam
Txuas Koj RevPi Core + RevPi DIO rau Ubidots: Revolution Pi yog qhib, hloov kho, thiab ua haujlwm ruaj khov PC raws li tsim Raspberry Pi thaum ua tau raws li EN61131-2 tus qauv. Nruab nrog Raspberry Pi Compute Module, RevPi Core lub hauv paus tuaj yeem nthuav dav txuas ntxiv siv qhov tsim nyog
Txuas Txuas Txuas Txuas: 5 Cov Kauj Ruam
Txuas Txuas Lub Sijhawm: Nyob Zoo! Hauv qhov kev qhia no koj yuav pom yuav ua li cas txuas nrog ib qho khoom siv Arduino sib xws, nruab nrog WiFi, rau REST APIs! Qhov no siv GitKraken Glo Board webapp los tsim cov laug cam, kab & daim npav los npaj khoom! Qee qhov kev paub ntawm yuav ua li cas pej xeem
Kev Sib Txuas Txuas Txuas Txuas Siv Bluefruit: 4 Cov Kauj Ruam
Kev Sib Txuas Tsis Sib Txuas Siv Bluefruit: Nov yog cov lus qhia yooj yim los ntawm kauj ruam qhia los hloov koj cov xov hlau nrog bluetooth tsis muaj zog txuas: Nws coj kuv ib pliag los daws qhov no vim tias tsis muaj cov ntaub ntawv hais txog kev ua qhov no nrog bluetooth niaj hnub tsis muaj zog thev naus laus zis raws li Bluefrui
Siv Koj Mac OSX Ua Tus Hlau Txuas Txuas rau Koj XBOX 360: 6 Cov Kauj Ruam
Siv Koj Mac OSX Raws li Wirelss Adapter rau Koj XBOX 360: Kuv tau pom lwm phau ntawv qhia yuav ua li cas ntawm no tab sis nws tau ua tsis txaus ntshai heev thiab tawm ntau yam khoom, yog li kuv txiav txim siab ua kuv tus kheej
Cov lus qhia rau Ua Plaub Qhov Kev Txuas Txuas Txuas Rau Qhov Chaw Mounted Footrest: 9 Cov Kauj Ruam (nrog Duab)
Cov lus qhia rau Ua Plaub Qhov Kev Txuas Txuas Txuas Rau Lub Hauv Paus Mounted Footrest: Mid-drive fais fab log lub rooj zaum (PWC) tau dhau los ua neeg nyiam nyob rau xyoo tas los no. Txawm li cas los xij, vim qhov kev tso rau pem hauv ntej casters, cov tsoos sab-mounted footrests tau hloov los ntawm ib qho chaw nruab nrab-footrest. Hmoov tsis zoo, center-mou