Home
LED CHASER
Contents
1. 7 a MAN aV wey O 128 PL 33 ul D17 D1 9V IN HE T D18 D2 ja 213 1N4001 y Y 120 7s Za 5V O 1 mn Jj C2 018 tuF 50V RG pack D4 AE ES Kh P2 Ze u3 2 7 JP 3 or h RAS CCP2 CLKIN RA ANO CIIN ICSPDAT 5 4 RA4 AN3 CPS3 RA1 AN1 C12IN0 VREF ICSPCLK E a RA AN2 TOCKI INT CCP3 RA3 MCLR VPP __ 6 D6 RC5 CCP1 P1A RCO AN4 C2IN 332 kh RC4 C20UT P18 RC1 AN5 C121N1 SD02 Zz a RC3 AN7 CPS7 PIC RC2 ANG CPS6 C12 IN2 P1D alo Debug x eS RC6 ANA CCP4 5S RB4 AN19 SDIM SDA1 mm La A RC7 AN9 CPS9 SDO RBS ANM RAX SDA2 SDI2 PICkit 2 3 7 RB7 TX SCK2 SCL2 RB6 SCK1 SCL1 D23 gt PICT6F 1829 D24 D7 D8 rt a C4 5V K s R3 ont 50V Za Za 129 S 25 pg VN rs 28 D26 R7 2K A O R8 19 D27 D11 Rg 10K D28 D12 oo aa kp poser FIO WA xpansion ey Lv P La ZA e Tre D29 D13 D30 D14 e K n S 74 ZA A D31 D15 D32 D16 Sa K LZ lt LED Chaser Circuit Schematic Computer Inspirations Assembly amp Technical Manual LED Chaser LED Chaser Animation The simplest way to understand the animation process is to study an existing animation sequence Below is the Random Computer Lights animation sequence conse uinte t Random 4 4 Play with four LEDs 24 24 8 192 mS Ae dy 97 15 First animation frame S
2. Our Products are Inspired LED CHASER vie AL j r gt ON IAS a r o re iT am Q Light O i IZA C 2012 Computer Inspirations Cs SSSSSESESSE Chaser Vi ASSEMBLY INSTRUCTIONS amp TECHNICAL MANUAL Saturday 1 September 2012 Computer Inspirations e Georgetown ON Canada e www c inspirations com LED Chaser LED Chaser Assembly Instructions amp Technical Manual Description The LED Chaser is an animation controller for 32 LEDs The current software implements 12 different animation patterns that are settable via a three position DIP switch Seven of the patterns can be directly selected according to the following table DIP SWITCH SETTING ANIMATION PATTERN When power is first applied to the LED Chaser all the LEDs light up sequentially from right to left to help verify that all the LEDs are working correctly The rightmost LEDs corresponding to the current software revision light up next one LED for version 1 two LEDs for version 2 etc The pattern associated with the current switch setting is dis played next in a continuously repeating cycle With all switches off all 13 patterns are displayed sequentially on a rotating basis with each pattern active for about 10 seconds The additional five patterns that are not switch selectable but are displayed with all switches off are EXTRA PATTERNS ANIMATION PATTERN a Double Scan with eyes moving out Quadruple Scanner with four eyes It is possible for any o
3. are required to handle more devices than with any other technique In this case only eight processor pins are used to drive 32 LEDs Actually this circuit uses only a partial Charlieplex arrangement in order to minimize the number of current limiting resistors A full Charlieplex configuration should be able to drive up to 42 LEDs using only seven processor pins Traditional multiplexing methods would require at least 12 pins To protect the LEDs the maximum current has been limited to about 20 mA although some LEDs allow higher currents when pulsed Since this design has a variable number of LEDs on at a given time the 20 mA maximum is advisable Switch S1 consisting of three individual switches selects the animation sequence to be displayed Pull up resistors R8 to R10 provide a default level of logical 1 when a switch is open U1 is a linear regulator that provides the 5V supply for the microprocessor U3 The debug programming connector at P2 is provided to allow user specific changes to the software U2 is a 256 Kbit EEPROM that is reserved for future software implementations It is intended to hold many more animations than will fit into the PIC s internal Flash The expansion connector P3 is also intended for future soft ware additions that will allow multiple LED Chasers to be synchronized together to play a single animation R1
4. choice O 1 Rectifier diode 1N4001 1 9V battery clip 1 LED Chaser PCB 13 1 9V battery not included in kit NO e Note P3 is reserved for future expansion and is not included in the kit U3 A Assemble solder and clip the leads where applicable of these parts in the following order i Ci refer to PCB outline at the left P2 4 120 Q resistors located at R1 to R4 4 10K Q resistors located at R6 R8 R10 2 2K O resistors optional located at R5 and R7 1 Rectifier diode 1N4001 located at D33 Important banded end goes to the top 1 3 position DIP switch located at S1 2 2 2 uF 16V ceramic capacitors located at C2 and C3 2 0 1 uF 50V ceramic capacitors located at C1 and C4 2012 Computer Inspirations y cal sa 1 9V battery clip at P1 red wire goes to the square pad pin 2 and black wire to pin 3 o0o0000000 1 5V Regulator IC MCP1702 5002E TO at U1 Important flat end as shown If you have a volt meter handy you could now perform a quick test to make sure the power supply is working correctly Connect the positive lead of the voltmeter to P2 pin 2 square pad is pin 1 and the negative lead of the voltmeter to P2 pin 3 Attach the bat tery to the battery clip and you should see the voltmeter reading somewhere from 4 95 V to 5 05 V If not please double check the soldered connections and make sure all parts are oriented as sh
5. arting from the top of the board Then the top most LED s should light to indicate the firmware version programmed into the PIC microprocessor Then depending on the DIP switch settings the corresponding animation s should start playing 3 You can change the DIP switch settings at any time The new setting comes into effect as soon as the active anima tion has finished If all the animations are playing this mode is aborted whenever the active sequence has com pleted 4 Trouble shooting if no LEDs light a Go through the power supply trouble shooting list above b Check all the soldered connections on U3 and resistors R1 to R4 c Verify that U3 is programmed by connecting a debugger and verifying the contents of the PIC s memory are correct 5 Trouble shooting if one or only a few LEDs don t light a Have all the required resistors R1 to R4 been installed and the solder joints are good b Have all the LEDs been installed with the notch oriented correctly and the solder joints are good c If you suspect one defective LED apply about 2 V across each LED notched side is ground or use a 1K Q resis tor in series with the 9V power supply Computer Inspirations Assembly amp Technical Manual LED Chaser Technical Description The circuit diagram below shows the LED Chaser schematic Thirty two LEDs are connected in a Charlieplexed arrangement A significant advantage of this LED organization is that fewer drive pins
6. e Using more LEDs in an animation will cause the individual LED brightness to be reduced This is a limitation of the Charlieplexing technique used to drive the LEDs Maximum brightness is achieved using a single LED Two LEDs would have Y the brightness of a single LED Three LEDs would have about Y the brightness and so on Computer Inspirations Assembly amp Technical Manual LED Chaser gt 700 mil lt a 300 mil 1 A A S C4 3 Si eD gt o 3 o o El LED Chaser V1 R3R1 og oo LED Chaser V1 2012 Computer Inspirations Plated 1 7463 4 mil Iu OLE pu gel Mechanical Dimensions of the LED Chaser PCB Computer Inspirations Assembly amp Technical Manual
7. e 25 Be 2T Second animation frame L2 20 14 T1 Oy Sle l3 27 20 sty 18 23 10 24 16 19 Ll Boe Ip oly 5 30 Uy 28 22y Di l By 19 Gg US 20 Zoe Lan dan Dy 4 10 27 18 Jig 30 Lly 35 295 Gy 24 13 ay loba a oly Es dle 28 7 Last animation frame The first byte indicates how many LEDs will be turned on simultaneously four in this case The second byte defines the amount of time that each animation frame groups of four bytes is displayed 192 mS for this example The software displays each of the four LEDs in each animation for 96 mS and then moves on to display the next frame When the last frame is reached the animation begins at the first frame again LEDs are numbered with 0 representing the top most board LED D17 and 31 representing the bottom board LED D16 Any number greater than 31 e g 32 is not displayable so all the LEDs will be off in that case This feature is useful when you have four LEDs in an animation but only want to display one of them e g 0 32 32 32 would light only the top most LED Repeating an animation frame is a simple way of slowing down just a portion of an anima tion for a special effect If you develop any animations that you would like to share please email them to sales c inspirations com with a subject line of LED Chaser Animation The best animations will be featured in future software updates and may even be given a DIP switch position Not
8. f these animation patterns to be assigned to the switches however you like provided you have a MicroChip IDE debugger and compiler The code for this board was developed using their free MPLAB X IDE V1 30 along with the XC8 C compiler V1 10 The LED Chaser board includes a standard PICKit compatible programming debug connector at reference P2 The source code is available from our web site at www c inspirations com You can also develop your own animations by creating a list of LEDs The default times between animation steps can be set to Computer Inspirations Assembly amp Technical Manual LED Chaser C anything from 1 mS to about a minute Any number of LEDs from one to 32 can comprise a re scene However the brightness of each LED decreases as the number of LEDs in a scene in a z os we creases See below for more details A Assembling the LED Chaser Kit A Please verify that your kit contains the following parts 1 2 2 2 uF 16V ceramic capacitors a 1 2 0 1 uF 50V ceramic capacitors 2 4 120 Q 1 4 W resistors pa 2 2 2K 0 W resistors optional for future expansion a a 3 4 10K Q W resistors W g gt 4 1 Right angle 0 1 6 pin header optional for debug programming E 5 1 3 position DIP switch nant 6 1 5V Regulator IC MCP1702 5002E TO 7 1 Preprogrammed microcomputer IC PIC16F1829 I 8 1 256Kbit EEPROM IC with PC bus 24LC256P optional for future expansion 9 32 5mm red LEDs or any color of your
9. own Also check for shorts between components pins especially the pins of U1 and C1 to C4 If you see the 9V battery voltage at the banded end of D33 then the problem is likely a bad solder joint or U1 is missing or not working Disconnect the battery before continuing J 32 5mm red LEDs as marked Important notch goes to the top as shown at D1 to D32 Install one LED at a time and solder only one pin of the LED to hold it in place Computer Inspirations Assembly amp Technical Manual LED Chaser Then make sure the LED is flush on the PCB board Reheat the soldered pin to seat the LED properly if needed Solder the remaining lead and clip the excess pins Repeat this procedure for the rest of the LEDs O 1 Right angle 0 1 6 pin header optional at P2 if you re going to develop your own software or alter the existing software 1 Preprogrammed microprocessor IC PIC16F1829 at U3 Important notch or dot goes to the bottom as shown g 1 256Kbit EEPROM IC 24LC256P optional with PC bus at U2 Important notch or dot goes to the top as shown Testing the Assembled Board Once the components have been soldered to the PCB test the assembly preferably with a current limited 9V power supply or the battery 1 Connect the 9V power supply lead to the 9V clip leads at P1 positive to the red wire at pin 1 and negative to the black wire at pin 3 2 You should see all the LEDs light up in sequence st
Download Pdf Manuals
Related Search
Related Contents
Installation Guide/User manual modèle ludlum 2224-1 echelle de comptage / ictomètre Smeg DF6SPLUS dishwasher CD-355 - Exhibo Sony HTD-DW760 System Manual de Usuario Teletramitación Inscripción Nuevo Modelo de Philips SWV2623W/10 User's Manual 取扱説明書 - Panasonic Philips Disney Suspension light 71758/31/16 PXI2307 User`s Manual Copyright © All rights reserved.
Failed to retrieve file