Show Posts
Pages: [1] 2 3 ... 5
1  Using Arduino / LEDs and Multiplexing / Re: LED Matrix controlled by arduino on: January 09, 2014, 12:43:07 am
That panel looks very similar (if not the same) to one I have been working on. The one I have is from FreeTronics and they have a library for driving it.
http://www.freetronics.com/collections/display/products/dot-matrix-display-32x16-red Product Page
https://github.com/freetronics/DMD Library

This is a binary control library (light is either on or off). I have been working on a PWM solution but it does limit the number of panels that you can control.

Hope this helps.
2  Using Arduino / LEDs and Multiplexing / Re: Need help with 32x16 monocolor LED on: October 29, 2013, 06:31:43 pm
Quote
can we control such a display with an arduino board?
Is it exactly the same board as above or different? In most cases you will be able to run these types of boards with an arduino but how to do so depends on the type of matrix display(and their driver chips). As above there is code on the freetronics support site that does work and from my understanding is fast at updating the screen. You will still have to design all the code to display what you want and how to make changes. The code they supply is just a framework to drive the displays and an example of what could be done with it, they rest you have to make.

If you want to follow this further you may want to open your own thread to discuss this more fully. Possibly with specific technical information on the device and what you are looking to accomplish.
3  Using Arduino / LEDs and Multiplexing / Re: ShiftMatrixPWN problem leds do not fully turn off :( on: November 27, 2012, 11:43:51 pm
Good to hear you got it sorted out. Would love to see a pic or video of the finished product running.
4  Using Arduino / LEDs and Multiplexing / Re: ShiftMatrixPWN problem leds do not fully turn off :( on: November 25, 2012, 06:05:51 pm
The way I have it hooked up is the common anode of each led in each row is connected then controlled by the row pin.
Hello JT, I would just like to confirm your setup. The ShiftMatrixPWM library uses two chains of shift registers. One to drive the columns and one to drive the rows. Your common anodes on the row should be going to a pin on the shift register. Depending on what size your matrix is, your shift register probably will not be able to source this much current so I would suggest using a PNP transistor to source the current.

As to your issue please make sure you have it setup correctly and that the settings inside the ShiftMatrixPWM script that you are using also have the correct settings for your type of matrix. There are settings for inverting the output to allow for different setups. If this is setup on a breadboard, check that all connections are in their proper place (its very easy to be out by a single hole and get very different results).

If you are still having issues then please try to provide so more information to go on and I will try and help.
5  Using Arduino / LEDs and Multiplexing / Re: ShiftMatrix, Dreaming Big Video Display on: November 19, 2012, 08:55:38 pm
Hi Hippynerd,

Not sure what is happening. I just tested the videos (here at work) and the ones in the thread do seem to be working. Unfortunately I don't have the videos hosted anywhere else. You could see if they work direct on the vimeo site (http://vimeo.com/user7190193). Everything in that profile is for this project.

I have thought of using ShiftMatrixPWM to do a cube. In 4x4x4 I would do 4x4 as a direct wire up. (4x4=16, 16x3=48 LED's) So I would use 6 SR's and then have 1 SR (That would have controlled the ROW) to control the Plane. This should be well within the range that ShiftMatrixPWM can do (only 192 individual LED's). I am not sure if ShiftMatrixPWM will work correctly this way but for the life of me I can't see any reason it would not? I would certainly ask in the ShiftPWM thread and see if anyone else has actually used this for a cube.
6  Using Arduino / LEDs and Multiplexing / Re: ShiftPWM support topic. Latest update: Schematics, high power LED's, LED strips on: November 14, 2012, 07:19:19 pm
@mnpumar: There is a separate library that Elco wrote that does handle 2D led matrix. I believe this could be easily modified to run as a 3D cube. (http://arduino.cc/forum/index.php/topic,66988.msg536032.html#msg536032)

There are limits on how many LED's you can address and if you are using a standard Arduino (328) the limitation is the array size (memory limitation). But if you were to use a MEGA with more memory I believe you could go beyond that. Currently with a 328 Arduino the limit is 1024 Leds. I currently have this many Leds running in a 16x64 single colour matrix. There are a number of other variables that influence how many LED's you can address (Frequency and Brightness levels) vs the speed of the arduino.

I am not sure if 10x10x10 RGB would be feasible....that would be 300 LED's per plane of the cube, with 10 planes that would be 3000 LED's that would need to be addressed total. I just don't know if you could do this at a fast enough frequency to not have flicker......

But that is not to say don't try. Would be very awesome to see!!!
7  Using Arduino / LEDs and Multiplexing / Re: Inverse led fading. on: October 21, 2012, 08:11:54 pm
Couldn't you just use:
Code:
brightness2 = 150 - brightness1 //150 being the maximum brightness
8  Using Arduino / LEDs and Multiplexing / Re: ShiftMatrix, Dreaming Big Video Display on: October 21, 2012, 09:04:55 am
Once again long time between posts.....but we have progress.
I have obtained a USB to Serial adapter and have now tested connecting the TX of that to the RX of 2 Arduino's. This is what I have been banking on the whole time and it worked perfectly. Each Arduino waits for an assigned start byte and then acts on the bytes following the start byte. It then counts the bytes until it has a full module worth and displays them. The next start byte is received by the next Arduino and the sequence is repeated. This is how I plan to scale up to having 4 Arduino's working together, each controlling 2 DMD's. Thereby giving me a 64x64 resolution LED video screen.

I have ordered more panels (10 infact) and I am waiting for them to be delivered. Once I have them I will be attempting to scale up to full size.

In the mean time have a look at the 2 videos below. I used my camera phone and it is not great at capturing the LED's as they are quite bright. So I apologize for the image quality.




Hopefully in the coming weeks I will be able to show you the 64x64 in action.....I hope you like the colour GREEN!!!
9  Using Arduino / LEDs and Multiplexing / Re: Need help with 32x16 monocolor LED on: October 19, 2012, 04:05:10 am
Thanks DemonGibi. Glad to hear it worked for your panel. If anyone is interested, I have leveraged ElcoJacobs "ShiftMatrixPWM" and adapted it to work on these panels. It will only handle upto 2 panels (1024 leds max) at this time but it will allow you to have separate PWM on all LED's.

My efforts here on this forum:
http://arduino.cc/forum/index.php/topic,72474.0.html

And the DMDPWM library I created on the Freetronics forum:
http://forum.freetronics.com/viewtopic.php?f=26&t=278&start=20#p2133

The library at the FreeTronics site does support more panels but is just 1 bit (on/off, no PWM), if that is all your after it is quite good. Just plugs in and goes. Handles Scrolling text and basic drawing (Dots, Lines, Circles).
10  Using Arduino / LEDs and Multiplexing / Re: Need help with 32x16 monocolor LED on: October 11, 2012, 08:35:49 am
This looks very similar to a display I have been playing with:
http://www.freetronics.com/collections/display/products/dot-matrix-display-32x16-red#.UHbKClHHXeQ

If it is similar, that one has pinout information in its library. Not sure if they are the same. But they look close, these displays are blocks of shift registers powering LED's with 1/4 scan.

Hopefully this can get you started on the right path?
11  Using Arduino / LEDs and Multiplexing / Re: ShiftMatrix, Dreaming Big Video Display on: July 09, 2012, 08:24:04 am
Hi nataliew,

Time has not been my friend lately. Sadly I have not gotten any further on this project. But I did manage to clean up my DMDPwm library and I have posted it on the Freetronics forum board. (If anyone here is interested in it let me know)

You asked in another thread about the setup of the row data/latch and the column data/latch. The best I can off on that would be to tell you to have a look at my fritzing image on the previous page. It shows the connections I was using for my 16x16 colour matrix. But simply there are two chains of shift registers. One for column control and one for row control. Once you have them setup It should all work.
12  Using Arduino / LEDs and Multiplexing / Re: [solved/video] 8x8 RGB serial port with decent framerate (Colorduino) on: June 26, 2012, 01:26:42 am
nataliew, the ShiftMatrixPWM library is buried in the ShiftPWM thread. Here is a link to the latest version in the thread.
http://arduino.cc/forum/index.php/topic,66988.msg536032.html#msg536032

Hope this will help you. Look through the rest of that thread, there is some good information in it.
13  Using Arduino / LEDs and Multiplexing / Re: ShiftPWM support topic. Latest update: Support not using the SPI on: June 24, 2012, 11:04:18 pm
ematson, I too would love to see your code and how you setup vixen to use it. I have a similar "Christmas" project in mind.
14  Using Arduino / LEDs and Multiplexing / Re: shiftmatrixPWM compile errors on: June 21, 2012, 04:23:56 pm
shiftmatrixPWM and shiftPWM are similar but they do different things.

shiftPWM controls a daisy chain of ShiftRegisters(SR's) to allow you to use software PWM on their outputs.
shiftmatrixPWM controls two chains of SR's. 1 set for vertical and 1 set for horizontal in a Matrix configuration. It handles all the row shifting and allows PWM on all LEDs in the matrix.

As far as I am aware ElcoJacobs is still working on the Matrix version and he hasn't put it on the site yet. Only place you can get it is from the forum posted linked by OP.

I have used both but in the 0023 IDE. It seems you are using a newer IDE and I am not sure if this has been tested. I am assuming you are trying to compile the Example in the library?

I would close the IDE, remove the library, re download the library and extract it again to your library folder. Just to be sure there are no errors and then trying to compile the example sketch.
15  Using Arduino / LEDs and Multiplexing / Re: ShiftMatrix, Dreaming Big Video Display on: May 21, 2012, 10:36:25 pm
Again, Months have passed. But for me they have been productive months.

I am very happy with the output of the Freetronics DMD device mentioned in the above post. I have been able to modify (Butcher smiley-razz) the ShiftMatrixPWM library to work on these boards. I have even managed to get it working with 2 boards, 1024 red LED's, fully addressable and running at 50Hz with 32 brightness levels.

The way this hardware works though is very different to what ShiftMatrixPWM expects. I have had to make some major changes under the hood to format the information correctly to work with these displays. So much so I don't think you could still call this ShiftMatrixPWM anymore as it wouldn't work with a normal row/column "hand made" matrix. So I will call what I have made DmdPWM (all original credit goes to Elcojacobs for making a great library to base this off).

With this DmdPWM library now created and tested, I can finally start to order the components to make the display. So the display will consist of:
      - 1 x USB to serial adapter (bought from ebay cheap)
      - 4 x Arduino Duemilanove boards
      - 8 x Dmd's
      - 1 x 5v 40amp Power Supply

Currently I am testing with 1 Duemilanove and 2 Dmd's and using an ATX power supply (Looking to get a bench supply smiley).
Here is a video being down scaled and serially sent to the Arduino with 2 Dmd's attached. This is just a fire effect on a loop.


I am still trying to round out the library code and clean it up but if anyone is interested in it, let me know. I haven't had anyone else test it yet. If you have one or a similar display (32x16, 1/4 scan and a zigzag register setup (not sure what to call it)) contact me.
Pages: [1] 2 3 ... 5