Cov txheej txheem:

Qho khoom ua si khoom plig Tshuab: 6 Kauj Ruam
Qho khoom ua si khoom plig Tshuab: 6 Kauj Ruam

Video: Qho khoom ua si khoom plig Tshuab: 6 Kauj Ruam

Video: Qho khoom ua si khoom plig Tshuab: 6 Kauj Ruam
Video: Zoo Siab Nrog Koj - Paj Tsua Thoj [ Official MV ] Nkauj Tawm Tshiab 2022 2024, Kaum ib hlis
Anonim
Qho khoom ua si khoom plig tshuab
Qho khoom ua si khoom plig tshuab

Taw qhia ntawm lub tshuab:

Nov yog lub tshuab ua khoom plig sau khoom ua si. Yog koj muab cov khoom ua si tso rau hauv lub thawv khoom ua si. Lub tshuab khoom plig yuav nkag siab tias qee yam raug muab tso rau hauv lub thawv thiab tom qab ntawd muab lub teeb pom kev thiab lub suab tawm tswv yim rau nqi zog. Cov menyuam yaus yuav tau txais kev tshoov siab los ntawm lub tshuab uas lawv yuav tsum ib txwm ntxuav cov khoom ua si thiab tso rau hauv lub thawv khoom ua si.

Cia Peb Pib tsim lub tshuab.

Kauj Ruam 1: Npaj Cov Ntaub Ntawv Teev Npe

Npaj Cov Ntaub Ntawv Teev Npe
Npaj Cov Ntaub Ntawv Teev Npe
Npaj Cov Ntaub Ntawv Teev Npe
Npaj Cov Ntaub Ntawv Teev Npe
Npaj Cov Ntaub Ntawv Teev Npe
Npaj Cov Ntaub Ntawv Teev Npe
  1. Arduino Leonardo X1
  2. Ultrasonic Distance Sensor X1
  3. LCD npo (16 x 2 cim) X1
  4. Daim ntawv X1
  5. Dupont Kab
  6. Jumper Hlau
  7. USB kab X1
  8. LED (liab) X1
  9. 82 Ohm tsis kam X1
  10. Cov thawv ntawv (24 x 18.5 x 9.5 cm) X1
  11. Hais lus X1
  12. Acrylic xim

Kauj Ruam 2: Sib sau Breadboard

Sib dhos Breadboard
Sib dhos Breadboard
Sib dhos Breadboard
Sib dhos Breadboard
Sib dhos Breadboard
Sib dhos Breadboard
  • Txuas lub Ultrasonic Distance Sensor rau ntawm lub khob cij
  • Siv Jumper xov hlau txuas txuas Ultrasonic Distance Sensor breadboard rau Arduino Leonardo (raws li daim duab qhia hauv qab no)

Gnd yuav tsum txuas rau Gnd ntawm Arduino Leonardo

Echo yuav tsum txuas rau A4 ntawm Arduino Leonardo

Trig yuav tsum txuas rau A5 ntawm Arduino Leonardo

Ucc yuav tsum txuas rau 5V ntawm Arduino Leonardo

  • Txuas lub vijtsam LCD ntawm lub khob cij
  • Siv Jumper xov hlau txuas txuas lub vijtsam LCD zaub rau Arduino Leonardo (raws li daim duab qhia hauv qab no)

GND yuav tsum txuas rau (-) ntawm Breadboard

VCC yuav tsum txuas rau (+) ntawm Breadboard

SDA yuav tsum txuas rau SDA ntawm Arduino Leonardo

SCL yuav tsum txuas rau SCL ntawm Arduino Leonardo

  • Txuas tus (-) ntawm Breadboard rau GND ntawm Arduino Leonardo (lub zog)
  • Txuas tus (+) ntawm Breadboard rau 5V ntawm Arduino Leonardo (lub zog)
  • Txuas lub teeb ci LED ntawm lub khob cij los ntawm kev siv Dupont kab

Txuas tus (+), uas yog lub hauv paus ntev ntawm LED teeb uas txuas rau Dupont kab, ntawm Breadboard

Txuas Dupont kab ntawm Breadboard mus rau tus lej digital 13 ntawm Arduino Leonardo los ntawm kev siv jumper xaim

Txuas tus (-), uas yog lub hauv paus luv ntawm LED teeb uas txuas rau Dupont kab, ntawm Breadboard

Txuas Dupont kab ntawm Breadboard los ntawm kev siv 82 Ohm tsis kam rau (-) ntawm Breadboard

Txuas tus neeg hais lus

Txuas (-) ntawm tus hais lus, uas yog kab dub rau GND ntawm Arduino Leonardo

Txuas (+) ntawm tus hais lus, uas yog kab liab rau tus pin 11 ntawm Arduino Leonardo

Kauj Ruam 3: Sau Txoj Cai. Txoj Cai Muab

create.arduino.cc/editor/Joyyyce/3fdccab0-…

Kauj Ruam 4: Kuaj Lub Tshuab. Nws Yuav Tsum Ua Haujlwm Zoo

Txuas lub USB cable, uas txuas los ntawm lub khoos phis tawj koj tau sau cov cai rau Arduino Leonardo, yog li koj tuaj yeem xa koj cov cai.

Kauj Ruam 5: Tsim Lub Thawv Cardboard

Tsim lub thawv ntawv thawv
Tsim lub thawv ntawv thawv
Tsim lub thawv ntawv thawv
Tsim lub thawv ntawv thawv
Tsim lub thawv ntawv thawv
Tsim lub thawv ntawv thawv
Tsim lub thawv ntawv thawv
Tsim lub thawv ntawv thawv
  1. Txiav ib daim duab 3X2 ntawm ib sab ntawm lub npov. Nws yuav yog lub qhov uas USB cable tuaj yeem hla tau. (Ceev faj: USB cable yog siv los txuas Arduino Leonardo thiab lub txhab nyiaj).
  2. Xim lub thawv ntawv ntawv uas muaj xim uas koj nyiam. Rau rooj plaub, Kuv siv Acrylic xim los pleev xim rau lub thawv ntawv.

  3. Khaws lub teeb ci LED ntawm lub hau ntawm Cardboard lub thawv. Txhawm rau ua kom lub tshuab muaj txiaj ntsig ntau dua, koj tuaj yeem pom Matte lub hau kom npog lub teeb ci LED, yog li lub teeb yuav tsis yog qhov zoo li ntawd.
  4. Khaws lub Ultrasonic Distance Sensor nyob sab nraum ntawm lub thawv ntawv. Nws yuav tsum tau lo ntawm tib sab ib yam li lub teeb LED.

Kauj Ruam 6: Nrog koj zoo siab Ua Lub Tshuab !

Qho khoom ua si khoom plig tshuab

Pom zoo: