Cov txheej txheem:

Knight Rider Circuit 2: 5 Cov Kauj Ruam
Knight Rider Circuit 2: 5 Cov Kauj Ruam

Video: Knight Rider Circuit 2: 5 Cov Kauj Ruam

Video: Knight Rider Circuit 2: 5 Cov Kauj Ruam
Video: Knight Rider KITT Light Circuit with NE555 - LED Chaser PCB 2024, Hlis ntuj nqeg
Anonim
Image
Image

Nov yog kuv thawj zaug. sijhawm los tshaj tawm qhia, qhov no yog qhov haujlwm Arduino yooj yim heev. Koj tsuas yog qee qhov yooj yim, cov ntaub ntawv yooj yim los tsim txoj haujlwm no. Lub tswv yim ntawm txoj haujlwm no tau tshoov siab los ntawm https://www.instructables.com/id/Knight-Rider-Circ… Qhov no yog qhov haujlwm uas lub teeb yuav ci ntsa iab thiab qhov uas kuv hloov pauv yog lub sijhawm

Kauj Ruam 1: Khoom

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

9 liab LED

Ib qho 220 Ohm Resistor.

Mini qhob cij board.

Cov neeg dhia.

Arduino Uno nrog lub cable.

Ib lub thawv (rau kho kom zoo nkauj)

Kauj Ruam 2: Txuas Nrog Koj Lub Rooj Tswjhwm Saib

Txuas nrog Koj Pawg Thawj Coj
Txuas nrog Koj Pawg Thawj Coj

Ua raws li daim duab saum toj no thiab paub tseeb tias tsis muaj ib yam tsis raug, tom qab ntawv nws yuav ua haujlwm. ua ntej, txuas nrog koj sab.

Kauj Ruam 3: Muab LED tso rau ntawm Broad

Muab LED tso rau ntawm Broad
Muab LED tso rau ntawm Broad
Muab LED tso rau ntawm Broad
Muab LED tso rau ntawm Broad

Nco ntsoov tias nws tau muab tso rau qhov chaw raug. Nco ntsoov tias sab ntev ntawm LED yuav tsum tau muab tso ze ntawm kab.

Kauj ruam 4: Code

Code
Code

Txoj cai nyem rau hauv nws koj yuav pom. Qhov uas txawv yog qhov kuv hloov lub sijhawm ntawm cov cai, uas ua rau nws txav nrawm dua.

Kauj ruam 5: Kho kom zoo nkauj

Kho kom zoo nkauj
Kho kom zoo nkauj

Npog nws nrog lub thawv, thiab khawb qhov, yog li peb tuaj yeem pom LED. Tom qab ntawd peb ua tiav.

Pom zoo: