Download Audio Synchronized Color LED Driver User`s Guide
Transcript
Audio Synchronized Color LED Driver User’s Guide © 2004-2009 Sure Electronics Inc. DE-DD13111_Ver1.0 AUDIO SYNCHRONIZED COLOR LED DRIVER USER’S GUIDE Table of Contents Chapter 1. Overview ..........................................................................................................1 1.1 Overview .............................................................................................................. 1 1.2 Main Features ...................................................................................................... 2 1.3 Quick Start ........................................................................................................... 2 1.3.1 Setting............................................................................................................................ 2 1.3.2 How to Use.................................................................................................................... 3 Chapter 2. Command Set ..................................................................................................4 2.1 Setting of the Corresponding Relationship of Colors and frequencies......... 4 2.2 Manual Gain Setting............................................................................................ 5 Chapter 3. Electrical Characteristics ...............................................................................6 Chapter 4. Mechanical Drawing........................................................................................7 Chapter 5. Appendix ..........................................................................................................8 Chapter 6. Contact Us .......................................................................................................9 © 2004-2009 Sure Electronics Inc. DE-DD13111_Ver1.0_Page i Audio Synchronized Color LED Driver NOTES: Product Version : Ver 1.0 Document Version : Ver 1.0 DE-DD13111_Ver1.0_Page ii © 2004-2009 Sure Electronics Inc AUDIO SYNCHRONIZED COLOR LED DRIVER USER’S GUIDE Chapter 1. Overview 1.1 Overview Thanks for using this Audio Synchronized Color LED Driver by Sure Electronics. Please read this manual carefully prior to the installation. DE-DD13111 is a LED driver with an audio synchronization mode that virtually eliminates the need for real-time software processing for LED lighting effects, especially for use with RGBY(W) LED lighting color displays (CD-001-xxx series) by Sure Electronics in audio application where PC, MP3 player, CD, DVD or cell phone can be used as the audio source. Connected with the driver which is powered by DC12V, RGBY(W) LED lighting color displays will dynamically display the variation of the incoming audio signal. The audio input signal is filtered into four kinds of frequency: low, medium, medium-high and high, with each kind frequency assigned to a specific PWM driver. Four PWM outputs respectively control one of red, green, blue and yellow LEDs. This driver can be directly set via Hyper Terminal that you can write commands to specify each LED color to a corresponding frequency you want and adjust the gain of each frequency to change LED intensity. LED intensity can also be controlled by duty cycle which is adjusted by the amplitude of the spectrum. In addition, any of two jacks on board can be used for audio signal input and the other for signal output. TABLE 1-1 RGBY(W) LED LIGHTING COLOR DISPLAY SERIES Product No. Product Name CD-001-010 RGBY 2*4 Way Lighting Color Display CD-001-011 RGBY 4-color LED Cluster Lighting Panel Board Display CD-001-013 RGBY 1*4 Way Lighting Color Display CD-001-015 RGBW 4-color LED Cluster Lighting Panel Board Display CD-001-016 RGBW 1*4 Way Lighting Color Display © 2004-2009 Sure Electronics Inc. DE-DD13111_Ver1.0_Page 1 Audio Synchronized Color LED Driver FIGURE 1-1 OVERVIEW FIGURE 1-2 ACCESSORY Note: y y All the diagrams in this manual are for reference only. Frequency definition: Low frequency - 150HZ Medium frequency - 600HZ Medium-high frequency - 3KHZ High frequency - 6KHZ 1.2 Main Features y y y Four PWM outputs control four color LEDs Available to set the corresponding relationship of colors and frequency Individual PWM gain setting of four ways 1.3 Quick Start 1.3.1 Setting Default corresponding relationship of colors and frequencies is as follows: Y/W - low frequency, B - medium frequency, G - medium-high frequency and R - high frequency. Default gain of each of four frequency bands is 10. The corresponding relationship of colors and frequency and the gain of the four frequencies can be set via Hyper Terminal. DE-DD13111_Ver1.0_Page 2 © 2004-2009 Sure Electronics Inc Overview You may choose CP2102 USB-RS232 Serial Convert Communication Module (DB-UC001) by Sure Electronics as the converter. The connection diagram is shown as follows. FIGURE 1-3 CONNECTION DIAGRAM As shown above, 4-20 of J2 CON8 are as setting pins which should be connected with GND. Please refer to Chapter 3 for the commands and the format used for setting. Please refer to the manual of DB-UC001 for more information. 1.3.2 How to Use After setting the corresponding relationship of colors and the four frequencies, connect the driver and an RGBY(W) LED board. Input the audio signal to the driver via J3 (or J4) and output the audio signal via J4 (or J3). FIGURE 1-4 CONNECTION SCHEMATIC © 2004-2009 Sure Electronics Inc. DE-DD13111_Ver1.0_Page 3 AUDIO SYNCHRONIZED COLOR LED DRIVER USER’S GUIDE Chapter 2. Command Set Please set the parameters as follows: baud rate as 9600bps, parity bit as None, data bit as 8bits and stop bit as 1bit. The end mark of commands is '\r' whose corresponding hexadecimal is 0D. 2.1 Setting of the Corresponding Relationship of Colors and frequencies Command: $ORDER_SET$XYS'\r' $ORDER_SET$ are the first characters. The following data will be dealt with only when the first characters are correct. XY is two-digit code value which ranges from 01 to 24. Each code value corresponds to a unique relationship of colors and frequencies. Match respectively R, G, B and Y with a corresponding frequency via PC and the codes generated will be sent to the driver. Please refer to Table 3-1 for details. TABLE 2-1CODE VALUE Color Frequency R 1 1 1 1 1 1 2 2 2 2 2 2 G 2 2 3 3 4 4 1 1 3 3 4 4 B 3 4 2 4 2 3 3 4 1 4 1 3 Y/W 4 3 4 2 3 2 4 3 4 1 3 1 Code 01 02 03 04 05 06 07 08 09 10 11 12 Color Frequency R 3 3 3 3 3 3 4 4 4 4 4 4 G 1 1 2 2 4 4 1 1 2 2 3 3 B 2 4 1 4 1 2 2 3 1 3 1 2 Y/W 4 2 4 1 2 1 3 2 3 1 2 1 Code 13 14 15 16 17 18 19 20 21 22 23 24 Note: y y R, G, B, Y/W are respectively red, green, blue, yellow/white. 1, 2, 3, 4 corresponds respectively to low frequency, medium frequency, high-medium frequency and high frequency. S is check sum, which is the unit of the sum of X and Y. For example, if XY is 19, S is 0. The driver may return one of the following messages after it receives the codes: y Error in command! y Wrong parity! y Sequence Setting is abnormal! y Sequence Setting is OK! For example: Set the corresponding relationship of colors and the frequencies as follows: y R - low frequency (1) y G – high-medium frequency (3) y B – medium frequency (2) DE-DD13111_Ver1.0_Page 4 © 2004-2009 Sure Electronics Inc. Audio Synchronized Color LED Driver y Y/W – high frequency (4) The corresponding code value is 03. The command to be sent is $ORDER_SET$033'\r' 2.2 Manual Gain Setting Command: $MANU_GAIN$ABCDEFGHS'\r' $MANU_GAIN$ are the first characters. The following data will be dealt with only when the first characters are correct. AB, CD, EF and GH are respectively the gain of low frequency, medium frequency, medium - high frequency and high frequency. For example, set gain of low frequency, medium frequency, high-medium frequency and high frequency as 15, 12, 10 and 08. The command to be sent is $MANU_GAIN$151210088'\r'. S is the check sum, which is the unit of sum of the eight numbers. If AB, CD, EF and GH are respectively 15, 12, 10 and 08, S is 8 (that is S= (1+5+1+2+1+0+0+8) %10). The driver may return one the following messages after it receives the commands: Error in command! y Wrong parity! y Manual Gain Setting is abnormal! y Manual Gain Setting is OK! © 2004-2009 Sure Electronics Inc. DE-DD13111_Ver1.0_Page 5 AUDIO SYNCHRONIZED COLOR LED DRIVER USER’S GUIDE Chapter 3. Electrical Characteristics TABLE 3-1 PERFORMANCE SPECIFICATION Parameter Min. Typ. Max. Units - 12 - V - ±0.5 - V Operating Temperature -10 - 60 ℃ Storage Temperature -40 - 75 ℃ 0 - 85 %RH Supply Voltage Performance Input Sensitivity Humidity DE-DD13111_Ver1.0_Page 6 © 2004-2009 Sure Electronics Inc. AUDIO SYNCHRONIZED COLOR LED DRIVER USER’S GUIDE Chapter 4. Mechanical Drawing FIGURE 4-1 MECHANICAL DRAWING © 2004-2009 Sure Electronics Inc. DE-DD13111_Ver1.0_Page 7 AUDIO SYNCHRONIZED COLOR LED DRIVER USER’S GUIDE Chapter 5. Appendix FIGURE 5-1 SCHEMATIC +5V 3.3V Vref 3.3V +12V 1.2V CY T6167-A/SOT 10uF 10uF 0.1uF 0.1uF 1 1uF 2.7K C3 +5V +5V 300R 0.1uF 2 0.1uf +5V R2 R3 D3 330R +5V C10 RX TX 0-5V PWM_EN 1 4-20mA PWM1 2 2 R 3 D2 1 4 3 U3A 14 14 2SS14 U4A 1 2 R6 330R R10 330R R19 330R U3B 7 7 14 74HC04/SO 74HCT08/SO CON8 +5V 3.3V 3.3V Vref 1 10K AD8532/SOIC 3 2 + U6 - MCLR C17 AD8532/SOIC 28 13 4 0.1uF 100K NC 1K CW 3 2 C18 R16 R17 1 3.3V R15 100k audioL 1 R18 C19 0.1uF 0.1uF/NC 27 8 10K 3K J3 PWM_EN 4 PWM2 5 2 3 1 audioR PHONEJACK STEREO 19 20 Vref MCLR AN0/Vref +/CN2/RA0 AN1/Vref -/CN3/RA1 PGD1/EMUD1/AN2/C2IN-/RP0/CN4/RB0 PGC1/EMUC1/AN3/C2IN+/RP1/CN5/RB1 VDD AN4/C1IN-/RP2/SDA2/CN6/RB2 VDD1 AN5/C1IN+/RP3/SCL2/CN7/RB3 SOSCI/RP4/PMBE/CN1/RB4 SOSCO/T1CK/CN0/PMA1/RA4 PGD3/EMUD3/RP5/SDA1/CN27/x/RB5 PGC3/EMUC3/RP6/SCL1/CN24/PMD6/RB6 RP7/INT0/CN23/PMD5/RB7 VSS TCK/RP8/SCL1/CN22/PMD4/RB8 VSS1 TDO/RP9/SDA1/CN21/PMD3/RB9 PGD2/EMUD2/TDI/RP10/CN16/PMD2/RB10 PGC2/EMUC2/TMS/RP11/CN15/PMD1/RB11 AN12/RP12/CN14/PMD0/RB12 AN11/RP13/CN13/PMRD/RB13 AN10/CVref /RTCC/RP14/CN12/PMWR/RB14 AN9/RP15/CN11/PMCS1/PB15 OSCI/CLKI/CN30/RA2 DISVREG OSCO/CLKO/CN29/PMA0/RA3 VCAP/VDDCORE 2 3 4 5 6 7 11 12 14 15 16 17 18 21 22 23 24 25 26 9 10 AD_Current MCU_RX2 AD_Voltage RX1 TX1 PWM1 Setting PWM2 PWM3 PWM4 MCU_TX2 PWM_EN PGD PGC PWM_EN 74HCT08/SO 10K U3C 74HCT08/SO U3D 74HCT08/SO 8 5 - U4C 5 6 74HC04/SO AD_audioR opt_Y opt_W PWM_EN 12 PWM4 13 11 Y/W 1 U5B 7 C22 2.2uF 2 R23 1 AD8532/SOIC 10K 5 + 6 - TEST POINT U7B 7 AD_audioR RX AD8532/SOIC R24 2.2K MCU_RX2 4 6 + B TP2 8 10K 4 10 AD_audioL 15K 8 1 R21 U4B 3 9 PWM3 10uF R20 2.2uF 2 R22 G 74HC04/SO C20 Vref C21 14 6 PIC24FJ32GA002T-I/SS R13 1K TEST POINT AD_audioL U7A 1 7 10K 1 2.2uF 2 R12 4 R14 - R7 0.1uF 15K TP1 C16 14 C14 4.7uF U5A 1 7 2 + 14 3 7 C13 R9 10K 8 2.2uF 2 R11 1 0.1uF 10K 8 R8 C15 7 C12 14 Vref 7 J2 C11 0.1uF 2 0.1uF green/normal D41 2 1 2 3 4 5 6 7 8 +12V +5V 0~5V GND 4~20mA RXD TXD GND COM R5 C9 B 1K C8 G C7 R C6 2 Vout 1 C5 1.25*(1+R4/R5) 1 0.1uF R4 10uF/35Vtan Vin C2 C4 2 2 3 2 C26 + 10uF/35Vtan +12V U2 2 GND 1 C1 + Vout ADJ Vin 1 LM317/SOT-223 R1 3.3K 3 1 D1 SS14 1 2 1 DJ005B 1 2 3 1 U1 J1 4 R25 R26 J4 audioR 100k R28 1K R29 3K PHONEJACK STEREO CW 3 TX MCU_TX2 +5V 1 1 R27 3 1 +5V audioL 2 2 100K NC C23 10K 0.1uF 2 R30 14 U8C opt_Y 3 8 R43 330R 330R U4D 1 9 PGD U8A 14 14 3.3V 3.3V SCLK 9 8 D5 2 y ellow/high 1 2 10 7 C24 74HCT08/SO 74HCT08/SO TP3 +5V 1 0.1uF R31 7 7 74HC04/SO 0R/NC Y /W TEST POINT 3 2 - U9A 1 3.3V AD_Voltage R33 AD8532/SOIC U8D 12 4 R34 + PGC R44 330R U4E 4 11 100K U8B 14 47K 14 R32 14 8 0-5V SDATA 6 opt_W 13 11 10 D6 2 white/high 1 330R 5 R35 74HCT08/SO 7 7 7 74HC04/SO 74HCT08/SO 0R/NC 1 TP4 8 TEST POINT R40 C25 0.1uF 100K 5 + 6 - U9B 7 R37 47K AD_Current AD8532/SOIC 4 R39 2 R36 R38 1 4-20mA 330R 330R 330R +5V R41 100K R42 +12V 3.3V 22K J5 TX1 RX1 Setting +12V CON8 1 2 3 4 5 6 7 8 J6 MCLR PGD PGC ICD Connector 1 2 3 4 5 6 R G B Y /W J8 J7 1 2 3 4 5 6 7 8 SCLK SDATA 1 2 3 4 5 6 VCC GND SCLK SDATA GND VCC CON6 CON8 DE-DD13111_Ver1.0_Page 8 © 2004-2009 Sure Electronics Inc. AUDIO SYNCHRONIZED COLOR LED DRIVER 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 only) +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-DD13111_Ver1.0_Page 9