User Tools

Site Tools


baythreat

Bay Threat 2011 Badge

CharliePlexed LED badge

Source files Sub Version or WebSVN

Uses a 1 x 6 ISP socket, needs a kraken, AVR Dragon, AVR ISP etc. to program chips! Don't forget!!! . 6 pin 1×3 to 1×6 adapter or jumpers required.

Jameco stock this programmer http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_2136420_-1 or this http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_2136788_-1

See here for general programming details AVR_Programmer

code is in svn folder svn://svn.032.la:6699/032/BayThreat/code or use websvn above….

there are two projects, prebuilt hex files for flashing with programmer are in default folder.

note the ISP clock speed when you program them.. battery power is fine for programming

AVR Studio 4 and WinAVR to build projects

avr studio 4

winavr

<code> fuses are default settings for attiny2313 you can unset ckdiv/8 to make change the clock speed to 8Mhz make sure the speed for the ISP programmer is 125Khz for more time don't go lower than 1Mhz clock speed if using a dragon to program</code>

BOM Jameco

See note about battery holder below

 1 x AtTINY2313-2O               [[http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_847551_-1]]
 1 x CR2450 Battery              [[http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&productId=2119216&catalogId=10001&freeText=Cr2450&app.products.maxperpage=15&storeId=10001&search_type=jamecoall&ddkey=http:ProductDisplay]]
 7 x 220 Ohm 1/4 W PTH Resistors [[http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_690700_-1]] (BAG of 100)
 1 x 6mm Switch to change modes  [[http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_119011_-1]]
 30 x T1 LED (RED)               [[http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_333851_-1]]
  or 
 30 x T1 LED (GREEN)             [[http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_333201_-1]]
  or 
 30 x T1 LED ( BLUE)             [[http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_1108515_-1]]
 Header pins, each badge needs 6, these are strips of 40, these can be optional for programming only.
 6 pins needed for each  badge, strips of 40  [[http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_160882_-1|headers]]

Jameco doesn't carry the PTH CR2450 battery holder. Only digikey BK-5033 http://search.digikey.com/scripts/DkSearch/dksus.dll?lang=en&site=us&vendor=0&WT.z_cid=ref_findchips0311_dkc_buynow&mpart=BK-5033

BOM

 1 x ATMEL - ATTINY2313-20PU 
  http://www.mouser.com/search/ProductDetail.aspx?qs=%2F3fErP%2Fu%252bPG7dXL0kuANBA%3D%3D 
  http://parts.digikey.com/1/parts/552505-ic-mcu-avr-2k-flash-20dip-attiny2313-20pu.html 
  http://avnetexpress.avnet.com/store/em/EMController/_/A-3592179/An-0?action=part&catalogId=500201&langId=-1&storeId=500201&CMP=KNC-Supplyframe_VSE-T11
 30 x 3MM PTH LED ( HLMP-KB45-A0000  you choose colour 83H6746 newark example) less than 3.1V Forward volts. 3.3V at a push
 6 x 220 ohm 1/4W PTH resistors 
  http://www.digikey.com/us/en/products/RC14JB220R/RC14JB220R-ND/1744980 example
 1 x 24MM PTH CR Battery holder
  http://www.digikey.com/us/en/products/BK-5033/BK-5033-ND/2330512 (2450 Battey)
 1 x CR2450 Battery, you can change which battery you want to use as long as its a 24MM holder. Digikey etc batteries are 'california' so not as good
 1 x 6mmx6mm PTH switch, momentary  
  http://www.digikey.com/us/en/products/FSM2JH/450-1649-ND/1632535

Optional for programming

 1 x 6 pin 2.54mm header programming socket
 1 x STK500/STK600/AVR Dragon for programming
 1 x 6 Pin IDC to  Pin 2.54mm header

Layout PDF

Flat side of LED goes to | on PDF

baythreat.pdf

baythreat.txt · Last modified: 2013/08/13 12:13 by 127.0.0.1