Cov txheej txheem:

Kub thiab Vaum Sensor (DHT22) Nrog Dexter Board: 7 Kauj Ruam
Kub thiab Vaum Sensor (DHT22) Nrog Dexter Board: 7 Kauj Ruam

Video: Kub thiab Vaum Sensor (DHT22) Nrog Dexter Board: 7 Kauj Ruam

Video: Kub thiab Vaum Sensor (DHT22) Nrog Dexter Board: 7 Kauj Ruam
Video: 14 ธันวาคม ค.ศ. 2022 2024, Hlis ntuj nqeg
Anonim
Kub thiab Vaum Sensor (DHT22) Nrog Dexter Board
Kub thiab Vaum Sensor (DHT22) Nrog Dexter Board

Dexter board yog cov khoom qhia kev qhia paub uas ua rau kev kawm siv tshuab lom zem thiab yooj yim. Pawg thawj coj ua ke txhua qhov tsim nyog qhov pib uas yuav tsum tau hloov pauv lub tswv yim mus rau qhov ua tiav. Nrog Arduino ntawm nws lub siab, muaj coob tus qhib qhov haujlwm tuaj yeem yooj yim siv ncaj qha rau ntawm lub rooj tsavxwm no. Cov yam ntxwv sib cuam tshuam zoo li ntawm board LCD zaub, hloov pauv, tsav tsheb thiab LED kev pab ua kom kev txhim kho sai dua thiab debugging yooj yim dua.

Ua ke nrog I2C thiab SPI tus pin tawm, peb kuj tseem muaj cov txheej txheem wireless xws li Bluetooth ntawm lub rooj tsavxwm nws tus kheej. Qhov no qhib tag nrho cov tswv yim los tsim cov phiaj xwm IoT muaj tswv yim. Qhov tseem ceeb tshaj plaws tag nrho cov yam ntxwv no tau ua tiav ntawm ib lub rooj tsav xwm yog li tag nrho koj cov phiaj xwm tam sim no txav tau, txawb thiab wireless.

Dexter Board tuaj yeem siv dav hauv ntau yam kev thov rau kev qhia thiab kev txhim kho hauv thaj chaw xws li kev teeb tsa hauv tshuab, neeg hlau, kev qhia siv hluav taws xob, kev tsim kho vajtse hluav taws xob thiab ntau ntxiv …

Khoom siv

· Dexter Pawg Thawj Coj

· Ada-txiv hmab txiv ntoo DHT22 ntsuas kub

· Resistor 10K

· Txuas cov xov hlau

· Arduino Programming IDE

Kauj ruam 1: Txuas tus Pins Raws li hauv Daim Duab

Txuas tus Pins Raws li hauv Daim Duab
Txuas tus Pins Raws li hauv Daim Duab

Kauj Ruam 2: Ntxiv CH340G Tsav Tsheb

Yog tias koj siv Arduino thawj zaug nrog Dexter tom qab ntawv thov teeb tsa ch340g tus tsav tsheb. Mus rau qhov txuas thiab ua raws cov lus qhia

Download CH340G Tsav Tsheb

Kauj Ruam 3: Ntxiv Ada-txiv hmab txiv ntoo Sensor Library

Ntxiv Ada-txiv hmab txiv ntoo Sensor Library
Ntxiv Ada-txiv hmab txiv ntoo Sensor Library

Tam sim no koj yuav tsum ntxiv adafruit lub tsev qiv ntawv sensor rau koj Arduino IDE. Yog tias koj twb muaj lub tsev qiv ntawv tsis tas yuav rov rub dua, koj tuaj yeem npaj mus rau kauj ruam tom ntej

Rub tawm adafruit_sensor lub tsev qiv ntawv

Rub tawm cov ntawv ua zip tom qab ntawd

mus rau Arduino -> SketchInclude LibraryAdd. Zip Library

Tom qab ntawv xaiv cov ntawv zip koj rub tawm.

Koj lub tsev qiv ntawv tau ntxiv rau Arduino IDE. Koj tuaj yeem pom nws hauv qab ntawm koj daim ntawv teev npe.

Kauj Ruam 4: Ntxiv DHT Sensor Library

Ntxiv DHT Sensor Library
Ntxiv DHT Sensor Library

Tam sim no koj yuav tsum ntxiv lub tsev qiv ntawv rau koj adafruit DHT sensor.

Rub tawm DHT-22 Lub Tsev Qiv Ntawv

Rov ua cov kauj ruam saum toj no ntxiv lub tsev qiv ntawv rau Arduino IDE.

Kauj Ruam 5: Txheeb thiab Tshaj Tawm Koj Txoj Haujlwm rau Dexter

Tam sim no rub tawm qhov muab Arduino code rau koj IDE.

Los ntawm cov cuab yeej xaiv pawg thawj coj ua Arduino Uno, thiab tseem xaiv qhov chaw nres nkoj ntawm toolport

Tam sim no suav thiab rub qhov program

Kauj Ruam 6: Kho LCD

Kho LCD
Kho LCD

Yog tias koj lub LCD saib pom tsis muaj dab tsi, kho koj lub LCD lub zog Koj yuav tau txais cov txiaj ntsig zoo li hauv daim duab

Kauj Ruam 7: Mus Tau Koj Dexter !

Paub ntau ntxiv txog dexter ntawm dexter.resnova.in

Tau txais dexter thiab pib ua haujlwm ntawm koj cov phiaj xwm txias:)

Pom zoo: