Cov txheej txheem:

Hnab Hnab Sonic Tus Tswj: 3 Kauj Ruam (nrog Duab)
Hnab Hnab Sonic Tus Tswj: 3 Kauj Ruam (nrog Duab)

Video: Hnab Hnab Sonic Tus Tswj: 3 Kauj Ruam (nrog Duab)

Video: Hnab Hnab Sonic Tus Tswj: 3 Kauj Ruam (nrog Duab)
Video: Xiab 1 Xiab 2 Xiab 3 by: Tata & Nina ( Nkauj tawm tshiab 2022-2023 ) 2024, Kaum ib hlis
Anonim
Hnab tshos Sonic Ruler
Hnab tshos Sonic Ruler
Hnab tshos Sonic Ruler
Hnab tshos Sonic Ruler

Nov yog lub hnab ntim me me Ultrasonic nplai koj tuaj yeem nqa hauv koj lub hnab tshos thiab ntsuas qhov ntev ntawm cov khoom.

Koj tuaj yeem ntsuas koj qhov siab, rooj tog siab thiab lwm yam, Kuv tab tom sau phau ntawv qhia no ntawm qhov kev xav tias koj paub yuav nruab Arduino IDE li cas thiab xa cov cai rau arduino uno siv nws.

Yog li Cia Peb Pib.

Cheebtsam siv:

Arduino Ib

TM1637 - 7 ntu zaub

HC-SR04 Ultrasonic nplai

Hloov

Arduino hwj chim nkaus

9V roj teeb thiab nws txuas

Kauj ruam 1: Kev Sib Txuas thiab Code

Kev Sib Txuas thiab Code
Kev Sib Txuas thiab Code
Kev Sib Txuas thiab Code
Kev Sib Txuas thiab Code
Kev Sib Txuas thiab Code
Kev Sib Txuas thiab Code

Ultrasonic muaj 4 tus pin: echo, trigger, vcc, gnd

Txuas VCC mus rau tus pin 8 ntawm arduino

echo pin 7

tug pin6

gnd av ntawm arduino

TM1637 zaub muaj 4 tus pin CLK, DIO, VCC, GND

CLK Pin 2 ntawm arduino

DIO Pin 3 ntawm arduino

VCC5v

GNDGND

Rub tawm cov cai los ntawm qhov txuas no thiab luam-muab tso rau hauv Arduino IDE.

Download tau cov cai

Tshaj tawm cov cai rau Arduino Uno

Kauj ruam 2: Muab tso rau hauv ib lub thawv

Muab tso rau hauv ib lub thawv
Muab tso rau hauv ib lub thawv
Muab tso rau hauv ib lub thawv
Muab tso rau hauv ib lub thawv
Muab tso rau hauv ib lub thawv
Muab tso rau hauv ib lub thawv

Tom qab txhua qhov kev sib txuas muab lawv tso ua ke hauv ib lub thawv.

Siv lub hnab ntim lub thawv me me thiab txiav qhov rau ultrasonic sensor, hloov thiab tso saib.

Hloov kev sib txuas koj tuaj yeem pom los ntawm daim duab.

Koj tuaj yeem ntxiv koj tus kheej hloov kho.

Kauj Ruam 3: Khoom Duab thiab Yees Duab

Pom zoo: