Cov txheej txheem:

3D Tshuab Luam Ntawv Thaum Tshav Kub Kub: Txhim Kho Warping ntawm 3D Luam Ntawv: 4 Cov Kauj Ruam
3D Tshuab Luam Ntawv Thaum Tshav Kub Kub: Txhim Kho Warping ntawm 3D Luam Ntawv: 4 Cov Kauj Ruam

Video: 3D Tshuab Luam Ntawv Thaum Tshav Kub Kub: Txhim Kho Warping ntawm 3D Luam Ntawv: 4 Cov Kauj Ruam

Video: 3D Tshuab Luam Ntawv Thaum Tshav Kub Kub: Txhim Kho Warping ntawm 3D Luam Ntawv: 4 Cov Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
3D Tshuab Luam Ntawv Thaum Tshav Kub Kub: Txhim Kho Warping ntawm 3D Luam Ntawv
3D Tshuab Luam Ntawv Thaum Tshav Kub Kub: Txhim Kho Warping ntawm 3D Luam Ntawv

Txhua tus neeg uas tau muaj lub tshuab luam ntawv 3D muaj nyob ntawm ib kis lossis lwm qhov tau khiav mus rau qhov teeb meem ntawm kev ua rog. Cov ntawv luam tawm uas siv sij hawm tas los yuav tawg vim lub hauv paus tau tawm ntawm lub txaj. Qhov teeb meem no tuaj yeem ntxhov siab thiab siv sijhawm. Yog li dab tsi ua rau nws? Zoo, kev ua rog yog ua rau thaum txheej txheej yas txias thaum hauv qab yog qhov sov dua, ua rau saum daim ntawv cog lus thiab rub cov npoo ntawm cov khoom nce tawm ntawm lub txaj luam ntawv. Yuav kom daws tau qhov teeb meem no, ib tus tuaj yeem tsim lub thawv thaiv kom cua sov nyob ib puag ncig cov ntawv luam tawm.

Kauj ruam 1: Cov ntaub ntawv

Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv

Rau qhov haujlwm no koj yuav xav tau:

Lub Thawv lossis Cov Ntawv Loj - qhov no yuav yog lub tsev nyob ib puag ncig thiab ib puag ncig lub tshuab luam ntawv

Arduino Uno - qhov no yog qhov uas yuav tswj hwm lub cuab yeej

Breadboard - qhov no yog li cas koj yuav xaim cov khoom siv

Jumper Wires - cov no yuav siv los xaim cov khoom ntawm lub khob cij

Hot Glue/Glue Gun - cov kua nplaum yuav siv los tuav cov khoom hauv qhov chaw

DPDT Hloov - cov hloov pauv no yuav siv los qhib thiab kaw lub cuab yeej thiab hloov pauv cov zaub

16 Pin LCD Zaub - qhov no yuav siv los tso saib qhov kub thiab txias ntawm huab cua

DTH11 Kub thiab Vaum Sensor - qhov no yuav nyeem qhov kub thiab txias hauv lub thawv

Roj Teeb Pob - tshwj tsis yog tias koj xav hloov txoj kab hluav taws xob mus rau hauv lub thawv, siv lub roj teeb pob txawm tias 9v lossis AA los ua lub zog rau arduino

10k Potentiometer - qhov no yog siv rau cov kua Crystal Display

Kauj ruam 2: Code

Code
Code
Code
Code

Rub tawm thiab khiav cov cai no ntawm koj Arduino Uno txhawm rau saib xyuas cov phiaj xwm ntawm qhov haujlwm no.

CEEB TOOM: Koj yuav tsum tau teeb tsa "DHT.h" THIAB "LiquidCrystal.h" LIBRARIES FIRST !!!

Kauj Ruam 3: Kev thaiv kab hlau

Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv

Siv lub khob cij thiab cov xov hlau jumper, xaim txhua yam rau lub khob cij raws li qhia. Koj tuaj yeem xav siv xov tooj ntev dua rau qhov ntsuas kub kom koj tuaj yeem txav nws mus rau qhov chaw yooj yim hauv lub thawv (Kuv tau txav kuv lub qis dua.

Kauj Ruam 4: Rooj Sib Tham Kawg

Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg
Los Ua Ke Kawg

Nrhiav ib cheeb tsam hauv koj daim thaiv kom tso tag nrho cov khoom siv. Piv txwv li, hauv kuv lub npov, Kuv khoov ib feem ntawm sab saum toj kom ua cov khoom txee rau cov khoom kom zaum. Qhov no tuaj yeem sib txawv, tsuas yog ua kom ntseeg tau tias txhua yam muaj kev nyab xeeb. Txiav qhov nyob rau sab saum toj ntawm lub npov rau teeb tsa cov hloov pauv thiab LCD, tom qab ntawd txuas lawv nrog cov ntsia hlau lossis cov kua nplaum kub. Muab koj lub ntsuas kub tso rau hauv ib qho chaw uas nws yuav tau txais kev nyeem ntawv raug thiab tom qab ntawd muab lo rau nws. Thaum txhua yam tau nyab xeeb hauv txoj haujlwm thiab ua haujlwm raug, kaw lub thawv thiab koj lub cuab yeej ua tiav!

Pom zoo: