Larsen Scanner

This project is based on ARDX 2 from Oomlout and uses multiple LEDs to create simple patterns.  It gets its name from Glen A. Larsen who wrote the Knight Rider TV Series.  It uses for loops, which are one of the key repetition constructs in computing.

 

 Start by gathering your parts together:

Step 1: Build your circuit

ArduinoCircuit3.jpg - 11/2015

Step 2: Write your code

ArduinoProject3.jpg - 11/2015

Upload your code and enjoy.

Step 3: Extensions

  1. Try and program the following patterns 1ON 2ON 1OFF 3ON 2OFF 4ON 3OFF and so on.
  2. Try and program the following pattern: 1+4ON 2+3ON so the LEDs light from the ends towards the middle.
  3. Try lighting the LEDs from the middle outwards
About CDB 362 Articles
Self-Employed Software Developer, Spark, Property Management, Hobby Forestry, Ex-Teacher, Engineering - Wood, Metal, Electrics & Computers. Outdoors - Walk, Cycle, Kitesurf,

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.