Cov txheej txheem:

Sequential Taillights: 7 Kauj Ruam
Sequential Taillights: 7 Kauj Ruam

Video: Sequential Taillights: 7 Kauj Ruam

Video: Sequential Taillights: 7 Kauj Ruam
Video: Learn to PROGRAM Sequential LED Tail Light Panels | Ghozt Lighting | FlyRyde 2024, Hlis ntuj nqeg
Anonim

Los ntawm MrJasonSFollow Ntxiv los ntawm tus sau:

Cov Khoom Siv Yooj Yim Nrog Tinfoil, LED, Daim Kab Xev thiab Roj Teeb
Cov Khoom Siv Yooj Yim Nrog Tinfoil, LED, Daim Kab Xev thiab Roj Teeb
Cov Khoom Siv Yooj Yim Nrog Tinfoil, LED, Daim Kab Xev thiab Roj Teeb
Cov Khoom Siv Yooj Yim Nrog Tinfoil, LED, Daim Kab Xev thiab Roj Teeb

Cov lus qhia no qhia yuav ua li cas rau tus lej thiab xaim ib ntu ntawm LED zoo ib yam li cov teeb taws kub ceev ntawm 1969 Mercury Cougar. Sequential taillights tau nthuav tawm ntawm ob peb lub tsheb hauv 1960's thiab 70's thaum ntxov thiab tau coj mus rau Ford Mustang thawj zaug hauv xyoo 2010. 1969 Cougar tau muaj thawj lub xeev khov kho ua ntu zus nyob hauv keeb kwm Ford thiab tau siv los ntawm 70's thaum ntxov.

Kuv muaj 1969 Mercury Cougar Convertible thiab thaum kuv rov kho nws thawj qhov kuv yuav yog lub maub los rau lub teeb tom ntej. Tom qab ua haujlwm ntawm lub tsheb txhua hmo kuv yuav tso lub teeb nyem, saib lub teeb tom qab thiab npau suav txog thaum kawg tuaj yeem tsav nws!

Kauj Ruam 1: Teeb Teeb ntawm Arduino

Image
Image

Lub teeb yuav tshwm sim tsis tu ncua thaum lub khawm raug tuav lossis lawv yuav dhau los ntawm ib ntu yog tias koj nias lub pob thiab tso tawm

Kauj Ruam 2: Xav Tau Cheeb Tsam

Txhim kho Pushbutton
Txhim kho Pushbutton

Qhov kev tsim no tuaj yeem ua tiav los ntawm tus pib

Cov khoom xav tau rau kev tsim no yog raws li hauv qab no:

12 jumper xov hlau

6330 Ohm resistors

6 LED's (Kuv siv 4 liab 2 daj tab sis koj tuaj yeem siv cov xim LED's)

1 lub khawm

1 10k Ohm resistor

1 khob cij

1 Arduino UAS

Tsuas yog cov cuab yeej koj yuav xav tau yuav yog lub taub hau ntswj taub hau thaum tshem lub khawm tawm ntawm lub khob cij

Kauj Ruam 3: Txhim Kho Lub Pushbutton

Ib yam uas yuav tsum nco ntsoov txog kev thawb lub khawm yog thaum muab nws tso rau hauv lub khob cij muab tso rau saum lub hav thiaj li tshem lub pob kom ua tau yooj yim nrog lub taub hau ntswj taub hau. Txhim kho nws ntawm daim ntawv tais diav yam tsis muaj lub hav tuaj yeem ua rau nws nyuaj rau tshem tawm thiab tej zaum yuav ua rau lub pob puas ntsoog.

Kauj Ruam 4: Txuas Arduino

Txuas lub Arduino
Txuas lub Arduino
Txuas lub Arduino
Txuas lub Arduino

Muab cov xov hluav taws xob tso rau hauv tus pin 3-9. Cov xov hlau no yuav siv rau 6 LED's thiab 1 hloov.

Muab cov xov hlau txuas rau hauv 5V tus lej fais fab thiab tus pin GRD rau hauv av. Muab lawv tso rau ntawm kab ntawv zoo thiab tsis zoo ntawm lub khob cij. Siv cov xov hlau txuas los txuas rau hauv qab +/- txoj kab ntawm lub khob cij rau saum txoj kab.

Kauj Ruam 5: Txuas lub LED

Kev tiv thaiv cov kab mob LED
Kev tiv thaiv cov kab mob LED
Kev tiv thaiv cov kab mob LED
Kev tiv thaiv cov kab mob LED

Cov ceg luv ntawm LED yuav tsum tau muab tso rau hauv txoj kev tsis zoo nyob rau sab saum toj ntawm lub khob cij. Qhov zoo yuav tsum tau muab tso rau hauv kab nrog qhov tsis zoo.

330 ohm resistors yuav tsum tau muab tso rau hauv kab hla hav ntawm lub khob cij.

xaim los ntawm tus pin ntawm daim npav arduino yuav tsum tau muab tso rau hauv kab nrog 330ohm resistor.

Cov kab hluav taws xob sib txuas ntawm lub teeb (los ntawm sab laug los sau) yuav tsum yog

Pin 8 Pin 7 Pin 6, Pin 3 Pin 4 Pin 5.

Tus pin 9 yuav tsum tau txuas rau tus tes hloov qhov.

Lub 10k Ohm tus tiv thaiv yuav tsum muaj ib txhais ceg tso rau hauv txoj kev tsheb nqaj hlau zoo tshaj plaws ntawm lub khob cij thiab hauv kab nrog sab xis ntawm lub pob. Txuas ib lub xaim jumper los ntawm txoj kab tsheb tsis zoo rau sab laug ntawm lub pob.

Kauj ruam 6: Upload Code rau Arduino

Upload Code rau Arduino
Upload Code rau Arduino

Txuas koj lub rooj tsav xwm arduino mus rau qhov chaw nres nkoj usb ntawm koj lub computer thiab xa cov cai hauv qab no.

create.arduino.cc/editor/MrJasonS/2852c3c6…

Tam sim no koj yuav tsum muaj txheej ua haujlwm ntawm "taillights" txuas ntxiv!

Pom zoo: