Mturk Jobs

Mturk Jobs
Mturk Jobs

Tank

Showing posts with label Larson Scanner. Show all posts
Showing posts with label Larson Scanner. Show all posts

Saturday, April 21, 2018

Arduino KiTT From KnightRider - AKA Larson Scanner

In this quick example, we'll see how to make a beautiful Larson Scanner as in the TV show Knight Rider.


Circuit 
You can make it any number of LEDs you like. Here is the code that moves 6 LEDs in sequence.

This project is called LED chaser or Larson Scanner
Picture of Connections+

Picture of Connections+

Code



/* Knight Rider 3
 * --------------
 *
 * This example concentrates on making the visuals fluid.
 *
 *
 * (cleft) 2005 K3, Malmo University
 * @author: David Cuartielles
 * @hardware: David Cuartielles, Aaron Hallborg
 */

int pinArray[] = {2, 3, 4, 5, 6, 7};
int count = 0;
int timer = 30;

void setup(){
  for (count=0;count<6 1="" count="5;count" delay="" digitalwrite="" for="" high="" loop="" low="" output="" pinarray="" pinmode="" timer="" void="">0;count--) {
   digitalWrite(pinArray[count], HIGH);
   delay(timer);
   digitalWrite(pinArray[count - 1], HIGH);
   delay(timer);
   digitalWrite(pinArray[count], LOW);
   delay(timer*2);
  }
}
This is the Larson scanner effect that was presented in the famous knight rider series in the 80's.

It featured a smart autonomous car that had a talking on-board computer.



I'd like to mention that this project was one of my first things to make when I started to learn embedded systems using PIC16F84A microcontroller.




Here is my actual circuit





This is Proteus simulation of the circuit


I made this project and posted it in Arabic and English languages. I didn't post a video for it but I still have the circuit.


http://arabic-embedded-egypt.blogspot.com.eg/2010/05/led-chaser.html




http://embedded-egypt.blogspot.com.eg/2009/06/led-chaser-larson-scanner.html


So I'll post a video soon.


Source: Arduino Website , instructables

Wednesday, June 17, 2009

LED Chaser : Larson Scanner 16F84A . Knight Rider KiTT Car

I love LEDs !!!


In this lesson we’ll not learn any new technique from the technical point of view. But this is a cool project. I love LEDs. That‘s true. I cannot deny that. In this project I designed a nice and a simple thing. It is called a chaser. It consists of a row of LEDs. Only one LED is ON during a certain time and all the others are OFF. Then the next one is ON. And so on until reaching the last LED in the row. Then the LED before the last on is ON until reaching the start of the row. The light continues going back and forth. For those who saw the series ‘Night Rider ‘, it reminds you of the front logo of the car Kitt. It is based n the PIC16F84A





As usual, I give you the code and the design files of this project to see the simulation running on the Proteus ISIS 7 here. And for those who like it, the project can easily be built within minutes.






Here is the actual circuit









If you need any information, you can comment or send me an Email.

Thank you for dropping by.




If you like this blog you can support us by many ways:
   
   1. Leave comments stating your point of view about this article.

   2. Buy our book on Amazon Learn By Making.

   3. Click on links of our sponsors without adding any extra cost on you if you make purchase from them. Actually, many of these offers are totally free.
  4. Visit our new website outatime.tech.

Thank you for visiting our blog.

Tank