8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)

LCD, TFT, OLED, LED modules
Post Reply
admin
Site Admin
Posts: 865
Joined: Sun Aug 05, 2012 4:02 pm

8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)

Post by admin » Fri Oct 25, 2013 2:41 pm

[IMAGE TBA]

Description:
This 8x8 dot matrix LED (red) module is ideally suited for use with various microcontrollers such a Pic, Atmel AVR, and Arduino.

Display colour: Red
Type: LED dot matrix
Brightness: High brightness
Model: CL1588BS
Module size: 37.7X37.7X7.3 (mm)
Pixel diameter: Ф3.75 (mm)
Pixel pitch: 4.76 * 7 (mm)


Example Arduino Application:

Image

Example Arduino sketch using HCDotMatrix library:

Code: Select all

/* FILE:    ARD_HC_Dot_Matrix_Example_1
   DATE:    19/09/13
   VERSION: 0.1

REVISIONS:

19/09/13 Created version 0.1

This is an example of how to use the Hobby Components 8x8 LED dot matrix 
display module (HCOPTO0011)

To connect the LED module to an Arduino development board please follow 
the pinout below:

MATRIX LED    ARDUINO

R1            D9
R2            D4
R3            A0 (D14)
R4            D6
R5            D10
R6            A1 (D15)
R7            D11
R8            A3 (D17)

C1*           D5
C2*           D12
C3*           D13 
C4*           D8
C5*           A2 (D16)
C6*           D7
C7*           D3
C8*           D2

* ALL MATRIX COLOUMN PINS MUST BE CONNECTED TO THE ARDUINO BOARD VIA A 220R
RESISTOR OTHERWISE YOU MAY RISK DAMAGING THE MODULE.

HCOPTO0011 8X8 MATRIX LED PINOUT:

PIN  1   2   3   4   5   6   7   8
LED  C8  C7  R2  C1  R4  C6  C4  R1

PIN  9   10  11  12  13  14  15  16
LED  R5  R7  C2  C3  R8  C5  R6  R3


You may copy, alter and reuse this code in any way you like, but please leave
reference to HobbyComponents.com in your comments if you redistribute this code.
This software may not be used directly for the purpose of selling products that
directly compete with Hobby Components Ltd's own range of products.

THIS SOFTWARE IS PROVIDED "AS IS". HOBBY COMPONENTS MAKES NO WARRANTIES, WHETHER
EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ACCURACY OR LACK OF NEGLIGENCE.
HOBBY COMPONENTS SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR ANY DAMAGES,
INCLUDING, BUT NOT LIMITED TO, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY
REASON WHATSOEVER.
*/

/* Include the 7 segment display library */
#include <HCDotMatrix.h>

/* Create an instance of HCDotMatrix(pinout). Where pinout is the DIO pin 
   connections to the module in the order of R0...R7 and C0...C7 */
HCDotMatrix HCDotMatrix(9,4,14,6,10,15,11,17,5,12,13,8,16,7,3,2);

/* Stores the position index for the portion of text to diplay */
int TextPosition;
/* Used to control the scroll speed. */
int ScrollCounter = 0;

void setup()
{

}

/* Main program */
void loop()
{
  /* Increment the scroll counter */
  ScrollCounter++;
  
  /* Has enough time passed to move the text by one position ?*/
  if (ScrollCounter >= 100)
  {
    /* Have we got to the end of the text (24 characters x 8 pixels wide)? 
       If so go back to the start.*/
    if (TextPosition > (24*8))
      TextPosition = 0;
   
    /* Output a string to the matrix buffer and specify the display 
       column position */
    HCDotMatrix.print("WWW.HOBBYCOMPONENTS.COM", TextPosition);
    
    TextPosition++;
    ScrollCounter = 0;
  }
  
  /* Refresh the display. This must be run continuously */
  HCDotMatrix.UpdateMatrix();
}
Example Sketch using HCDotmatix and HCTimer2 Libraries:

Code: Select all

