background image

 

 

3216  Bicolor  LED  3mm  (5mm) 

  Dot Matrix Display 

Information Board 

User’s Guide

 

 
 
 
 
 
 
 
 
 
 

”

 2004-2009 Sure Electronics Inc.                                                                                                                DE-DP14112&DE-DP14211 _Ver1.1 

Summary of Contents for 3216

Page 1: ...3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board User s Guide 2004 2009 Sure Electronics Inc DE DP14112 DE DP14211 _Ver1 1 ...

Page 2: ...d 3 1 2 2 Connection of Many Info Boards 4 Chapter 2 Hardware Detail 6 2 1 Hardware 6 2 2 Port Definition 6 2 3 Display Memory 7 2 4 Command Format 8 2 5 Command Summary 9 Chapter 3 Electrical Characteristics 11 Chapter 4 Mechanical Drawing 12 Chapter 5 Appendix 14 5 1 Schematic 14 5 2 Sample Code 15 5 3 Heat Dissipation 22 5 3 1 3216 Bicolor LED 3mm Dot Matrix Display Info Board 22 5 3 2 3216 Bic...

Page 3: ...3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board 2004 2009 Sure Electronics Inc DE DP14112 DE DP14211_Ver1 1_Page ii NOTES Product Version Ver 1 0 Document Version Ver 1 1 ...

Page 4: ... is recommended to connect up to 2 boards of the same kind in series for wider applications such as info display in banks stores households and so on You may refer to the following table for members of this series TABLE 1 1 3216 BICOLOR LED DOT MATRIX DISPLAY INFO BOARD SERIES Product Number Product Name DE DP14112 3216 Bicolor LED 3mm Dot Matrix Display Information Board DE DP14211 3216 Bicolor L...

Page 5: ...GURE 1 2 FRONT VIEW OF 3216 LED 5MM DOT MATRIX DISPLAY INFO BOARD FIGURE 1 3 BACK VIEW OF 3216 LED 3MM DOT MATRIX DISPLAY INFO BOARD FIGURE 1 4 BACK VIEW OF 3216 LED 5MM DOT MATRIX DISPLAY INFO BOARD 2004 2009 Sure Electronics Inc DE DP14112 DE DP14211_Ver1 1_Page 2 ...

Page 6: ...ACCESSARIES Note 1 Other driver board can be used You may refer to 2 2 Port Definition to do relative adjustments 2 Sample codes are provided in this manual for reference 1 2 1 Connection of One Info Board and The Driver Board Connect BR1 of the info board and BR1 of the driver board with a 16 pin IDC cable FIGURE 1 6 CONNECTION OF THE DRIVER BOARD AND ONE INFO BOARD 2004 2009 Sure Electronics Inc...

Page 7: ...nfo board and the corresponding 5V GND of terminal J1 on the next info board with auxiliary power cords The auxiliary supply should be able to output DC5V 4A Up to two info boards are recommended to be connected in series Connect BR1 of the driver board and BR1 of the info board with a 16 pin IDC cable Then as shown in figure 1 7 connect two 3216 info boards and the driver board with two16 pin IDC...

Page 8: ...M LED DOT MATRIX DISPLAY INFO BOARDS IN SERIES Program the chip on the driver board to control the LED display Note If you use the sample codes all the boards will display the same content 2004 2009 Sure Electronics Inc DE DP14112 DE DP14211_Ver1 1_Page 5 ...

Page 9: ...nal 5V J1and J2 for external power input when more info boards are connected in series 2 2 Port Definition TABLE 2 1 PIN DEFINITION OF BR1 Pin Number Pin Name Function Description 8 11 13 15 GND GND 12 14 16 VCC Power Supply 3 4 6 9 10 NC No Connection 1 CS Chip Select signal input 2 CLK Chip Select clock signal input 5 WR WRITE data clock input 7 DATA Data Input TABLE 2 2 PIN DEFINITION OF BR2 Pi...

Page 10: ...r Com3 Com2 Com1 Com0 Addr Out0 01H 00H Out1 03H 02H Out2 05H 04H Out3 07H 06H Out4 09H 08H Out5 0BH 0AH Out6 0DH 0CH Out7 The rest green LEDs of the first matrix 0FH The upper half green LEDs of the first matrix 0EH Out8 11H 10H Out9 13H 12H Out10 15H 14H Out11 17H 16H Out12 19H 18H Out13 1BH 1AH Out14 1DH 1CH Out15 The rest green LEDs of the second matrix 1FH The upper half green LEDs of the sec...

Page 11: ...CS3ǃCS4 of HT1632C must be set to low before data or command is sent to this HT1632C When the transmission is complete CS must be reset to high Enabling U2 HT1632C to individually send data to some address space is taken as an example The timing diagram is shown as follows 2004 2009 Sure Electronics Inc DE DP14112 DE DP14211_Ver1 1_Page 8 ...

Page 12: ...c DE DP14112 DE DP14211_Ver1 1_Page 9 Note You may refer to HT1632C data sheet for details 2 5 Command Summary Command summary is shown in the following table For this info board these commands WRITE SYS EN LED On LED Off RC Master Mode COM Option and PWM Duty are recommended to be used Using the commands which are not recommended may cause abnormal display 0 0 ĂĂ C8 C0 command_1 C8 C0 command_n ...

Page 13: ...Hardware Detail FIGURE 2 4 COMMAND SUMMARY 2004 2009 Sure Electronics Inc DE DP14112 DE DP14211_Ver1 1_Page 10 ...

Page 14: ...TABLE 3 1 ELECTRICAL CHARACTERISTICS Parameter Chapter 3 Electrical Characteristics Symbol Value Unit Operating Voltage Vin 5 V Storage Temperature Tstg 20 to 80 ć Average Operating Current Iavrg 0 5 A Maximum Operating Current All LEDs on 100 PWM duty cycle 1 37 A Imax DE DP14112 DE DP14211_Ver1 1_Page 11 ...

Page 15: ...04 2009 Sure Electronics Inc Chapter 4 Mechanical Drawing FIGURE 4 1 MECHANICAL DRAWING OF ONE 3216 BICOLOR LED 3MM DOT MATRIX DISPLAY INFO BOARD Symbol L1 L2 L3 L4 L5 R inch 5 05 4 65 3 20 2 80 2 54 0 06 mm 128 27 118 11 81 3 71 1 64 4 1 50 DE DP14112 DE DP14211_Ver1 1_Page 12 ...

Page 16: ...rd FIGURE 4 2 MECHANICAL DRAWING OF ONE 3216 BICOLOR LED 5MM DOT MATRIX DISPLAY INFO BOARD Symbol L1 L2 L3 L4 L5 R inch 9 50 8 90 5 80 5 20 4 74 0 06 mm 241 30 226 06 147 32 132 08 120 40 1 50 2004 2009 Sure Electronics Inc DE DP14112 DE DP14211_Ver1 1_Page 13 ...

Page 17: ...1_7 Cathode_3_29 DATA_OUT C12 104 1 2 Cathode_1_19 Cathode_1_14 Cathode_1_24 Cathode_2_17 Cathode_2_23 Anode_4_1 R92 Cathode_3_9 33R Anode_4_0 R71 Anode_4_0 R36 33R Cathoed_4_26 R112 CS3 C2 10pF 1 2 R7 33R R52 33R Cathode_1_21 Cathode_2_12 Cathode_2_4 Cathoed_4_7 Cathode_3_12 C10 10V 100uF 1 2 R63 33R Cathode_1_12 Anode_4_7 Cathode_3_30 Anode_1_0 Cathoed_4_17 Cathoed_4_0 Cathoed_4_25 Cathode_3_8 3...

Page 18: ...MCU define DAT RC5 Data line simulating SPI communication this port is also the data line of SPI communication integrated by MCU Following is the functions defined in a way of macro definition define CLK_DELAY NOP Following definition facilitates compilation of HT1632C control commands define SLAVE_MODE 0b100000100000 HT1632C Set slave mode and clock source from external clock define RC_MASTER_MOD...

Page 19: ...Argument void __CONFIG INTIO WDTDIS PWRTEN MCLREN UNPROTECT BORDIS BORV25 PLLEN DEBUGEN __CONFIG VCAPDIS Constant Definition define CHIP_MAX 4 Four HT1632Cs on one board Function Prototype Declaration void SystemInit void System Initialization void SetHT1632C_As3208 void Set HT1632Cs work on mode 32 8 void OutputCLK_Pulse void CLK pin outputs a clock pulse void OutputA_74164 unsigned char x CS pin...

Page 20: ...eading and writing of PORTB and PORTC Input Argument void Output Argument void void SystemInit void IRCF1 1 IRCF0 0 Set the frequency of the internal oscillator as 8MHz OSCTUNE 0x1f Oscillator at the maximum frequency ANSELB 0x00 PORTB as a digital I O port TRISB 0x00 PORTB as an output port PORTB 0x00 Clear PORTB output PORTB s status is uncertain after power on reset TRISC0 1 PORTC0 SW1 port as ...

Page 21: ... COM CommandWriteHT1632C PWM_10 PWM 10 16 duty Function Name OutputCLK_Pulse Function Feature enable CLK_74164 pin to output a clock pulse Input Argument void Output Argument void void OutputCLK_Pulse void Output a clock pulse CLK_74164 1 CLK_DELAY CLK_74164 0 CLK_DELAY Function Name OutputA_74164 Function Feature enable pin A of 74164 to output 0 or 1 Input Argument x if x 1 74164 outputs high If...

Page 22: ...mmand word mask upper four bits ChipSelect 0 Disable all HT1632Cs CLK_DELAY ChipSelect 1 Enable all HT1632Cs CLK_DELAY for i 0 i 12 i Write command words in HI1632C register CLK 0 CLK_DELAY j command 0x0800 Return the MSB command command 1 Move the control character to the left one j j 11 Position the value at the LSB DAT j Send the value to the data port CLK_DELAY CLK 1 Data transmission data val...

Page 23: ...LAY for i 0 i 7 i Write address to HT1632C register CLK 0 Clock line is 0 CLK_DELAY temp address 0x40 Return the MSB address address 1 Move the control character to the left one temp temp 6 Position the value at the LSB DAT temp Send the value to the data port CLK_DELAY CLK 1 Data transmission CLK_DELAY Function Name ChipSelect Function Feature enable HT1632C Input Argument select HT1632C to be se...

Page 24: ...putA_74164 1 CLK_DELAY for tmp 0 tmp CHIP_MAX tmp OutputCLK_Pulse else OutputA_74164 1 CLK_DELAY for tmp 0 tmp CHIP_MAX tmp OutputCLK_Pulse OutputA_74164 0 CLK_DELAY OutputCLK_Pulse CLK_DELAY OutputA_74164 1 CLK_DELAY tmp 1 for tmp select tmp OutputCLK_Pulse Function Name SPI_ModelConfigure Function Feature configure the corresponding data transfer port of PIC microcontroller for SPI communication...

Page 25: ...mode of PIC microcontroller Input Argument data bytes of data to be transmitted Output Argument void void SPI_DataSend const unsigned char data SSPBUF data Start sending while SSPIF Wait for data being sent SSPIF 0 Clear flag 5 3 Heat Dissipation Following are pictures of heat dissipation gained by Fluke Ti20 Thermal Imager in the condition of info board working at full load all LEDs on and 100 PW...

Page 26: ...is much higher when 3216 bicolor LED 5mm dot matrix display info board product works at full load Take care and ensure good heat dissipation when using this product 5 3 2 3216 Bicolor LED 5mm Dot Matrix Display Info Board FIGURE 5 4 HEAT DISTRIBUTION OF HT1632C S CENTER ON THE BACK PANEL 2004 2009 Sure Electronics Inc DE DP14112 DE DP14211_Ver1 1_Page 23 ...

Page 27: ...Appendix FIGURE 5 5 HEAT DISTRIBUTION OF THE FRONT PANEL Note It s recommended to use these products in a good thermal environment 2004 2009 Sure Electronics Inc DE DP14112 DE DP14211_Ver1 1_Page 24 ...

Page 28: ... Sure Electronics Co Ltd 5F Zone A Qinhuai Technology Innovation Center 105 2 DaMing Rd ZIP 210022 Nanjing P R China Tel 86 13601408832 For technical questions only 86 25 66606340 English service from GMT1 10AM Fax 86 25 66606341 866 Website www sure electronics com www sure electronics net DE DP14112 DE DP14211_Ver1 1_Page 25 ...

Reviews: