Go Down

Topic: Star Trek Computer Help (Read 8584 times) previous topic - next topic

jameskirk

I really new to the DIY electronics...
So here is my dilemma...
I'm doing a Star Trek Fan Film and i need a schematic to light up LED's in a pattern...
I have 18 LED's the blink in a random pattern and 5 single LED's that turn on with 5 switches which also have a sound module attached and those 5 lights stay on... Also there is a solid Gel that Blinks on and off that has 3 LED's...
Here is a Link to a YouTube video of one...http://www.youtube.com/watch?v=i70KmvYdBjk
Thank You

Osgeld

#1
Aug 30, 2013, 04:55 am Last Edit: Aug 30, 2013, 04:58 am by Osgeld Reason: 1
I see your dilemma, but what is your question?

where to start? something specific?  :smiley-mr-green:

PS: you are going to hate having a sound module do the effects and recording it on camera, its better to do that in post process, even the TV show did that

why? well look at that youtube video, it may be awesome in real life, but on the video its mostly high pitched squaks recorded in a room

PS:PS: welcome aboard, you are going to have fun here being a creative type
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

jameskirk

Thank You...
My dilemma is I don't have any experience in prototyping...
I don't know where to start i have a Arduino Uno and I've tried looking on the net
to find out how to use it for this project BUT it doesn't tell you how to blink that many LED's
Thank You for your help,
                                   Michael

Osgeld

do you already have an arduino? if not which one are you considering?
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

jameskirk

I have an Arduino Uno Now...

aarondc

Start simple: get one led to blink on and off, without using delay()s. Learn the proper way up front and it will be much easier to get multiple LEDs working.

Look for "Blink without delay". All the code and circuit, etc, is provided for you.
Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

Osgeld

in order to drive that many led's you may want to consider 3 of these (24 led's)

http://www.digikey.com/product-detail/en/TPIC6B595N/296-1956-5-ND/277601

and reading over

http://www.arduino.cc/en/Tutorial/ShiftOut

the TPIC6B595N is a "high powered" version of the basic 74HC595 listed in the tutorial, in a nut shell you send it all your on off data, flip a switch (another arduino output) and boom
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

jameskirk

I have done that; that is in the first lesson...
What I need to know is how to hook them up from the Arduino to the board you know what pins to use there aren't enough pins for 18 lights how do i hook them up???
Also can you give an example of code that I can try and build off of???
Thank You,
               Michael
Sorry you were posting while I was typing...

aarondc

As the next step, I would recommend using a few of your digital pins to randomly blink a few LEDS, again without using delay().

If you have already done that, it may help to let people know where you are up to.
Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

jameskirk

Sorry that is the only thing I have done so far is to make a LED blink that is all...
Very limited on electronics...
Ask me to wire a house I'm all over that...

aarondc


Sorry that is the only thing I have done so far is to make a LED blink that is all...
Very limited on electronics...
Ask me to wire a house I'm all over that...


Try getting 5-6 LEDS flashing randomly next.


Osgeld is giving you good information for final product, but if you are determined to do this yourself, starting off small and slowly building up will be much quicker than leaping into the deep end.

The other option is to go to Gigs & collaborations and ask someone to do it for you ;-)
Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

TanHadron

There are several ideas for a similar algorithm in this thread.  Actual code in some of the later posts.  You might be able to modify one of them to fit your needs.

fungus

If the LEDs only need on/off control then three TLC5916 chips is the easiest way. It regulates the current for you so you don't need any external resistors or anything (the TPIC6B595 mentioned earlier will need extra circuitry to make it work).

TLC5916 is probably easier to find, too. And cheaper.

Once the LEDs are working, you'll need a sound module, and maybe an amplifier. A WTV020 module would work well for this (search for "WTV020" on eBay). Be aware that they need a solid 3.6V power supply to work properly, see this thread: http://forum.arduino.cc/index.php?topic=115411.0  Ebay has little amplifiers, too, eg.: http://www.ebay.com/itm/170850491058, or just put a PC speaker with built-in amplifier behind the grill.

You'll need to do a bit of programming to get it to work. If you're not good at that you can ask around and find somebody who is.
No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

aarondc

Thanks for the info, fungus!
Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

AWOL

If you only need on/off control of lots of LEDs, then "charlieplexing" is a useful search term.
I think there's even a library over at the Playground.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up