Cov txheej txheem:

Qhov sib txawv ntawm Knight Knight Rider: 3 Cov Kauj Ruam
Qhov sib txawv ntawm Knight Knight Rider: 3 Cov Kauj Ruam

Video: Qhov sib txawv ntawm Knight Knight Rider: 3 Cov Kauj Ruam

Video: Qhov sib txawv ntawm Knight Knight Rider: 3 Cov Kauj Ruam
Video: yuav tau tsim kho tus kheej lub neej thiaj yuav vam meej tau 2024, Kaum ib hlis
Anonim
Hloov pauv ceev Knight Rider
Hloov pauv ceev Knight Rider

Nov yog kuv thawj Phau Ntawv Qhia yog li thov nyiam nws! Nws tau tshoov siab los ntawm 1980s TV qhia hu ua Knight Rider, uas muaj lub tsheb hu ua KITT nrog lub tshuab luam ntawv LED uas tau rov qab los zoo li qhov no.

Yog li, cia peb pib ua nws!

Khoom siv

1. 16 Leds Liab (Diffused lossis tsis diffused)

2. Arduino Mega lossis Mega 2560

3. Cov dhia

4. Breadboard (xaiv tau raws li koj tuaj yeem muab lawv tso rau hauv perfboard)

Kauj ruam 1: Ua Kev Sib Txuas

Ua Kev Sib Txuas
Ua Kev Sib Txuas

Ua cov kev sib txuas raws li daim duab (thov zam txim rau kuv cov xov tsis sib haum) lossis zoo li no:

1. Txuas Leds mus rau daim ntawv qhia zaub mov lossis daim ntawv qhia zaub.

2. Txuas txhua Leds qhov davhlau ya nyob twg mus rau Arduino los ntawm tus pin 22 txog 37.

3. Txuas tag nrho cov av hauv av los ntawm Leds mus rau hauv av hauv av ntawm lub khob cij los yog cov ntawv ua haujlwm.

4. Txuas ob sab sab nraud ntawm Potentiometer mus rau 5V thiab GND pins los ntawm Arduino.

5. Txuas tus pin nruab nrab ntawm Potentiometer (wiper) rau Analog pin 0 ntawm Arduino.

Kauj Ruam 2: Tshaj Tawm Txoj Cai

Xa cov Code
Xa cov Code

Kuv tau muab Txoj Cai rau hauv qab ntawm Cov Lus Qhia.

Rub tawm nws thiab xa nws mus rau Arduino siv Arduino IDE.

Kauj Ruam 3: Xeem

Yog tias txhua yam ua tau zoo, koj lub Kight Rider Circuit yuav tsum pib ua haujlwm thiab thaum koj tig lub zog ntsuas, qhov nrawm yuav tsum hloov pauv.

Yog tias nws ua haujlwm, zoo siab nrog! Tam sim no koj muaj Knight Rider Circuit uas hloov pauv nrawm thaum koj tig lub Potentiometer!

Pom zoo: