Introduction: Knight Rider W/ Arduino

Picture of 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

Picture of Schematic

Look picture for more details....

Step 3: Code

Picture of 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 . ;)


tomatoskins (author)2015-11-17

This is great! I love the idea and reference to Knight Rider!

KristersK (author)tomatoskins2015-11-19

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

tomatoskins (author)KristersK2015-11-20

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.

KristersK (author)tomatoskins2015-11-28

I think it shoud work with Uno too .

Candy Cane (author)2015-11-17

This is really nice!

KristersK (author)Candy Cane2015-11-19

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

Candy Cane (author)KristersK2015-11-20

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.

About This Instructable



More by KristersK:Knight Rider w/ Arduino
Add instructable to: