Cov txheej txheem:
- Kauj ruam 1: Arduino Intel 101
- Kauj ruam 2: Python Script
- Kauj Ruam 3: Khiav Txoj Cai thiab Pom Koj Cov Ntaub Ntawv hauv Ubidots
Video: DragonBoard410c - Xa Cov Ntaub Ntawv rau Ubidots: 3 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Ubidots tso cai rau koj los tsim daim ntawv qhia lub sijhawm tiag tiag los txheeb xyuas koj cov ntaub ntawv lossis tswj hwm koj li khoom siv. Qhia tawm koj cov ntaub ntawv los ntawm kev sib txuas rau pej xeem, lossis los ntawm kev kos nws hauv koj lub xov tooj ntawm tes lossis lub vev xaib.
Hauv qhov kev qhia no peb yuav xa cov ntaub ntawv mus rau lub platform siv DragonBoard 410c thiab Intel Arduino 101 board.
Cov laug cam sib txuas lus los ntawm kev sib txuas txuas thiab tsab ntawv nab nab tau txheeb xyuas cov ntaub ntawv thiab xa mus rau Ubidots.
Kauj ruam 1: Arduino Intel 101
Ua ntej tshaj plaws, cia rub cov lej:
$ git clone
Sab hauv cov ntaub ntawv koj tuaj yeem pom Arduino code txhawm rau upload hauv Arduino 101 board.
Qhib Arduino IDE thiab xaiv Arduino/ Genuino 101 board, yog tias koj tsis muaj qhov kev xaiv no, koj yuav tsum teeb tsa lub rooj tsavxwm hauv IDE.
Mus rau Cov Cuab Yeej-> pawg thawj coj-> tus thawj tswj hwm pawg, tshawb nrhiav intel thiab xaiv Intel Curie Boards pob.
Tom qab kev teeb tsa, koj tuaj yeem tso cov cai hauv Intel 101 pawg thawj coj.
Kauj ruam 2: Python Script
$ git clone
Python tsab ntawv ntshuam cov ntawv thiab Ubidots cov tsev qiv ntawv, yog li, cia rub tawm thiab teeb tsa nws.
- $ sudo apt-tau nruab sej-pip
- $ sudo pip nruab ubidots == 1.6.1
- $ sudo pip nruab pyserial
Tam sim no, koj muaj qee qhov kev hloov kho hauv cov cai kom ua haujlwm raug.
kab 25 thiab 26:
api = ApiClient (token = 'TOKEN') # Hloov nrog koj li Ubidots Token ntawm no
api.save_collection ([{'sib txawv': 'VARIABLE_ID', 'tus nqi': raw [0]}])
TOKEN thiab VARIABLE_ID koj tuaj yeem pom hauv koj tus lej nyiaj hauv Ubidots raws li koj tuaj yeem pom hauv cov duab txuas.
Txuas Intel 101 pawg thawj coj mus rau DragonBoard thiab khiav dmesg txhawm rau txheeb xyuas USB chaw nres nkoj
$ dmesg
ntes nws thiab hloov kab 6:
PORT = "/dev/ttyACM0"
Yog tias koj tsis tau siv Ubidots ua ntej, ua raws cov theem hauv qab no:
- Tsim ib tus account
- ID nkag mus
- Nyem rau ntawm koj daim duab, nyob ntawm sab xis sab xis ntawm qhov screen
- Cov ntawv pov thawj API-> ntau dua-> tsim thiab hloov pauv koj lub cim
- Tau txais tus nqi Token
- Qhov chaw
- Ntxiv cov ntaub ntawv qhov chaw
- Ntxiv qhov sib txawv
- Lub npe hloov pauv raws li koj xav tau
- Tau txais qhov hloov pauv ID nyob ntawm sab laug ntawm tus yam ntxwv sib txawv.
Kauj Ruam 3: Khiav Txoj Cai thiab Pom Koj Cov Ntaub Ntawv hauv Ubidots
- $ cd DragonBoard/
- $ sudo nab hab sej Ubidots.py
Pom zoo:
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): 3 Cov Kauj Ruam
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): Peb txhua tus nyiam ua si nrog peb tus lej L … cov ntsiab lus tau ntxiv thiab nws tsis tshwj xeeb rau lub qhov muag. Arduino IDE cov phiaj xwm tsis
Kev Tau Txais Cov Ntaub Ntawv thiab Cov Ntaub Ntawv Pom Kev Pom Zoo rau MotoStudent Fais Fab Sib Tw Tsheb kauj vab: 23 Kauj Ruam
Kev Tshawb Nrhiav Cov Ntaub Ntawv thiab Cov Ntaub Ntawv Pom Zoo rau MotoStudent Hluav Taws Xob Sib Tw Tsheb: Cov ntaub ntawv khaws cov ntaub ntawv yog cov khoom siv khoos phis tawj thiab software ua haujlwm ua ke txhawm rau sau cov ntaub ntawv los ntawm cov ntsuas sab nraud, khaws thiab ua nws tom qab kom nws tuaj yeem pom cov duab thiab txheeb xyuas, tso cai rau cov kws tsim txuj ci los ua
RAWS LI COV NTAUB NTAWV NTSEEG NTAWV NTAWV MUAJ NTAWV TSHUAJ NTAWV TSO CAI RAU RASPBERRY PI: 6 Kauj Ruam (nrog Duab)
RAWS LI COV NTAUB NTAWV NTAWV MUAJ NTAWV TSHUAJ NTXIV RAU RASPBERRY PI: Hauv qhov haujlwm no, peb yuav txuas peb ntawm Atlas Scientific's EZO sensors (pH, yaj cov pa thiab kub) mus rau Raspberry Pi 3B+. Hloov chaw ntawm txuas cov kab hluav taws xob mus rau Raspberry Pi, peb yuav siv Whitebox Labs Tentacle T3 daim ntaub thaiv. T
IoT Cov Ntaub Ntawv Kev Tshawb Fawb PiNet rau Lub Sijhawm Tiag Smart Screen Cov Ntaub Ntawv Viz: 4 Cov Kauj Ruam
IoT Cov Ntaub Ntawv Kev Tshawb Fawb PiNet rau Lub Sij Hawm Tiag Smart Screen Cov Ntaub Ntawv Viz: 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 koj li kev tshawb fawb hauv Cov Ntaub Ntawv Kev Tshawb Fawb lossis ib qho kev ua haujlwm ntau. Koj tuaj yeem hu rau " thawb " ntawm koj cov phiaj rau cov neeg siv khoom raug cai los ntawm koj li
Hloov (tsuas yog Txog) Txhua Cov Ntaub Ntawv Xov Xwm rau (tsuas yog Hais Txog) Lwm Cov Ntaub Ntawv Xov Xwm Dawb!: 4 Cov Kauj Ruam
Hloov (tsuas yog Txog) Txhua Cov Ntaub Ntawv Xov Xwm rau (tsuas yog Hais Txog) Lwm Cov Ntaub Ntawv Xov Xwm Dawb!: Kuv thawj qhov kev qhia, zoo siab! Txawm li cas los xij, Kuv tau nyob hauv Google nrhiav qhov program dawb uas yuav hloov kuv li Youtube.flv cov ntaub ntawv rau hom ntawv uas yog ntau yam thoob ntiaj teb, zoo li.wmv lossis.mov.I tshawb nrhiav ntau lub rooj sib tham thiab cov vev xaib thiab tom qab ntawd pom qhov program hu ua