12932Views11Replies

Author Options:

LED Programming Answered

Picture of

Ok so...I want to program led lights to flash in secquence. See the attached image. I'm not good at programming and don't know much about microcontrollers...So...What microcontroler do I use...how do I program it? Sorry for the noob questions but i need help!

11 Replies

user
nodnol (author)2008-04-13

Joe, did you ever get this figured out? I'm a noob too, but i"m going to make a run at this for my mortarboard. If I can make sense of it, and you're still interested, I'll pm you with what I figured out (step by step)

Select as Best AnswerUndo Best Answer

user
HamO (author)2007-07-16

You would not really need a micro controller to achieve this LED sequencing. A simple counter circuit with an LED Driver would do this. Do a Google search for KnightRider lights and I bet you will find what you need.

Select as Best AnswerUndo Best Answer

user
Joe426 (author)HamO2007-07-25

Thanks for the links...but...I don't really understand much of all the complex stuff on there...sorry, I'm a noob... Is there anything else anyone can do to help me with this?

Select as Best AnswerUndo Best Answer

user
royalestel (author)Joe4262007-07-25

Okay, I'm an electronics noob, but a couple months more experience. here's what I can figure: This schematic (the first one that HamO linked to for you) shows you all you need to know to make a chaser light. But you need to know what those symbols mean.
This link shows what most of them are.

The circuit you need to create has a +9V DC power source (like a 9 volt battery), a couple of common resistors, a bunch of LEDs, a special variable resistor, and two other tiny logic chips.

Select as Best AnswerUndo Best Answer

user
royalestel (author)royalestel2007-07-25

Forgot to mention the large counter chip, U2.

Select as Best AnswerUndo Best Answer

user
royalestel (author)royalestel2007-07-25

Look up the symbols until you know what all the parts of the schematic are.

The numbers to the sides of the chips refer to which pin should be connected to which part of the circuit.

Letter-number labels refer to different parts. For example, R1 is resistor #1 in the circuit. U2 is the IC (integrated circuit) chip #2 in the circuit.

Now, based on the parts list you should be able to find all the parts you need online at, say LSDiodes for the LEDs and maybe Newark Electronics. for the rest. You can even find some stuff at Radio Shack.

Then you need access to a soldering iron, and you need to learn how to solder.

When you've done that, and purchased your supplies, please posit another message. By the way, since you'll be dealing with ICs (chips) you'll need to handle them carefully to avoid static discharge. So learn a little bit about ESD. Wouldn't want to waste $7 on a chip before you get started.

Select as Best AnswerUndo Best Answer

user
Joe426 (author)2007-07-16

Doesn't anyone know how to do this? Please help!

Select as Best AnswerUndo Best Answer

user
rowifi (author)Joe4262007-07-25

I can do this. You would likey use a small AVR or PIC microcontroller. under 60p cost. It would be quick to program in assembly code, or of course in C language if the device was large enough. It could be done in a dozen lines of code or so. If you dont know how to do it - you wont be able to learn from advice given here. If you want it for a particular reason - someone might be kind enough to do it for you.

Select as Best AnswerUndo Best Answer

user
Joe426 (author)2007-07-25

which microcontroller do i use? the 555 ?? and how do i do that?? sorry...again...im a noob :(

Select as Best AnswerUndo Best Answer

user
acer73 (author)2007-07-25

You could rig up a counter to go from 1-6 and use the lead for the led's

Select as Best AnswerUndo Best Answer