Pages: [1] 2 3 ... 5   Go Down
Author Topic: Star Trek Computer Help  (Read 7888 times)
0 Members and 1 Guest are viewing this topic.
New Columbia Pa.
Offline Offline
Jr. Member
**
Karma: 1
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Thank You
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: August 29, 2013, 09:58:43 pm by Osgeld » Logged


New Columbia Pa.
Offline Offline
Jr. Member
**
Karma: 1
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

do you already have an arduino? if not which one are you considering?
Logged


New Columbia Pa.
Offline Offline
Jr. Member
**
Karma: 1
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an Arduino Uno Now...
Logged

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


New Columbia Pa.
Offline Offline
Jr. Member
**
Karma: 1
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

New Columbia Pa.
Offline Offline
Jr. Member
**
Karma: 1
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 ;-)
Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

Offline Offline
God Member
*****
Karma: 25
Posts: 529
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Valencia, Spain
Online Online
Faraday Member
**
Karma: 150
Posts: 5666
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Melbourne, Australia
Offline Offline
God Member
*****
Karma: 8
Posts: 567
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the info, fungus!
Logged

Windows serial port monitor: Tellurium | Arduino serial port debugging library: DBG | Cusom LCD char generator | Technical questions will only be answered in forum threads

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26509
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

"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.

Pages: [1] 2 3 ... 5   Go Up
Jump to: