Bcoz I like computers ive been asked to build a tree with lights.
Anybody got an idea where i can start. What processor? What speed? How much memory?
Erik - can I have a go in your time machine after you're done with it? (or maybe you could set it so that I can have a go before you've even started...)
"use interface chips from e.g. Allegro that can handle the current"
For just a simple christmas tree homebrew project, I just use discrete transistors; each transistor is driven from a port pin, and switches a string of LEDs - with a 24V supply, you can have 10 or so LEDs in a string...
rand() is perfectly adequate for the twinklink: http://www.keil.com/support/man/docs/c51/c51_rand.htm
By the time I managed to coerce the forum into actually accepting the post, I see that Per had pretty much said all of that!
"Bcoz I like computers ive been asked to build a tree with lights."
Sounds like the logic of a non-engineer to me!
Did I hear someone whisper the word salesman ;)
A quicker solution might be to buy the ready made parts (tree and lights) from your local Woolworths.
"A quicker solution might be to buy the ready made parts (tree and lights) from your local Woolworths."
Sadly, it would probably also be cheaper!
eg, www.woolworths.co.uk/.../index.jsp
160 LEDs for under GBP 19 is only about 11p each, including wire and power supply, etc!