13207Views11Replies

Author Options:

LED Programming Answered

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!

Discussions

0
user
nodnol

10 years ago

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)

0
user
HamO

11 years ago

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.

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?

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.

chaser.gif

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.

0
user
Joe426

11 years ago

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

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.

0
user
Joe426

10 years ago

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

0
user
acer73

10 years ago

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