Gallery, Projects and General > How do I?? |
ideas for carousel control |
(1/2) > >> |
shipto:
I am currently working on a model carousel for my grandaughter but am scratching my head a little over control for it. BTW before I get :worthless: I am taking pics but dont want to post any of them before I am sure I can complete the project. anyway I am thinking ahead a little about control for it, I need to control. speed of the motor = quite easy a pwm will do this. music = I would like 3 or more songs played at random while it is turning Lights = about 150 led's (not individually but in blocks) they need to blink in a random or seemingly random way as the carousel turns. Even though i know nothing about them I am looking at arduino or pi for the controls but would gladly listen to opinions or ideas. Thanks in advance |
S. Heslop:
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. |
S. Heslop:
http://www.timhunkin.com/81_components.htm This fella is one of my heroes. He makes strange amusement arcade machines. His website has some info on the stuff he uses in making them. |
andyf:
There's a random-ish led flasher circuit here, which looks relatively simple. Don't know if it works, though, and your 150 leds might be a bit much for it (diagram shows 40). You could always build one, and if that's OK, another three for a total of 160 leds.. http://scdiagramwiring.blogspot.co.uk/2013/03/how-to-make-interesting-random-led.html Andy |
Bluechip:
How one's sordid past comes back .... :palm: I did a random light flasher using the amplified noise from a Zener diode and stuffing it into the Analogue ( Analog for those in the USA who can't be bothered to spell it properly :lol: ) input on a PIC. Cramped the output value into 3 bits to give 8 outputs, ( there is a CMOS chip ie. a 3-line to 8-line decoder). Not much use to you if you want to do Arduino or Raspberry Pi though. The code was in MikroC or Hi-Tech C . to a 16F886 PIC. Worked rather well to my surprise. I think I may still have the circuit somewhere but not sure, simple enough though. Will have a look if you're that desperate .. :scratch: Dave BC Edit ... 74HC238 chip :thumbup: |
Navigation |
Message Index |
Next page |