Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment   Page 3 of 11      Prev   1   2   3   4   5   6   Next   »
Synan

Registered:
Posts: 8
Reply with quote  #31 
Amazing Job, mate!
I've now got a dual light-strip display flashing on my bridge, and it's the hottest thing around! Not to mention, I'm now planning to hook other things (like the room lights) to the Arduino for some really impressive effects!
Thank you so much for showing us this!
luotinen

Registered:
Posts: 48
Reply with quote  #32 
What changes would be needed to make this a four strip arrangement instead? Will it get too crowded on the board?

I've already ordered the parts and now waiting for them to arrive. I will document the project here to help others.
CrazyLefty

Registered:
Posts: 9
Reply with quote  #33 
Anyone tried this with a newer Arduino Uno?
It looks like there are libraries to turn an Uno into a DMX master or slave device, but not sure if it would work  with Artemis or not.
I'm going to run out and grab some parts from Frys and try it out and report back!
davr

Avatar / Picture

Registered:
Posts: 49
Reply with quote  #34 
Quote:
Originally Posted by luotinen
What changes would be needed to make this a four strip arrangement instead? Will it get too crowded on the board?

I've already ordered the parts and now waiting for them to arrive. I will document the project here to help others.


If you hooked it up the same exact way, you'd just have to multiply by four the transistors and resistors. If they are all four really long strips you might need a more powerful power supply. But 12 transistors is starting to get a little unwieldy. I would look for a chip that had 8 in one or something.

davr

Avatar / Picture

Registered:
Posts: 49
Reply with quote  #35 
Quote:
Originally Posted by CrazyLefty
Anyone tried this with a newer Arduino Uno?
It looks like there are libraries to turn an Uno into a DMX master or slave device, but not sure if it would work  with Artemis or not.
I'm going to run out and grab some parts from Frys and try it out and report back!


99% sure it wont work because Artemis looks for the specific FTDI usb-to-serial chip, and talks to it using the FTDI libraries, instead of using the standard serial protocol. Which means you have to use the older arduino with the FTDI chip on it. Newer ones (like Uno) they switched to an Atmel USB chip.
CrazyLefty

Registered:
Posts: 9
Reply with quote  #36 
Quote:
Originally Posted by davr
Quote:
Originally Posted by CrazyLefty
Anyone tried this with a newer Arduino Uno?
It looks like there are libraries to turn an Uno into a DMX master or slave device, but not sure if it would work  with Artemis or not.
I'm going to run out and grab some parts from Frys and try it out and report back!


99% sure it wont work because Artemis looks for the specific FTDI usb-to-serial chip, and talks to it using the FTDI libraries, instead of using the standard serial protocol. Which means you have to use the older arduino with the FTDI chip on it. Newer ones (like Uno) they switched to an Atmel USB chip.


Thanks Dave, maybe I'll just bring a shield wired up for 3 or four strips and screw terminals for the strips.
Oh wait, it's only got 6 PWM pins, might be tough to get more than two strips connected.
Need a Mega with the FTDI chip...hmmmm

Matt
CrazyLefty

Registered:
Posts: 9
Reply with quote  #37 
Quote:
Originally Posted by CrazyLefty
Quote:
Originally Posted by davr
Quote:
Originally Posted by CrazyLefty
Anyone tried this with a newer Arduino Uno?
It looks like there are libraries to turn an Uno into a DMX master or slave device, but not sure if it would work  with Artemis or not.
I'm going to run out and grab some parts from Frys and try it out and report back!


99% sure it wont work because Artemis looks for the specific FTDI usb-to-serial chip, and talks to it using the FTDI libraries, instead of using the standard serial protocol. Which means you have to use the older arduino with the FTDI chip on it. Newer ones (like Uno) they switched to an Atmel USB chip.


Thanks Dave, maybe I'll just bring a shield wired up for 3 or four strips and screw terminals for the strips.
Oh wait, it's only got 6 PWM pins, might be tough to get more than two strips connected.
Need a Mega with the FTDI chip...hmmmm

