Eagle 画板-拼板-输出Gerber到SeeedStudio打样过程笔记
生活随笔
收集整理的這篇文章主要介紹了
Eagle 画板-拼板-输出Gerber到SeeedStudio打样过程笔记
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
利用業(yè)余時(shí)間畫得板,絕對的用心之作,所感所學(xué)以記下.......
【畫板及布線過程】畫板layout首先走信號線,將電源及地隱藏。 信號線走線不走直角。 布線能走短線不走遠(yuǎn)。 可以邊走線邊布局。 一般網(wǎng)格設(shè)置成20mil。線寬12mil,密集時(shí)可以走10mil(一般廠家都能做到6mil)電源線盡量走寬,24mil,32mil都行,實(shí)在不行就走16mil。 最后覆銅時(shí)一定要檢查各覆銅面有沒有連成一個(gè)GND,沒有連成一片時(shí)務(wù)必過孔,而且多打幾個(gè)過孔。 關(guān)于晶振的兩條信號線一定要盡量短,粗細(xì)要一直,中間盡量不要過孔,晶振下面盡量少走線。條件允許一定要讓晶振外殼接地。
過孔直接選擇20mil最好,最小12mil,太小怕廠家做不好。 濾波電容一定要離芯片近點(diǎn),以免影響芯片起振。
【拼板——最簡單方法(手動(dòng)拼板)】打開第一個(gè)PCB文件,此時(shí)可以關(guān)閉原理圖。 運(yùn)行 panelize.ulp 用戶語言 執(zhí)行“group”命令,選擇整個(gè)PCB。 執(zhí)行“Cut”命令,并在圖上右擊,選擇"cut group",最后別忘記單擊原點(diǎn)。 再打開第二個(gè)PCB文件,另存。 運(yùn)行“panelize.ulp”用戶語言。 再粘帖剛才的第一個(gè)圖,the end..... SeeedStudio 要求在拼板的文件用絲印層一條直線分開就行(在tPlace和bPlace層分別畫一條直線)。 【很重要】:板子今天被要求修改,主要原因是沒有將兩個(gè)單獨(dú)的PCB的外框刪除,要求將整個(gè)拼板用一個(gè)外框框起來,而不是每一個(gè)拼板有一個(gè)單獨(dú)的外形框。 【拼板——程序自動(dòng)拼板】 這個(gè)自動(dòng)拼板方法借鑒一個(gè)國外牛人,試了一下,很好很強(qiáng)大,軟件用Python實(shí)現(xiàn),貌似也是針對SeeedStudio準(zhǔn)備的,,原文請看Panelizing PCBs for Seeed Using Eagle Free / Light。 首先將要拼的板子設(shè)計(jì)好,并將所有PCB文件轉(zhuǎn)換成Gerber文件。按照SeeedStudio提供的Gerber生成器,最后需要提供給SeeedStudio以下圖層文件。
安裝Gerbmerge和專門針對SeeedStudio的補(bǔ)丁文件。Gerbmerge是一個(gè)叫Rugged Circuits的家伙開發(fā)的,主要用于拼Gerber文件,而補(bǔ)丁文件是專門針對SeeedStudio要求在拼板文件中加一條絲印層直線這一點(diǎn)進(jìn)行的補(bǔ)充。[以下文字整理自老外]: 下載安裝Gerbmerge(目前最新版為1.8版)并安裝,注意,要安裝這個(gè)軟件需先安裝Python,本教程以Python 2.7為例。 再從這個(gè)地址下載專門針對SeeedStudio的補(bǔ)丁文件。說是補(bǔ)丁,其實(shí)與原版相比就是修改了config.py和gerbmerge.py兩個(gè)文件。 所以這一步就是將下載的補(bǔ)丁文件解壓并提取出config.py 和gerbmerge.py兩文件,并將兩文件替換掉"C:\Python<version>\Lib\site-packages\ "目錄下原先的文件,(為以防出錯(cuò),你可以將原文件備份副本)。至此,安裝完成。 拼板很簡單,所有要做的就是提供Gerber文件,然后,設(shè)置一下Gerbmerge軟件的配置文件和Gerbmerge文件所需的layout文件。 配置文件 panel.cfg 書寫設(shè)置詳解: #設(shè)置項(xiàng)目根目錄,可以設(shè)置成包含所有輸入Gerber文件和config文件和輸出文件的文件夾(即:將所有的文件放在一個(gè)文件夾里面)。
projdir = .
# 設(shè)置輸出的Gerber文件的前綴
MergeOut = merge2
# 定義CutlineLayers圖層,就是定義需要切割輔助線。CutlineLayers?will determine where the subboard markings are, which will help in separating them. These are the accentuated lines between the two instances of the board in the image below.
CutLineLayers = *topsilkscreen,*bottomsilkscreen
#?OutlineLayers圖層主要被補(bǔ)丁文件使用,他定義了哪個(gè)圖層被用于繪出電路板邊框。?OutlineLayers is used by the patched gerbmerge, it defines which layers the entire panel outline will be drawn on. Seeed requires this on all layers.
OutlineLayers = *toplayer,*bottomlayer,*topsilkscreen,*bottomsilkscreen,*topsoldermask,*bottomsoldermask
# 就接下來就是定義拼板的最大尺寸,以inches為單位。如果最后的板子超出這個(gè)范圍程序?qū)⒃谧詈竺娼o出警告。
PanelWidth = 3.93
PanelHeight = 3.93
# 底下被注釋的是邊距設(shè)置選項(xiàng),如果不設(shè)置或者注釋掉等于將邊距設(shè)成無。
#LeftMargin = 0.1
#RightMargin = 0.1
#TopMargin = 0.1
#BottomMargin = 0.1
# 設(shè)置兩個(gè)子板之間的空白。貌似老外說0.0625是最適合手鋸切割的間距。
XSpacing = 0.0625
YSpacing = 0.0625
# if you define the merge output files to be in the filename scheme that Seeed requires, you won't have to rename them by hand later.
[MergeOutputFiles]
Prefix = %(mergeout)s
*TopLayer=%(prefix)s.GTL
*BottomLayer=%(prefix)s.GBL
*TopSilkscreen=%(prefix)s.GTO
*BottomSilkscreen=%(prefix)s.GBO
*TopSoldermask=%(prefix)s.GTS
*BottomSoldermask=%(prefix)s.GBS
Drills=%(prefix)s.TXT
BoardOutline=%(prefix)s.bor
ToolList = toollist.%(prefix)s.drl
Placement = placement.%(prefix)s.txt
# Job configuration - for each different sub-board, define a section like follows with the subboard name (used in the layout file) and the gerbers comprising that job.
[SARduino_644]
Prefix=%(projdir)s/SARduino_644
# List all the layers that participate in this job. Required layers are Drills
# and BoardOutline and have no '*' at the beginning. Optional layers have
# names chosen by you and begin with '*'. You should choose consistent layer
# names across all jobs.
*TopLayer=%(prefix)s.GTL
*BottomLayer=%(prefix)s.GBL
*TopSilkscreen=%(prefix)s.GTO
*BottomSilkscreen=%(prefix)s.GBO
*TopSoldermask=%(prefix)s.GTS
*BottomSoldermask=%(prefix)s.GBS
Drills=%(prefix)s.TXT
BoardOutline=%(prefix)s.BOR
5.拼板布局文件panel.layout書寫設(shè)置詳解:
6.運(yùn)行Gerbmerge.py :語法為“ gerbmerge.py panel.cfg panel.layout”。正常的出現(xiàn)一個(gè)警告,按照提示輸入“y”,就會生成一個(gè)最后的Gerber拼板文件,用免費(fèi)開源的Gerbv檢查,提交將所得文件zip打包提交給SeeedStudio就ok了。
【畫板及布線過程】
【拼板——最簡單方法(手動(dòng)拼板)】
projdir = .
# 設(shè)置輸出的Gerber文件的前綴
MergeOut = merge2
# 定義CutlineLayers圖層,就是定義需要切割輔助線。CutlineLayers?will determine where the subboard markings are, which will help in separating them. These are the accentuated lines between the two instances of the board in the image below.
CutLineLayers = *topsilkscreen,*bottomsilkscreen
#?OutlineLayers圖層主要被補(bǔ)丁文件使用,他定義了哪個(gè)圖層被用于繪出電路板邊框。?OutlineLayers is used by the patched gerbmerge, it defines which layers the entire panel outline will be drawn on. Seeed requires this on all layers.
OutlineLayers = *toplayer,*bottomlayer,*topsilkscreen,*bottomsilkscreen,*topsoldermask,*bottomsoldermask
# 就接下來就是定義拼板的最大尺寸,以inches為單位。如果最后的板子超出這個(gè)范圍程序?qū)⒃谧詈竺娼o出警告。
PanelWidth = 3.93
PanelHeight = 3.93
# 底下被注釋的是邊距設(shè)置選項(xiàng),如果不設(shè)置或者注釋掉等于將邊距設(shè)成無。
#LeftMargin = 0.1
#RightMargin = 0.1
#TopMargin = 0.1
#BottomMargin = 0.1
# 設(shè)置兩個(gè)子板之間的空白。貌似老外說0.0625是最適合手鋸切割的間距。
XSpacing = 0.0625
YSpacing = 0.0625
# if you define the merge output files to be in the filename scheme that Seeed requires, you won't have to rename them by hand later.
[MergeOutputFiles]
Prefix = %(mergeout)s
*TopLayer=%(prefix)s.GTL
*BottomLayer=%(prefix)s.GBL
*TopSilkscreen=%(prefix)s.GTO
*BottomSilkscreen=%(prefix)s.GBO
*TopSoldermask=%(prefix)s.GTS
*BottomSoldermask=%(prefix)s.GBS
Drills=%(prefix)s.TXT
BoardOutline=%(prefix)s.bor
ToolList = toollist.%(prefix)s.drl
Placement = placement.%(prefix)s.txt
# Job configuration - for each different sub-board, define a section like follows with the subboard name (used in the layout file) and the gerbers comprising that job.
[SARduino_644]
Prefix=%(projdir)s/SARduino_644
# List all the layers that participate in this job. Required layers are Drills
# and BoardOutline and have no '*' at the beginning. Optional layers have
# names chosen by you and begin with '*'. You should choose consistent layer
# names across all jobs.
*TopLayer=%(prefix)s.GTL
*BottomLayer=%(prefix)s.GBL
*TopSilkscreen=%(prefix)s.GTO
*BottomSilkscreen=%(prefix)s.GBO
*TopSoldermask=%(prefix)s.GTS
*BottomSoldermask=%(prefix)s.GBS
Drills=%(prefix)s.TXT
BoardOutline=%(prefix)s.BOR
5.拼板布局文件panel.layout書寫設(shè)置詳解:
6.運(yùn)行Gerbmerge.py :語法為“ gerbmerge.py panel.cfg panel.layout”。正常的出現(xiàn)一個(gè)警告,按照提示輸入“y”,就會生成一個(gè)最后的Gerber拼板文件,用免費(fèi)開源的Gerbv檢查,提交將所得文件zip打包提交給SeeedStudio就ok了。
總結(jié)
以上是生活随笔為你收集整理的Eagle 画板-拼板-输出Gerber到SeeedStudio打样过程笔记的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 用BILSTM+CRF模型进行命名实体识
- 下一篇: TeamViewer 远程连接一直显示正