Eagle 画板-拼板-输出Gerber到SeeedStudio打样过程笔记
生活随笔
收集整理的這篇文章主要介紹了
Eagle 画板-拼板-输出Gerber到SeeedStudio打样过程笔记
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
利用業余時間畫得板,絕對的用心之作,所感所學以記下.......
【畫板及布線過程】畫板layout首先走信號線,將電源及地隱藏。 信號線走線不走直角。 布線能走短線不走遠。 可以邊走線邊布局。 一般網格設置成20mil。線寬12mil,密集時可以走10mil(一般廠家都能做到6mil)電源線盡量走寬,24mil,32mil都行,實在不行就走16mil。 最后覆銅時一定要檢查各覆銅面有沒有連成一個GND,沒有連成一片時務必過孔,而且多打幾個過孔。 關于晶振的兩條信號線一定要盡量短,粗細要一直,中間盡量不要過孔,晶振下面盡量少走線。條件允許一定要讓晶振外殼接地。
過孔直接選擇20mil最好,最小12mil,太小怕廠家做不好。 濾波電容一定要離芯片近點,以免影響芯片起振。
【拼板——最簡單方法(手動拼板)】打開第一個PCB文件,此時可以關閉原理圖。 運行 panelize.ulp 用戶語言 執行“group”命令,選擇整個PCB。 執行“Cut”命令,并在圖上右擊,選擇"cut group",最后別忘記單擊原點。 再打開第二個PCB文件,另存。 運行“panelize.ulp”用戶語言。 再粘帖剛才的第一個圖,the end..... SeeedStudio 要求在拼板的文件用絲印層一條直線分開就行(在tPlace和bPlace層分別畫一條直線)。 【很重要】:板子今天被要求修改,主要原因是沒有將兩個單獨的PCB的外框刪除,要求將整個拼板用一個外框框起來,而不是每一個拼板有一個單獨的外形框。 【拼板——程序自動拼板】 這個自動拼板方法借鑒一個國外牛人,試了一下,很好很強大,軟件用Python實現,貌似也是針對SeeedStudio準備的,,原文請看Panelizing PCBs for Seeed Using Eagle Free / Light。 首先將要拼的板子設計好,并將所有PCB文件轉換成Gerber文件。按照SeeedStudio提供的Gerber生成器,最后需要提供給SeeedStudio以下圖層文件。
安裝Gerbmerge和專門針對SeeedStudio的補丁文件。Gerbmerge是一個叫Rugged Circuits的家伙開發的,主要用于拼Gerber文件,而補丁文件是專門針對SeeedStudio要求在拼板文件中加一條絲印層直線這一點進行的補充。[以下文字整理自老外]: 下載安裝Gerbmerge(目前最新版為1.8版)并安裝,注意,要安裝這個軟件需先安裝Python,本教程以Python 2.7為例。 再從這個地址下載專門針對SeeedStudio的補丁文件。說是補丁,其實與原版相比就是修改了config.py和gerbmerge.py兩個文件。 所以這一步就是將下載的補丁文件解壓并提取出config.py 和gerbmerge.py兩文件,并將兩文件替換掉"C:\Python<version>\Lib\site-packages\ "目錄下原先的文件,(為以防出錯,你可以將原文件備份副本)。至此,安裝完成。 拼板很簡單,所有要做的就是提供Gerber文件,然后,設置一下Gerbmerge軟件的配置文件和Gerbmerge文件所需的layout文件。 配置文件 panel.cfg 書寫設置詳解: #設置項目根目錄,可以設置成包含所有輸入Gerber文件和config文件和輸出文件的文件夾(即:將所有的文件放在一個文件夾里面)。
projdir = .
# 設置輸出的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圖層主要被補丁文件使用,他定義了哪個圖層被用于繪出電路板邊框。?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為單位。如果最后的板子超出這個范圍程序將在最后面給出警告。
PanelWidth = 3.93
PanelHeight = 3.93
# 底下被注釋的是邊距設置選項,如果不設置或者注釋掉等于將邊距設成無。
#LeftMargin = 0.1
#RightMargin = 0.1
#TopMargin = 0.1
#BottomMargin = 0.1
# 設置兩個子板之間的空白。貌似老外說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書寫設置詳解:
6.運行Gerbmerge.py :語法為“ gerbmerge.py panel.cfg panel.layout”。正常的出現一個警告,按照提示輸入“y”,就會生成一個最后的Gerber拼板文件,用免費開源的Gerbv檢查,提交將所得文件zip打包提交給SeeedStudio就ok了。
【畫板及布線過程】
【拼板——最簡單方法(手動拼板)】
projdir = .
# 設置輸出的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圖層主要被補丁文件使用,他定義了哪個圖層被用于繪出電路板邊框。?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為單位。如果最后的板子超出這個范圍程序將在最后面給出警告。
PanelWidth = 3.93
PanelHeight = 3.93
# 底下被注釋的是邊距設置選項,如果不設置或者注釋掉等于將邊距設成無。
#LeftMargin = 0.1
#RightMargin = 0.1
#TopMargin = 0.1
#BottomMargin = 0.1
# 設置兩個子板之間的空白。貌似老外說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書寫設置詳解:
6.運行Gerbmerge.py :語法為“ gerbmerge.py panel.cfg panel.layout”。正常的出現一個警告,按照提示輸入“y”,就會生成一個最后的Gerber拼板文件,用免費開源的Gerbv檢查,提交將所得文件zip打包提交給SeeedStudio就ok了。
總結
以上是生活随笔為你收集整理的Eagle 画板-拼板-输出Gerber到SeeedStudio打样过程笔记的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 用BILSTM+CRF模型进行命名实体识
- 下一篇: TeamViewer 远程连接一直显示正