How to make a knight rider LED chaser (part i)
Hello friends, welcome back to my blog post. In a previous article, I talked about how to light an LED bulb using Arduino. Also gained some knowledge of coding. Also, this tutorial covers the basics for making Knight Rider LED Chasers.
Components
- Arduino Uno board. —- Banggood / Amazon / AliExpress
- Breadboard.—- Banggood / Amazon / AliExpress
- LED Bulbs. x 8 — Banggood / Amazon / AliExpress
- 1K Resistors. x 8 —- Banggood / Amazon / AliExpress
- Jumper Wires. (Male to Male) x 9 — Banggood / Amazon / AliExpress
Step 1






This item is most useful for connecting the Arduino board with other components. There are three types of jumper wires. They are male to male, female to female, and female to male. This project for I’m used male to male jumper wires.








void setup() {
//define LED pins
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH);//1st LED on
delay(200);//time delay
digitalWrite(2, LOW);//1st LED off
delay(200);//time delay
digitalWrite(3, HIGH);//2nd LED on
delay(200);//time delay
digitalWrite(3, LOW);//2nd LED off
delay(200);//time delay
digitalWrite(4, HIGH);
delay(200);
digitalWrite(4, LOW);
delay(200);
digitalWrite(5, HIGH);
delay(200);
digitalWrite(5, LOW);
delay(200);
digitalWrite(6, HIGH);
delay(200);
digitalWrite(6, LOW);
delay(200);
digitalWrite(7, HIGH);
delay(200);
digitalWrite(7, LOW);
delay(200);
digitalWrite(8, HIGH);
delay(200);
digitalWrite(8, LOW);
delay(200);
digitalWrite(9, HIGH);
delay(200);
digitalWrite(9, LOW);
delay(200);
}




If all the above steps are done correctly, the project will be successful. Watch the video below for the final result. Change the code and experiment.
Hello there! I could have sworn I’ve been to this
blog before but after reading through some of the
post I realized it’s new to me. Nonetheless, I’m
definitely happy I found it and I’ll be book-marking and checking back often!
Thanks for your comment.
Saved as a favorite, I like your web site!
Thank you so much
So if you’re great with languages and currently
speak Spanish, you’ll have even far more opportunities.
Thank you so much for your advice. I will try it.
Keep this going please, great job!
Thank you so much.
After checking out a handful of the blog articles on your blog, I honestly appreciate your way
of writing a blog. I added it to my bookmark website
list and will be checking back in the near future.
Take a look at my website too and let me know what
you think.
Thank you so much.
Hello! I’m at work browsing your blog from my new iphone 4!
Just wanted to say I love reading through your blog and look forward
to all your posts! Keep up the outstanding work!
Thank you so much. I highly appreciate your comment.
How quite a few blog post would you suggest for a new blog prior to it is launch.
I’m amazed, I have to admit. Rarely do I come across a blog that’s both educative and amusing, and let me tell you, you have hit the nail on the head.
The problem is something not enough men and women are
speaking intelligently about. I am very happy I stumbled across this
during my search for something relating to this.
I enjoyed this post! I read your blog on a regular basis and you are obviously always coming out with some
very nice information. I’ll be sure to share this on my Facebook page and my followers should like this as
well. Keep up the good work!
Thank you so much
Please let me know if you’re looking for a article writer for your site.
You have some really good articles and I feel
I would be a good asset. If you ever want to take some of the load off, I’d love to write some material for your blog in exchange for a link back to mine.
Please shoot me an e-mail if interested. Thank you!
OK Thank you.