Cov txheej txheem:

Arduino Teeb Sensor: 5 Kauj Ruam
Arduino Teeb Sensor: 5 Kauj Ruam

Video: Arduino Teeb Sensor: 5 Kauj Ruam

Video: Arduino Teeb Sensor: 5 Kauj Ruam
Video: Как использовать инфракрасный датчик расстояния Sharp с Arduino (скачать код) 2024, Hlis ntuj nqeg
Anonim
Arduino Lub Teeb Sensor
Arduino Lub Teeb Sensor
Arduino Lub Teeb Sensor
Arduino Lub Teeb Sensor

Nov yog lub teeb pom kev zoo siv Arduino los ua nws, nws yooj yim thiab txhua tus tuaj yeem ua nws los ntawm koj tus kheej. Nws tuaj yeem pab koj nkag siab lub teeb Luminance nyob qhov twg koj nyob.

Thaum koj tab tom ua nws, xub npaj cov ntaub ntawv thiab txhim kho lub Circuit Court, thiab tom qab ntawd sau cov cai thiab kho nws, koj yuav ua tiav koj txoj haujlwm thiab muaj Arduino lub teeb pom kev zoo.

www.youtube.com/embed/55V0X7MVcdE

Kauj ruam 1: Cov ntaub ntawv

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

Cov ntaub ntawv:

1 Cov qhob cij

1 Arduino Leonardo

2 Photoresistors 5 Resistors (1000Ω)

1 Photoresistance

Tsawg RGB teeb qhov muag teev

Ob peb Txiv neej-rau-txiv neej Jumper Wires & Txiv neej-rau-poj niam Jumper Hlau

Ib lub thawv

Lub hwj chim txhab nyiaj

Micro USB xaim

Cov Cuab Yeej:

Scizzors

Daim kab xev

Kauj ruam 2: Circuit Court

Circuit Court
Circuit Court
Circuit Court
Circuit Court
Circuit Court
Circuit Court

Muab cov khoom tso rau ntawm lub khob cij thiab Arduino zoo li daim duab saum toj no.

Nco tseg: Txheeb xyuas txhua lub xov hlau thiab cov khoom sib txuas tau raug txuas ntawm lub rooj tsavxwm.

Kauj ruam 3: Code

Code
Code

create.arduino.cc/editor/TobyHsieh/12b6d0b9-e8e5-4129-8da7-34dc2ed9071a/preview

Kauj ruam 4: Kho kom zoo nkauj

Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj
Kho kom zoo nkauj

Tam sim no tias Arduino Light Sensor tau ua tiav, koj tuaj yeem kho nws. Koj tuaj yeem siv daim ntawv los npog lub thawv.

Muab lub vojvoog tso rau hauv. Cov duab los qhia yuav tsum npog lub Circuit Court. Tom qab ntawd koj ua tiav qhov kho kom zoo nkauj.

Kauj ruam 5: Ua kom tiav

www.youtube.com/embed/55V0X7MVcdE

Koj tau ua tiav nrog tag nrho koj txoj haujlwm!

Kuaj koj lub tshuab Arduino seb nws puas ua haujlwm.

Koj tuaj yeem siv los saib yog tias lub teeb tsaus heev rau kev ua haujlwm, yog tias tib neeg siv lawv lub qhov muag nyob hauv qhov chaw tsaus, nws tsis zoo rau nws.

Pom zoo: