Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 25th March 2007, 11:40 PM   (permalink)
Question 36 LED Sequencer HELP NEEDED

Hi, Guys
I'm trying to build a circuit using 4017's and 555's that can produce a 36 LED sequencer that starts with LED # 1 and stays ON all the way to LED #6 and then turns OFF LED # 1 and Turns ON LED # 7 and so forth all the way until LED 36, all of these arranged in a clock fashion mantaining always 6 LED's on at the same time. Kind of looking like a worm advancing in a circular fashion.
The main problem I'm trying to solve is having it go 3 times clockwise and then reverse direction and repeat this procedure counter-clockwise. So far I have been succesful with one way using 6 4017's but cannot find a way to count 36x3 and then reverse direction.
Does anyone have experience with sequencers that can show me a quick trick? Or even better a diagram? The effect it gives is similar to the "knight Rider" car front grill, except it is arranged in a circular fashion for a very different purpose.
Thanks...
aquaviventi is offline  
Old 25th March 2007, 11:53 PM   (permalink)
Default

Shift registers might be a better choice. Not sure if there is a 36 I/O MCU, but there are ways to expand on that.

A 4017 will only have one LED on at a time.
HarveyH42 is offline  
Old 26th March 2007, 01:20 AM   (permalink)
Default

Yeah SR's will do just fine, and they're just as cheap as the 4017's. Consider using bidirectional shift registers, as that way you can move the 'bargraph' up and down (or CW/CCW for a circuilar arrangement). I've built one of these myself using a PIC.

Blueteeth
__________________
Inconsistency is the key to flexibility!
Blueteeth is offline  
Old 26th March 2007, 06:04 PM   (permalink)
Default

I did the sequencer as my second AVR project, Tiny13 (only 5 LEDs though, pin 1 is also the Reset pin, and is dim, never figured out why).
HarveyH42 is offline  
Old 27th March 2007, 02:06 AM   (permalink)
Default

In order to use the reset pin as an I/O you have to set the reset disable fuse which allows it to be used as a general I/O. This makes it impossible to ISP program the chip. Only high voltage programming works after that. Keep in mind I don't think there are any protection diodes built into the reset line so it's important to watch your voltages, as you could accidentally enable the high voltage programming mode.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."

Last edited by Sceadwian; 27th March 2007 at 02:09 AM.
Sceadwian is offline  
Old 27th March 2007, 07:13 PM   (permalink)
Default

I've only tried the ISP twice off board (programmer), ran into trouble trying to get the DEBUG wire thing, really messed up the chip. Had to reconfigure the programmer for HV, and programmed fine in the ZIFF. Have tried it again, but need to. I think I had the wrong emulator selected maybe. Still a lot of things to learn.
HarveyH42 is offline  
Old 20th August 2007, 02:28 AM   (permalink)
Default

mcu + TPIC6B595
logto is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Help needed on LED driver him27hk General Electronics Chat 22 22nd August 2007 01:09 PM
Request for help on an LED bar graph circuit by an electronics noob. ThrowingChicken Electronic Projects Design/Ideas/Reviews 38 14th April 2007 02:09 AM
Flashing a LED with Mouse Gayan Soyza Electronic Projects 12 28th March 2007 11:54 PM
Accessing EEPROM Clayton Micro Controllers 15 23rd March 2007 04:00 AM
Pspice LED Error kogula14 Electronic Projects Design/Ideas/Reviews 3 14th March 2007 05:03 AM



All times are GMT. The time now is 03:25 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker