Cov txheej txheem:
- Kauj Ruam 1: Sib sau ua ke MKR1000 thiab 8x8 Zaub rau Mini Bread Board
- Kauj ruam 2: Tsim Koj Tus Huab Cua Api Account
- Kauj Ruam 3: Nyem Koj MKR1000
- Kauj ruam 4: Ua tiav
Video: Huab Cua Matrix Zaub: 4 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Txog txoj haujlwm
Kuv yuav qhia koj li cas los tsim cov xwm txheej huab cua me me los ntawm 8x8 matrix zaub.
Kuv yuav siv Genuino MKR1000 txhawm rau nqa qhov ntsuas kub, av noo thiab huab cua ntawm thaj chaw xaiv.
Qhia cov xwm txheej los tso tawm hauv cov duab swb cov qauv.
Kev sib tw
Txij li 8x8 Matrix yog qhov tseem ceeb ntawm cov LEDs, Kuv yuav xav tau program nws los qhia cov ntawv thiab cov tsiaj ntawv cuam tshuam
Hauv qhov haujlwm no koj tseem yuav kawm paub yuav ua li cas
- siv so qhov kev pabcuam web api
- yuav ua li cas cais cov ntaub ntawv Json
- yuav siv xov thiab Wifi tsev qiv ntawv hauv Arduino li cas
Kauj Ruam 1: Sib sau ua ke MKR1000 thiab 8x8 Zaub rau Mini Bread Board
Kev teeb tsa yog yooj yim zoo nkauj, peb tsuas yog yuav tsum tau xa cov 8x8 matrix zaub rau peb lub microcontroller.
Yuav tsum muaj
- 16pcs Txiv neej rau Poj Niam dhia
- Mini Cij Board
- Microcontroller
- 8x8 Matrix Zaub '
Los Ua Ke Zaub
Faib koj cov neeg dhia mus rau pawg ntawm 8pcs.
Nco ntsoov tias cov xov hlau jumper tau ua tiav zoo.
Txuas 8 tus poj niam dhia mus rau thawj 8 tus pin ntawm matrix zaub.
Txuas lwm 8 tus poj niam dhia mus rau tus thib 8 8 tus pin ntawm matrix zaub.
Txuas rau microcontroller
Txuas lub microcontroller mus rau lub khob cij mini
Siv qhov kawg txiv neej tus pin ntawm cov xov hlau jumper, ntxig rau ntawm thawj 8 qhov uas microcontoller pins txuas (5-A5).
Ntxig qhov seem ntawm lwm qhov 8 qhov uas microcontoller pins txuas (6-13).
Kho qhov 8x8 Matrix Display yog li nws tau tig rau pem hauv ntej thaum koj tso nws rau ntawm lub rooj.
Kauj ruam 2: Tsim Koj Tus Huab Cua Api Account
Txhawm rau kom raug hu ua Internet of Things, peb yuav tsum nqa qee cov ntaub ntawv los ntawm is taws nem.
Kuv siv APIXU API los nqa cov ntaub ntawv huab cua los ntawm kuv qhov chaw xaiv.
Sau npe rau tus as khauj ntawm no https://www.apixu.com/login.aspx thiab tau txais koj tus lej API tus lej.
Ua siab dawb siv kuv tus kheej tus lej api
Txoj hlua apiKey = "8f0ff191defb4a20b5583518171203"; // koj tus lej apixu api
Kauj Ruam 3: Nyem Koj MKR1000
Tau txais cov lej tag nrho Saib ntawm GitHub
Xav tias dawb xa cov teeb meem lossis hloov kho:)
Ntxiv HexFont.h rau koj lub tsev qiv ntawv Arduino.
Siv yooj yim_weather_display.ino los nyem koj lub microcontroller.
Ntawm qhov no ntawm txoj cai:
Hloov nrog koj qhov chaw teeb tsa WiFi
char ssid = ""; // koj lub network SSID (lub npe)
char pass = ""; // koj tus password network (siv rau WPA, lossis siv tus yuam sij rau WEP)
Hloov nrog koj tus Apixu Api Key thiab qhov chaw tswj hwm
Txoj hlua apiKey = "8f0ff191defb4a20b5583518171203"; // koj tus lej apixu api
Txoj hlua tswj = "28.4810971, -81.5088347"; // koj qhov chaw tswj hwm
Koj kuj tseem tuaj yeem hloov pauv cov ntaub ntawv twg los ua kom pom ntawm ntu no ntawm cov cai
// hloov kho cov ntawv nyeem rau huab cua tshiab
lus = ""; // tau txais qhov xwm txheej tam sim no String condition = result ["current"] ["condition"] ["text"]; appendMessage (xwm txheej); appendMessage (""); Txoj hlua temp_c = tshwm sim ["tam sim no"] ["temp_c"]; appendMessage (temp_c); appendMessage ("C"); appendMessage (""); String humidity = tshwm sim ["tam sim no"] ["av noo"]; appendMessage (av noo); appendMessage ("H"); appendMessage ("");
Piv txwv li yog tias koj xav ntxiv cua_mph los ntawm apixu api qhov tshwm sim:
String wind_mph = result ["current"] ["wind_mph"];
appendMessage (cua_mph); appendMessage ("Cua mph"); appendMessage ("");
Tau txais tag nrho cov cai ntawm no Saib ntawm GitHub
Kauj ruam 4: Ua tiav
Thaum flashed nws yuav sim txuas rau koj li WiFI thiab yuav nqa koj cov huab cua, kub thiab av noo!
Nco ntsoov tias koj muaj internet txuas.
Xav Tau Kev Pab?
Xav tias dawb los tawm tswv yim ntawm no.
Txhawb nqa txoj haujlwm los ntawm Github repo no
github.com/imjeffparedes/iot-simple-weath…
Kuj Thov pov npav rau kuv hauv Internet ntawm Kev Sib Tw Yam.:)
Qhov khoom plig thib ob hauv Internet ntawm Yam Kev Sib Tw 2017
Pom zoo:
Huab Cua Huab Cua Beacon: 4 Cov Kauj Ruam (nrog Duab)
Huab Cua Kev Tshaj Tawm Beacon: Hauv qhov haujlwm no kuv tab tom nthuav qhia tus qauv los ntawm lub teeb ceeb toom huab cua hauv cheeb tsam uas kuv tau siv 3D luam ntawv, kab txaij LED, lub hwj chim thiab Arduino pawg thawj coj nrog wifi txuas txuas txhawm rau nkag mus saib huab cua ntawm hnub tom ntej. Lub hom phiaj tseem ceeb ntawm
PyonAir - Qhib Qhov Chaw Huab Cua Huab Cua Pollution: 10 Cov Kauj Ruam (nrog Duab)
PyonAir - Qhib Qhov Chaw Huab Cua Pollution: PyonAir yog tus nqi qis rau kev saib xyuas cov pa phem hauv cheeb tsam - tshwj xeeb, muaj teeb meem me me. Raws li nyob ib puag ncig Pycom LoPy4 lub rooj tsavxwm thiab Grove-sib xws kho vajtse, lub kaw lus tuaj yeem xa cov ntaub ntawv hla LoRa thiab WiFi. Kuv lees paub qhov no
Huab Cua Huab Cua - Koj Lub Vev Xaib Zoo Kom Hnav: 6 Cov Kauj Ruam (nrog Duab)
Npuas Cua Huv - Koj Lub Vev Xaib Zoo rau Hnav: Hauv Cov Lus Qhia no Kuv yuav piav qhia yuav ua li cas koj tuaj yeem tsim lub tshuab ua pa rau hauv koj cov khaub ncaws uas yuav ua rau koj muaj kuab huv thiab lim huab cua ua pa. Ob lub kiv cua radial tau muab tso rau hauv lub tsho loj siv cov kev cai luam tawm 3d uas yog
Huab Cua Huab Cua Huab Cua: 11 Kauj Ruam (nrog Duab)
Huab Cua Huab Cua Huab Cua: Txoj haujlwm no ua rau huab cua huab siv Raspberry Pi Zero W. Nws txuas rau Yahoo Huab Cua API thiab nyob ntawm qhov kev kwv yees rau hnub tom ntej hloov xim. Kuv tau tshoov siab los ntawm Wisconsin Gas Building uas muaj nplaim taws ntawm lub ru tsev uas hloov pauv
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