Gallery, Projects and General > How do I?? |
ideas for carousel control |
<< < (2/2) |
shipto:
--- Quote from: S. Heslop on July 21, 2013, 04:46:59 PM ---You could use or build a cam timer. A motor turns a bunch of cams that activate an array of microswitches. It wont be perfectly random but you could maybe approximate it. For music you might be able to solder the contacts of an MP3 or CD player to the cam timer. You can get both items pretty cheap nowadays but i'm not sure if all of them would be suitable. --- End quote --- I really like this idea :thumbup: it would certainly be easier for me to understand than learning to program the arduino and i could run it from the drive motor. as you say it wouldnt be truely random but with the right gearing it would seem that way. andyf your link also looks interesting and would take up less room than the cam idea. Bluechip if you find the circuit I would be interested to see it but dont put yourself out it will be a while before I am ready for it. |
kwackers:
I'd definitely go the Arduino route. What you want to do is trivial and with a few pointers you could have something running in an hour or two. More importantly you can 'knock' something up that works (start by looking at one of the many bits of code that simply flashes leds) and then as your confidence grows you can add to it. The pwm for the motor control is one command. Flashing a led consists of a delay and then changing the state of the output. There are random functions in the library you can use to get a random value back. The whole thing is just a few lines of code - I'm sure there are lots of people on here who could get you started. But the most important thing is if you want to change something (for example the leds flash in an annoying pattern, or you want them to flash evenly or 'ripple' etc) then it's behaviour can be modified with a software change. You could even add a MP3 board to it and play tunes from that. |
AdeV:
--- Quote from: kwackers on July 22, 2013, 03:51:16 AM ---You could even add a MP3 board to it and play tunes from that. --- End quote --- I suspect you could fairly easily make the LEDs flash in time to the music... |
pete3000:
I'd go with PWM for speed control, but for the flashing lights had you thought of the fibre optic/colour changing christmas tree idea? just needs 1 halogen 12v bulb or led bulb and a handful of fibre optic plastic strands. Butchering an old tree may be a source of parts/motors |
black85vette:
Instead of trying to create a random LED flashing circuit how about just using individual LEDs that flash on their own? I have used them in projects rather than build a circuit to make them flash. Like this; http://www.ledssuperbright.com/100-3mm-flashing-led-p-253/gclid/CISYlNeVw7gCFQto7Aod8m4ABA PWM modules are cheap so I don't try to build them either. Just lazy I guess. |
Navigation |
Message Index |
Previous page |