This guide will (try to) explain how to create a simple part for a library. In this example I will create a PLCC44 ROM..
I know for a fact there is a PLCC44 "package" in one of the reference libs. So will we copy/paste that to save creating it from the ground up. I will explain how to do a new package in another guide another time...
So we load Eagle and load up the lib editor.
FILE - OPEN - LIBRARY
I use the "ref-packages.lbr" in this case. It's a very large lib of packages ready to rip.
Click the EDIT icon from the massive tool bar of nothingness...
Scroll down and look for the package we want. Which is the PLCC-44S. Basically PLCC package, 44 pins, Socketed type... Click OK..
Then your shown the socket package like below. This saves us a lot of work in not having to create all this ourselves! yay!
Using the GROUP tool, select the whole package as shown below.
(the group tool is the normal "rubber band" box type thingy like in windows etc)
Go into the EDIT menu and click COPY.
Now go into the FILE menu and click NEW..
Now we need to click the EDIT button and make sure it says PACKAGE at the top. If it doesn't, click the PAC button at the bottom.
In the text box ( near the bottom "new") I used PLCC44 as my package name. Type it in as shown below then click OK.
Another pointless box to click YES..
Now we need to click the GRID icon and put the options I did below. Of course if you are doing other parts, such as tiny SMT stuff, then a smaller grid such as 0.1mm is probably better.. But in this case. 1.27mm is a normal size to use.
Now go into the EDIT menu and click PASTE. It should now paste the part you copied earlier. Try to center it in the center of the grid so the "+" is in the middle of the part.
TIP: For some reason it lost my copied part, and it said the past buffer was empty If this happens, load up Eagle a second time and load the reference lib and do the copy again..
Now a WARNING here... Never EVER assume the reference packages are correct in any way shape or form. Print it out and confirm it. Look for datasheets and confirm its all right. Never EVER assume the pads are all aligned properly, CHECK EVERYTHING!
Use the INFO tool and click pin1 on the PLCC package. Confirm it says 1 in the NAME part in the pop up box. CHECK THEM ALL! Leave nothing to chance. Confirm all the pin numbers are correct!
If any pin numbers are wrong, simply change them in the NAME box.
EAGLE CAD LIB EDITOR TUTORIAL PART 3
EAGLE CAD LIB EDITOR TUTORIAL PART 3
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Re: EAGLE CAD LIB EDITOR TUTORIAL PART 3
Now lets do some small tweaks so we can at least say we wasn't 100% lazy with the editor..
Click the INFO TOOL and click the top border line of the package... We do this just to see what layer it is on , in this case layer 21 Tplace. Click cancel.
Now click the CIRCLE TOOL..
Make sure Layer 21 is selected in the layer select menu also.
Left click where you wan't the middle of the circle to be, then move the mouse to create the size you want. Click click "places" the circle.
If we wanted a larger circle, we can UNDO the changes ( I'm sure you can figure that out ) and select a wider width from the top menu...
Now I hear you ask, "why the hell did I just waste 20 seconds of my life doing this ?" . Well as I mentioned earlier, assume nothing is as it should be... While the part looks correct, its actually missing the "DOT" to denote pin 1. Yes, it has the arrow, but once the socket is soldered into place, it then becomes a lot harder to see what is actually pin 1 on the socket.. and yes, this is problem I came across with my ROM boards So I added a circle there to show easily which is pin 1...
Now a small exercise to MOVE the VALUE text to the bottom..
At this point it's probably a good time to do a SAVE You an call the lib whatever you want. "my_lib" or "whatever_you_want" or "Library_of_doom" etc etc.
Click the INFO TOOL and click the top border line of the package... We do this just to see what layer it is on , in this case layer 21 Tplace. Click cancel.
Now click the CIRCLE TOOL..
Make sure Layer 21 is selected in the layer select menu also.
Left click where you wan't the middle of the circle to be, then move the mouse to create the size you want. Click click "places" the circle.
If we wanted a larger circle, we can UNDO the changes ( I'm sure you can figure that out ) and select a wider width from the top menu...
Now I hear you ask, "why the hell did I just waste 20 seconds of my life doing this ?" . Well as I mentioned earlier, assume nothing is as it should be... While the part looks correct, its actually missing the "DOT" to denote pin 1. Yes, it has the arrow, but once the socket is soldered into place, it then becomes a lot harder to see what is actually pin 1 on the socket.. and yes, this is problem I came across with my ROM boards So I added a circle there to show easily which is pin 1...
Now a small exercise to MOVE the VALUE text to the bottom..
At this point it's probably a good time to do a SAVE You an call the lib whatever you want. "my_lib" or "whatever_you_want" or "Library_of_doom" etc etc.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Re: EAGLE CAD LIB EDITOR TUTORIAL PART 3
Next we need to actually create the schematic part.
So we click on the EDIT SYMBOL icon at the top to bring up the symbol box. Make sure it says symbol (if not click the sym button).
Type in the box as shown, I called this the "PLCC44_ROM" symbol. Then click OK.
Another pointless box.. click YES.
So we would have this screen now...
Now set up our grid. I am using lines for this part as I find it a little easier than dots for this stuff...
Now using the wire tool...
<rant>
Why is this called wire ?, shouldn't it be called line ? I guess yes its a "Wire" when we doing a wire, but in this case we are doing a LINE.. with the WIRE tool... anyway..
</rant>
Make sure layer 94 Symbols is selected in the top layer select menu.
Draw a box like shown below. Size doesn't matter exactly at this point, we will change it later as we need to using the move tool...
TIP: Left click places the line. To cancel the line tool, you can press ESC and double click after drawing your line (without moving the mouse) to cancel the tool.
At this point we should find the datasheet of the part so we know what pins we need to create..
For example I use the Atmel 4096 ROM datasheet...
I also take a screenshot as a image and have both Eagle and Pinout image side by side to make things quicker/easier.
So start placing the pins by left clicking to place them....
Select the PIN tool , and you can move and click them where you want them.
Use the MOVE tool if you need more (or less) room with you symbol.
TIP: Use F5 to move the window view about. Use the wheel on your mouse to zoom in and out.
So we should end up with something which looks like this..
TIP: Right click to "spin" the wire around where you need it..
What we have (or should have) Is 18 address pins down the left, 16 data pins on the right, 3 pins which will be CE, OE, VPP ( I spaced them away from the datapins to prevent confusion later).
Now the power pins I place at the top and bottom of the chip. Sometimes you may want a seperate power rail symbol, but that creates a whole fek-load of other steps, so I am just adding them to this symbol for now to try and keep things a simple as possible.
So we click on the EDIT SYMBOL icon at the top to bring up the symbol box. Make sure it says symbol (if not click the sym button).
Type in the box as shown, I called this the "PLCC44_ROM" symbol. Then click OK.
Another pointless box.. click YES.
So we would have this screen now...
Now set up our grid. I am using lines for this part as I find it a little easier than dots for this stuff...
Now using the wire tool...
<rant>
Why is this called wire ?, shouldn't it be called line ? I guess yes its a "Wire" when we doing a wire, but in this case we are doing a LINE.. with the WIRE tool... anyway..
</rant>
Make sure layer 94 Symbols is selected in the top layer select menu.
Draw a box like shown below. Size doesn't matter exactly at this point, we will change it later as we need to using the move tool...
TIP: Left click places the line. To cancel the line tool, you can press ESC and double click after drawing your line (without moving the mouse) to cancel the tool.
At this point we should find the datasheet of the part so we know what pins we need to create..
For example I use the Atmel 4096 ROM datasheet...
I also take a screenshot as a image and have both Eagle and Pinout image side by side to make things quicker/easier.
So start placing the pins by left clicking to place them....
Select the PIN tool , and you can move and click them where you want them.
Use the MOVE tool if you need more (or less) room with you symbol.
TIP: Use F5 to move the window view about. Use the wheel on your mouse to zoom in and out.
So we should end up with something which looks like this..
TIP: Right click to "spin" the wire around where you need it..
What we have (or should have) Is 18 address pins down the left, 16 data pins on the right, 3 pins which will be CE, OE, VPP ( I spaced them away from the datapins to prevent confusion later).
Now the power pins I place at the top and bottom of the chip. Sometimes you may want a seperate power rail symbol, but that creates a whole fek-load of other steps, so I am just adding them to this symbol for now to try and keep things a simple as possible.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Re: EAGLE CAD LIB EDITOR TUTORIAL PART 3
Now we need to NAME our pins using the NAME TOOL.
I start with A0...
We now have A0! Now NAME all the other pins...
TIP: Use F5 to move around and the mouse wheel to zoom in and out. Coffee or Vodka is probably a good thing to do next..
You should have something like this then..
I start with A0...
We now have A0! Now NAME all the other pins...
TIP: Use F5 to move around and the mouse wheel to zoom in and out. Coffee or Vodka is probably a good thing to do next..
You should have something like this then..
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Re: EAGLE CAD LIB EDITOR TUTORIAL PART 3
Now we need to link up the 2 parts we created using the EDIT DEVICE tool..
I called this part , again, "PLCC44_ROM".
Click OK...
WARNING WARNING DANGER DANGER (click yes).
Using the ADD TOOL, we need to add our part....
We should now have our part shown like this...
Click NEW at the bottom right... and select our PLCC44 package... Click OK...
Then we should see our PLCC44 package in the right window like below...
<slightly pointless note>
If we created a SMT 44 pin package, we should select it in those options and add it as a variant.
</slightly pointless note>
Make sure the PLCC44 package is selected as pointed to right red arrow...
You can double click it, or click connect at the bottom...
Then we have the connect window pop up... This is where we link our schematic pinout to the package pinout... So we need the 4096 ROM datasheet again to see what pin goes where...
Again, its useful to have both things on view on the screen at the same time...
<waffle>
In case anyone is wondering, This is the part I screwed up the STF video connector pinouts etc
</waffle>
So we look at the datasheet pinout (as shown in the right side image) and we see /CE is on pin 3 of the IC..
So we select /CE in Eagle and select pin 3... and click CONNECT...
Now our /CE pin is connected to pin 3 and shown in the right column.
(and no, I don't know what the G$1 rubbish is either )
So go through each pin one by one and connect them....
Of course there are 4 N/C pins on the ROM. So they don't connect to anything.
Click OK and Eagle will number the pins in the main window as shown below...
Next SAVE the thing.. and we are almost done...
Go back to the main Eagle control panel and click the arrow next to Libraries to expand the list..
Then look for our library name we created...
Notice the "dot" where I circled in red is smaller.. (and can be greyed out on some versions of eagle) This means the library is found but not yet loaded...
Click the dot to turn it green...
If we now create a new schematic, and click the ADD part icon, we can scroll down to find our new lib...
.. and place it in the schematic window...
Also just to show the PCB part, we can chose "SWITCH TO PCB" and we can see our PCB part also
So this concludes this epic adventure of today!
I called this part , again, "PLCC44_ROM".
Click OK...
WARNING WARNING DANGER DANGER (click yes).
Using the ADD TOOL, we need to add our part....
We should now have our part shown like this...
Click NEW at the bottom right... and select our PLCC44 package... Click OK...
Then we should see our PLCC44 package in the right window like below...
<slightly pointless note>
If we created a SMT 44 pin package, we should select it in those options and add it as a variant.
</slightly pointless note>
Make sure the PLCC44 package is selected as pointed to right red arrow...
You can double click it, or click connect at the bottom...
Then we have the connect window pop up... This is where we link our schematic pinout to the package pinout... So we need the 4096 ROM datasheet again to see what pin goes where...
Again, its useful to have both things on view on the screen at the same time...
<waffle>
In case anyone is wondering, This is the part I screwed up the STF video connector pinouts etc
</waffle>
So we look at the datasheet pinout (as shown in the right side image) and we see /CE is on pin 3 of the IC..
So we select /CE in Eagle and select pin 3... and click CONNECT...
Now our /CE pin is connected to pin 3 and shown in the right column.
(and no, I don't know what the G$1 rubbish is either )
So go through each pin one by one and connect them....
Of course there are 4 N/C pins on the ROM. So they don't connect to anything.
Click OK and Eagle will number the pins in the main window as shown below...
Next SAVE the thing.. and we are almost done...
Go back to the main Eagle control panel and click the arrow next to Libraries to expand the list..
Then look for our library name we created...
Notice the "dot" where I circled in red is smaller.. (and can be greyed out on some versions of eagle) This means the library is found but not yet loaded...
Click the dot to turn it green...
If we now create a new schematic, and click the ADD part icon, we can scroll down to find our new lib...
.. and place it in the schematic window...
Also just to show the PCB part, we can chose "SWITCH TO PCB" and we can see our PCB part also
So this concludes this epic adventure of today!
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Re: EAGLE CAD LIB EDITOR TUTORIAL PART 3
This took me all day to put together
I don't think I messed any steps up.. but never know
Now people know why I just wanted Rodolphe to create the libs as I had to work all this out pretty much myself
Have fun
I don't think I messed any steps up.. but never know
Now people know why I just wanted Rodolphe to create the libs as I had to work all this out pretty much myself
Have fun
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Re: EAGLE CAD LIB EDITOR TUTORIAL PART 3
Once again thanks Exxos, Looks a little more complex than part 1 an2 but I'm going to run through it.
Re: EAGLE CAD LIB EDITOR TUTORIAL PART 3
Yeah its a lot to take in all in one go, even more so if you take into account part 1 & 2.. We not even got into the gerber part yet, or creating our own package from scratch..
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
Re: EAGLE CAD LIB EDITOR TUTORIAL PART 3
Yup, some what daunting but going to keep at it. Always wanted to be able to make a decent pc board. Lots of solutions that are wire wrapped or point to point suck. Have to get something simple made and work from there. When I retired I was going to make a dmaf2 disk controller for a couple 8" drived I picked up just for my SWTPC SS-50 computer. I really need to make a pc board since there are no more wire wrap cards for a ss-50 SWTPC buss. Thanks again exxos.