Symbols for 8-Pin AVR/PIC

May 24, 2006 5 Replies

Hi all,



Just wondering whether anyone can point me in the direction of existing Eagle symbol/part libraries for 8-pin flash AVRs/PICs? I am particularly interested in symbols/parts for the ATTINY13s and the PIC16F687. I googled till my fingers bled but I'm obviously not looking in the right place. Any ideas?



TIA


-- Peter


Normally I open up the library manager and just create one, or just modify another similar component and sav it as a AVR, whatever

10 mins max for an 8 pin device

martin

Why you waste your time with google instead of just drawing your own symbols, packages, and devices? And, no, I have no AVR/PIC, but if you are looking for MSP430s with metric dimensions (symbols and packages) I could help with my own home-brewed library...

Bodo

Yep I'm lazy :) Seriously, I take your point.

It was more that I have a number of devices to do (more than the ones I mentioned) and I hoped to find a reliable source of Eagle libraries that had devices in them that are more recent than mid-2005. I'm quite willing to share my own libraries, I just get sick of having to create a whole bunch of symbols every time I start a new project.

Oh, well.

-- Peter

It's a little more irritating if you have to make a symbol for something like Philips' LPC3xxx (sic) in BGA with 320 balls.

Best regards, Spehro Pefhany

"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com

Hi, Peter.

I usually create my own. I've attached one for the Tiny13 below. Save this file as a *.scr file, open the library editor and run this script. IIRC, the SOIC-8 package it also creates has a slightly shorter pad than the one already in the atmel.lbr file.

I think you'll see it's not too hard, and I particularly prefer to script, because the accuracy is much greater.

From the note below, check the font used for the text - it needs to be vector to print properly. This script doesn't explicitly set the default, so you might end up with something else.

Cheers, Richard

----------------------------------

# Library script

open atmel.lbr;

grid on; grid lines; grid mm; grid 0.01 5;

Edit SOIC-8.pac; Description 'Wide Plastic Gull Wing Small Outline Package';

# Layout the pads Layer 1; Smd '1' 0.5 1.8 -0 R0 (-1.905 -2.450); Layer 1; Smd '2' 0.5 1.8 -0 R0 (-0.635 -2.450); Layer 1; Smd '3' 0.5 1.8 -0 R0 (0.635 -2.450); Layer 1; Smd '4' 0.5 1.8 -0 R0 (1.905 -2.450); Layer 1; Smd '5' 0.5 1.8 -0 R0 (1.905 2.450); Layer 1; Smd '6' 0.5 1.8 -0 R0 (0.635 2.450); Layer 1; Smd '7' 0.5 1.8 -0 R0 (-0.635 2.450); Layer 1; Smd '8' 0.5 1.8 -0 R0 (-1.905 2.450);

# Layout the pins in the doc layer Layer 51; Rect R0 (-2.155 3.1) (-1.655 2.0); Layer 51; Rect R0 (-0.885 3.1) (-0.385 2.0); Layer 51; Rect R0 (0.885 3.1) (0.385 2.0); Layer 51; Rect R0 (2.155 3.1) (1.655 2.0); Layer 51; Rect R0 (-2.155 -3.1) (-1.655 -2.0); Layer 51; Rect R0 (-0.885 -3.1) (-0.385 -2.0); Layer 51; Rect R0 (0.885 -3.1) (0.385 -2.0); Layer 51; Rect R0 (2.155 -3.1) (1.655 -2.0);

# Name and Value labels # Need to set the font type here to vector Layer 25; Change Size 1.27; Change Ratio 10; Text '>NAME' R90 (-2.8575 -2.159); Layer 27; Change Size 1.27; Change Ratio 10; Text '>VALUE' R90 (4.064 -2.159);

# Silkscreen outline Layer 21;

# Vertical lines # Stop 0.25mm short at ends to allow for corner rounding Wire 0.1524 (-2.5 1.75) (-2.5 -1.75); Wire 0.1524 ( 2.5 -1.75) ( 2.5 1.75);

# Horizontal micro lines # Hold back 0.2mm from edge of pad # Stop 0.25mm short at ends to allow for corner rounding Wire 0.1524 (-1.455 2.0) (-1.085 2.0); Wire 0.1524 (-0.185 2.0) ( 0.185 2.0); Wire 0.1524 ( 1.085 2.0) ( 1.455 2.0);

Wire 0.1524 (-1.455 -2.0) (-1.085 -2.0); Wire 0.1524 (-0.185 -2.0) ( 0.185 -2.0); Wire 0.1524 ( 1.085 -2.0) ( 1.455 -2.0);

# Corners # Make corners 0.25mm radius Wire 0.1524 (-2.50 1.75) Flat -90 (-2.25 2.00); Wire 0.1524 (-2.50 -1.75) Flat +90 (-2.25 -2.00); Wire 0.1524 ( 2.25 2.00) Flat -90 ( 2.50 1.75); Wire 0.1524 ( 2.25 -2.00) Flat +90 ( 2.50 -1.75);

# Pin #1 Marker Circle # Hold back 1mm from each edge Circle 0.1524 (-1.50 -1.00) (-1.75 -0.8);

# Top & Bottom outline (doc layer) Layer 51; Wire 0.1524 (-2.25 -2.0) (2.25 -2.0); Wire 0.1524 (-2.25 2.0) (2.25 2.0);

Edit TINY13*.dev; Prefix 'IC'; Description '\ MICROCONTROLLER\n\

1 kBytes FLASH\n\ 64 Bytes EEPROM\n\ 64 Bytes SRAM'; Value Off; Add 6-I/O-2 'G$1' Next 0 (0 0); Package 'SOIC-8' 'S8S1'; Technology ''; Connect 'G$1.(RESET)PB5' '1' 'G$1.(XTAL1)PB3' '2' 'G$1.(XTAL2)PB4' \ '3' 'G$1.GND' '4' 'G$1.VCC' '8' \ 'G$1.(SCK)PB2' '7' 'G$1.(MISO)PB1' '6' 'G$1.(MOSI)PB0' '5'; Package 'DIL08' '8P3'; Technology ''; Connect 'G$1.(RESET)PB5' '1' 'G$1.(XTAL1)PB3' '2' 'G$1.(XTAL2)PB4' \ '3' 'G$1.GND' '4' 'G$1.(MOSI)PB0' '5' \ 'G$1.(MISO)PB1' '6' 'G$1.(SCK)PB2' '7' 'G$1.VCC' '8';

Edit SOIC-8.pac;

# Save the library write;

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required