Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 1st August 2003, 05:47 PM   (permalink)
Default Circuit design help / suggestions needed.

I need to design a circuit to create the following blink pattern in 3 LEDs (numbered 1,2,3)

1- 1 0 0 0 1 1 1
2- 0 0 1 1 1 1 0
3- 0 1 1 0 0 1 1

This pattern would need to be interrupted by all LEDs off for approx .5 seconds, and would repeat after the 7 sets.
With the timing being approximately 1 second on .5 seconds off (space between patterns)
I am hoping to do this with as simple a circuit as possible and am planning to convert it to a PCB once I have it built.
Any suggestions?
Thanks
Greg
nosliwsg@mac.com
nosliwsg is offline  
Reply With Quote
Old 3rd August 2003, 04:58 PM   (permalink)
Default

Does it have to create that sequence for a specific reason or do you just need it to look random?
tansis is offline  
Reply With Quote
Old 3rd August 2003, 06:04 PM   (permalink)
Default

I'd code up a PIC 16F84. That would be easiest, and the PIC could drive the LEDs.
0x34 is offline  
Reply With Quote
Old 3rd August 2003, 06:40 PM   (permalink)
Default it is a specific pattern.

In response to the question, it is a specific pattern for a prop that is being built.
nosliwsg is offline  
Reply With Quote
Old 3rd August 2003, 06:50 PM   (permalink)
Default Never done PIC programming, is it hard?

I've never done any eeprom programming, and it's been years since I've done any computer programming at all (basic pascal and fortran were the only ones I ever learned). If anyone has any suggestions on how to learn the programming aspect of PIC's quickly I would greatly appreciate the help. I need to have this project done by the end of August (Plan to have the finished project on a PCB and installed into the application Prop by then) The total dimensions for the prop are 6x6x1.5 with the lights being placed on the 6x6 face. hopefully the pcb could be small enought to allow an additional circuit inside the box along with powersupply a few other lights.
If someone might be willing to program a PIC chip for me it would potentially help this project out (I would be willing to pay for the chip and programming time... within reason)
Thanks
Greg Wilson
nosliwsg is offline  
Reply With Quote
Old 3rd August 2003, 06:51 PM   (permalink)
Default

I also don't need the .5 sec pause between light blinks. (continuous pattern would be fine)
nosliwsg is offline  
Reply With Quote
Old 3rd August 2003, 07:25 PM   (permalink)
Default

Assembly coding for PICs is a PIECE OF CAKE!!!! Go to the Microchip web side and you'll find a TON of programming resources, including MPLab IDE - Which is a program for programming and Flashing the controllers. I would also recommend the book "Easy PIC'n" as a great place for a beginner to start. Once you see how easy it is, you’ll FLIP! And, the project you’re talking about will only take ya a few minutes to code. :wink:
0x34 is offline  
Reply With Quote
Old 3rd August 2003, 09:16 PM   (permalink)
Default

If you want to do it without programming (and sacrifice the flexibility that programming offers), you can do it with 5 small chips. The schematic is below. I haven't built it or even simulated it, so there may be errors in it, but I don't think there are. You will still have to add resistors and/or transistors and LEDs. The complexity depends on how much drive you need for the LEDs.
All the LEDs will go off for one clock period.
Attached Images
File Type: gif gates.gif (9.8 KB, 281 views)
Roff is offline  
Reply With Quote
Old 3rd August 2003, 09:51 PM   (permalink)
Default

Well Ron, nice to see somone excersising their mind and doing things the old fashioned way! Anyway, I took the liberty to copy your circuit to a simulator and check I didn't get the expected result (I may have made a mistake somewhere!) so I may try again tomorrow!
Attached Images
File Type: jpg logic.jpg (27.5 KB, 296 views)
__________________
OLLY_K
olly_k is offline  
Reply With Quote
Old 4th August 2003, 01:54 AM   (permalink)
Default

Quote:
Originally Posted by olly_k
Well Ron, nice to see somone excersising their mind and doing things the old fashioned way! Anyway, I took the liberty to copy your circuit to a simulator and check I didn't get the expected result (I may have made a mistake somewhere!) so I may try again tomorrow!
Olly, you're right. I forgot that, in order to get an up counter, I have to clock successive stages off the /Q output of the previous stage. What I had was a down counter. I've edited the schematic to reflect this. Let us know if you simulate it with the changes.

Thanks,
Ron
Roff is offline  
Reply With Quote
Old 4th August 2003, 06:46 PM   (permalink)
Default I'll try it out tonight.

I picked up the chips today and will put the circuit together tonight and test it out. This sounds exactly like what I need. I'll post once I have it up and running.
nosliwsg is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 06:18 AM.


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