Matt


I do have one of these:
https://www.sparkfun.com/products/11575

It uses the FT232RL for comms, so this will most likely work for the dmx controller.
If we want more than two channels (cause, why not right??) do we need more than one arduino, or can we use some kind of shift registers or something to accomplish this?
luotinen

Registered:
Posts: 48
Reply with quote  #38 
Quote:
If you hooked it up the same exact way, you'd just have to multiply by four the transistors and resistors. If they are all four really long strips you might need a more powerful power supply. But 12 transistors is starting to get a little unwieldy. I would look for a chip that had 8 in one or something.


I'll probably use 4x 60 cm symmetrical array (totaling 240 cm)

So I put them to:
9,10,11 => 1st led strip 60 cm
3,5,6 => 2nd led strip 60 cm
But where do I put 3rd and 4th led strips?

I can also do a 2 x 100 cm top (front) and bottom (rear) array if four arrays is impossible. Or must it be 2x 250 cm?


CrazyLefty

Registered:
Posts: 9
Reply with quote  #39 
Just got it strung up in my house, the effect is amazing!!!

You flinch when you're getting shot at, I wish other games supported DMX, it adds so much to the game!

I've got two channels wired up, going to see about how to get the second channel working.

Thanks for the schematics Dave

Now I need 'Red Alert' for our monitoring stations for our clients at work!
davr

Avatar / Picture

Registered:
Posts: 49
Reply with quote  #40 
For more than 6 pwm channels we will have to change the code a bit. Probably look at one of the so called "softpwm" libraries, or write my own. This one for example could do up to 20 channels in theory:
https://code.google.com/p/rogue-code/wiki/SoftPWMLibraryDocumentation

(note that you need 3 channels for a single RGB strip segment, one pin/channel/transistor for each color)

This is a chip that is effectively 8 transistor drivers in one:
https://www.sparkfun.com/products/312
Only it maxes out at 0.5A (at 12V that's 6W), so you need to make sure each light segment doesn't use more than that

The strip I used is listed as "1.2A per meter" so you divide that by three (each color again) and you get 0.4A per meter per color. So that means if you use the above chip you'd be limited to 1 meter per each strip.
CrazyLefty

Registered:
Posts: 9
Reply with quote  #41 
Smaller strips could be used for instrument panels or something, 1M would have a lot of uses, and that's if running at full brightness.
Having a lot of fun thinking about the possibilities of these
CrazyLefty

Registered:
Posts: 9
Reply with quote  #42 
I had a thought, what if we linked two arduinos over a serial connection, the first being a dmx sender as well as a receiver, to send to a second arduino in the other room DMX commands for its ship, but I didn't see anywhere about DMX triggers for the second /third / bridges?  For instance, the second bridge would be channels 45-60 or something
If not, is there some other way to determine what ship the triggers have fired for so we can have independent bridge lights running from one server?  
davr

Avatar / Picture

Registered:
Posts: 49
Reply with quote  #43 
for second/third bridges, you connect the DMX device (in our case the arduino) to the computer that has the 'main screen' for that ship. then it works exactly the same as if you were on the first ship.
CrazyLefty

Registered:
Posts: 9
Reply with quote  #44 
Of course I find this out 2 days after the event lol
I've been doing some more poking around, seems that this functionality only works in 2.0, not 1.7, have you tried it in 1.7?


luotinen

Registered:
Posts: 48
Reply with quote  #45 
Quote:
Originally Posted by davr
For more than 6 pwm channels we will have to change the code a bit. Probably look at one of the so called "softpwm" libraries, or write my own.


Sounds complex. Probably I will do two channels for now and wait for more detailed instructions for four channels by someone more experienced (I do by awerage one electronics project/mod per year..)

I will still document the two led array build to help others. If I understood correctly, no modifications are required if I use 1 meter strips or 2.5 meter strips? (will only affect the light output and energy consumption) I use the same LED strip you recommended.
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.