Professional Documents
Culture Documents
2010 08 22 How To Make Own Eagle Library
2010 08 22 How To Make Own Eagle Library
22ndAugust,2010 WrittenbyCholisSafrudinYD1CHS http://yd1chs.wordpress.com OneofmyfavouritePCBdesignersoftwareisEAGLE(EasilyApplicableGraphicalLayoutEditor), since it is free, easy to be used and satisfies my need. You can download it at http://www.cadsoft.de/ Usingthissoftwareisfullofjoy,butsometimeweexperienceaconditionwherewecouldnt find any specific symbol at the existing EAGLEs library, for example a single gang plastic variable capacitor (varco). This component usually is used at old broadcasting single band receiver.Here,Iwouldliketosharemyexperiencetocreateanewsymbolandaddingitinto EAGLEslibrary. Firstofall,itisneededtodeterminesizeandshapeofthenewcomponent.Inthiscase,letus use a old plastic single gang variable capacitor (varco) for example. The varco has rectangle shape,eachsidesized1inch.Ithas3pins,thecenterpinisacommonpin.Thecentrepinis placed at middle position of one side, meanwhile each other pins seperated about 0.5 inch from the centre pin. Rotator is laid in the centre of rectangle. Both sides has small hole for mountingscrewdriver.Untilnow,wehavehadacompletepictureofournewcomponent.You maydrawitintoapieceofpapertoassistduringdrawing.Theprocedureisquitesimple,they areasfollowed: 1. Creatinganewlibrary 2. Creatinganewpackage 3. Creatinganewsymbol 4. Creatinganewdevicebyconnectingbetweennewsymbolandnewpackage Thisstepbystepprocedureguideyoutocreateanewsymbolandsaveitintoanewlibrary. Step1:CreateANewLibrary Open the EAGLE software, createa new library by clicking FILE > NEW > LIBRARY, save it by clickingFILE>SAVEASandnameitasyouwish.Inthisexample,Inameitbylibrary_ku. 1
Figure1CreateANewLibrary
Figure2SaveIt
Figure3NameandPlaceIt
Nowwehaveanewlibrarynamedlibrary_ku.YoucancheckitsappearanceontheEAGLE default library folder named lbr, which is appeared as library_ku.lbr. This library is still emptyandwehavetofillitwithoneorseveralsymbols. Step2:CreateANewPackage Before we create symbol, we need to digitalizing shape of our new component into a new package.Thispackagewillbeusedbyoursymboljustlikeamask,sothat,asymbolcanhave severalpackages.Tocreateanewpackage,pleasefollowstepbystepprocedurebelow. 3
Figure4OpenEditWindowandNameforANewPackage
Figure5SaveTheNewPackage
Figure6ChoosePADToDrawPackage
Figure7DrawANewPackageforVarcoWithRealDimension
Usetoolrectangle,line,etctodrawthepackage.Pleasepayattentiononitsdimensionper division,sinceitdeterminesrealdimensionofthepackage.Inthepackagewindow,thereisa haircross,itindicatescenterpositionofthepackage.Youcanputitfreelyasyouwish.Iloveto putitatthepackagecorner. Letexaminethepackageabove.Theshapeshownisbottomside.Eachsideoftherectangleis 20divisionor20*0.05inch=1inch.Ithasthreepins(greencolor),onerotatorandtwoscrew driverholes.Drawthemallinthepackagewindow. Nowournewpackagehasfinished,nextstepiscreatinganewsymbolandlinksittothisnew package. Step3:CreateANewSymbol Nowisatimetocreateournewsymbol.You cancreateasspecificsymbolasyoulike,butI recommendyoutodrawitasageneralknownsymbol,sothatotherusercanidentifyiteasily. Hereistheprocedure. 5
Figure8NameOurNewSymbol
Figure9CreateANewSymbol
Figure10DrawAVarcoSymbol
Figure11DetermineEachPinUsingMenuBelow
Pay attention during determine each pin on the varco symbol. Their arrangements will be correlatedwiththeirrealposition.Letseethesymbolabove,Isetthe1stpinformostleftpin P$1,then2ndpinforP$2andfinallythemostrightpinasthe3rdpinP$3.Soon,youwillseeits correlationwhenweconnecteverypinbetweensymbolandpackageonthenextstep. Now,oursymbolhasfinished.Next,wewillcreateanewdevicebyconnectingoursymboland ourpackagebeforeweuseitintoourPCB. Step4:CreateANewDevicebyConnectingBetweenNewSymbolandNewPackage Thisstepisakeyofalldevicecreation.WecannotuseournewsymbolforourPCBbeforelink itwithitsappropriatepackage.Hereistheprocedure.
Figure12OpenWindowandCreateandNameANewDevice
Figure13SaveOurNewDevice
Figure14ClickNewButton
Figure15ChooseAnAppropriatePackageInthiscaseisVARCO_PACKET
Figure16ThePackageisNowAppearedOnTheDeviceWindow
Figure17ChooseSymbolfortheChoosedPackageUsingButtonBelow
Figure18ChooseAppropriateSymbolforChoosenPacket
Figure19OurVarcoSymbolWillbeAppearedOnTheWindow
Figure20ClickMenuConnectToConnectEachPinBetweenSymbolandPackage
Figure21ConnectEachPin(Symbol)withEachPad(Package)
Figure22AllPinsHaveBeenConnectedToAllAppropriatedPad
Figure23FindOurNewLibraryInThelbrDirectory
Figure24DoubleClickTheLibrarylibrary_ku.lbr,Device,SymbolandPackageWillBeShown
11
Figure25ThisisAppearanceOfOurNewSymbol
Figure26ThisOurPackageLookedOntheBoard(PCB)
12
I have explained stepbystep procedures to create a new library into our EAGLE. There are many other tricks and tips we can be applied to enhance our PCB creation as well as its production.ThefollowingpicturesaresummaryofallstepIhavebeenexplainedbefore. CREATINGANEWLIBRARY
13
14
EVALUATINGOURNEWLIBRARY
[]EndofPageYD1CHS
15