#### Control panel ##### Take custom librarys into useCreatecustom_librariesfolderunderEAGLEprojectsdirandadd.lbrfileunderit,forexample:
OSD3358_BAS_RefDesignParts.lbr
Alsointhecontrolpanelclickthegraydotnexttothelibraryname,itshouldchangetogreen
#### General board layout notes ##### Routing high speed tracesForexampleUSBdatalinesshouldbethesamelength,ormax.1%differenceintracelengths.Measurethetrace
lengthsandiftheotheroneistooshort,alengthmatchingbendscanbecreatedtotheendofthetrace.Width
betweendthebendshouldbegreaterthan3xthetracewidthandtheanglesshouldbeatleast135degrees.
#### Schematic view ##### Create bill of materialSelectschematicview->ULP->bom.ulpBillOfMaterial->Save...
# Things to check before sending gerber files to manufacturer-RunERCcheck(ElectricalRuleCheck)-Makesurethecomponentsareavailable
-Checkthateverylabelconnectstotherightplace
-Checkthatcomponentshavevalues.
-Addcommentsandcircuitnames
#### Board layout ##### Creating Gerber filesLayoutview->File->CAMProcessor->LoadJobFile(nexttosavedisk-image)->LocalCAMJobs->examples
->ThirdParty->OSHPark->OSHPark4layer->CheckthateverythingisOK->ProcessJob->Save
# Force routing through pinsSelectrouteairwavetoolandselect'Ignore obstacles'fromthetoptoolbar
# Measure trace lengths. ( Other information also available here, for example max current based on trace length )Pastethiscommandinthecommandline:
runlength-freq-ri
# Skip thermal gaps when doing copper pourSelect'Thermals off'fromthepolygonmenuinthetoptoolbarafterselectingpolygontool.Thisneedstobeselected
beforedoingthepolygon.
# Create board borders ( dimensions ).Ensurethattheboardstartsfromthewhitedottexcrossmarkontheview.
Clickdimensionstoolandgothroughtheedgesoftheboard.Makesurethatoutsideoftheboardisgraycoloredand
theboarditselfisblack.CheckfromManufacturingpreviwwindowsthattheboardlayoutisok.
# Create ground and power planes ( layers )Ensurethatthereisenoughlayerstodothis.Withbottomandtopsignallayersalreadyused,morelayersisneeded.
Thencreateacopperpouroverthewholeboard
# Add more layersDRC->Layers->dropdown2-16layers.
# Connect via's to specific layerRightclickviaandsetthename.Forexamletoplacevia'stogroundsetthenametoGND,ortopowersource,changethename
toforexampleSYS_3V3
# Add copper poursClickpolygoninthetoolbarandcreateafullloopwithittocreatethebordersofthepour,thenclickratsnesttopourthecopper.
# Remove golden circle around via when previewingDRC->Masks->Limit.Settoforexample25mil.
# Switch layers while routingClickScrollwheelandselectanotherlayertocontinueonanotherlayer,thiswillplaceavia.
# Check for board layout errorsDRC->check
# Good font size for component value on silkscreen:32with8%ratio
# Things to check before sending gerber files to board manufacturer-Allthecomponentdesignatorsareplacedappropriatelynexttotheircorrespondingcomponents.
-Pin1ismarkedfornecessarycomponents.ThisincludesallICs,connectorsandpolarizedcapacitors.
-Thereisnosilkscreenoveranycomponentpads.Thiscanleadtobadsolderjoints.
-Thefontsizeofthecomponentdesignatorsisaslargeaspossiblegiventhespaceconstraintsoftheboardsothatthetextisreadable.
-Trytonotplacesilkscreenovervias.Silkscreenhasahardtimeadheringtotheannularringofaviawhichcanmakethetextdifficulttoread.
How does current pass thru a capacitor?
-Normallyitdoesnot,onlywhenvoltageschangerapidly,whichmeansachange
intheelectricfield.
-Therearetwotypesofcurrent.Currentflowinginaconductorand"conduction current"aswellas"change in electric field"-current.
Cross talk
# How to reduce cross talk on a PCB?-Movetracksfurtherawayfromeachother.
-Haveacurrentreturnpath(GND)closertothetrackthatcrosstalks.
Forexampleona4layerPCB,haveaGNDlayerrightundersignallayer.
# Cross talk happens only on a rising/falling edge in the signal. Basically a changeinvoltagewillcreateaelectricfieldanditwillcoupleintotheothertrace
thatistooclose.
-Thereisnocrosstalkanywhereelsethannearthefalling/risingsignaledge.
Otherthanwhathappensonthereceivingendofthecrosstalk,whichspreadsthat
voltagepulseinbothways.
# When cross talke happens. The other trace which is affected by the cross talk, willhaveavoltagepulse,thatwillmoveinbothdirections.
-https://www.youtube.com/watch?v=EF7SxgcDfCo
http://www.hottconsultants.com/techtips/rulesofthumb.html
# How to count 50 ohm track ( width of the track )Multiplyheightofthedielectricfieldby2Example:
5mildelectric*2=10miltracktoget50ohms
Kicad
# "0 items loaded" when trying to Choose Symbol-MainKicadwindow->Preferences->ManageSymbolLibraries->
GlobalLibraries->Addlibrarieshere.TheyarelocatedinKicadinstalldir:
C:\ProgramFiles\KiCad\share\kicad\library
SelectthemallwithCtrl+A.
# Move components-HoveronacomponentwithamousecursorandpressM.
-Torotate,hoveracomponentandpressR.
-Tocopy,hoveracomponentandpressC.
-TodraglinespressG.
# Name components-Click"annotate schematic symbols"fromthetoolbarintoprightside.(penandpaper)-It's best to do this once the schematic is done.'# Assign values to components-HoveroveracomponentandpressE.
-Setvalueto"text"field.
# Create new sheet-CreatehierarchialsheetbypressingS.
-Entertonewlycreatedsheetbyrightclickingandselecting"Enter sheet"-Leavethenewlycreatedsheetbyrightclickingandselecting"Leave sheet"-Tocreatealocallabel:
--Place->Placehierarchiallabel
-ToReferencelocallabelfromrootsheet:
--Place->ImportHierarchiallabel
# View basic keybinds ( Draw lines, add symbolds etc. )-Help->Listhotkeys(Ctrl+F1)-'Place'tab
# Open symbol editor'Create, delete and edit symbols'-iconintoolbar
# Create custom library for a projectSymbolEditor->File->NewLibrary->Global
# Add component to custom librarySymbolEditor->Searchforyourcomponent->Rightclick->Copy->Searchforyourlibrary->Rightclick->Pastesymbol
# Place components from custom librarySymbolEditor->Searchforyourcustomlibrary->Rightclick->Pin
Theninschematicseditorwhenplacingcomponents,libraryisontopofthelist
# Add GND or signal/power planeSelectB.Culayer(oranyotherlayer,Bisforbottomplane)->Addafilled
zone->clicktoacornerwheretheplanestarts->Selectnet(forexampleND)->Ensurelayeriscorrect->Padconnections->Thermalreliefs->Ok->click
onceforeverycorner->doubleclicktofinish->Pres'B'tofillthezone.
# Set manufacturer design rules ( JLCPCB )OpenKicad->Inthemainwindowclick'Plugin And Content Manager'->Install
->Applypendingchanges->