Cov txheej txheem:
- Kauj Ruam 1: IoT Accounts, Adafruit IO Feeds, IFTTT Applets thiab Zapier Zap
- Kauj ruam 2: Teeb Arduino Code
- Kauj ruam 3:
- Kauj Ruam 4: Npaj Cov Lus Qhia
- Kauj Ruam 5: Breadboard Dry Run Assembly
- Kauj Ruam 6: Txhim Kho Qhov Kawg Circuit Court
- Kauj Ruam 7: Duab ntxoov ntxoo lub rooj sib txoos
Video: Lus Ceeb Toom: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Nov yog qhov chaw nres tsheb huab cua ua ke thiab ceeb toom. Peb txhua tus tuaj yeem tshawb xyuas huab cua ntawm peb lub xov tooj, tab sis qee zaum thiab tshwj xeeb tshaj yog thaum ib tus tau sim tawm lub qhov rooj txhua yam uas xav tau yog txoj hauv kev nrawm rau huab cua. Lub chaw saib xyuas huab cua no muab cov duab pom sai ntawm cov xwm txheej tam sim no: tshav ntuj, pos huab, los nag lossis daus, qhov kub thiab ceeb toom luv luv. Ib qho ntxiv, lub ntsuas hluav taws xob ua kom pom lub ntsej muag nthuav tawm uas nthuav tawm cov lus muaj txiaj ntsig: "daim npog + yuam sij"
Nqe lus piav qhia: Qhov chaw nres tsheb no tau tsim hauv Arduino thiab sib txuas IoT (Internet ntawm Yam) txau thiab ua rau. Muaj plaub lub ntsiab lus tseem ceeb thiab ib lub suab txav.
Zaub 1: Cov huab cua puag ncig neopixels qab lub stencil ntawm lub hnub, huab, nag los thiab daus daus. Qhov no yog qhov ua kom pom tseeb.
Zaub 2: kub siab rau hnub ntawm 7 ntu ntu.
Zaub 3: cov ntawv luv luv los ntawm Nco Cov Mis (ex. "Peb xav tau zaub mov dev") ntawm OLED zaub
Zaub 4: tsab ntawv tsa suab ua rau ceeb toom kom tsis txhob hnov qab daim npog ntsej muag thiab cov yuam sij hla 3 cov lej lej.
Khoom siv:
Cov Khoom Siv/Cov Cuab Yeej (ceeb toom feem ntau ntawm cov txuas yog rau Adafruit hauv Asmeskas, tab sis cov khoom no muaj los ntawm lwm tus neeg muag khoom. Txoj haujlwm no yog ua raws li esp8266 wifi arduino board. Thaum txoj haujlwm no siv Adafruit version ntawm esp8266 board - - Adafruit Feather Huzzah board, NodeMCU board yuav raug hloov pauv, tab sis lub cev qhov chaw ntawm tus pin yuav txawv. Txuas mus rau cov cuab yeej yog rau kev siv. Cov peev nyiaj yuav txiav txim siab tus qauv ntawm cov cuab yeej tau yuav.
(1) Feather Huzzah board adafruit part 2821
(1) 7 ntu plaub plaub matrix Adafruit ntu 3106
(3) plaub fab alphanumeric featherwing qhia - xiav Adafruit ntu 3128
(1) OLED plaub zaub 128x64 Adafruit ib feem 4650
(1) Mini PIR tsab ntawv tsa suab sensor SR 505 amazon PIR S505 thiab cov ntaub ntawv
(1) 10k Ohm resistor adafruit ib feem 2748
(4-5) cov tub ntxhais hlau-pom zoo yam tsawg kawg ntawm plaub xim, pom zoo cov txheej no: Adafruit ntu 1311
(ntau) cov xov hluav taws xob (txiv neej-txiv neej) adafruit ntu 153
(3) cov xov hluav taws xob (cov poj niam-poj niam) adafruit ntu 1919
(1) breadboard: jameco solderless breadboard
(2) headers (rau OLED zaub)
(1) tus txiv neej header pin - yam tsawg kawg 3 header pins adafruit ib feem 3002
(1) a/c adapter 5.25vdc 1A adafruit ntu 1994
(1) usb micro B rau usb A cable (ceeb toom yuav tsum tsis yog lub zog nkaus xwb) adafruit ntu 23791
(xaiv tau) USB cable nrog Hloov adafruit ntu 620
(1) 1 meter neopixel RGBW sawb adafruit ib feem 2842
(1) daim ntawv luam tawm Circuit board 10x22cm amazon perf board
(1) 8 × 8 duab ntxoov ntxoo lub thawv duab ntxoov ntxoo
60/40 txhuas rosin-core solder adafruit ib feem 145
looj koov quav cawv adafruit part 149
soldering hlau adafruit ib feem 1204
pab txhais tes soldering sawv adafruit ib feem 3529
hlau snips amazon snips
hlau strippers adafruit ib feem 527
(ntau) cua sov ntsws tubing adafruit. nqe 4559
kua nplaum phom amazon kua nplaum phom
Dremel cuab tam amazon Dremel cuab yeej
(ntau yam) duab los qhia, ntawv, ping pong npas thiab cov khoom siv kom ntxaws kom nthuav dav cov neopixels. dub tub ntxhais matboard lossis ntawv siv dub
cov cuab yeej ntxiv los sib sau ua ke: tus pas ntsuas, rab riam nyiam, txiav lub lev, tsom iav kev nyab xeeb, cov phom ntev (zoo li txiab hauv chav ua noj).
yeem:
multimeter Adafruit ib feem 308
precision tiaj pliers adafruit ib feem 1368
Kauj Ruam 1: IoT Accounts, Adafruit IO Feeds, IFTTT Applets thiab Zapier Zap
Txog cov lus qhia yuav teeb tsa Adafruit IO thiab IFTTT tau txais
Tseem teeb tsa IoT tus account ntawm Zapier thiab Nco Ntsoov Cov Mis. Sau cov npe neeg siv thiab API rau txhua tus.
Txheeb xyuas 2.4G SSID ntawm koj lub wifi thiab muaj SSID lub npe thiab tus password rau SSID no.
Teeb tsa Kev Pub Noj hauv Adafruit IO (cov no tuaj yeem raug hu ua dab tsi tab sis nws pab kom cov npe no piav qhia. Ntawm no yog cov npe raug muab tso rau hauv Arduino code.)
hightempprecipitationtextnote
Mus rau IFTTT thiab teeb tsa 4 lub suab paj nruag thiab txuas lawv mus rau Adafruit IO txau.
Txhua txhua hnub thaum 7 teev sawv ntxov xa qhov kub siab - txuas mus rau huab cua txias ntawm Adafruit IO Yog tias qhov xwm txheej tam sim no hloov mus rau tshav ntuj - txuas rau nag lossis daus pub ntawm Adafruit IOI - txuas mus rau cov dej nag ntawm Adafruit IOI yog tias qhov xwm txheej tam sim no hloov pauv mus rau daus- txuas mus rau nag lossis daus pub ntawm Adafruit IO
Mus rau Zapier thiab tsim ib Zap thiab txuas qhov no ntawm Nco Ntsoov Cov Ntawv thiab cov ntawv sau Adafruit IO pub.
Kauj ruam 2: Teeb Arduino Code
Yog tias koj tsis tau ua tiav li ntawd, tshuaj xyuas thiab teeb tsa Arduino software thiab xyuas kom tseeb tias nws tau teeb tsa rau pawg esp8266. Nov yog qhov txuas rau cov lus qhia yuav ua li cas:
Thaum koj tau teeb tsa Arduino, theej lossis rub tawm cov ntawv no
config.hweathernote.ino
Muaj ob daim ntawv - cov ntaub ntawv tseem ceeb weathernote.ino thiab cov ntawv config.h
Cov ntaub ntawv config.h tuav koj li API thiab wifi nkag tus password. Nov yog cov ntaub ntawv nkaus xwb koj xav hloov.
Txawm li cas los xij, txhawm rau txoj cai no kom ua haujlwm koj yuav tsum tau teeb tsa cov tsev qiv ntawv Arduino no. (Yog tias koj tsis tau teeb tsa lub tsev qiv ntawv ua ntej pom:
Hlau Adafruit GFX
Adafruit LEDBackpackAdafruit NeoPixelESP8266 WiFiAdafruitIOAdafruit MQTTSPIAdafruit SH110X
Kauj ruam 3:
Kauj Ruam 4: Npaj Cov Lus Qhia
Sib sau ua ke thiab sib dhos txhua lub taub hau ntawm OLED, 7-ntu thiab peb cov lej lej sib tham. Nco: cov lej hauv qab no yuav tsum tau muab muag rau ntawm koj cov lej thiab lej yog li txhua cov zaub muaj cov chaw nyob tshwj xeeb no:
0 x710x720x74
txuas mus rau Adafruit tutorials:
OLED ntawm
7 Segment zaub ntawm
alphanumeric zaub
solder cov dhia no https://learn.adafruit.com/14-segment-alpha-numer…-hauv qab ntawm nplooj ntawv: "Chaw Nyob Jumpers"
Kauj Ruam 5: Breadboard Dry Run Assembly
Nws tau pom zoo tias tag nrho cov khoom siv no yuav tsum qhuav rau ntawm lub khob cij nrog cov ntawv xov tooj cua thiab ntsuas nrog Arduino code ua ntej sib dhos zaum kawg.
Nov yog cov pins ntawm Adafruit Feather Huzzah board uas tau siv ntawm txoj haujlwm no
14 PIR2 Neopixels5 SCL plaub qhia 4 SDA plaub qhiaGND plaub qhia thiab PIR3.3v plaub qhia thiab PIR
Kauj Ruam 6: Txhim Kho Qhov Kawg Circuit Court
Txiav koj daim ntawv rau me me kom tsawg dua 8 dav. (Hnav tsom iav kev nyab xeeb, cov pob zeb ci tuaj yeem ya tau.) Coj cov duab ntawm koj txoj haujlwm ntawm lub khob cij nrog ua tib zoo txuas. qhwv rau qhov chaw sib txuas thiab txuas rau lub perfboard - hom phiaj cov xov hlau yuav tsum kov lub taub hau ntawm koj qhov chaw kom ntseeg tau txuas ntxiv mus. Nco tseg: OLED cov ntxaij vab tshaus tsis nyob mus ib txhis, yog li pom zoo qhov no muab tso rau ntawm lub taub hau (tseem, lub taub hau pab nqa lub vijtsam OLED yog li nws nyob hauv lub dav hlau tib yam li 7-ntu thiab cov lej lej thiab qhov ntawd yuav ua rau nws yooj yim pom cov zaub thaum ua haujlwm tiav).
4 daim kab xev ntawm 3 neopixels tuaj yeem muab sib dhos sib cais thiab tom qab ntawd muab txuas rau ntawm lub qhov rooj.
3 txoj kab xaim thiab tus tiv thaiv rau PIR tuaj yeem muab muag rau ntawm lub qhov rooj nrog qhov nyiaj txaus txaus los txiav tom qab. Kauj ruam kawg yuav yog coj 3 tus poj niam-poj niam lub rooj noj mov thiab ib qho me me ntawm qhov txiav tawm ntawm koj daim ntawv thiab cov laug 3 tus txiv neej lub taub hau tus pin thiab tom qab ntawd peb lub xov tooj ntawm PIR thaiv los ntawm pawg thawj coj saib (qhov no yuav ua rau "txuas" rau PIR.)
Kauj Ruam 7: Duab ntxoov ntxoo lub rooj sib txoos
Feem ntau ntawm qhov no yog qhov ncaj, tab sis PIR yuav tsis ua haujlwm los ntawm iav thiab yog li ntawd yuav tsum tau hla mus rau sab nraum lub thawv duab. Lub cuab yeej dremel tuaj yeem siv los ua qhov qhib tsim nyog nyob rau sab saum toj ntawm tus ncej kom pub PIR hla. Tsis tas li ua lub qhov nyob rau tom qab kaum sab xis txhawm rau txhawm rau txuas lub hwj chim qaum.
Cov ntawv los xij tuaj yeem siv rau ntu tawm ntawm neopixels yog li lub teeb los ntawm txhua txoj hlua tsis los ntshav mus rau lwm ntu. Tau txais kev muaj tswv yim nrog kev nthuav dav thiab kho lub ntsej muag nrog koj tus kheej stencils.
Pom zoo:
Kev Ceeb Toom Kub Ceeb Toom: 10 Kauj Ruam
Kev Ceeb Toom Kub Ceeb Toom: Nyob hauv Florida, Kuv txaus siab tsim cov khaub ncaws uas tuaj yeem ceeb toom kuv thaum nws kub heev sab nraum. Siv Arduino thiab ob peb yam yooj yim kuv tuaj yeem tsim lub rooj tsav xwm hauv Circuit uas tuaj yeem suav nrog hauv lub taub hau uas ceeb toom kuv thaum
Ua Tus Hais Lus / Lub Suab Ceeb Toom Ceeb Toom: 4 Kauj Ruam
Ua Tus Hais Lus / Lub Suab Ceeb Toom Ceeb Toom: Qhov haujlwm no peb tau ua Kev Tham / Lub Suab Ceeb Toom thiab Ceeb Toom. Tsawg kawg ob lub cim tuaj yeem siv tau hauv txoj haujlwm no
Ceeb Toom Cov Neeg Tuaj Saib Lub Vev Xaib ceeb toom Nrog IFTTT: 6 Cov Kauj Ruam
Kev ceeb toom Cov Neeg Tuaj Saib Lub Vev Xaib Nrog IFTTT: Hauv cov lus qhia no, koj yuav tau txais Android ceeb toom thaum ib tus neeg mus ntsib koj li Website.so rau qhov no Koj yuav tsum muaj kev paub me ntsis ntawm PHP programming lus thiab Kev paub yooj yim ntawm C Yam Lus kom paub li cas IFTTT App cov haujlwm (
Kev Pom Kev Ceeb Toom Kev Ceeb Toom: 9 Kauj Ruam
Kev Pom Kev Ceeb Toom Kev Ceeb Toom: Phau ntawv qhia no qhia koj yuav ua li cas txhawm rau qhia rau Phillips Hawj kom ceeb toom. Nws yuav muaj txiaj ntsig zoo rau cov neeg lag ntseg thiab tsis hnov lus zoo, muaj lub zeem muag qis lossis tsis hnov lus zoo. Kev Pom Kev Ceeb Toom Ceeb Toom yog qhia rau cov neeg siv tom qab tau txais kev ceeb toom
Lus Ceeb Toom Arduino Tshuab Ntxhua Khaub Ncaws - Thawb Ceeb Toom rau Xov Tooj Nrog Blynk: 5 Cov Kauj Ruam (nrog Duab)
Lus Ceeb Toom Arduino Tshuab Ntxhua Khaub Ncaws - Thawb Ceeb Toom rau Xov Tooj Nrog Blynk: Peb lub tshuab ntxhua khaub ncaws nyob hauv lub nkas -las thiab peb tsis hnov lub suab nrov nrov los qhia tias ntxuav tas lawm. Kuv xav nrhiav txoj hauv kev kom tau txais kev ceeb toom, txhua qhov chaw peb nyob hauv tsev, thaum lub voj voog tiav lawm. Kuv tau tinkering nrog Arduino, ESP8266 WiFi