Home
3216 Bicolor LED 3mm (5mm) Dot Matrix Display Information Board
Contents
1. ZASN ai zr 7001 AOL noo AOL T Ase ZX8ASW sm ZXSASN e s ST BI ofe ST a Wh ofo ET l ofo Ht e Zi ofo tT x Tele 6 x Lid OL ele 6 x aN GNO mnn Ino viva cmn NI VIVG Adi i ag MINA P ofo sc 19 Zele Ino so E elet 55 zaa rg OS at0LOHPL 1no Sw zi TL 0 T NI EM ayn OS Qt0LOHPL LAO Vivd 8 5 3 E NI Viva arn orn fi OS QvoLoHrL OS QVOLOHtL inox F T NIS n ha E vo EL OLOH 89 cme Fg Mer n 11555 eine xm NI 55 Ta F wo VIT GND in m zss am 8NO2 LEMOM senam 8WOO EMOM SS aa NOD 0 MOM ssA om 75 22 7 Pending OINOO 6ZMOM ETE OLWOO 62MOH yr Ssh IOD BZMOH SSA ZIWODILEMOH ESTER id LE i INOD SZMOM spouted id EINODRZMOI E i vINOD SCMOH
2. dud ES m i L sms aal wale sees so zise BOER RRBs SR ERS NY P P GL Z Le apo 2 1 Z epouy Pss VN NN NY 2 WEE ot 9 2260 Zoia 529 9 d epouy ELE 572 apon 2 17H FRAIS ERE A or N TOT soy Some VAZE or N N IT pony Zi Z SEE YCH Y Z Spouv KZ poeg z 2 apouy HEP 72 SN SN E SEE 15 NY SN 6 9 LLZ 90165 WEE 02 E_Z Z apoye 519 opouy Sr Y 3 WEE Ini Y 9 6 1 epouy 01 2 oe Ze epou i epowe Z Z opony Spore WEE i E spouje pr apouy 6 Z WEE 1 2 epouy i emug iE 1 2 epouy Spore MEE uj 5 NX NX MEE 5 SX Sh SS epon 8 Z Hee TH 2 Sp 0727 5 Te apoy E 8L SI spouy ENEL i a SL amp Spouy Ei TH _N _N 6L r epou poea z N BL epouy apoye WEE z v SX ISN 22 pane iH Nx 2 qq T aa TU DTZ pow 071756697 2004 2009 Sure Electronics Inc ge 14 DE DP14112 amp DE DP14211 Ver1 1 Pa 3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board 5 2 Sample Code The driver board DE DD210 integrating PIC16F723 as its master chip is used as a
3. 000 56 5 o om 000000000000 000000000000 OOOOOOOOOOOO 000000000000 000000000000 D0009 0 0 a eeecececeeccoce QDOHOOOHOOOOOOD OOOOOOHOOOOO OOOOOOOOOOOO 000000000006 e 69660666666 69 OOODOOOOOOOOO 66666666 6 sz outeur Spins z WT M ro a Oe booeooo 6s 77 gt a 4 iii iai mm a v BB OI em Lp 000000 f 66 DE DP14112 amp DE DP14211 Ver1 1 Page 4 2004 2009 Sure Electronics Inc Overview FIGURE 1 8 CONNECTION OF TWO 3216 BICOLOR 5MM LED DOT MATRIX DISPLAY INFO BOARDS IN SERIES m s BILE 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 amp DE DP14211 Ver1 1 Page 5 e 3216 BICOLOR LED 3MM SURE 5MM DOT MATRIX DISPLAY ew electronics INFORMATION BOARD USER S GUIDE Chapter 2 Hardware Detail 2 1 Hardware 1 8 pieces of 8 8 bicolor LED dot matrix Light emitting diameter of DE DP14112 is 3mm Light emitting diameter of DE DP14211 is 5mm LED drive chip U2 U3 U5 and U6 four HT1632C chips QFP packaging 16 pin male sockets BR1 and BR2 used for data clock control signal and
4. 0 CLK_DELAY RAP SECS REARS EAA a A LAER ONUS CR Ne aA CREED LS oe NRE c t eee Function Name OutputA_ 74164 Function Feature enable pin A of 74164 to output O or 1 Input Argument x if x21 74164 outputs high If x7 1 74164 outputs low Output Argument void kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk void OutputA 74164 unsigned char x Input a digital level to 74164 if x 1 A_74164 1 CLK_DELAY else A_74164 0 CLK_DELAY DE DP14112 amp DE DP14211 Ver1 1 Page 18 2004 2009 Sure Electronics Inc 3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Function Name CommandWriteHT1632C Function Feature Write control commands to all HT1632Cs Input Argument command words written to command specifically stated in declare function Output Argument void Argument Description compile control commands to all external HT 1632Cs for the requirement of the project kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk void CommandWriteHT1632C unsigned int command unsigned char i unsigned int command command amp OxOfff 12 bit command word mask upper four bits ChipSelect 0 Disable all HT1632Cs
5. Te PI NODIsZMOI Ze sanam SINOO FZMOM EURO zaono L n 1 EZMOU Wt pm raman ezmoy O aan LZMOM aan Reo ozmou 6LMOH LEE 8LMOM simoy S SED 1LMOM viva 9LMOH viva Sio LEE ING viva Em tou 5 ing viva UM simoy 9 paoue 110 HM ZE aer Piracy EEE INO HM Z os timo LOP Si r paoue a so ELMON So simoy US peoureo E INAS r pam 735 8L mas ZLMOY L f a 9 950 LLMOM 02 560 timoy 28 si arent Sr 29 dSO OZESLLH aie 0LMOH 6MOM S dJO Oc 9LLH MOI E 8MOY T 1MON LEA O mon SMOM Lx IY spuy 9 awon SMOH S epouy E wos SOM Spoue spouy 62 105 epouy 82 EMON EEE Sy apuy 82 Won Mou WE 909 EMO ENEA enoa EMOH sepu 92 awon Er e vera 55 209 ZMON fe mes MOY Lea n Zp epouy wos imo L g epouy SE won 5 Top Spouy wes E epouy Spouie Uy sn sn Te OF E apone ele ESRB BREE BN else sss dd baba PRES ees ko o tola toa co 933997 gt X mu ET lalalalalala d 292 es EE I bebele b Leb eth bbl al fd saxis mmm m E ESSE DE 5 EEPRERp AS SN a
6. 5V supply input 4 Auxiliary power supply terminal 45V 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 Function Description 8 11 13 15 GND 3 4 6 9 10 GND 12 14 16 Power Supply DATA Data Input TABLE 2 2 PIN DEFINITION OF BR2 DE DP14112 amp DE DP14211 Ver1 1 Page 6 2004 2009 Sure Electronics Inc 3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board 2 3 Display Memory Display is controlled by modifying the data stored in RAM of HT1632Cs Every two 8 8 dot matrix displays on the board are controlled by one HT1632C as shown in the following figure 2 2 The first half of HT1632C s addresses control the circuits of green LEDs and the rest addresses control circuits of red LEDs The distribution of HT1632Cs corresponding address is shown as follows TABLE 2 3 THE CORRESPONDING ADDRESS OF ONE HT1632C The rest green LEDs of the first The upper half green LEDs of matrix the first matrix The rest green LEDs of the The upper half green LEDs of second matrix the second matrix The rest red LEDs of the first The upper half red LEDs of the matrix first matrix The rest red LEDs of the The upper half red LEDs of the second matrix second matrix 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211 Ver1 1 Page 7 Hardware Detail FIGURE 2 1 THE CORRESPONDING ADDRESS OF ONE HT1632C Red LEDs I
7. include Declare h EAN ERIN EE LN Ne eS ORR Te EIE aia ice Oe FOND REE EENE EENES LRAT Ta TN Oe UXOR NEN EREET Function Name device file configuration Function Feature configure MCU s working modes and status Input Argument INTIO INTOSCIO internal oscillator OSC1 and OSC2 used as I O ports INNDTDIS disable watchdog timer PWRTDIS disable power delay timer IIMCLREN enable MCLR IIUNPROTECIT do NOT protect the code BORDIS brown out reset disable BORV25 brown out reset voltage set to 2 5V nominal PLLEN IIDEBUGEN in circuit debugger enabled II IINCAPDIS voltage regulator capacitor disabled Output Argument void II III TI TIO III II TI TI III III III II III III III II III III III III II III CONFIG INTIO amp WDTDIS amp PWRTEN amp MCLREN amp UNPROTECT amp BORDIS amp BORV25 amp PLLEN amp DEBUGEN CONFIG VCAPDIS Constant Definition define CHIP MAX 4 Four HT1632Cs on one board Function Prototype Declaration void Systemlnit void ISystem Initialization void SetHT1632C As3208 void ISet HT1632Cs work on mode 32 8 void OutputCLK Pulse void CLK pin outputs a clock pulse void OutputA 74164 unsigned char x CS pin output a level void ChipSelect int select Chip selection void CommandWriteHT1632C unsigned int command Write command to ALL I HT1632Cs void AddressWriteHT 1632C unsigned char address Wr
8. Bicolor LED 5mm Dot Matrix Display Info Board 23 Chanter 6 Contact US Ed Ra EIDEM I EF EE EIE 25 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211 Ver1 1 Pagei 3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board NOTES Product Version Ver 1 0 Document Version Ver 1 1 DE DP14112 amp DE DP14211 Ver1 1 Page ii 2004 2009 Sure Electronics Inc 3216 BICOLOR LED 3MM SURE 5 DOT MATRIX DISPLAY electronics INFORMATION BOARD USER S GUIDE Chapter 1 Overview 1 1 Overview Thanks for using 3216 bicolor LED dot matrix info board series by Sure Electronics Integrating four HT1632Cs as driver chips on each info board these info boards support 16 level PWM brightness control and all LED dot matrixes displayed are mapped to the RAM of HT1632Cs Peripheral circuits are required to light up LEDs via the ports on the boards providing red green and even yellow display when red and green LEDs are illuminated simultaneously These info boards can be used to display digits letters and even graphs It 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 Informat
9. SL Hi y Zt 1 y spouv 1 y wee Seu Ur 1 y apoy P psu MEE 769 SS NY SN 8 16H NX SX NX e s v spouv EL y 9H F 9 6 y Sy paoe 184 F 9 s y apouy BEE 36H TEN TE spe GEI N Zi Zi y paoui veut _N N E epouy 1 N E py opouy opouie MEE 06H S E 9 Y epo 68H NX Nx 6 9 LL y poouje ogy St ISS VSS y paoue Giu St NX SX NX ELE aroue 2 WEE E S E epouy S WEE Soy 9 OL 2 ii 9 H 8 9i z v epouy Z y SH er OF cy epouv ELE 2 28 y EPON y Spoupo 19H y 9pouv 6 v Hi AN N EL p spouy HEC N Er ip LL HEC 91H WEE PE NY SN Nw tL spouv 8 2 SEE ssu Pe IN VSS AS ee roo 07 paoue D SEE 198 VE Nw VSN ee vreo DLE apone o viu ZE eDouy epoujen Ely SL d 6 opouje WEE EI epou LE epou BEE 69H SL LE epouy CIT dat T 8 99H 0 epouy 0 2 sou SY NN 22 0 UT ee 55 an 2795 7091 SNOO LEMOI SS 31 GAOD OEMOM pores ssa ani G O2 0EMOM BOSE 0LWOO 6ZMO EE OlWOO GZMOM SSA LIWOO S
10. 3 D Read data from the RAM WRITE 10 1 4 2 1 000010203 D Write data to the RAM READ MODIFY Tw 0 1 ABA 00 d WRITE 101 A6A5AA4A3A2A1A0DO0D1D2D3 SYS DIS 0000 0000 X C Yes LED On 0000 0011 X Turn off blinking function BLINK Off 0000 1000 X BLINK On 0000 1001 X Tum on blinking function Set slave mode and clock source from exte SLAVE Mode 0001 OXXX X nal clock the system clock input from OSC pin RC Master Mode and synchronous signal input from SYN pin on chip RC oscillator the system clock out _ put to OSC pin and synchronous signal out put to SYN pin 0001 10XX X EXT CLK Master Mode 0001 11XX X master mode and clock source from Set master mode and clock source from ex ternal clock the system clock input from OSC pin and synchronous signal output to SYN pin N MOS open drain output and 8 COM option N MOS open drain output and 16 COM option 210 P MOS open drain output and 8 COM option P MOS open drain output and 16 COM option c wumeay 100 101 0101 PWM 6 16 duty aM Heo exonmx _ parerea ECCA CEE ele T COM Option 0010 abXX X o DE DP14112 amp DE DP14211 Ver1 1 Page 10 2004 2009 Sure Electronics Inc e 3216 BICOLOR LED 3MM SURE 5MM DOT MATRIX DISPLAY ew electronics INFORMATION BOARD USER S GUIDE Chapter 3 Electrical Charact
11. AY for i 0 i lt 7 i Write address to HT1632C register CLK 0 Clock line is O CLK_DELAY temp address amp 0x40 Return the MSB address address 1 Move the control character to the left one temp temp gt gt 6 Position the value at the LSB DAT temp Send the value to the data port CLK_DELAY CLK 1 Data transmission CLK_DELAY Pe DER NU eC io EE EU ete Fe te TEE mU NC Manet quU ON NEN Function Name ChipSelect Function Feature enable HT1632C Input Argument select HT1632C to be selected II If select 0 select none If s lt O select all Output Argument void kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk void ChipSelect int select unsigned char tmp 0 if select lt 0 Enable all HT1632Cs DE DP14112 amp DE DP14211 Ver1 1 Page 20 2004 2009 Sure Electronics Inc 3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board else if select 0 OutputA 74164 0 CLK_DELAY for tmp 0 tmp lt CHIP_MAX tmp OutputCLK Pulse Disable all HT1632Cs OutputA 74164 1 CLK_DELAY for tmp 0 tmp lt CHIP_MAX tmp OutputCLK_Pulse OutputA 74164 1 CLK_DELAY for tmp 0 tmp lt CHIP_MAX tmp OutputCLK_Pulse OutputA 74164 0 CLK_DELAY OutputCLK_Pulse CLK_DELAY OutputA 74164 1 DELAY tmp 1 for tmp lt select tmp OutputCL
12. DELAY ChipSelect 1 Enable all HT1632Cs DELAY for i 0 i lt 12 i IWrite command words in HI1632C register CLK 0 CLK_DELAY command amp 0x0800 Return the MSB command command 1 Move the control character to the left one j j gt gt 11 Position the value at the LSB DAT j Send the value to the data port CLK_DELAY CLK 1 IData transmission data valid on rising edge CLK_DELAY ChipSelect 0 Disable all HT1632Cs kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Function Name AddressWriteHT1632C Function Feature write start address of data to HT1632Cs Input Argument address address to be written Output Argument void kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk void AddressWriteHT1632C unsigned char address unsigned char i temp SSPCON 0x11 address address amp Ox7f 7 bit address mask the MSB 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211_Ver1 1_Page 19 Appendix CLK 0 Clock line is O CLK_DELAY DAT 1 Send 1 to data port CLK_DELAY CLK 1 Data transmission CLK_DELAY CLK 0 CLK_DELAY DAT 0 Send 0 to data port CLK_DELAY CLK 1 Data transmission CLK_DELAY CLK 0 CLK_DELAY DAT 1 Send 1 to data port CLK_DELAY CLK 1 Data transmission CLK_DEL
13. K PANEL 60 2 50 0 C 39 8 C 29 6 C 19 4 DE DP14112 amp DE DP14211 Ver1 1 Page 22 2004 2009 Sure Electronics Inc 3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board FIGURE 5 3 HEAT DISTRIBUTION OF THE FRONT PANEL 50 4 C 43 1 35 8 28 4 21 1 C 15 0 360 0 Note The temperature around U2 U3 U5 and U6 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 36 6 31 3 C 26 0 C 20 8 C 15 5 15 0 360 0 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211 Ver1 1 Page 23 Appendix FIGURE 5 5 HEAT DISTRIBUTION OF THE FRONT PANEL 29 7 C 26 2 22 6 19 1 15 6 15 0 360 0 156 297 Note It s recommended to use these products in a good thermal environment DE DP14112 amp DE DP14211 Ver1 1 Page 24 2004 2009 Sure Electronics Inc e 3216 BICOLOR LED 3MM SURE 5MM DOT MATRIX DISPLAY ew electronics INFORMATION BOARD USER S GUIDE Chapter 6 Contact Us 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 o
14. K_Pulse Function Name SPI ModelConfigure Function Feature configure the corresponding data transfer port of PIC microcontroller SPI communication Input Argument void Output Argument void a 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211_Ver1 1_Page 21 Appendix void SPI ModelConfigure void SSPIF 0 state waiting to send data SSPCON 0x31 Write in this register SSPEN 1 enable serial port 1 CLK high in an idle state CLK is FOSC 16 SSPSTAT 0x80 Write in this register SMP 1 Input data sampled at end of data output time CKE O data stable on rising edge of SCK PRONUS UE NO NUT OUS TUS TOULOUSE TOURS GUN Function Name SPI DataSend Function Feature transmit data in SPI mode of PIC microcontroller Input Argument data bytes of data to be transmitted Output Argument void kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk void SPI_DataSend const unsigned char data SSPBUF data IStart 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 PWM duty cycle 5 3 1 3216 Bicolor LED 3mm Dot Matrix Display Info Board FIGURE 5 2 HEAT DISTRIBUTION OF THE BAC
15. SURE 9 electronics 3216 Bicolor LED 3nm 5mm Dot Matrix Display Information Board User s Guide e 3216 BICOLOR LED 3MM SURE 5MM DOT MATRIX DISPLAY ew electronics INFOMATION BOARD USER S GUIDE Table of Contents Chapter T OVETVICW eet nt i tr KA e adic Bea al 1 T T OVSEVIOW oa tai alle io i FE dU RU unti n ia ETUR UE Dd 1 1 2 Quick cote a Goo a aga iai Dna da aa a kab a a aid ai 3 1 2 1 Connection of One Info Board and The Driver Board 3 1 2 2 Connection of Many Info Boards 4 Chapter 2 Hardware Detalle vam ii aa aaa a denda rs 6 2T Mal OWare ou cime E NG Ga eso t estime e Fr eere x das 6 2 Port vM ta RU US SD catia a UN 6 2 9 Display oiii EH ERE Pda ee dog dota e ea Ea ei eat aia e 7 2 4 Command Format 8 2 0 Command Suma 9 Chapter 3 Electrical Characteristics 11 Chapter 4 Mechanical Drawing a conos pesas acp sace aces da aug suy cat 12 Chapter 5 A ODS NIK de T 14 9 1 Schematic 14 92 SS me mc 15 5 9 Heat DISSIBalIOn tert e REL duce utatur ate d lin 22 5 3 1 3216 Bicolor LED 3mm Dot Matrix Display Info 22 5 3 2 3216
16. TB s status is uncertain after power on reset TRISCO 1 PORTCO SW1 port as an input port TRISC1 1 IIPORTC1 SW2 port as an input port TRISC3 0 IIPORTC3 CLK signal as an output port TRISC5 0 PORTC5 DATA signal as an output port TOIE 0 Turn off interruption of timerO Function Name SetHT1632C As3208 Function Feature write basic configuration to HT1632C in command words Input Argument void Output Argument void kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk void SetHT1632C_As3208 void 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211_Ver1 1_Page 17 Appendix CommandWriteHT1632C SYS Enable system oscillator CommandWriteHT1632C LED ON Turn on LED CommandWriteHT1632C RC MASTER MODE Select on chip RC as the clock s master mode Select this sentence when HT1632C is changed CommandWriteHT1632C N MOS IIN MOS open drain output 32 ROW 8 COM CommandWriteHT1632C PWM 10 IPWM 10 16 duty ll ER DL DLL ML D ML LL LM ML ML a a it Function Name OutputCLK Pulse Function Feature enable CLK 74164 pin to output a clock pulse Input Argument void Output Argument void kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk void OutputCLK Pulse void Output a clock pulse 74164 1 CLK_DELAY CLK_74164
17. ZMOM Spo TINOS ezMoH 62 Z ONE ZIWOD LEMOH 5 L t ziwoo Zzmou PE 82 2 oreo INOO S2MOS poured 92 20 2 SPEI m TINOO SZMOM Gis o vIWOO SZMOM Sz aav an SINOO TZMOH zaaxam Simoamzwow LS Sz z Kaanan 35 aaan oF spore PONEN 55 1 Spoup IZMON 2 OMON pou EINER DING poured CA TINON Lus viva 9LMON ei viva EINE ino viva SE im SIMON EA ano viva Sr uw IND y Z oe CZE 110 HM ELMON pode asy CA 183 8L SNAS 285 x INAS pone 250 LIMO poured Spore gE 950 apoie A ZS d40 OZE94 1H pn ZS d40 OZE9L LH Fen poured noo 2 02 E won EEE IZ spony 3 1 epouy 6G S epouy oo 2 3 j pouy 88 PNOO Med Z epouy S wo pL epouy 22 EWOH no poured 772 _ 05 Lepouy S won ZMON EEA 9 Z1 epouy ze enowy we oD apo ki apouy O2 NOD thou ROUTED Le epouy Ee quo ZZ 2 2 apoy 2 5 zn Te OT 5 Te OFT SPOUES ae E E olelelelololele EE S Besse d 28121812 alae SISESE FISIES IEE NN M obs sso
18. eristics TABLE 3 1 ELECTRICAL CHARACTERISTICS Storage Temperature 20 to 80 Average Operating Current A Maximum Operating Current A All LEDs on 100 PWM duty cycle ios i 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211_Ver1 1_Page 11 3216 BICOLOR LED 3MM 9 SURE 5 DOT MATRIX DISPLAY electronics INFORMATION BOARD USER S GUIDE Chapter 4 Mechanical Drawing FIGURE 4 1 MECHANICAL DRAWING OF ONE 3216 BICOLOR LED 3MM DOT MATRIX DISPLAY INFO BOARD 4 R 74 0000000006060 1 L5 L4 L3 000000000000 0000000000060 000000000000 0000000000066 1 1 e ufu DE DP14112 amp DE DP14211_Ver1 1_Page 12 2004 2009 Sure Electronics Inc 3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board FIGURE 4 2 MECHANICAL DRAWING OF ONE 3216 BICOLOR LED 5MM DOT MATRIX DISPLAY INFO BOARD 2 4 1 L5 L4 L3 1 1 1 ARLETTE EE SSR ECE EES LEP m KAKA KAKAK EE Lu e ee na sm sm Ra om Umm 24135 22505 trs 19208 10040 150 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211 Ver1 1 Page 13 3216 BICOLOR LED 3MM 5MM DOT MATRIX DISPLAY INFORMATION BOARD USER S GUIDE 3 Chapter 5 Appendix 5 1 Schematic FIGURE 5 1 SCHEMATIC
19. he info board FIGURE 1 5 ACCESSARIES 16 pin IDC Cable Power Cord 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 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 DE DP14112 amp DE DP14211 Ver1 1 Page 3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board Program codes to the chip of the driver board and repower the board Note If you re not familiar with programming try using the sample codes first 1 2 2 Connection of Many Info Boards First auxiliary power cords are recommended to be used when more info boards connected in series Connect 5V GND of terminal J2 on one info 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 cables and power cords FIGURE 1 7 CONNECTION OF TWO 3216 BICOLOR 3MM LED DOT MATRIX DISPLAY INFO BOARDS IN SERIES
20. ion Board DE DP14211 3216 Bicolor LED 5mm Dot Matrix Display Information Board Note 4 info boards connected in series are available when the boards are powered by 5V 2A supply If the power supply you used can output more power and the info boards are only used to display common ASCII more boards can be connected in series However we assume no liability for any damage or risk caused by this FIGURE 1 1 FRONT VIEW OF 3216 LED 3MM DOT MATRIX DISPLAY INFO BOARD O O O O O O O O ele O O O O O O O JO w 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211_Ver1 1_Page 1 3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board FIGURE 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 O 000000000000 000000000000 000000000000 000000000000 000000000000 000000000000 000000000000 000000000000 000000000000 000000000000 i blag a ee cialis il Lkw DR 3 M MT 88 88 8888 98 89808 88 988908 8 Hd BB DJ Gd DH oro UNT 808858088 DE DP14112 amp DE DP14211 Ver1 1 2 2004 2009 Sure Electronics Inc Overview 1 2 Quick Start A 16 pin IDC cable and two power cords are provided for free DE DD210 by Sure Electronics is used in this manual as a driver board Program this driver board to control the display on t
21. ite Address to HT1632Cs void SPI ModelConfigure void void SPI DataSend const unsigned char data void main unsigned char i J Systemlhnit System Initialization SetHT1632C 53208 ISet all HT1632Cs to work in 32 8 master mode DE DP14112 amp DE DP14211 Ver1 1 Page 16 2004 2009 Sure Electronics Inc 3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board for i 1 i lt CHIP_MAX i ChipSelect i Chip select the corresponding HT1632C AddressWriteHT1632C 0x00 Get the selected start address of the chip SPI ModelConfigure Open SPI mode continuously send data to HT1632C 0 j lt 32 j 0x00 as the start address continuously write data SPI DataSend 0xaa Write data as Oxaa j SSPCON Ox11 Close SPI mode while 1 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Function Name system initialization Function Feature set corresponding data reading and writing of PORTB and PORTC Argument void Output Argument void o S NINE EE ROGERII NEU Ge OTe EOS BAN a EW ROL lad ORR i i void Systemlnit void IRCF1 1 IRCFO 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 POR
22. lluminated 5 Green and Red LED 9 O e O I 14 O LL LL O CD YK o e CN LLI 14 9 LL 20 2 e 1 HT1632E C H E HT1632 CS4 of HT1632C must be set to low before data or command is 26 3 HT163 2 4 Command Format N CS CS1 CS2 CS3 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 ge 8 DE DP14112 amp DE DP14211 Ver1 1 Pa 3216 Bicolor LED 3mm 5mm Dot Matrix Display Information Board FIGURE 2 3 TIMING DIAGRAM CS 1 QA 74164 a o RR QB 74164 QC 74164 QD 74164 DATA Command C8 CO C8 CO command 1 command n 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 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211 Ver1 1 Page 9 Hardware Detail FIGURE 2 4 COMMAND SUMMARY Command Summary _ MICE maa ho 1 10 AGA5A4A3A2A1A0D0D1D2D
23. n example This sample code is used to illuminate the odd rows of LEDs in green Compilation environment MPLAB IDE v8 40 Compiler HI TECH ANSI C Compiler PRO 9 65 File Declare h ifndef DECLARE _ define X DECLARE _ Macro definition of ports used define A 74164 RB1 define CLK 74164 RB2 define CLK RC3 Clock line simulating SPI communication this port is also the clock line of SPI communication lintegrated by MCU define DAT RCS 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 I HT1632C Set slave mode and clock source from external clock define RC MASTER MODE 0b100000110000 I HT1632C Set master mode and clock source from on chip RC oscillator define EXT CLK MASTER MODE 0b100000111000 I HT1632C Set master mode and clock source from external clock define SYS EN 0b100000000010 ITurn on system oscillator define LED ON 0b100000000110 Turn on LED duty cycle generator define MOS 8 0b100001000000 IN MOS open drain output and 8 common option define PWM 10 0b100101010010 IPWM 10 16 duty endif 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211 Ver1 1 Page 15 Appendix File SampleCode c include lt pic h gt
24. nly 86 25 66606340 English service from GMT1 10AM Fax 86 25 66606341 866 Website www sure electronics com www sure electronics net 2004 2009 Sure Electronics Inc DE DP14112 amp DE DP14211 Ver1 1 Page 25
Download Pdf Manuals
Related Search
Related Contents
Instrucciones y catálogo de piezas de recambio HX 4000 CROSS F.p65 案内状PDF - Stark.Concept AN-X-PB Capture User Manual EPAF User Guide 取扱説明書 - SANUS Copyright © All rights reserved.
Failed to retrieve file