SparkFun Electronics Commentsurn:uuid:214d0e4e-f1b1-d287-ce26-ac5b4c9f82492019-05-25T08:51:06-06:00SparkFun Electronicszarpli on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluezarpliurn:uuid:6cbd8a7c-c3a3-7b1a-487a-98956f7ee5f52014-04-22T13:47:51-06:00<p>LED Matrix - Column Statistics - RFid access
<a href="https://www.youtube.com/watch?v=-DWBC0Wwv7g" rel="nofollow">Video Youtube</a></p>
zarpli on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluezarpliurn:uuid:6931c8ce-eea7-bb75-6be0-009eed7f4cc92014-04-22T13:45:23-06:00<p>LED Matrix - Column Statistics
<a href="https://www.youtube.com/watch?v=-DWBC0Wwv7g" rel="nofollow">https://www.youtube.com/watch?v=-DWBC0Wwv7g</a></p>
Customer #492014 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCustomer #492014urn:uuid:035480df-ff8d-17ef-99c8-1b91693f7f7c2013-11-25T11:33:22-07:00<p>Hi There,
Crazy question here- As LEDs can also function as photodiodes (to quote a source, this is accomplished with an arduino by setting up a circuit with a single LED- "anode is connected to a digital pin and the cathode is connected to a an analogue input pin. Don&acirc;&#128;&#153;t forget a current limiting resistor in each LED"). Is it possible to something like that with this matrix?</p>
Customer #424597 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCustomer #424597urn:uuid:35ec009d-f08b-72a5-84b7-a700569b93402013-07-26T00:15:10-06:00<p>Has anyone gotten this to work via python on the Raspberry PI? I am using the RPi.GPIO library and am able to write a single frame. The problem is, I cannot seem to clear that is being displayed unless I cut the power to the matrix. Also, when I power this matrix up, the number "1" appears. That is nowhere in the documentation. Is there a more up to date doc for this?</p>
hib on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluehiburn:uuid:6931a64c-ab39-0378-91a1-2d0913ed0e062013-01-27T18:16:13-07:00<p>Are there any wiring diagrams for the backpack to arduino? It is not obvious from the wiring diagrams supplied here.</p>
Customer #395291 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCustomer #395291urn:uuid:478da976-6e4c-f29d-23a4-44a1982a7d222013-01-04T15:30:09-07:00<p>Can someone give me a list of all the possible colors with PWM? thanks.</p>
Fabio Ornellas on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueFabio Ornellasurn:uuid:f1924d0b-1ce2-af8d-8a63-eeb6c92be9472012-11-13T16:01:32-07:00<p>As long as the HW is the same (which I guess is), have a look at https://github.com/fornellas/SFRGBLEDMatrix. I had a LOT of problems with the original firmware...</p>
tolga on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluetolgaurn:uuid:7501f2a2-641e-b37c-f62a-4e30e44f680d2012-11-10T06:22:16-07:00<p>I have one of those but the shape of the backpack is different from the one that is in those photos, mine has vertical pins with 90 degrees to the board instead of the ones on those photos also it says RGB Led Matrix Controller V2 on the backpack, anyone have a working code for that version ?<p>The code here do not work for me for Arduino .</p><p>Thanks</p></p>
bwhitman on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluebwhitmanurn:uuid:46b72dd9-075c-8ba0-5073-133403680f5f2012-11-04T08:59:07-07:00<p>hi -- I had the usual problems getting this thing to talk to a "real computer" so i wrote up my steps and posted all the code I used. More or less, I run a tiny stub piece of code on an Atmel that listens to its UART over 9600bps and sends commands to a connected backpack over SPI. This lets me then control the matrix from almost anything at a pretty good FPS without any complications. Here it all is, enjoy:<p><a href="https://github.com/bwhitman/rgb-backpack-controller" rel="nofollow">https://github.com/bwhitman/rgb-backpack-controller</a></p></p>
Scott.W on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueScott.Wurn:uuid:5b571246-ad9d-245b-e180-032f15d2b9e92012-08-13T08:42:56-06:00<p>If the green and blue LEDs have a typical voltage of 3.3V (3.5V max) and the red LEDs have a typical voltage of 2.0V (2.2V max) and all the current resistors are the same value (which appears to be 100 ohms on the schematic), isn't that going to screw up the brightness of the RED LED? The blue and green are running about 17 mA and the red is 30 mA (right at the peak current limit for the LED).</p>
Customer #328596 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCustomer #328596urn:uuid:5bc8485d-abc2-6d07-2586-dd4de811c72c2012-06-04T20:36:45-06:00<p>I need only backpack controller</p>
Customer #313948 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCustomer #313948urn:uuid:dac311c7-eda5-8c2b-a3c1-afe7f286d1122012-04-07T23:36:06-06:00<p>Another possible improvement could be to load the three shift registers in parallel by utilizing the unused io pins. I might try reworking my board to see if it will work. WRT using the SPI to program the shift register: I could be wrong, but the SPI looks fixed to the pins that are used to load the frame data onto the board.</p>
Fabio Ornellas on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueFabio Ornellasurn:uuid:ed36a69a-8bfb-55a2-995b-a3d94feb3d982012-03-15T22:12:31-06:00<p>https://github.com/fornellas/SFRGBLEDMatrix<p>Is 4096 enough? If not, you will have to buy some of this:</p><p>http://iteadstudio.com/store/index.php?</p><p>main_page=product_info&amp;cPath=50_51&amp;products_id=337</p></p>
joh on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluejohurn:uuid:67fe6b12-ae03-3498-fa00-d8ac0904ccef2012-02-18T13:43:24-07:00<p>For the next revision, how about using hardware SPI to control the shift registers? That would allow for higher color depth.</p>
Fabio Ornellas on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueFabio Ornellasurn:uuid:be72fafa-211c-866b-eeb0-da9555783fac2012-02-05T15:58:08-07:00<p>Hello,<p>I developed an alternative firmware with new features:</p><ul>
<li><strong>4096 colors</strong>, with no flickering!</li>
<li>No more configuration for daisy-chain: works out of the box.</li>
</ul><p>The 255 colors limit was just a software limitation. I managed to squeeze 32768 colors, but the flickering was unacceptable. Perhaps with more code optimization, it can be done.</p><p>Please note however that input data format had to be changed. You now need 3 bytes for each 2 pixels (RRRRGGGG BBBBRRRR GGGGBBBB).</p><p>Download the firmware and Arduino library <a href="https://github.com/fornellas/SFRGBLEDMatrix" rel="nofollow">here</a>.</p><p>Bye.</p></p>
Customer #268846 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCustomer #268846urn:uuid:955a48e4-2966-f24e-f698-7a2d5ce254772012-01-24T00:29:32-07:00<p>Any chance I could get some of these with square pixels instead of circles?</p>
TLCary on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueTLCaryurn:uuid:8e2dfe94-c6c3-76de-6c4d-0cbd74d1ffab2012-01-20T15:04:54-07:00<p>Tutorial (once you find it) Helps a lot.<p>5V-&gt;VCC, GND-&gt;GND, D10-&gt;CS,D11-&gt;MOSI,D13-&gt;SCLK</p><p>V5 still isn't installed by default on the backpacks I just received.</p></p>
Monkeyharhar on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueMonkeyharharurn:uuid:e58f7ae4-f01e-64a0-96bc-daf5e00698ee2012-01-17T10:38:58-07:00<p>I had a question about the matrix schematic in the data sheet. It shows the negative lines 26,26,24,23,10,9, and 8 extending past the last LED in the row and looks as if it connects with the positive line 18. Row 7 does not show this and I do believe that the above lines should not extend past the last LED.<p>Is there a reason for this or is this just a mistake and I should ignore it?</p></p>
Customer #250261 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCustomer #250261urn:uuid:d39d3646-3bbd-fb55-4b07-c1735bed77482012-01-16T11:21:40-07:00<p>Hi, is it possible to use a higher SPI rate than 125KHz (recommended in the datasheet of the panel).
The ATmega328P has a 16MHz oscillator. Can't it run the SPI at around 4MHz as an SPI client?<p>I tried to drive the panel with Cheetah SPI master. It's ok at the rate of 100KHz, but not at the 200KHz.</p><p>Did anyone else tried a higher rate?</p></p>
Customer #209089 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCustomer #209089urn:uuid:e50e5fd9-3894-f3d6-45ff-1f115957b12c2011-10-25T09:39:00-06:00<p>MacOS X 10.6.8;<br>
(Arduino 0022);<br>
Arduino Uno;<br>
Sparkfun 8x8 RGB matrix with Backpack;<br>
I try to install the new Firmware following this guide: http://www.sparkfun.com/tutorials/200<br>
However, when I run this command:<br>
avrdude -P /dev/tty.usbmodemfa131 -b 19200 -c avrisp -p m328p -v -U flash:w:RGB_Backpack_v5.hex<br>
Then receive a signature error<br>
avrdude: Device signature = 0x000000<br>
avrdude: Yikes! Invalid device signature.<br>
Double check connections and try again, or use -F to override<br>
this check.<br>
Therfore I turn on the -F flag:<br>
avrdude -P /dev/tty.usbmodemfa131 -b 19200 -c avrisp -p m328p -v -U flash:w:/Users/i822913/Downloads/RGB_Backpack_v5/RGB_Backpack_v5.hex -F<br>
At this point I receive a verification error<br>
avrdude: verifying ...<br>
avrdude: verification error, first mismatch at byte 0x0000<br>
0x0c != 0x00<br>
avrdude: verification error; content mismatch<br>
I thought I could ignore this validation error, but the original issue (off by one pixel) persists.</p>
nickburns19 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluenickburns19urn:uuid:aa049d2a-b4a8-fc0a-68c9-ebb21b3557952011-09-22T23:37:56-06:00<p>I have some backpacks with the atmega168 chips and I have some with the atmega328p chips and with the v5 firmware loaded, the atmega168 boards are noticeably dimmer than the 328p's. Is there something that needs to be changed in the firmware to accommodate this? Looking on atmel's site, it doesn't appear that there is any functional difference between the two but frankly I have no idea.<br>
Any help is greatly appreciated.</p>
joh on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluejohurn:uuid:e1746f73-5561-97a5-1c83-c5aa982ccd022011-09-14T15:05:55-06:00<p>Yes, you are right. The actual order of the shift registers is G-&gt;B-&gt;R.</p>
Hugo on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueHugourn:uuid:37db6ed6-b760-98b3-3a55-ffaafa822c962011-09-11T10:12:28-06:00<p>I have asked many times for the backpack alone to be sold separately... But nothing...</p>
The Computer Guy on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueThe Computer Guyurn:uuid:fc212bd0-b48e-a1e4-2b4e-8257fb2d6e112011-08-14T01:00:33-06:00<p>I'm with the others who never got answered and would like to see just the backpack for sale. I already have stacks of led matrix's would be nice/lazy not to have to build the circuits for them.<br>
Just saying....</p>
Zogger on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueZoggerurn:uuid:0389adad-3a70-4259-6724-7d43aaed212d2011-07-15T05:59:07-06:00<p>Hello LEDers,<br>
Help! Pluged in my power supply - LED array produced a happy face then suddenly stopped after the 3rd attempt. Now just displays a few LEDs when powered up. Recommendations?<br>
What is the procedure for resetting the device? Has the firmware gone into a strange mode?</p>
SomeGuy123 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueSomeGuy123urn:uuid:9b9ada1c-7db3-43b1-f7f1-8f2d9d56e7072011-04-22T16:42:47-06:00<p>It would be nice if this came with female headers. That way, the connection would be temporary.</p>
Ritch on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueRitchurn:uuid:f9f421e6-c839-f56e-1102-0e0ca03705aa2011-04-13T17:53:07-06:00<p>Ok so for a 1920x1080 TV using this we would need an array of 240x135 which would mean buying 32,400.<br>
So a 1920x1080 @ 15Hz with 8-bit colour should cost &Acirc;&pound;1,193,292.00 to build the display part not even the digital decoder stuff. I think Sony and the other guys have done well to make then for &Acirc;&pound;200 with 100Hz :D</p>
Erazmus on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueErazmusurn:uuid:d9c4e666-af99-7a4f-8d5b-80c7655b2d9f2011-04-05T10:56:53-06:00<p>What about flickering? I'm seeing a lot of flicker on v5 whenever I update the display. I don't get the random corruption that I get with v4, but the flicker is worse for me.</p>
MestoMix on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueMestoMixurn:uuid:b417c1a6-e348-6e04-6922-287b090da4b42011-04-05T08:42:18-06:00<p>I can confirm that updating to V5 solved all the image corruption problems.</p>
MestoMix on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueMestoMixurn:uuid:ef9bb4d1-1a12-a9c3-91a1-50b1193e0d622011-04-04T10:01:49-06:00<p>Thanks Erazmus! Based on what you've said, I don't have V5 on mine either.<br>
Are you still observing corruption on the displays even AFTER updating to V5 and taking care not to use either of the control characters?<br>
The RGBMatrix example looks pretty bad on my 4 daisy-chained V4(?) displays: the SPARKFUN ELECTRONICS string is glitchy/out of alignment, and there are often big gaps where individual LEDs should be lit. Oh, and there's a seemingly random blinking purple LED that activates on one or more of the displays sometimes, regardless of how I program them. I believe other people have reported that one as well. In any case, I really hope V5 clears those problems up.</p>
Erazmus on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueErazmusurn:uuid:0f5332ad-ad1e-e1cd-0e46-5aa037ea8cba2011-04-03T17:36:14-06:00<p>I just received some of these the other day. They were definitely not running version 5. If your unit boots up and displays a large number corresponding to the position in the chain, it's version 5. I was able to use an Arduino to re-program my board to v5. Details of the procedure is here: http://www.sparkfun.com/tutorials/200<br>
I didn't solder in a header - I just held an unsoldered header in position for the couple of seconds it took to flash. The flash procedure worked flawlessly. Unfortunately, v5 is just as useless as previos versions. In fact, possibly more so. The problem is that the command character (%) is recognized anywhere in the data, not just the first position, so you have to make sure that there is no '%' in your data stream. Also, v5 introduces a new special character 0x26 which resets the frame to the beginning. Now there's two characters you have to watch out for! Also, the firmware <em>still</em> resets to default after 255 power cycles!</p>
MestoMix on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueMestoMixurn:uuid:064cc53c-f0ce-f38d-85d9-233ec5ad6da42011-04-02T14:17:10-06:00<p>Which firmware are these shipping with these days? Is there any way to determine that through software?<br>
I just got four of these. I'm seeing some minor corruption on the display when testing with the RGBMatrix library, which based on comments I've read, would seem to imply that I don't have the latest firmware (V5).<br>
Finally, is there a way to access the ISP without adding a 6-pin header to the backpack? Could I use the MISO, CS, SCLK, GND, VCC from the SPI output header along with the MOSI pin from the SPI input?</p>
Customer #210524 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCustomer #210524urn:uuid:960a3c15-a61d-2310-8c59-5bd2a91073512011-03-15T07:29:26-06:00<p>heey,<br>
I'm looking for examples from the RG matrix. They should be close to the RGB matrix but that one doesn't work with the RG. so please help....</p>
joh on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluejohurn:uuid:57a49be0-2382-3d6f-fc05-0b708220f6ad2011-02-16T09:44:40-07:00<p>I figured out the problem. random(255) will occasionally return 0x25 ('%') which will put the board into command mode. See <a href="http://forum.sparkfun.com/viewtopic.php?f=14&amp;t=26503&amp;p=120406" rel="nofollow">this forum post</a>.</p>
Coyote on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCoyoteurn:uuid:f99df0d0-0c74-c275-21e3-5a4ffd12dbc92011-02-16T06:27:46-07:00<p>V5 firmware.<br>
I'm not sure why this isn't officially on the Matrix product page..<br>
<a href="http://www.sparkfun.com/news/452" rel="nofollow">http://www.sparkfun.com/news/452</a><br>
<a href="http://www.sparkfun.com/tutorials/200" rel="nofollow">http://www.sparkfun.com/tutorials/200</a><br>
I've attached the v5 firmware and arduino library in a message at this link.<br>
<a href="http://forum.sparkfun.com/viewtopic.php?f=14&amp;t=26503&amp;p=120394#p120394" rel="nofollow">http://forum.sparkfun.com/viewtopic.php?f=14&amp;t=26503&amp;p=120394#p120394</a><br>
Dave</p>
joh on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluejohurn:uuid:05e00c48-252c-8a6e-2ed1-386f457539432011-02-13T21:13:28-07:00<p>So, it seems the matrix can be pushed into a non-working state where a re-flash is necessary to restore functionality.<br>
Using an Arduino as SPI master, doing this:<br>
void loop() {<br>
digitalWrite(SS, LOW);<br>
for (int i = 0; i &lt; 64; i++) {<br>
SPI.transfer(random(255));<br>
}<br>
digitalWrite(SS, HIGH);<br>
delay(100);<br>
}<br>
Will at first result in pretty random colors on the LED Matrix, but after a few seconds the display will freeze. Resetting it sometimes results in the "Ready State" pattern, but no response to any SPI data. Other times it responds to SPI data, but the rows/cols are mixed up resulting in seemingly random positions of the pixels.<br>
At this point, a re-flash of the firmware is necessary to restore functionality.<br>
Weird, huh?</p>
joh on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluejohurn:uuid:4363301f-a0d1-cd2d-0b51-f5599eccd5c22011-02-13T20:49:29-07:00<p>I figured it out - I was building the firmware with avr-gcc on Linux and the WinAVR code isn't fully compatible. The line causing the crash was the an incorrect interrupt vector "ISR (SIG_SPI)". Replacing this with "ISR (SPI_STC_vect)" fixed it. Also, the new firmware does not seem to exhibit the weird issues mentioned previously :-)</p>
joh on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluejohurn:uuid:ca477ea4-c0fa-1a1b-5c1b-be2dea9ebe292011-02-13T20:06:51-07:00<p>Hi, I had some weird issues with my RGB Matrix (atmega328p) and decided to flash the firmware to v4. Now with the new firmware, the backpack resets whenever its CS pin is brought low(!) Does this sound familiar at all? My guess is that some of the ISR code causes the mcu to crash, although I have yet to debug it further.</p>
Customer #195430 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCustomer #195430urn:uuid:90f7dcdc-4b3c-c75a-3751-98659d285cda2011-01-26T15:44:16-07:00<p>I'm trying to implement a spectrum analyzer and that controller sometimes works fine, but sometimes it's incredibly slow. Why could that happen? I mean the code for Arduino remains the same, but right now I have ~1fps and I used to have about 20 fps 10 minutes ago.</p>
Jacob Gorelik on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueJacob Gorelikurn:uuid:b1e29ffd-e8ba-e275-94b4-cde2549b8cb02011-01-05T23:28:54-07:00<p>It seems that the R G B pins are mislabeled if you take a look at the datasheet of the RGB matrix.</p>
citro7000 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluecitro7000urn:uuid:dc203d21-4a73-9fab-831e-89153d2dba612010-12-26T05:48:45-07:00<p>So if I just buy one of these.. What do I need for programming them? And can I use it wireless in for example a helmet or mask?</p>
Bartd100 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueBartd100urn:uuid:def01170-abc7-6c7e-0745-fe0eade3aabb2010-12-05T04:26:49-07:00<p>I have trouble addressing the backpack... does anyone have the good programcode?</p>
andrewl on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Blueandrewlurn:uuid:84259051-a40e-5adf-d0b1-cf36cfb881ed2010-11-29T19:55:56-07:00<p>Couple of questions: &lt;br /&gt;<br>
I've recently purchased two of the latest versions of this LED backpack (RGBSerialMatrixBackPack_UG_090420), and I'm having problems with daisy chaining from an Arduino Uno..&lt;br /&gt;<br>
&lt;br /&gt;<br>
1. Both boards display the following colors upon booting in the lower left hand corner of the backpack: RRGGBB. From reading around on the net I understand that the second backpack in the daisy chain should identify itself as second in the chain by displaying a different pattern of colors in the lower left hand corner when booting. Is this correct? If so do I need to upgrade to a new version of the board firmware and if so where can I find that firmware? &lt;br /&gt;<br>
&lt;br /&gt;<br>
2. Does anyone have a simple Arduino Sketch that utilizes a daisy chained series of these backpacks? &lt;br /&gt;<br>
&lt;br /&gt;<br>
Many thanks, &lt;br /&gt;<br>
&lt;br /&gt;<br>
Andrew</p>
Larsi on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueLarsiurn:uuid:89c646f6-933e-c207-9128-fcd3b160ccf22010-10-06T19:06:42-06:00<p>Would it be possible to offer the Matrix Backpack Controller as a separate item? I bought a couple of years ago an older version and I would like to upgrade and reuse the RGB LED Matrix...</p>
RobertC. on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueRobertC.urn:uuid:09b171ad-047d-6045-eb6e-a71e4ae72e562010-09-28T09:37:31-06:00<p>It's a 16mhz crystal.</p>
RvBCrS on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueRvBCrSurn:uuid:3f6ad3e5-837a-ae25-4814-41440d1f3a532010-09-28T08:59:24-06:00<p>Can anyone please tell me what the value of the Crystal is in the schematic? or what type of crystal is used?<br>
Thank you,<br>
RvBCrS</p>
lubi on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluelubiurn:uuid:d4283a76-27b1-1fd6-e959-b86590e5eaac2010-06-07T09:54:28-06:00<p>I know the answer.i will put example program in somewhere,if i have time.but i can tell you now.Datasheet isn't right for new Arduino board.</p>
GregEigsti on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueGregEigstiurn:uuid:7c926d0e-398d-13b5-769e-8c75c5ae03c72010-05-05T22:44:34-06:00<p>Quick questions - I hope ;)<br>
I have a V2 SPI LED Matrix and am interested in updating its firmware to get more better colors.<br>
- Is the V2 board's datasheet available?<br>
- Is the latest firmware (.hex) compatible with the V2 unit?<br>
- Is the latest firmware (.hex) built for a single board setup?<br>
- The V2 board has an "unused" 10 pin header; is part of this this ICSP header?<br>
Thanks!<br>
Greg</p>
Brain21 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueBrain21urn:uuid:23ee1895-3f32-d5cc-e908-6144832395902010-04-02T21:28:12-06:00<p>Check out my posts on here (<a href="http://forum.sparkfun.com/viewtopic.php?f=14&amp;t=20465" rel="nofollow">http://forum.sparkfun.com/viewtopic.php?f=14&amp;t=20465</a>). I reproduced your problem before I changed the firmware. I was getting the problems a lot. It has to do with two vars in the firmware becoming out of sync. Simple fix.</p>
Blaag on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueBlaagurn:uuid:cd21805c-1d16-f80d-9cba-0971837bc4de2010-03-26T09:48:21-06:00<p>Yep. For example I put my first matrix on pin 8 for chip select and my second matrix on pin 7. You can use any pins you want for chip select.<br>
To send data, I just flip chip select pin 8 for the first matrix, send 64 bytes, turn chip select back off and then repeat the process for the next matrix using pin 7.</p>
Scrambler on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueScramblerurn:uuid:41a1c9fd-5082-c7ba-3338-f79d909d1dc02010-03-23T04:18:52-06:00<p>Hi Blaag!!<br>
You say, we use various pins for connection ChipSelect?? but i need 4 matrix, i use 4 pins? and data colors I send via SPI?</p>
Blaag on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueBlaagurn:uuid:a6f7c96e-5e1a-d831-6876-bfe12057cc142010-03-22T09:42:41-06:00<p>I ran into the same problem and the forum has an awful lot of questions in the same vein left unanswered.<br>
Two items here:<br>
1) Backpack code doesn't appear to work for 2 matrices.<br>
2) Backpack code appears to include a "feature" to reset each matrix to single mode after 255 power cycles.<br>
My suggestion is to forget about daisy chaining and instead run them both in standalone mode. Use separate slave selects for each. It burns an extra pin, but hopefully you have an extra.</p>
Scrambler on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueScramblerurn:uuid:7ca65804-1a3d-e978-7d43-9d502274eec92010-03-14T18:57:07-06:00<p>Does anyone have a solution? about this problem:<br>
<a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1268607738/0" rel="nofollow">http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1268607738/0</a></p>
zagGrad on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BluezagGradurn:uuid:69bceb90-1840-3919-3e54-44b697ee3d5b2010-02-24T07:25:21-07:00<p>Sorry but no. This board does not have the serial bootloader on it and so it can not be reprogrammed by the method you've described. In order to reprogram this board you would need an ISP programmer.<br>
You would be able to control this from an Arduino though, if that's any help.</p>
lostangel556 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluelostangel556urn:uuid:dfaf2945-36a1-1e0a-1673-15a1840757ec2010-02-24T06:44:33-07:00<p>According to the datasheet this uses an ATmega8 to control the Led colour and brightness.<br>
Does this mean that i dont need an arduino to control the matrix, and that i can just connect an usb to rs232 adapter to it and reprogram the same way as an arduino?<br>
If so id just like to check that i can connect the bluetooth mate to it, supply with 5v and from the computer side, send #ffffff to turn all the leds on (after reprogramming the atmega8)</p>
CHaskins on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCHaskinsurn:uuid:1bb818dc-ea7d-7a58-c73f-5ac81a26e75e2010-02-06T19:25:10-07:00<p>How about some eagle files?</p>
lubi on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluelubiurn:uuid:917e2ccb-caab-533b-769a-5b56e6787b042010-02-01T11:42:33-07:00<p>Hi,ryowens84<br>
i have two LED Matrix and want connect togeter,<br>
from datasheet i must use SPI interface and enter '%' in my arduino program to change NUM_BOARDS,<br>
but it's no work,could you write example with how to change NUM_BOARDS for arduino ?</p>
nahason on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluenahasonurn:uuid:d7c98db7-2a6f-b4a9-9b96-95a28fca89912009-11-15T00:46:20-07:00<p>whether the tools is ready stock?<br>
if I would make dot matrix 32x32.what avr 8535 can be used as controllers?<br>
how the schematic?</p>
DETArmstrong on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueDETArmstrongurn:uuid:a1d1890f-faea-3fff-8cea-bc0a312880522009-10-11T14:37:20-06:00<p>The product I received when I ordered it 12/08 is labeled as "RGB LED Matrix Controller V2". I can't seem to find the datasheet for this version of the controller. For example, what is the CS pin; how is it different from the slaveselect pin on the layout pictured here?<br>
If the V2 requires updated firmware, are there tutorials you can point me to to update it?<br>
Right now when I run the arduino sketch attached here I get one blue LED. I'm guessing this is not what the sketch is supposed to be doing.</p>
0XD1AB10 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Blue0XD1AB10urn:uuid:05c4b0b5-72ca-2ea8-e2df-cb030dad98832009-09-23T14:45:48-06:00<p>Part 2<br>
It seems that the placement of the LEDs on that initial screen is based on how many board the system things are connected together. This arrangement means that the system thinks that two board are connected together. This explained it all. Every OTHER frame was being displayed because the second frame was being sent to a phantom board.<br>
Upon further analysis of the firmware, it seems that after 255 times of the board being power cycled, the EEPROM location that stores that there is 1 board being connected gets rewritten. So i just power cycled my board a few time and it started behaving properly again....<br>
I guess during the development of the firmware, they encountered this situation before. That would be the only reason i would think they had the routing to rewrite to the eeprom. Anyone from sparkfun care to comment.</p>
0XD1AB10 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Blue0XD1AB10urn:uuid:ba89ce41-3070-8345-472e-e237e91cbc7b2009-09-23T14:44:46-06:00<p>Part 1<br>
So this was interesting... I noticed that my animations started to look a bit choppy. When I slowed down my animation it looked like it was updating the screen two columns per refresh, as opposed to 1 (which i programed). After some thought i hypothesized that it was only printing ever OTHER frame. I confirmed this behavior with some short test code.<br>
So i started to audit my code to see if i was doing something wrong, or had hold timers to short or anything like that. I didnt find any error in my code.<br>
After getting slightly confused i stood back and just started to observe again. It was then that i noticed something weird. When the board starts up, it displayed 2 red, 2 green, and 2 blue dots. This is done from the firmware on the device. Usualy this is displayed on LEDs 0-5. However, my board was using LEDs 1-6. I thought this was weird and assumed that i corrupted the boards firmware. But i still had to double check what the boards firmware did.</p>
JayCollett2 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueJayCollett2urn:uuid:a641b85b-bae2-73fe-73b1-e3a6668de0a32009-08-29T13:44:35-06:00<p>Ryan, (I'm a newb) any reason you didn't use the 74HC595 (CMOS) instead of the 74LS595N (TTL) chip? Seems like the 74LS595N is much more expensive! Also, your work freaking rocks!<br>
Jay</p>
bcoquille on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluebcoquilleurn:uuid:406682b9-db96-249d-2ccd-b4b3a6ce7c632009-08-13T10:55:31-06:00<p>Hi,<br>
I have an 'RGB LED MatrixController v2', I can see only 7 colors. This is normal?<br>
Thank you in advance</p>
CHaskins on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCHaskinsurn:uuid:c19bb0c5-6732-2ecf-8c31-bbf87478a0af2009-06-21T19:34:31-06:00<p>I would like this as well, I think that this would be a nice controller for the rgb button pad, using 4 of them to make a 8x8 array and this backpack as the led controller.</p>
CTownJ30 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueCTownJ30urn:uuid:608b3b88-621d-57fa-704a-f34a86d0f3552009-06-15T07:01:24-06:00<p>Could someone give me an idea of how bright these things are?<br>
Could I tell what color the lights were if direct sunlight was shining on the board?<br>
Thanks!</p>
Joel_E_B on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueJoel_E_Burn:uuid:43b5e2aa-cc00-149b-cdfb-b233575180252009-05-13T23:10:03-06:00<p>Just to be clear, it is not necessary to solder the ICSP headers into place to reprogram the modules. You can simply hold it in place, applying good pressure to all six pins. Many of the boards we sell at Sparkfun come without headers, and thus we have to use this method to do our initial programming. There are other ways, such as pogo pins, that can make reprogramming any Sprakfun device solder and hassle free. Although you would still need an STK500 MKII to do the programming, you wouldn't have to disattach the matrix to get to the headers.</p>
yan on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Blueyanurn:uuid:494130a2-b191-99c2-7dfc-d2d5b28576f12009-05-11T17:36:12-06:00<p>I think I'm confused, but do you mean 256 colors or 64?</p>
yan on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Blueyanurn:uuid:5a82c7a9-c76e-f653-ef02-f56483a038002009-05-11T17:30:16-06:00<p>Is it possible to order just the backpack, without the LED matrix?</p>
bschiett on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluebschietturn:uuid:2482ac66-81a4-d415-f607-27de9df8cbc52009-04-25T14:40:34-06:00<p>is there a way to talk to this module using two serial lines, TX/RX?</p>
zagGrad on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BluezagGradurn:uuid:71300cb4-b414-4814-c087-144ad5746d662009-04-10T12:42:44-06:00<p>Yes, there's a sample arduino sketch in the 'Documents' section of the product description above.</p>
cookie on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluecookieurn:uuid:a0721fe2-1224-4b8a-f3ea-b2fae4d8e5e82009-04-10T10:49:02-06:00<p>Hmm. Do you know of any code (arduino?) that might be helpful?<br>
I probably should just hire a programmer.</p>
zagGrad on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BluezagGradurn:uuid:07211bf7-a70c-dd08-40f3-7adbfdb785b02009-04-09T08:09:03-06:00<p>No, the default FW controls the PWM; currently up to 64 colors can be displayed. All you have to do is send different values to the matrix controller. Each byte that is sent to the controller represents the color for an LED. The byte is structured:<br>
RRRGGGBB<br>
So to change the brightness of any color, just lower the value of the 3 bits corresponding to that color in the byte that you send.</p>
cookie on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluecookieurn:uuid:40b74e98-79cb-3440-eba7-fc809c13ed8f2009-04-08T19:26:56-06:00<p>Is it true that you need to upload new firmware on the new rgb led matrix backpacks in order to pwm the leds? or do they come with this capability?<br>
If you can pwm them.. How ?<br>
thanks.. Just want to adjust the brightness while spinning a potentiometer for now...</p>
dude on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluedudeurn:uuid:4c69c554-6ec0-b8c0-71f5-cbbbd194cf8f2009-04-07T21:35:04-06:00<p>Well, 5 volts all the way works fine.</p>
Matt12 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueMatt12urn:uuid:9e049d45-398a-7965-ba34-0aa2bf267f482009-04-03T08:20:13-06:00<p>Hm. So if I understand this correctly, in order to daisy-chain these modules I'd need to buy an STK500-compatible programmmer, solder on headers for the ICSP port for each module, then figure out how to build and flash the firmware on each module using WinAVR. Given the clearance between the backpack and the module, that looks a bit tricky.<br>
At this point it might be easier for me to just drop out the CS pin on the cables that connect the modules and run it separately to my controller.</p>
zagGrad on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BluezagGradurn:uuid:1a4056e1-2ff2-5493-d4c2-c8d095930c482009-04-02T13:05:13-06:00<p>The extra VCC line is frivolous, I was going to have a spare unconnected pin on the headers so I just decided to tie it to Vcc.<br>
If you just plug them in and send the boards twice the amount of data, you will see some weird behavior. The easiest way to daisy chain them is to download the RGB Serial Matrix Firmware (recently updated to v3), and open the RGB_Backpack_v3.c file. Change the "NUM_BOARDS" parameter on line 46 to reflect the number of matrices you are daisy chaining together. After you've done this, recompile the code and then reprogram each of your matrices with this new hex file.<br>
After doing this you should be able to just send 64*NUM_BOARDS bytes to the first board to get it to display correctly. Start the sequency by sending the data for the last matrix in the system first.</p>
zagGrad on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BluezagGradurn:uuid:ba74d2a2-026b-b44b-e926-9e870708055d2009-04-02T12:58:59-06:00<p>The "Sample Interface Code" which is downloadable above shows you how to send color values to the LEDs.</p>
Matt12 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueMatt12urn:uuid:19608ea4-7546-72f2-0dc9-878656078f6d2009-03-29T15:39:41-06:00<p>Thanks Ryan, that's definitely helpful.<br>
Could you say something about how daisy-chaining the new version of these modules is supposed to work? I had read something intriguing online (can't find it now) about extra bytes beyond the first 64 received being dumped out the DataOut line while the other lines are being passed through. Also, what's the extra VCC line for? If I just do the naive thing and plug them together, they seem to mirror each other.</p>
ae on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Blueaeurn:uuid:797a8caf-7d70-4630-dd20-285233a0f0bd2009-03-25T23:37:19-06:00<p>I would like to echo the above statements. A new datasheet and some test code really would be awesome. I bought one of these and have not yet been able to address each of the leds and colors properly.<br>
I have found a few different pieces of code to drive the older versions, but they only light random leds on this model.<br>
I certainly don't want to rush great work ryowens84, I am sure you are busy. Any information would surely be appreciated.</p>
zagGrad on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BluezagGradurn:uuid:75e3a21e-8303-8d79-4e60-bf272f5c93992009-03-23T08:56:42-06:00<p>Have you downloaded and checked out the 'Sample Interface Code' available in the documents section of the Product Description? This should give you a good idea of how to send data to the matrix controller.</p>
Matt12 on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueMatt12urn:uuid:9c8ca1de-5c5d-a903-1c7e-06a342f80c2c2009-03-20T19:05:39-06:00<p>Yeah, both the datasheet and the tutorials on this are pretty out-of-date. Would greatly appreciate a new one - I just bought two and was thinking of buying more, but still haven't quite puzzled out the ones I have. :)</p>
gokce on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Bluegokceurn:uuid:1876a98b-d4db-e5e7-691e-3d071499294d2009-02-17T11:35:35-07:00<p>Please provide some info about the new firmware. And maybe some example code.</p>
zagGrad on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BluezagGradurn:uuid:5078efe0-f279-7da5-6be0-ba6b7127c6362009-02-16T09:22:46-07:00<p>Oh man, I hate writing datasheets! But you're right; we've updated the code and made the SPI interface and display code much faster.<br>
I will start working on a new datasheet and post some sample code soon.</p>
33Warlord on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Blue33Warlordurn:uuid:06155422-7b1e-a21f-e624-9570a14d76c22009-02-14T16:10:27-07:00<p>Please note that these boards have been revised and now have a separate SPI input &amp; output on the back, which allows for easy daisy-chaining of modules.<br>
Even more exciting - they have updated firmware and use a bit encoding scheme to control the color, allowing for up to 196 colors (3x3x2 bits R/G/B, respectively).<br>
Are there any plans to update the data sheet, or provide sample code for this new firmware?</p>
ianhan on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/Blueianhanurn:uuid:621ae8b0-1e6d-85ce-c375-a6a8c495aeb32009-01-01T17:04:33-07:00<p>These are a lot of fun!<br>
<a href="http://flickr.com/photos/22886197@N00/3156366100/" rel="nofollow">http://flickr.com/photos/22886197@N00/3156366100/</a></p>
ElzeKool on COM-00760 - SparkFun LED Matrix - Serial Interface - Red/Green/BlueElzeKoolurn:uuid:7f986859-b756-041e-1bb2-a5fbe13aa8bd2008-12-02T00:42:14-07:00<p>Hi,<br>
For a project i'm working on I want to PWM control the LED's. I wrote new firmware for this using WinAVR.<br>
You can download my firmware from:<br>
<a href="http://www.microframework.nl/2008/12/02/rgb-led-matrix-now-with-pwmrgb-led-matrix-now-with-pwm/" rel="nofollow">http://www.microframework.nl/2008/12/02/rgb-led-matrix-now-with-pwmrgb-led-matrix-now-with-pwm/</a></p>