Blog Home

Getting Started with Arduino – #0

Davide GombaApril 27th, 2010

If tou really want to take a step by step tour on the Arduino, you really should look after this John Boxall post.

During these series of posts, we will refer to the Arduino website, and the book:

and also assume a basic knowledge of electronics. I can recommend the following book for such information:

He starts a series of tutorial about some Arduino Skecthes, introducing the Night Rider effect in the firs one.

Exercise 0.1Now let’s have some more blinky fun. Do you remember Knight Rider with David Hasselhoff? The ‘hoff drove a tricked-up Trans Am with some cool lights in the bonnet, a horizontal row with each light blinking in sequence from left to right to left…

Your mission, is to simply recreate this with your Arduino, using not one but eight LEDs. Blink them in an endless loop in the sequence 1-2-3-4-5-6-7-8-7-6-5-4-3-2-1-2-3-… with a delay of one second.

You will need:

  • Your standard Arduino setup (computer, cable, Duemilanove)
  • 8 light emitting diodes (LEDs). Anything as long as they draw less than 40mA.
  • 8 560 ohm 0.25 W resistors. They are to reduce the current to protect the LEDs
  • a breadboard and some connecting wire
  • a camera (optional) – to document your success!

Follow the Tutorial on [TronixStuff]

  • Make: Electronics (Chales Platt)