KITTBlink2 - KITT inspired gizmo AKA Larson scanner, version 2


An improved version of my previous creation. Better and hackier!

This article is Part 2 in a 2-Part Series.

Solving problems

A simple circuit shown in the previous post had some problems I wanted to remove:

  1. The first and the last LEDs were turned on twice each time the direction was reversed.
  2. It required a manual starting pulse.
  3. LEDs were just blinking. There was no cool fading trail effect.

Keep in mind that I am not an electronics engineer. My solutions are based on my limited knowledge, the information I was able to find online, and a trial-error driven fiddling.

Problem #1 - double flash

This one was easy to solve. I used 9 diodes instead of the original 8. First and last diodes are connected directly to shift registers and only the 7 remaining (middle) LEDs are driven by OR gates. As the active bit travels through the shift registers, it activates diodes on edges only once.

Problem #2 - starting the circuit

I figured out a circuit, that sends one pulse when the whole gizmo is powered on. It’s based on a 555 timer IC and its core is the good old mono-stable circuit.

The transistor Q2 brings C2 to ground when the circuit is powered on and that creates a pulse that triggers the mono-stable. One pulse is sent into shift registers and becomes a “travelling” pulse.

It’s not perfect, though. The length of a pulse which comes from mono-stable must be compatible with the clock frequency. Otherwise, it may fail to start the circuit or send more than one bit to shift registers.

Problem #3 - fading LEDs

KITT from Knigth-Rider

I wanted badly this disappearing trail effect that the original KITT had.

That basically meant finding a way how to add a capacitor, charge it quickly and discharge slowly. I ended up with the following circuit.

The fadeout effect is created by components C1, R2, R3 and Q1. Resistance and capacity values control the duration of the fadeout effect. Diode D1 is there to prevent discharge through a grounded pin of a controlling IC. Resistor R1 is there to limit charging current to C1 and therefore to protect controlling ICs.

Complete circuit

The whole circuit can be divided into four blocks.

I already covered KICK-OFF and fade circuits (D1 - D9). There is also a standard clock based on a 555 timer, nothing special there.

And finally the driver. This time I used 74HCT4094 shift registers. Mainly because their pin-out was easier to wire together with 74HCT32 OR gates.

It’s a bit tricky to parse what is connected to what, but in the end, it’s simple. There are 2 shift registers in series (and in a loop). They use only one clock signal for both CLK and STROBE inputs. Starting signal comes to the loop through a diode. Each shift register controls one diode directly and 7 in cooperation with the other one through OR gates.

You can find the whole schematic on EasyEDA.

Prototype in action

Here is a short video (and you can watch it on YouTube too), isn’t it cute?

Completed prototype version 2 (video). .

The fade-out effect is less visible on the video than in real life.

And finally one static image from the top.

What’s next?

I am going to move this thing onto a perf-board and perhaps create some improvised enclosure for it. I’ll post result once it’s done.

Update

I learned on Reddit that this effect actually has name - Larson scanner (after Glen A. Larson who produced the Knigth-Rider and the Battle Star Galactica series).


This article is Part 2 in a 2-Part Series.


Related Posts

Activity journal - progress update

Activity journal - designing UX

It's never too late to learn C++ properly.

Activity journal - a mobile application idea and a personal project kickoff

More blinking LEDs - KITT inspired gizmo, version 1

LED cube 4x4x4 with ATtiny84 and 74138

A place to write things down