/* FILE:    ARD_Dot_Matrix_Example_2
   DATE:    19/03/13
   VERSION: 0.1

REVISIONS:

19/09/13 Created version 0.1

This is an example of how to use the 8x8 LED dot matrix display module (HCOPTO0011).
This example uses the HCTimer2 library as well as the HCDotMatrix library to keep 
the LED's regularly updated whilst keeping the main loop completely free for other 
code.

To connect the LED module to an Arduino development board please follow 
the pinout below:

MATRIX LED    ARDUINO

R1            D9
R2            D4
R3            A0 (D14)
R4            D6
R5            D10
R6            A1 (D15)
R7            D11
R8            A3 (D17)

C1*           D5
C2*           D12
C3*           D13 
C4*           D8
C5*           A2 (D16)
C6*           D7
C7*           D3
C8*           D2

* ALL MATRIX COLOUMN PINS MUST BE CONNECTED TO THE ARDUINO BOARD VIA A 220R
RESISTOR OTHERWISE YOU MAY RISK DAMAGING THE MODULE.

HCOPTO0011 8X8 MATRIX LED PINOUT:

PIN  1   2   3   4   5   6   7   8
LED  C8  C7  R2  C1  R4  C6  C4  R1

PIN  9   10  11  12  13  14  15  16
LED  R5  R7  C2  C3  R8  C5  R6  R3


You may copy, alter and reuse this code in any way you like, but please leave
reference to HobbyComponents.com in your comments if you redistribute this code.
This software may not be used directly for the purpose of selling products that
directly compete with Hobby Components Ltd's own range of products.

THIS SOFTWARE IS PROVIDED "AS IS". HOBBY COMPONENTS MAKES NO WARRANTIES, WHETHER
EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ACCURACY OR LACK OF NEGLIGENCE.
HOBBY COMPONENTS SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR ANY DAMAGES,
INCLUDING, BUT NOT LIMITED TO, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY
REASON WHATSOEVER.
*/

/* Include the 7 segment display library */
#include <HCDotMatrix.h>

/* Include the HCTimer2 library */
#include <HCTimer2.h>

/* Create an instance of HCDotMatrix(pinout). Where pinout is the DIO pin 
   connections to the module in the order of R0...R7 and C0...C7 */
HCDotMatrix HCDotMatrix(9,4,14,6,10,15,11,17,5,12,13,8,16,7,3,2);

int TextPosition;

void setup()
{  
  /* Initialise the HCTimer2 library with a 2.04mS interval. 
     See HCTimer2 library for more information */ 
  HCTimer2Init(T2_CLK_DIV_128, 254);
}

/* Main program */
void loop()
{
  for (TextPosition = 0; TextPosition <= (24*8); TextPosition++)
  {
    /* Output a string to the matrix buffer and specify the display 
       column position */
    HCDotMatrix.print("WWW.HOBBYCOMPONENTS.COM", TextPosition);
    delay(80);
  }
}


/* Use the HCTimer2 Timer 2 interrupt to constantly refresh the 
   matrix LED display. */
void HCTimer2()
{
   /* Output the current buffer to the matrix */
   HCDotMatrix.UpdateMatrix();
}
Adruino Libraries:
The HCDotmatix library for the above example sketches can be found in the software section of this forum here and the optional HCTimer2 library can be found here

pascalou
Posts: 1
Joined: Thu Dec 05, 2013 1:23 pm

Re: 8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)

Post by pascalou » Thu Dec 05, 2013 1:32 pm

After a few hours of working, I need help for the HCOPTO0014 led matrix module. (this is not the same as HCOPTO0011, the 0014 have a 7912 controler on board)

The module HCOPTO0014 doesn't work properly with the 'matrix' and 'sprite' Arduino library.
Please, post library and/or example code because nothing is working :-(

PS: Some code works with this module but not trought a library...
No sprite, no advanced function avaible...

Please help ;-)

andrew
Site Admin
Posts: 1374
Joined: Sun Aug 05, 2012 4:15 pm

Re: 8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)

Post by andrew » Thu Dec 05, 2013 2:01 pm

This module does not include a controller and is simply a grid of LED's connected in a matrix. You can find our own library and example sketch in the first post of this thread. Also note that you need to use 220R resistors in line with the LED's if you are connecting it directly to an Arduino (see comments in the example sketches) otherwise you will damage both the module and your Arduino.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

trickybilly
Posts: 1
Joined: Sat Aug 05, 2017 1:11 pm

Re: 8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)

Post by trickybilly » Sat Aug 05, 2017 1:19 pm

Dear Hobbycomponents,
nice to be here on your forums. The experiment works for me, however I have got 2 constant horizontal lines. You can see the display showing "IIII" as I programmed but only the upper part of the "IIII"s are visible nothing under the parallel constant lines.
Image[/url]

andrew
Site Admin
Posts: 1374
Joined: Sun Aug 05, 2012 4:15 pm

Re: 8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)

Post by andrew » Sun Aug 06, 2017 8:39 am

Can you confirm the following things for me:

What Arduino board are you using?

There should be a part number stamped on the side of the module, Is it a CL1588BS or something else?

Are you using the HCDotMatrix library and the same pinout as described in one of the example sketches?
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Post Reply

Return to “Display”