Shop OBEX P1 Docs P2 Docs Learn Events
Cheap 8x8 LED Displays - Page 2 — Parallax Forums

Cheap 8x8 LED Displays

2456

Comments

  • ercoerco Posts: 20,250
    edited 2013-12-26 20:02
    Golf challenge.

    Animate a sweep second hand going around a single 8x8 display.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-12-26 20:55
    erco wrote: »
    My work is done here, I have inspired Duane. I want to see a Propeller PONG game out of you before year's end, Pal!

    Don't tell anyone, but I actually have over 100 8x8 RGB arrays. I intend to be playing low res PONG on a coffee Dr. Pepper table.
    erco wrote: »
    Actually, Pong is on my mind because I have a Velleman kit to make one, from the RS clearance. Can I solder mine up before Duane slaps a few objects together and beats me to it?

    Hey, using a TV monitor is cheating! The only way Pong can be fun is if it's played on a LED matrix.

    FYI, My scrolling text was all original (except for the 5x8 font). No "slapping together objects" (though I would have been happy to slap some together, if I had found any applicable objects.) I didn't use any objects from the OBEX or elsewhere. I even typed in all the ones and zero of the "Free Design" font (thicker lines than the 5x8). While the code was written by myself, I did plagiarize from some of my earlier programs.
    Bonus points if you can make these 8x8's work using a few discrete components (no IC's) and only 8 wires. :-)

    Do relays count?

    It doesn't matter, I wouldn't know how to do it even if I could use relays.

    I thought microcontrollers were invented so we didn't have to do that sort of stuff anymore?

    I've seen 7-segment displays counting up without a microcontroller in the loop. I'm pretty clueless on how one would do such a thing.
    erco wrote: »
    Golf challenge.

    Animate a sweep second hand going around a single 8x8 display.

    With only 30 LEDs around the perimeter, you'll have to settle for the hand moving once every two seconds (on average). The second hand isn't going to look very smooth on such a small display.
  • ercoerco Posts: 20,250
    edited 2013-12-26 23:51
    Duane Degn wrote: »
    With only 30 LEDs around the perimeter, you'll have to settle for the hand moving once every two seconds (on average). The second hand isn't going to look very smooth on such a small display.

    Dunno 'bout no 30 LEDs around the periphery (I make 28) but of course you're right about resolution. Lines would be dreadful wavy pixellated things. But my failed investigation led to some fun making sweeping circles of various sizes in the video below.

    So we're both batting 500, good enough for this town.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-12-27 08:42
    erco wrote: »
    Dunno 'bout no 30 LEDs around the periphery (I make 28)

    Well there are 15 around two sides so there must be 30 around the whole thing? :smile: I should have said there are 32 since each side has 8.

    That was a nice looking spiral. What sort of algorithm did you use? Did you just eyeball it or did you calculate x and y positions?

    Edit: I don't know if you see the same thumbnails on the youtube screen after your video plays as I see but it sure looks like we aren't the only ones playing with LED arrays.
  • ercoerco Posts: 20,250
    edited 2013-12-27 09:28
    Duane Degn wrote: »
    What sort of algorithm did you use?

    HA HA HA HA. Funny Duane.

    Regarding the LED periphery count, um, just COUNT.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-12-27 09:54
    One of the things I don't like about the ebay MAX7219 boards is the way the chip sticks out to the side of the PCB.

    I just found these boards with a surface mount MAX7219.

    2.JPG

    These look like they would be easier to join together into a larger matrix.

    It would have been nice if they also had mounting holes.
  • Beau SchwabeBeau Schwabe Posts: 6,547
    edited 2013-12-27 10:03
    Here is a pin out of the 788BS 8x8 display. Orientation is with the writing "788BS" down.

    BLACK - Common Vss
    RED - Common Vdd

    ...As far as the 8-line driver using discrete components, I'll post something this weekend. Think trinary ...
    613 x 688 - 6K
  • ercoerco Posts: 20,250
    edited 2013-12-27 10:27
    Duane Degn wrote: »
    I just found these boards with a surface mount MAX7219.

    Sweet! Smaller and cheaper! That might be enough to make me and my old eyes get into SMT components, doggone you Duane!
  • PublisonPublison Posts: 12,366
    edited 2013-12-27 10:30
    Duane Degn wrote: »
    One of the things I don't like about the ebay MAX7219 boards is the way the chip sticks out to the side of the PCB.

    I just found these boards with a surface mount MAX7219.

    2.JPG

    These look like they would be easier to join together into a larger matrix.

    It would have been nice if they also had mounting holes.

    Nice Find Duane!
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-12-27 16:31
    erco wrote: »
    Interesting video attached to Duane's icstation board web page. The guy makes SMT soldering look SO easy up to the very last pin, which gives him a devil of a time. :)

    Do they not have solder wick in China?

    That was crazy. I thought he had a good system going initially but that last pin looked silly. A dab of solder wick would have cut the soldering time in half. I'm surprised they didn't redo the video. That couldn't have been a typical soldering job.

    I do a lot of surface mount soldering. It's not too bad to do a lot of it by hand. The key for me is using solder wick to clean up the blobs of solder I generally leave.

    It's important to get the first lead tacked down correctly. Once that's done go crazy with the solder and then come back and clean it up. It's really not very hard.
  • PublisonPublison Posts: 12,366
    edited 2013-12-27 16:56
    erco wrote: »

    Step 1.. Use Rosin. !

    Step 2. Bang the board on the desk while the solder is hot. That will get it off.

    It's my patented technique from the 70's, sadly my patent has run out. You are all free to use.
  • ercoerco Posts: 20,250
    edited 2013-12-31 15:10
    I finally received my Ebay China 7219 kit from post # 21. Three observations:

    1) I'm bound and determined to NOT lose the small ceramic cap that Duane lost in post #24.
    2) The 8x8 display included is much bigger than the little ones that were ten pieces for $6 from post # 2. Pic attached.
    3) Only 90-degree male connectors are provided on each side to chain together, so cables or an optional 90-degree female socket must be used, and a significant gap will exist between modules. Duane's 90-degree rotation to butt these together sideways is a great call on these, even if he loses capacitors. Betcha he'll find it come summertime, first time he goes barefoot.

    attachment.php?attachmentid=105841&d=1388531382
    700 x 400 - 89K
    8x8.jpg 89.5K
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-12-31 17:07
    erco wrote: »
    I finally received my Ebay China 7219 kit from post # 21. Three observations:

    1) I'm bound and determined to NOT lose the small ceramic cap that Duane lost in post #24.

    It's not that I really "lost" the capacitor, it just sort of disappeared. I have a small time/space anomaly beneath my desk. It occasionally enlarges to engulf surface mount capacitor, resistors and pieces of heat shrink tubing. It usually doesn't go after components with leads but apparently it was extra hungry the day I went to put together the LED PBC.
    erco wrote: »
    2) The 8x8 display included is much bigger than the little ones that were ten pieces for $6 from post # 2. Pic attached.

    I didn't know the other arrays were so small. That's cool.

    The sell just told me they're sending me another batch of 10 since the first batch never arrived.
    erco wrote: »
    3) Only 90-degree male connectors are provided on each side to chain together, so cables or an optional 90-degree female socket must be used, and a significant gap will exist between modules. Duane's 90-degree rotation to butt these together sideways is a great call on these, even if he loses capacitors.

    Yeah, they're not very chaining friendly. The ones from ICStation should be better in this regard.
    erco wrote: »
    Betcha he'll find it come summertime, first time he goes barefoot.

    Unlikely. The anomaly appears to be one directional. If the disappearing parts were just "lost" on the floor, I'd have a pile of smt caps and resistor several feet inches deep under my desk by now.
  • CuriousOneCuriousOne Posts: 931
    edited 2013-12-31 23:06
    Anyone seen them cheap with square "pixels"?
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-01-03 06:53
    Here is a pin out of the 788BS 8x8 display. Orientation is with the writing "788BS" down.

    BLACK - Common Vss
    RED - Common Vdd

    Thanks for the diagram Beau.

    Your diagram made it much easier for me to figure out how to control the small 788BS arrays with the MAX7219 PCBs.

    The small arrays I ordered over a month ago arrived yesterday. I wanted to use the PCB that came with the larger array to control the small array. After using some wire connectors between the PCB's socket and the pins on the small array, I found the two arrays did not have matching pinouts.

    Using your diagram as a guide I soon found the anodes and cathodes of the arrays were opposite from each other. I've attached my edited version of your diagram to this post. I just used MS Paint to swap the red and black squares.

    To wire the small arrays to the MAX7219 PCB, I swapped the row and column pins.

    Here's the conversion using the notation from your diagram (the first position is the position of the PCB header the second is the position of 788BS array):

    PCB Pin #, PCB position, Array Position (788BS pin #)
    1, R5, C5 (pin 6)
    2, R7, C7 (pin 15)
    3, C2, R7 (pin 2)
    4, C3, R6 (pin 7)
    5, R8, C8 (pin 16)
    6, C5, R4 (pin 12)
    7, R6, C6 (pin 11)
    8, R3, C3 (pin 4)

    9, R1, C1 (pin 13)
    10, C4, R5 (pin 1)
    11, C6, R3 (pin 8)
    12, R4, C4 (pin 10)
    13, C1, R8 (pin 5)
    14, R2, C2 (pin 3)
    15, C7, R2 (pin 14)
    16, C8, R1 (pin 9)

    I'm currently uploading a video of the small arrays scrolling text. It also shows the wire harness I used to connect the array to the PCB.
    613 x 688 - 24K
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-01-03 07:36
    I was surprised to see the size difference of these inexpensive LEDs when erco posted his photo in post #44.

    I was expecting the arrays to be the same size as Parallax's RGB array. Both of the arrays discussed in this thread are smaller than the Parallax array.

    Here's a photo of four different arrays.

    attachment.php?attachmentid=105898&d=1388761629

    The one on the far left is a RGB array I purchased off ebay. I have several PCB designs for these arrays and software to control the high power shift registers. I have a thread about this project here. The PCB above the array is one I designed which includes individual data lines for each of the three colors (I don't have software for this PCB version yet).

    The second array from the left is the RGB array Parallax sells.

    The next array (second from right) is the array which comes with a MAX7219 chip and PCB. As mentioned elsewhere in this thread there's better (IMO) version of this kit available from ICStation.

    The array on the far right is one of the small arrays available to purchase in lots of 10 for a pretty good price. The small arrays took about six weeks to arrive but I don't think this is a typical delivery time. I think they'd normally take about three weeks to arrive.

    I may make a small PCB for these smallest arrays. I purchased a batch of SOIC MAX7219 chips off ebay and I'll see if I can make a board similar to the ICStation board to control the small arrays.

    It's nice to have a couple of more options of LED arrays sizes to choose from. I've been meaning to add some "eyes" like Dickel's (see post #10) to at least one of my robots but the arrays I had were too large. One of these smaller arrays should be the right size.
    971 x 644 - 388K
  • ercoerco Posts: 20,250
    edited 2014-01-03 08:50
    Nice detail DD, but a failed desperate attempt at subterfuge. You still lost your capacitor. None of us have forgotten.

    That poor little fellow lived its whole life waiting to be installed and be useful, contributing to man's knowledge and technological evolution. Manufactured in a communist country. Travelling in a dark, tiny mail packet across the mighty ocean and responsibly, lovingly delivered into your mailbox, tendered and entrusted into your tenuous grasp. Opened into the light of a new day into the democratic freedom of the greatest country on the planet. Eager and willing to endure the scorching heat of a soldering iron to become an integral part of the circuit for which it was specified!

    Then, ignominiously lost forever into the cold, dark depths of your eternal abyss.

    Is there a SPCC?
  • Ron CzapalaRon Czapala Posts: 2,418
    edited 2014-01-03 10:03
    Adafruit has several LED arrays that are controlled via I2C. Not cheap but pretty neat

    Adafruit Bicolor LED Square Pixel Matrix with I2C Backpack
    http://www.adafruit.com/products/902#Description

    Tutorial: http://learn.adafruit.com/adafruit-led-backpack/bi-color-8x8-matrix

    attachment.php?attachmentid=105905


    ID902_LRG.jpg
    800 x 615 - 135K
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-01-03 10:41
    erco wrote: »
    You still lost your capacitor.

    The capacitor is not "lost", it's "LOST". I forgot to capitalize the acronym for Localized Opening in SpaceTime. It's not my fault (that can be proven) there's wormhole under my desk.

    Using Beau's diagram, I rigged up a bunch of wires to use the MAX7219 boards to drive the small arrays.

    Here's a video.

    The whole anode cathode swap thing seems kind of strange. They both can be driven with the same ICs (I hope), but the wiring just has to be switched around. I wonder why there's two different versions?

    Edit: It just occurred to me, there's a lot more (up to 8 times) the current going through the row pins. It will make a difference which version is used. I hope the common cathode anode version isn't going to damage the MAX7219. Should these be driven with a different chip?
  • ercoerco Posts: 20,250
    edited 2014-01-03 10:56
    Excellent work, DD! I'm going to need 25 of those modules with bluetooth wireless, on my desk first thing Saturday morning. Can you comply?
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-01-03 11:17
    erco wrote: »
    Excellent work, DD! I'm going to need 25 of those modules with bluetooth wireless, on my desk first thing Saturday morning. Can you comply?

    What modules? The only "modules" are the ones off ebay with the bulky '7219 chip on the side.

    And yes, I could get them to you by a Saturday.

    I am wondering about having some PCBs make for the small arrays but I'm not sure if the MAX7219 can handle the common anode rows. I'll need to read the datasheet to make sure it can handle the switched polarity of the LEDs.

    I've gotten pretty comfortable with DipTrace so let me know if you want a board made for any of these arrays.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-01-03 15:49
    Duane Degn wrote: »
    Should these be driven with a different chip?

    After a bit more thinking, I'm pretty sure it won't make a difference to the MAX7219. The pins do the same amount of work whether they're connected to rows or columns.

    I'm having a bit a trouble with your modules erco. I'm not sure where to fit the bluetooth?

    attachment.php?attachmentid=105920&d=1388792341

    I'm not sure there's enough space on the board for all the traces there needs to be.

    Let me know if any of you seriously would like a PCB to use with the small arrays. I don't know if I want one enough to put in the effort it would require (if it's even possible).

    I would probably be easier to add a connector for a ribbon cable and move the MAX7219 chips off board.

    The displays are 0.8 inches on each edge. The horizontal headers take up the whole width of the display. There's a small about of room above and below the headers.

    I was hoping the '7219 chip would fit within the boundaries of the display similar to the ICStation displays. It's not looking like these will be ready Saturday morning.
    397 x 398 - 20K
  • ercoerco Posts: 20,250
    edited 2014-01-03 15:51
    Just kidding, Duane. I think your plate's pretty full without me adding silly demands. You apparently have a lot more play time than me these days.

    I put in a plug for my hero DD at http://forums.parallax.com/showthread.php/152890-Common-Anode-displays.-what-would-you-do?p=1232456&viewfull=1#post1232456
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-01-03 19:04
    erco wrote: »
    Just kidding,

    Ditto, (mostly). I do want to try to make a PCB for the small arrays.

    I've been working at a design a bit. It might be possible to fit all the traces I'll need within the dimensions of the array, but I'm still not sure I'll be able to squeeze everything in. I suppose I could go to four layers if needed. I'm pretty sure I could get everything to fit on a four layer board.

    I'll have to figure out how to link the boards. Maybe I could use some surface mount headers? The through hole headers are too close to the edge to use normal right angle connectors.
    erco wrote: »


    Thanks for the plug but the 7-segment displays aren't quite as symmetrical as these 8x8 arrays. I do think the MAX7219 could drive the common anode arrays but the software would need to be heavily modified. I'll probably chime in on the other thread.
  • ercoerco Posts: 20,250
    edited 2014-01-03 19:09
    Duane Degn wrote: »
    Thanks for the plug but the 7-segment displays aren't quite as symmetrical as these 8x8 arrays. I do think the MAX7219 could drive the common anode arrays but the software would need to be heavily modified. I'll probably chime in on the other thread.

    The hardware's all done for you, Pal, and cheap too. I have one of these in my pile of "to test" parts.

    http://www.ebay.com/itm/MAX7219-Red-Module-8-Digit-7-Segment-Digital-LED-Display-Tube-For-Arduino-MCU-/360794796766?pt=LH_DefaultDomain_0&hash=item54010bb2de
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-01-03 23:30
    What do you know? I was able to fit all the traces onto the board after all.

    I still need to clean it up and add some text but I think all the needed connections have been made. I had to break a few rules to fit all the traces on to the board. I normally don't place vias inside of a pad but as you can see most of the pads end up with a via through them.

    attachment.php?attachmentid=105925&d=1388820034

    I initially planned to place the single resistor and the capacitor on the bottom side of the board. I thought parts on the bottom of the board could cause trouble when mounting the boards so I also included pads to allow the cap and resistor to be located in the top edge of the board. The user can decide which position they'd like to use.

    The boards should cost about $3.20 for a set of three at OSH Park. I'll purchase one set of three but if they work correctly, I'll probably use one of the other fab houses to have more boards made.

    I like DipTrace. It's awfully fun to be able to have a custom board made so easily.
    294 x 300 - 12K
  • ercoerco Posts: 20,250
    edited 2014-01-04 07:26
    Wow, do you never sleep? You need some kids. Pronto! :)

    Try this next: http://www.youtube.com/watch?v=r7jDyz4gjSs#t=136
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-01-04 07:56
    erco wrote: »
    You need some kids. Pronto!

    We tried that, but once their pictures start appearing on milk cartons we return them.
    erco wrote: »

    It looks like the PC is doing most of the work in that one.

    I personally think these small arrays are well suited for small displays. I might try a 3x2 configuration but I'll save larger configurations for my RGB arrays.

    I would be cool to use the displays for real time graphing. So far I've only graphed the number of times I press the spacebar in a given time.
  • ICStationICStation Banned Posts: 12
    edited 2014-01-06 00:07
    Hi Duane, this is Wanita, Customer Service of ICStation. Thank you for your finding and posting!
    Duane Degn wrote: »
    One of the things I don't like about the ebay MAX7219 boards is the way the chip sticks out to the side of the PCB.

    I just found these boards with a surface mount MAX7219.

    2.JPG

    These look like they would be easier to join together into a larger matrix.

    It would have been nice if they also had mounting holes.
Sign In or Register to comment.