EAGLE ATmega168/328p pins

So I've been working on Eagle lately and got a problem that i should not have, I searched lib's
for atmega328p and i couldn't find but I downloaded the sparkfun lib. atmel which got inside
the pin out of the 168 and as people say the 168 has the same pin out as the 328p so I chouse to use
the MEGA8-P which is pin compatible with Atmega48, 88 and 168.


Pic nr.1 Eagle MEGA8-P lib.
Pic nr.1 Link

So i took it and created my circuit and printed 1:1 scale of the circuit and I found out that the
pins don't fit.


Pic nr.2 Atmega328p with DIP28 Socket.


Pic nr.2 Atmega328p without socket.

I repeat this is 1 to 1 scale all the other components fit perfectly.
So does anyone know where i can get a exact lib for 28pin chip?

Any ideas why they don't fit? maybe im not doing something that i should?

Yes i didn't done something well on that circuit, the atmega lib is fine, i tested with other circuit that i printer and it's fine. If i find the problem i will post it.

The pins are on a 0.1" (2.54mm) grid. The distance between pin 1 and pin 14 is 1.3"(13.02mm).
Either your printout isn't exactly 1:1 or the Eagle library is wrong. I know which one I'd suspect.

Looks like your printout wasn't set to 1:1 output, or no scaling, or similar.

So I couldn't find the exact problem but I'm suspecting this :

I'm using Eagle to print out/save the file in *.pdf format 1:1 scale but in the exact *.pdf i got only
one copy so instead of wasting a lot of papers i use CorelDraw to make multiple copies on A4.pdf file
i just copy and paste the pcb in the CorelDraw and save as *.pdf file, I got one of my last PCB's with
atmega DIP28 on paper so i compared the scale and yes, the Eagle print exactly 1:1 the mistake probably was
from the CorelDraw wrong setting in saving and got smaller scale.

The funny part is that I made the 1st prototype and tested the components on the paper (scale)
I done few modifications and printed 2nd pcb and didn't tested on paper the components dimensions
so i started making the pcb in the end I done holes..etc and found out the pins don't fit, I actually bend
all the pin's of the atemga socket to fit :smiley: