Cov txheej txheem:

DIY Kub thiab Vaum Sensor Tua Hluav Taws Xob (Arduino UNO): 11 Kauj Ruam
DIY Kub thiab Vaum Sensor Tua Hluav Taws Xob (Arduino UNO): 11 Kauj Ruam

Video: DIY Kub thiab Vaum Sensor Tua Hluav Taws Xob (Arduino UNO): 11 Kauj Ruam

Video: DIY Kub thiab Vaum Sensor Tua Hluav Taws Xob (Arduino UNO): 11 Kauj Ruam
Video: Xav ua kom hluas nkauj nyiam -Dav kub & Npauj kub xyooj Cover 2023 2024, Kaum ib hlis
Anonim
Image
Image

Qhov haujlwm no tau tsim los siv los ntawm ib tus neeg hauv tsev lossis tuam txhab raws li qhov ntsuas kub thiab av noo tso tawm ntawm lub LCD thiab lub nplaim taws ua ke nrog lub suab nrov thiab lub twj tso kua dej kom tua hluav taws thaum muaj xwm txheej ceev.

Kauj Ruam 1: Sau Cov Khoom

Qhov yuav tsum tau:

  • Arduino UNO thiab IDE (software)
  • txiv neej rau poj niam jumper cables
  • txiv neej rau txiv neej jumper cables
  • Daim ntawv loj loj
  • Peb LEDs (liab, daj thiab ntsuab)
  • 16X2 LCD zaub nrog YWRobot LCM1602 haum rau nws
  • Lub nplaim taws
  • DHT11 Kub thiab Vaum Sensor
  • Lub suab nrov
  • Lub twj tso kua dej nrog roj teeb thiab ob lub nyees khawm los ntawm lub tshuab tso dej rau tus kheej (siv rau ntawm 5-nkas loos dej fwj)
  • Dej twj tso kua mis
  • 5 Volt tso tawm
  • Tes laum
  • Sanding cib/ntawv/tshuab
  • Fretsaw
  • Acrylic ntawm koj xaiv
  • 330/500ml lub raj mis dej (siv ua chaw tso dej thaum muaj xwm ceev).
  • Phom phom
  • Acrylic kua nplaum
  • (TSIS MUAJ) 9v roj teeb txuas
  • 3M roj hmab style ob daim kab xev

Kauj Ruam 2: Ua Kev Sib Txuas Ntawm Txhua Qhov thiab Arduino

Nov yog cov npe ntawm cov kev xav tau txuas rau Arduino:

LCD

A5 to CSY

A4 to SDA

VCC TO POSITIVE BREADBOARD

GND rau NEGATIVE/GND BREADBOARD

----------------------------------------------------------------------------------------------------------------------------------------------------

DHT11 TEMP N HOMIDITY SENSOR

A0 (Arduino) DIGITAL OUT ON SENSOR

+ Mus rau qhov zoo BREADBOARD RAIL

- RAU NEGATIVE BREADBOARD RAIL

----------------------------------------------------------------------------------------------------------------------------------------------------

FLAME SENSOR

VCC mus rau qhov zoo BREADBOARD RAIL

GND rau NEGATIVE BREADBOARD RAIL

D0 TO PIN 3 ARDUINO

A0 (SENSOR) RAU A1 (ARDUINO)

WATERPUMP THIAB TSHIAB

GND ntawm kev rov qab mus rau qhov tsis zoo ntawm BREADBOARD

5V TO POSITIVE PIN BREADBOARD

SIG RAU PIN 13 (ARDUINO)

TSEEM CEEB !!! ROV QAB KAWM NTAWV HNUB NYOOG NTAWM LUB HAUV TSEV KAWM NTAWV THIAB NTAUB NTAWV ZOO TSHAJ PLAWS ob kab ntawv uas tau txuas nrog rau lub khawm nyob rau hauv qhov rov qhib PIN tus lej tom qab SCREW TIGHT

----------------------------------------------------------------------------------------------------------------------------------------------------

BUZZER

PLACE RAU BREADBOARD

NEGATIVE RAIL ntawm BREADBOARD txuas nrog BUZZER rau NEGATIVE RAIL ntawm BREADBOARD

RUSSIA BUZZER RAIL RAU BREADBOARD RAU PIN 10 (ARDUINO)

----------------------------------------------------------------------------------------------------------------------------------------------------

GREEN LED

POSITIVE PIN ON LED (LONGER ONE) RAU PIN 7

NEGATIVE PIN ntawm LED rau NEGATIVE RAIL ntawm BREADBOARD

YELLOW LED

POSITIVE PIN RAU LED (TUS NEEG NYOB HAUV TSEV) mus rau PIN 8

NEGATIVE PIN ntawm LED rau NEGATIVE RAIL ntawm BREADBOARD

Liab LED

POSITIVE PIN ON LED (LONGER ONE) RAU PIN 9

NEGATIVE PIN ntawm LED rau NEGATIVE RAIL ntawm BREADBOARD

----------------------------------------------------------------------------------------------------------------------------------------------------

ARDUINO

GROUNDING/GND rau NEGATIVE RAIL ON BREADBOARD

5V mus rau txoj kev tsheb ciav hlau ntawm BREADBOARD

----------------------------------------------------------------------------------------------------------------------------------------------------

BREADBOARD

POSITIVE ON RIGHT RAIL TO LEFT RAIL NEGATIVE FROM RIGHT RAIL RAU LEFT RAIL

Kauj Ruam 3: Tshaj Tawm Txoj Cai rau Arduino

Tshaj tawm cov cai rau Arduino thiab tets nws kom ntseeg tau tias txhua feem ua haujlwm. Koj tuaj yeem ntsuas lub suab nrov thiab lub twj tso kua dej siv lub teeb nyob ib sab ntawm lub nplaim taws.

Kauj Ruam 4: Txiav Cov Khoom Rau Thawj Acrylic Box

Drilling Qhov thiab Txiav Qhov Uas Yuav Tsum Tau Ua Los Ntawm Lub Hauv Paus Ntawm Thawj Lub Thawv
Drilling Qhov thiab Txiav Qhov Uas Yuav Tsum Tau Ua Los Ntawm Lub Hauv Paus Ntawm Thawj Lub Thawv

Txog tam sim no peb tau ua tiav peb txoj haujlwm Arduino ua haujlwm thiab tam sim no yuav tsum tsim cov thawv rau nws siv acrylic.

Rau ntu no koj yuav xav tau:

  • Acrylic ntawm koj xaiv
  • Fretsaw
  • Sanding cib/ntawv/tshuab

TSHOOJ IB

(QHIA NTAWV QHIA NTAWV NTAWM 0.5CM Yog li koj tsis txhob txhawj txog qhov ua yuam kev thiab hais txog qhov lawv poob qis tom qab) Tom qab koj tau txais cov ntu no npaj txhij koj yuav xav tau meej ntxiv cov kab ntawm koj cov acrylic kom txiav tawm cov ntu no rau lub npov ib tus siv fretsaw: tus

  1. Ib qho 18.5X18.5cm thooj
  2. FOUR 18.5x6.5cm daim

PART Ob

Tam sim no peb xav tau cov xuab zeb los ua kom ntseeg tau tias lawv yog qhov yuav tsum tau siv loj siv cov xuab zeb/ntawv/tshuab.

Kauj Ruam 5: Drilling Qhov thiab Txiav Qhov Uas Yuav Tsum Tau Ua Los Ntawm Lub Hauv Paus ntawm Thawj Lub Thawv

Drilling Qhov thiab Txiav Qhov Uas Yuav Tsum Tau Ua Los Ntawm Lub Hauv Paus Ntawm Thawj Lub Thawv
Drilling Qhov thiab Txiav Qhov Uas Yuav Tsum Tau Ua Los Ntawm Lub Hauv Paus Ntawm Thawj Lub Thawv
Drilling Qhov thiab Txiav Qhov Uas Yuav Tsum Tau Ua Los Ntawm Lub Hauv Paus Ntawm Thawj Lub Thawv
Drilling Qhov thiab Txiav Qhov Uas Yuav Tsum Tau Ua Los Ntawm Lub Hauv Paus Ntawm Thawj Lub Thawv

Tam sim no koj tau txiav tawm cov ntu peb tuaj yeem nkag mus rau hauv cov ntsiab lus ntawm txoj haujlwm no.

Tshooj Ib

Xaiv qhov twg koj xav siv ua ib feem hauv ntej thov nco ntsoov nws yuav tsum yog ib qho ntawm 18.5X6.5cm daim.

Koj yuav xav tau:

  • Fretsaw
  • tes laum
  • Sanding cib/ntawv/tshuab

----------------------------------------------------------------------------------------------------------------------------------------------------

  1. Kos ib lub duab plaub hauv qab tso qhov sib txawv los ntawm qhov qis me me 7X2.5cm rau LCD
  2. Laum ib lub qhov uas siv tes xaum loj txaus kom haum rau qhov fretsaw pom
  3. Tshem tawm qhov pom los ntawm fretsaw thiab muab tso rau hauv lub qhov muag pom los ntawm lub qhov no kom peb tuaj yeem txiav nws sab hauv raws li qhia hauv Duab 1.
  4. Txiav lub duab plaub. Nco ntsoov ua qhov txiav me me me dua qhov tsim nyog ntawm no 0.5 kom koj tuaj yeem xuab zeb nws rau qhov ntxiv 0.5cm uas xav tau.
  5. Tshem tawm qhov pom los ntawm fretsaw thiab tshem tawm ib feem tom qab tso lub saw rov qab raws li peb yuav xav tau nws tom qab.
  6. Xuab zeb lub duab plaub rau hauv qhov loj me uas siv cov ntawv xuab zeb zoo li hauv Duab 2.

----------------------------------------------------------------------------------------------------------------------------------------------------

Tshooj Ob

Siv tes siv los laum peb qhov nyob rau sab saum toj ntawm lub duab plaub loj txaus rau LEDs raws li qhia hauv Duab 3

----------------------------------------------------------------------------------------------------------------------------------------------------

Tshooj Peb

  1. Siv cov txheej txheem hauv 'Ib Feem Ib' kom ua ob lub duab plaub loj 2X1.3cm. Qhov no yog rau DHT11 sensor. Yog tias koj ua yuam kev ua lub qhov loj dhau ib yam li kuv tau ua peb tuaj yeem siv rab yaj phom tom qab thaum ua ntu ntu txhawm rau kho qhov sib txawv.
  2. Laum qhov ib sab ntawm lub duab plaub rau DHT11 sensor qhov loj ib yam li cov LEDs rau cov nplaim taws.

Kauj Ruam 6: Drilling Qhov thiab Txiav Qhov Yuav Tsum Tau Ua Los Ntawm Qhov Ncauj Ntawm Thawj Lub Thawv

Tam sim no peb tau ua tiav kev ua tiav ntawm lub vaj huam sib luag/daim ntawm thawj lub thawv. Tam sim no peb yuav tsum ua haujlwm ntawm lub vaj huam sib luag tom qab/daim ntawm thawj lub thawv.

Tshooj Ib

Xaiv qhov twg koj xav siv ua ntu ntu rov qab thov nco ntsoov nws yuav tsum yog ib qho ntawm 18.5X6.5cm daim

  1. Laum ib lub qhov loj txaus rau Arduino Serial Cable kom haum los ntawm sab xis ntawm daim. (yog tias koj xav ntxiv 9v lub roj teeb txuas koj kuj tseem yuav txuas nws los ntawm no)
  2. Ntawm sab laug laum ib lub qhov me me kom txaus kom haum rau ob lub xov tooj uas tau siv lub khawm thib ob uas tau txuas rau txuas.

Kauj Ruam 7: Txheeb 4/5 Tshooj Ua Ke rau Thawj Lub Thawv

Tuav 4/5 Tshooj Ua Ke rau Thawj Lub Thawv
Tuav 4/5 Tshooj Ua Ke rau Thawj Lub Thawv

Rau cov kauj ruam no koj yuav xav tau:

Acrylic kua nplaum

  1. Khaws lub vaj huam sib luag pem hauv ntej/thooj rau daim acrylic loj (18.5X18.5cm) kom ntseeg tau tias lub qhov rau LEDs nyob rau sab saum toj ntawm lub duab plaub. Nws yuav tsum tau khij kab rov tav.
  2. Tom ntej no lo tag nrho lwm sab ZOO TSHAJ PLAWS RAU QHOV TSEEB raws li qhia hauv daim duab saum toj no.

Kauj Ruam 8: Txheeb Txhua Qhov Chaw hauv Thawj Lub Thawv

Txheeb Txhua Qhov Chaw hauv Thawj Lub Thawv
Txheeb Txhua Qhov Chaw hauv Thawj Lub Thawv
Txheeb Txhua Qhov Chaw hauv Thawj Lub Thawv
Txheeb Txhua Qhov Chaw hauv Thawj Lub Thawv

Tam sim no peb yuav tsum lo txhua ntu ua ke hauv ntau qhov sib txawv.

Tshooj Ib

  1. Tshem tawm cov twj tso kua dej tso tawm ntawm qhov txuas
  2. Khaws lub LCD siv rab yaj phom thiab cov kua nplaum tso rau ntawm plaub fab uas ib txwm yuav yog cov ntsia hlau.
  3. Muab Peb Lub LEDs nyob rau hauv tus neeg txiav txim ntawm sab laug mus rau sab xis ntawm Liab, Daj, Ntsuab
  4. Khaws lub DHT11 sensor siv rab yaj phom thiab kho lub qhov yog tias ua yuam kev siv rab phom.
  5. Khaws lub nplaim taws siv 3M daim kab xev ob tog

Tshooj Ob

  1. Khaws daim Breadboard nyob hauv qhov chaw siv daim kab xev ob tog uas los ua ntej tso rau ntawm nws
  2. Muab cov Arduino tso rau hauv qhov chaw siv daim kab xev 3M ob tog
  3. Tsiv Relay mus rau sab laug thaum saib qhov project los ntawm nraub qaum thiab lo nws siv 3M daim kab xev ob tog

Tshooj Peb

  1. Khaws daim thim rov qab ua ke loj dua rau Arduino Serial/USB cable nrog Arduino thiab ib qho me me ntawm sab laug ua ke nrog kev xa xov. (Siv ACRYLIC GLUE)
  2. txuas USB/Serial cable rau Arduino

Kauj Ruam 9: Lub Thawv Ob

Lub thawv thib ob
Lub thawv thib ob
Lub thawv thib ob
Lub thawv thib ob
Lub thawv thib ob
Lub thawv thib ob
Lub thawv thib ob
Lub thawv thib ob

Tshooj Ib

Txiav tawm cov ntawv no siv acrylic ntawm qhov koj xaiv siv fretsaw thiab ua kom nws loj dua me ntsis kom koj tuaj yeem xuab zeb nws tom qab siv cov xuab zeb/ntawv/tshuab:

  1. FOUR 26 X 8cm daim
  2. Ib qho 10X10cm thooj

Tshooj Ob

  1. Xaiv qhov twg 26X8cm uas koj xav tau los ua koj daim ua ntej
  2. Laum ib lub qhov loj txaus kom haum thawj lub pob (qhov no yog siv lub khawm xwm txheej ceev rau lub twj tso kua dej kom qhib.
  3. Laum lub qhov me me nyob rau sab saum toj kom haum rau ob txoj hlua los ntawm khawm thib ob (ib qho mus rau qhov txuas)
  4. Tshem cov xaim hluav taws xob los ntawm thawj khawm thiab ua kom nws nruj nyob rau sab

Tshooj Peb

  1. Khaws tag nrho ob sab ua ke tshwj tsis yog rau hauv qab siv rab yaj phom los ua kom nws tiv taus dej ib nrab.
  2. Khawb hauv qab siv rab yaj phom tab sis tawm qhov chaw nruab nrab ntawm txhua kab ntawm cov kua nplaum kom cov dej tuaj yeem tawm yog lub raj dej xau thiab koj tuaj yeem hloov nws

Tshooj Plaub

  1. laum ib lub qhov taub hauv lub raj mis lub taub hau thiab haum rau IN raj uas txuas nrog lub twj tso kua mis. Yog tias lub raj tsis mus txog hauv qab hloov nws nrog qee cov tubings ntxiv thiab txiav nws kom nws zoo me me.
  2. ib zaug nws yog qhov loj me me kom ntseeg tau tias OUT lub raj ntev yog tias tsis hloov nws nrog cov tubings ntxiv.
  3. ib zaug txhua yam zoo tag nrho rab phom IN lub raj rau hauv lub raj mis dej CAP.
  4. Muab tag nrho txhua feem hauv lub thawv ua rau lub raj OUT tawm ntawm sab saud.
  5. Txuas tus poj niam rau Txiv neej jumper cables rau cov xov hluav taws xob tawm los ntawm lub qhov sab saum toj ua kom ntev txaus kom mus txog qhov qhov xa tawm.

Kauj ruam 10: Kauj ruam kawg! Kev Sib Txuas zaum kawg

  1. Tshem tawm Cov Txiv neej los ntawm cov kab hluav taws xob uas tau xav mus rau qhov txuas thiab txuas cov xov ntawd mus rau qhov txuas. Siv tus ntsia hlau ntswj kom nruj cov kab hauv qhov chaw
  2. (yog tias tsim nyog ntxiv 9v txuas cable)

Kauj ruam 11: CONGRATULATIONS

ZOO SIAB !!

Tam sim no koj tau ua tiav txoj haujlwm no. Tam sim no koj tuaj yeem tso nws txhua qhov chaw uas koj nyiam siv cov txheej txheem sib dhos sib txawv. Kauj ruam kawg yog txuas USB cable thiab/lossis ntxiv roj teeb 9v yog tias koj xaiv.

Pom zoo: