Sure Electronics.inch LED Board User s uide Product Name Product ID :.inch Character Height -segment LED Information Board : DE-DP00 Product Version : Ver.0 Document Version : Ver.0 Copyright 00-00 Sure Electronics Inc. Page
Contents We are here just for you! Chapter. Overview and Main Feature... -. Overview... -. Part Layout... -. Main Feature... Chapter. Hardware Detail... - Schematic... - Physical Dimension... - Circuit Diagram... - Electric Characters... - Port Definition... --. -segment LED... --. Shift Register Data Driver... --. Data Ports Definition... --. Auxiliary Power Port... --. Data Buffer...0 Chapter. Sample Codes... -. LED Segment Drive Demo Board s Schematic... -. How to Connect Load... -. How to display data with PIC0F00 and PICC.0 environment... Chapter. Contact US... Page
We are here just for you! Chapter. Overview and Main Feature digits segment panels are manufactured by Sure Electronics. This series includes different size panels, they are.inches,.inches,.inches, and inches, inches (character height). All those panels are driven by SPI like interface and all work in full static mode. They are easy to be interfaced to any Microcontrollers. They could be widely used in panel meters, big clocks and any other information display usage. Sure Electronics provides series of such information boards which are supposed to reduce your development time and make them standard. In this series, most boards are digits and static, if customer need any special digits and special size ones, could contact us with the contact information at the end of this document. The inch character height one is digit/board. This document is used to describe how to use.inches character height panels. -. Overview -. Part Layout Figure Page
We are here just for you! Figure Top Part Layout Figure Bottom Part Layout -. Main Feature --. digits -segment.inches LEDs are installed on this panel, those segments are common cathode type. --. *0pin interface for power serializing and data transferring, data inputs from J and flows out from J. --. A HC00 Nand chip is used to buffer CLK_IN and DIMM_IN control signal. --. LED driver chips are composed of pcs of HC, they are serialized to each other, the first chip receives data from Microcontroller or the board ahead, the final chip shifts data to next boards. Data should be clocked in from CLK_IN and DATA_IN in J, and DIMM_IN pin should be pull to high to enable display. Page
We are here just for you! Chapter. Hardware Detail - Schematic DATA_IN CLK_OUT +V +V U HC ND QA QB A QC CLK QD QE B QF CLR Q VCC QH U HC ND QA QB A QC CLK QD QE B QF CLR Q VCC QH 0 0 R R R R R R R R R0 R R R R R R R A0 A A A A A A A B0 B B B B B B B A0 A A A A A A A 0 U A B C D E F DP COM D0 COM COM COM U A B C D E F DP D0 0 B0 B B B B B B B C0 C C C C C C C 0 +V U A B C D E F DP COM D0 COM COM COM D0 U A B C D E F DP +V 0 D0 D D D D D D D Q Not Installed D S DIMM_OUT Q 0 R +V U HC ND QA QB A QC CLK QD QE B QF CLR Q VCC QH 0 R R R0 R R R R R C0 C C C C C C C C + 0V/00UF C + 0V/00UF C 0 C 0 C 0 C 0 C 0 C 0 C 0 CLK_IN UA HC00 UB CLK_OUT HC00 +V U HC ND QA QB A QC CLK QD QE B QF CLR Q VCC QH 0 R D0 R D J J R D +V +V R D +V R0 D R D DIMM_IN DIMM_OUT R D DATA_IN CLK_IN DATA_OUT R D 0 0 CON0B CON0B DATA_OUT Figure CLK_OUT +V DIMM_IN 0 UC HC00 UD DIMM_OUT HC00 Note: Because of the LED's voltage drop difference, the resistance may vary from the value marked in the schematic. Page
- Physical Dimension We are here just for you! Figure Page
- Circuit Diagram We are here just for you! Figure Page
We are here just for you! Figure Page
- Electric Characters We are here just for you! Power Supply: DCV-.V 0.A/pcs (Maximum), for each additional panel, add another 0.A, if voltage is less than V, the brightness would not be enough. For over panels, user must add auxiliary power on the auxiliary power, or the 0pin communication port could not carry so much current. Maximum clock freq: MHz, boards serialized 00kHz, 0 boards serialized If the communication speed is too high, it may cause communication problems. Suggested Refresh Rate: Less than 0Hz if DIMM is not used. Less than 0Hz if DIMM is used. Drive Current/segment: 0mA +ma/-ma, this value may be changed based on the production batch, and the dot uses different current. Drive Method: Fully static. Connection Method: HC in series, SPI like interface. Maximum Cascade Level: 0 boards in series, clock less than 00kHz. Interface Voltage Level: VDD*0.-VDD+0.V, standard CMOS level. If you need TTL/CMOS compatible interface in batch, please contact us but the quantity should be no less than 00pcs. - Port Definition --. -segment LED Q Not Installed D S A0 A A A A A A A 0 U A B C D E F DP COM D0 COM COM COM U A B C D E F DP D0 0 B0 B B B B B B B C0 C C C C C C C 0 U A B C D E F DP COM D0 COM COM COM D0 U A B C D E F DP 0 D0 D D D D D D D DIMM_OUT Q 0 R Figure Digits of. inches, common cathode, high brightness red -segment LEDs are installed on this board. They are marked as U-. DIMM_OUT signal is for brightness control usage, you could add simple on/off or PWM signal on this signal, when this signal is set to high, all segments will light on if valid data is shifted out from the HC chip. If you are changing the data in the HC driven chip, set this pin to low then the hash signal will not affect the display. Of course if you want to adjust the brightness of those LEDs, PWM signal could Page
We are here just for you! be applied on the DIMM_IN pin. It is buffered with a HC00, and DIMM_OUT signal will drive this board and next. --. Shift Register Data Driver DATA_IN CLK_OUT +V U HC ND QA QB A QC CLK QD QE B QF CLR Q VCC QH 0 U HC R A0 R D0 R A ND QA R D R A QB R D R A A QC R D R A CLK QD 0 R0 D R A QE R D +V R A B QF R D R A CLR Q R D VCC QH DATA_OUT Figure HC is used as shift register in this board. They are U, U, U, and U and connected to U-. CLK_OUT is driven by a buffered output from CLK_IN with HC00. DATA_IN is data input pin of the first HC, then all HC of cascaded boards will be serialized. All those pins accept only CMOS signals. Once you clock in correct data through these pins, and ensure that PWM signal or ON/OFF signal is applied correctly on the DIMM_IN pin, the board will begin display. Correspondence between Character Codes and Character Patterns: Character 0 Patterns Character Codes Character Patterns Character Codes Character Patterns Character Codes 0xfc 0x0 0xda 0xf 0x 0xb 0xbe 0xe0 0xfe 0xf a b c d E f g h i j 0xee 0xe 0xa 0xa 0xe 0xe 0xf 0xe 0x0 0x0 l n o p Q r s t u y 0xc 0xa 0xa 0xce 0xe 0x0a 0xb 0xe0 0x 0x Figure 0 --. Data Ports Definition +V DIMM_IN DATA_IN J CON0B 0 CLK_IN +V +V DIMM_OUT DATA_OUT J CON0B 0 CLK_OUT +V Figure IDC sockets are located on the board. They are data input and output interface, marked as J and J. The definition is shown in Figure. When the board is working separately, connect J to the Microcontroller board and leave J open. If lots of same boards are in series, connect next board s input to previous one s output. Then you could connect up to 0 boards in series. Notice if over pcs of such boards are serialized, you must add auxiliary power cable to some boards to enhance the current transfer. --. Auxiliary Power Port Page
We are here just for you! AUX power interface AUX power interface Figure There are auxiliary power ports on this board. If you use less than pcs of such boards in series, you could simply use a 0pin IDC flat cable to connect those boards. But if over boards connected together, you must add additional power supply to some of those boards, or the current may be lacking. Just apply +V to some boards on the AUX power port. And be sure the polarity is correct. --. Data Buffer +V UA UB CLK_IN CLK_OUT HC00 HC00 UC UD DIMM_IN 0 DIMM_OUT HC00 HC00 Figure HC00 chip is used to buffer Clock and DIMM signal in this board. A CMOS chip is not able to drive over 0pcs CMOS input if the cable is so long, here HC00 is used as NOT gate, and gates in series is a buffer. Page0
We are here just for you! Chapter. Sample Codes -. LED Segment Drive Demo Board s Schematic +V U PIC0F00 VSS VDD +V DATA R ICSPDAT P0/ICSPDAT P/MCLR/VPP MCLR R CLK R ICSPCLK P/ICSPCLK P/T0CKI/FOSC R DIMM R C SW 0 SW DIP- SW POWER C 0 J CON0B J CON +V +V POWER DIMM DATA 0 POWER CLK +V MCLR ICSPDAT ICSPCLK J J CON DJ00B DN +V C + C U M0/TO VIN ND VOUT +V C + 0 00uF/V 00UF/0V Figure -. How to Connect Load Power Supply form J or J DC V,A Input J LED Segment Drive Demo + Board - J J J.inch LED Board J 0 Pin IDC Flat Cable Figure Page
We are here just for you! Output Voltage Encoder Position Setting()() V +V ON V +V 0V 0V OFF Notice: () DIP switch only has the ways as shown above to work; any other switching ways are prohibited. () Users shouldn t change the voltage while LED Segment Drive Demo Board is working. It is only allowed to change it before applying the current. -. How to display data with PIC0F00 and PICC.0 environment Source code is shown below, #include <pic.h> CONFI(UNPROTECT&MCLRDIS&WDTDIS); //Configure Word #define Fuc_key #define DIMM #define CLK #define DATA P P P P0 unsigned char disp_data; unsigned char key_pressed,last_key_pressed; unsigned char Value; unsigned char time; //The total of cathode const unsigned char Digital_TAB[] = 0xff,0xfc,0x0,0xda,0xf,0x,0xb,0xbe,0xe0,0xfe,0xf, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0; void change(void); void LED_data(void); void LED_display(void); void delay_ms(void) unsigned char i, j, k; Page
for(i = 0; i < ; i++) for(j = 0; j < 00; j++) k--; We are here just for you! void change(void) key_pressed=fuc_key; if((key_pressed==0)&(last_key_pressed==)) delay_ms(); if(key_pressed==0) disp_data++; if(disp_data==)disp_data=0; last_key_pressed=key_pressed; void LED_data(void) unsigned char i; for(i = 0; i <; i++) if(i==disp_data)value = Digital_TAB[i]; void LED_display(void) unsigned char i; unsigned char U; U=Value; for(i = 0;i < ; i++) DATA = U & 0x0; CLK = 0; CLK = ; U = U>>; U=Value; for(i = 0;i < ; i++) DATA = U & 0x0; CLK = 0; CLK = ; U = U>>; U=Value; for(i = 0;i < ; i++) DATA = U & 0x0; Page
CLK = 0; CLK = ; U = U>>; U=Value; for(i = 0;i < ; i++) DATA = U & 0x0; CLK = 0; CLK = ; U = U>>; We are here just for you! void main(void) OSCCAL=0; TRIS = 0b000; OPTION=0b00; while() change(); LED_data(); DIMM = 0; LED_display(); DIMM = ; //Active high Output Enable delay_ms(); Page
Chapter. Contact US We are here just for you! Sure Electronics Co., Ltd. Floor, A zone, Qinhuai Technology Innovation center, NO.0-, DaMing Road, Nanjing, China Tel: +00 +--00 (English service, from MT-0AM, only for technical questions) Email: Website: support@sure-electronics.net www.sure-electronics.net www.sure-electronics.com www.sureelectronics.net Page