View unanswered posts | View active topics
It is currently Mon Apr 23, 2018 9:40 am
|
Page 1 of 1
|
[ 5 posts ] |
|
8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)
Author |
Message |
admin
Site Admin
Joined: Sun Aug 05, 2012 4:02 pm Posts: 708
|
 8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)
[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: Example Arduino sketch using HCDotMatrix library: |  |  |  | Code: /* 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: /* 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
|
Fri Oct 25, 2013 2:41 pm |
|
 |
pascalou
Joined: Thu Dec 05, 2013 1:23 pm Posts: 1
|
 Re: 8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)
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 
|
Thu Dec 05, 2013 1:32 pm |
|
 |
andrew
Site Admin
Joined: Sun Aug 05, 2012 4:15 pm Posts: 767
|
 Re: 8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)
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.
|
Thu Dec 05, 2013 2:01 pm |
|
 |
trickybilly
Joined: Sat Aug 05, 2017 1:11 pm Posts: 1
|
 Re: 8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)
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.  [/url]
|
Sat Aug 05, 2017 1:19 pm |
|
 |
andrew
Site Admin
Joined: Sun Aug 05, 2012 4:15 pm Posts: 767
|
 Re: 8 x 8 LED Dot Matrix Module CL1588BS (HCOPTO0011)
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.
|
Sun Aug 06, 2017 8:39 am |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: Google [Bot] and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|