KITT the car micro controller fun.

I was thinking that it’s been a while since I’ve made a post on here. I’ve been really really busy with work/school/kids etc. and I haven’t really had too much “me time” lately to play around with circuits and computers. So, mostly to keep my account on here semi-active, I decided to share my most recent project.

This circuit is commonly known as the Larson Scanner, named for Gary Larson the creator KITT from Knight Rider and the Cylons from BSG. My goal with this project was to learn/play with the various timers and interrupts on my ATMega328P micro controller. I’ve implemented the buzzer on Timer 0 using a simple output compare that toggles the I/O pin at the desired frequency and I added the LED Chaser on timer2 with an output compare interrupt that sweeps through the light sequence. timers and interrupts are awesome in the biblical sense. you wouldn’t believe some of the elaborate programs you can create just using a basic timer setup! well, that’s about all I have time for now.

Apparently WP doesn’t play well with embedded youtube players (or I’m doing something wrong), so here’s a link to the video I was going to post.

Source Code Files

Leave a Reply