Knight Rider W/ Arduino


Introduction: Knight Rider W/ Arduino

Hello guys , this is my first project . Maybe smth is wrong .

Step 1: Items What You Need ...

7x Red LED's

7x 330 Ohm Resistor

A lot of wires

1x Push Button

Arduino ( i am using nano )


Step 2: Schematic

Look picture for more details....

Step 3: Code

Code works , i made my own code , maybe smth is wrong , but how i said , this is my first project .

sides are LED's 1 and 7;

almostsides are LED's 2 and 6;

middle are LED's 3 and 5;

center is LED 4; //pins

If you wanna add some circuits:

1 Step : Create new case .

2 Step : When you complete case type break;

3 Step : randNumber = random(1, 5); change the second number , like if you have 6 cases you need to change second number above , like : 5 cases , type 6 ....

Thanks , for reading .

Hope you enjoyed . ;)



    • Oil Contest

      Oil Contest
    • Clocks Contest

      Clocks Contest
    • Creative Misuse Contest

      Creative Misuse Contest

    7 Discussions

    Thanks! Did you made it ? What Arduino did you used?

    I didn't make it. But if I ever do, I'll be sure to share a pic! I only have an Uno right now.

    Thanks! Did you made it ? What Arduino did you used?

    I plan on trying this out once i have a little more free time on my hands but when i do ill be sure to show you how it went.