420 likes | 559 Views
Blinkie – How you do that. Dwayne: Dwayne@2DKits.com Dale: DRSulak@2dkits.com. New This Year!. 4 New Kits Star (mono, bi-color or RGB) 8x8 RGB Matrix 5 RBG (updated design of 4RGB) CR2032 battery, thicker trace, pads for 10mm LEDs, 1 more LED. 8x16 (updated design)
E N D
Blinkie – How you do that Dwayne: Dwayne@2DKits.com Dale: DRSulak@2dkits.com Blinkie – How you do that Musecon 2014
New This Year! • 4 New Kits • Star (mono, bi-color or RGB) • 8x8 RGB Matrix • 5 RBG (updated design of 4RGB) • CR2032 battery, thicker trace, pads for 10mm LEDs, 1 more LED. • 8x16 (updated design) • CR2032 battery, removed IR communications, added USB interface. Blinkie – How you do that Musecon 2014
Using on 12F and 16F chips Main program 7000 lines Patterns 3800 lines Covers lots different blinkies! Software – Pic ASM • Covers all the Blinkies except • 5x7 Badge • 4x4 Square • 4x4x4 Cube • 8x8 RGB Matrix • New 8x16 Matrix Blinkie – How you do that Musecon 2014
Used by 4x4 Square, 4x4x4 Cube, 8x8 Matrix and 8x16 matrix Used “WFF” by Simon Inns for base http://www.waitingforfriday.com/index.php/Building_a_PIC18F_USB_device MicroChips C18 compiler and USB library LED driver interrupt is written in assembly. Dwayne’s assembly is over 100 times more efficient. Microsoft C# for PC side, using Visual C3 2010 Express. Software – 18F line Simon’s code is a great start For simple USB I/O projects Blinkie – How you do that Musecon 2014
Where is the source code? www.2dkits.com • “Build the kit” Instructions • Source code • Complier Listing • Hex file • Microchip Data Sheets • Schematic Blinkie – How you do that Musecon 2014
Pic Chip 8 pins Blinkie – How you do that Musecon 2014
Pic Chip 14 pins Blinkie – How you do that Musecon 2014
Pic Chip 28 pins Blinkie – How you do that Musecon 2014
Have you looked at xxxx Texas Instruments MSP430? • They offer a great start kit for $4.30! • Higher level CPU then PICs, easier to program, better support for “C”. • Operate at 1.8-3.6 volts, hard to driver Blue LEDs. • They have 14 and 20 pin DIP versions. Pic has 8, 14, 18, 20, 28, 40, 64 Blinkie – How you do that Musecon 2014
Have you looked at xxxx PIC 32 bit line? • Looks like a great chip! • Saw some cheap pre-made boards using it. (Solution looking for a problem) • See 8 have been release in SPDIP package. Blinkie – How you do that Musecon 2014
http://www.microchip.com Under:Products-> PICmicro Microcontrollers • Chip/CPU info data sheets • MPLAB IDE • Compiler • Simulator/Debugger • Editor • MPLAB X • Xc compiler Blinkie – How you do that Musecon 2014
Blinkie – How you do that Musecon 2014
Pic Programmer • PicKit3 from Microchip $45 • $10 to $20 – Zif socket from ebay Not hard to find 20% off Coupons for microchip development tools Blinkie – How you do that Musecon 2014
Circuit Board Layout • Eagle Cad http://www.cadsoft.de/ Layout / Schematic / Autorouter Blinkie – How you do that Musecon 2014
Circuit Board Layout • Avoid “Express PCB” and “Pad2Pad”. They are using proprietary formats that other board makers can not work with. • You want something that generates Gerber RS-274X and NC Drill files. • Open source is getting better • PCB • FreePCB • KiCAD Avoid the “Free” circuit board layout software “roach hotel”. Your data can checkin but never checkout. Blinkie – How you do that Musecon 2014
AutoRouting Software • Eaglecad • Quick (minutes) • Lots of options, diagonal options • www.FreeRouting.net • Java Based • Sledge Hammer, multi-pass, hours…. Using FreeRoute to optimize the via’s out. Blinkie – How you do that Musecon 2014
6 Bi-LED (& Badge) Blinkie – How you do that Musecon 2014
3x3 matrix Blinkie – How you do that Musecon 2014
4 RBG Blinkie – How you do that Musecon 2014
19 LED Stick Blinkie – How you do that Musecon 2014
5x7 matrix Blinkie – How you do that Musecon 2014
8x16 matrix To read get pdf from website! Blinkie – How you do that Musecon 2014
New 8x16 matrix To read get pdf from website! Blinkie – How you do that Musecon 2014
4x4x4 Cube (4x4 Square)8x8 matrix PIC LED Driver LED Driver LED Driver SPI bus 8x24 LED array 8 bit 8 bit 8 bit Source Driver 8 bit 8 bit USB PC Blinkie – How you do that Musecon 2014
8x8 RGB matrix To read get pdf from website! 4x4x4 uses same driver design Blinkie – How you do that Musecon 2014
Board in Eagle cad Blinkie – How you do that Musecon 2014
Sample Board Cost 4in x 4in • OSH Park • $2.50 sq inch • multiples of 3 • Seeed Studio (5 boards) • ~2 in x 2 in $10 • ~2 in x 4 in $24 • ~4 in x 4 in $21 • ~4 in x 6 in $56 • ~ 6 in x 6 in $80 • Seeed uses CM 5cm = 1.97in Blinkie – How you do that Musecon 2014
Board Cost – Hockey stick Blinkie – How you do that Musecon 2014
Board Cost – Zoom in Blinkie – How you do that Musecon 2014
Sample 8pin socket cost Blinkie – How you do that Musecon 2014
Part Cost – Hockey stick Blinkie – How you do that Musecon 2014
Price problem • Shopping around can save. • Buying bulk can save up. • Surplus is great, but might not get it again. • Never see the same part • Never see the same price • Shipping overhead has to be factored • Ebay • AliExpress Blinkie – How you do that Musecon 2014
Purple UV leds Blinkie – How you do that Musecon 2014
Color Freq Hey look at all the tla’s for UV! 190 nm can be called: Ultraviolet C, short wave, Germicidal, Far, Vacuum Blinkie – How you do that Musecon 2014
Is UV dangerous? (Short) • Your Iris does not adjust for UV light. Dark room with bright UV bad. • UV damages DNA. Blinkie – How you do that Musecon 2014
Is UV dangerous? (Long) • High intensities of UVB light are hazardous to the eyes, and exposure can cause welder's flash (photokeratitis or arc eye) and may lead to cataracts, pterygium, and pinguecula formation. • UVA, UVB, and UVC can all damage collagen fibers and, therefore, accelerate aging of the skin. Both UVA and UVB destroy vitamin A in skin, which may cause further damage. UVA can contribute to skin cancer via indirect DNA damage (free radicals and reactive oxygen species). It penetrates deeply but it does not cause sunburn. Blinkie – How you do that Musecon 2014
Common Purple/UV freq • 400~405 • 395~405 • 390~395 • 395~400 Freq some LED specs Show UV LEDs Operating at Blinkie – How you do that Musecon 2014
Problems with LED specs Blinkie – How you do that Musecon 2014
Bad Specs... Example #1 Ah, what? Resistor normally to Limit CD forward current Package of 500PCS 5mm Purple/UV 3000 mcd LEDs Specifications: • Material: InGaN • Emitting Colour: purple/violet • Lens Type: water clear • Reverse Voltage: 5.0 V [ 1/4W,470ohm resistor is needed ] • DC Forward Voltage: Typical: 1.9 V Max: 2.3 V • Wave Length: 625-635nm • Luminous Intensity MCD: Typ: 3,000 mcd • DC Forward Current: 20mA • Viewing Angle: 12±5degree • Lead Soldering Temp: 260oC for 5 seconds • Intensely Bright InGaN norm is 2.8 – 4.0 volt This wave length is Red/Orange Blinkie – How you do that Musecon 2014
Bad Specs... Example #2a Blinkie – How you do that Musecon 2014
Bad Specs... Example #2b Reds a little Orange Purple is Green to Blue Blinkie – How you do that Musecon 2014
Blinkie – How you do that Musecon 2014