SlideShare a Scribd company logo
1 of 31
Download to read offline
PCB
with kicad & pcb2gcode on Debian
by Joy
by Sean opjlmi@gmail.com
Kicad
pcb2gcode
Kicad tutorial
Joy
kicad
kicad
sudo apt-get install kicad
1.eeschema -
2.cvpcb -
3.pcbnew – PCB
4.gerbview – Gerber
5.bitmap2component –
6.pcb_calculator –
1 2 3 4 5 6
:
File -> New -> Blank
… ->New for template
Blank
eeschema - 

pcbnew – PCB
當游標移到元件上⾯時
M:移動
R:旋轉
E;編輯
DEL:刪除
在圖紙上時
F1: Zoom in
F2: Zoom out
F3: 旋轉顯⽰
F4: 游標為畫⾯中⼼
CTRL+Z : 回到上⼀步
CTRL+Y: 下⼀步
CTRL+S: 儲存檔案
eeschema -
eeschema -
eeschema -
eeschema -
R
ex : C
IC
eeschema -
Preferences -> Library
Add Insert
Remove
eeschema -
eeschema -
Test Erc
eeschema -
Netlist
Netlist
eeschema -
Netlist
pcb layout
pcbnew – PCB
pcb layout
.net
Read Current Netlist Netlist
1
2
Gerber
1. File -> Plot

2. 

Plot
3. 

Generate Drill File
pcbnew – PCB
2
3
Gerber
1. Generate Drill File
2.
3. Drill File .drl
pcbnew – PCB
• .gbl .drl
• pcb2gcode
gcode
pcb2gcode tutorial
Sean opjlmi@gmail.com
gcode
• .gbl .drl
gcode pcb2gcode
pcb2gcode
https://github.com/pcb2gcode/pcb2gcode
pcb2gcode API WIKI
https://github.com/pcb2gcode/pcb2gcode/wiki/Manual
※ apt-get install pcb2gcode !
# pcb2gcode
$ sudo apt-get install git build-essential automake autoconf libtool
libboost-dev libboost-program-options-dev libgtkmm-2.4-dev gerbv
# pcb2code
$ git clone https://github.com/pcb2gcode/pcb2gcode.git
$ cd pcb2gcode
$ autoreconf -i
$ ./configure
$ make
$ sudo make install
# sudo
apt-get install sudo
su
#
make -j4
(4 )
pcb2gcode 1/3
•
Google
pcb2gcode 2/3
•
( 20° 0.2mm)
0.8 mm
pcb2gcode 3/3
•
mill speed 9
mill speed 4.724
#
$ pcb2gcode --back YOUR-GBL-FILE.gbl 

--zwork -0.003 --zsafe 0.02 --zchange 0 

--offset 0.003937 --mill-feed 9 --mill-speed 2500 

--extra-passes 1 --back-output back.ngc --zero-start
#
$ pcb2gcode --drill YOUR-DRL-FILE.drl 

--zsafe 0.04 --milldrill --cut-infeed 0.02 --drill-speed 2500 

--drill-feed 0.945 --cut-feed 4.724 --cut-speed 2500 --zchange 0.5 

--cutter-diameter 0.03149 --zcut -0.067 --zdrill -0.067 

--drill-output drl.ngc --zero-start
# pcb2gcode
https://github.com/ssfrr/ftsh_breakout/blob/master/Makefile
Copyright (c) Spencer Russell, MIT Media Lab
#
$ pcb2gcode --back YOUR-GBL-FILE.gbl 

--zwork -0.003 --zsafe 0.02 --zchange 0 

--offset 0.003937 --mill-feed 9 --mill-speed 2500 

--extra-passes 1 --back-output back.ngc --zero-start
#
$ pcb2gcode --drill YOUR-DRL-FILE.drl 

--zsafe 0.04 --milldrill --cut-infeed 0.02 --drill-speed 2500 

--drill-feed 0.945 --cut-feed 4.724 --cut-speed 2500 --zchange 0.5 

--cutter-diameter 0.03149 --zcut -0.067 --zdrill -0.067 

--drill-output drl.ngc --zero-start
# pcb2gcode
https://github.com/ssfrr/ftsh_breakout/blob/master/Makefile
Copyright (c) Spencer Russell, MIT Media Lab
( 1 )
#
$ pcb2gcode --back YOUR-GBL-FILE.gbl 

--zwork -0.003 --zsafe 0.02 --zchange 0 

--offset 0.003937 --mill-feed 9 --mill-speed 2500 

--extra-passes 1 --back-output back.ngc --zero-start
#
$ pcb2gcode --drill YOUR-DRL-FILE.drl 

--zsafe 0.04 --milldrill --cut-infeed 0.02 --drill-speed 2500 

--drill-feed 0.945 --cut-feed 4.724 --cut-speed 2500 --zchange 0.5 

--cutter-diameter 0.03149 --zcut -0.067 --zdrill -0.067 

--drill-output drl.ngc --zero-start
# pcb2gcode
https://github.com/ssfrr/ftsh_breakout/blob/master/Makefile
Copyright (c) Spencer Russell, MIT Media Lab
#
$ pcb2gcode --back YOUR-GBL-FILE.gbl 

--zwork -0.003 --zsafe 0.02 --zchange 0 

--offset 0.003937 --mill-feed 9 --mill-speed 2500 

--extra-passes 1 --back-output back.ngc --zero-start
#
$ pcb2gcode --drill YOUR-DRL-FILE.drl 

--zsafe 0.04 --milldrill --cut-infeed 0.02 --drill-speed 2500 

--drill-feed 0.945 --cut-feed 4.724 --cut-speed 2500 --zchange 0.5 

--cutter-diameter 0.03149 --zcut -0.067 --zdrill -0.067 

--drill-output drl.ngc --zero-start
# pcb2gcode
https://github.com/ssfrr/ftsh_breakout/blob/master/Makefile
Copyright (c) Spencer Russell, MIT Media Lab
offset = (inches) / 2
0.003937 = 0.00787401575(0.2mm to inches) / 2
cutter-diameter = (inches)
0.8mm -> 0.031496063 inches
• drl.ngc back.ngc
CNC
•
or
•

More Related Content

What's hot

Kubernetes London - Musings on Kubernetes Operators
Kubernetes London - Musings on Kubernetes OperatorsKubernetes London - Musings on Kubernetes Operators
Kubernetes London - Musings on Kubernetes OperatorsStuart Leeks
 
WebAssembly向け多倍長演算の実装
WebAssembly向け多倍長演算の実装WebAssembly向け多倍長演算の実装
WebAssembly向け多倍長演算の実装MITSUNARI Shigeo
 
複合現実感のためのコンピュータビジョン技術
複合現実感のためのコンピュータビジョン技術複合現実感のためのコンピュータビジョン技術
複合現実感のためのコンピュータビジョン技術YuyaSumie
 
Data structure programs in c++
Data structure programs in c++Data structure programs in c++
Data structure programs in c++mmirfan
 
HUGFR : Une infrastructure Kafka & Storm pour lutter contre les attaques DDoS...
HUGFR : Une infrastructure Kafka & Storm pour lutter contre les attaques DDoS...HUGFR : Une infrastructure Kafka & Storm pour lutter contre les attaques DDoS...
HUGFR : Une infrastructure Kafka & Storm pour lutter contre les attaques DDoS...Modern Data Stack France
 
3 D technology-new manner to turn a quick turnaround prototyping.
3 D technology-new manner to turn a quick turnaround prototyping.3 D technology-new manner to turn a quick turnaround prototyping.
3 D technology-new manner to turn a quick turnaround prototyping.Teddy Pai
 
6.4. PHD IV CTF final
6.4. PHD IV CTF final6.4. PHD IV CTF final
6.4. PHD IV CTF finaldefconmoscow
 

What's hot (10)

Kubernetes London - Musings on Kubernetes Operators
Kubernetes London - Musings on Kubernetes OperatorsKubernetes London - Musings on Kubernetes Operators
Kubernetes London - Musings on Kubernetes Operators
 
WebAssembly向け多倍長演算の実装
WebAssembly向け多倍長演算の実装WebAssembly向け多倍長演算の実装
WebAssembly向け多倍長演算の実装
 
複合現実感のためのコンピュータビジョン技術
複合現実感のためのコンピュータビジョン技術複合現実感のためのコンピュータビジョン技術
複合現実感のためのコンピュータビジョン技術
 
Dns20
Dns20Dns20
Dns20
 
Data structure programs in c++
Data structure programs in c++Data structure programs in c++
Data structure programs in c++
 
HUGFR : Une infrastructure Kafka & Storm pour lutter contre les attaques DDoS...
HUGFR : Une infrastructure Kafka & Storm pour lutter contre les attaques DDoS...HUGFR : Une infrastructure Kafka & Storm pour lutter contre les attaques DDoS...
HUGFR : Une infrastructure Kafka & Storm pour lutter contre les attaques DDoS...
 
Debugging TV Frame 0x0F
Debugging TV Frame 0x0FDebugging TV Frame 0x0F
Debugging TV Frame 0x0F
 
3 D technology-new manner to turn a quick turnaround prototyping.
3 D technology-new manner to turn a quick turnaround prototyping.3 D technology-new manner to turn a quick turnaround prototyping.
3 D technology-new manner to turn a quick turnaround prototyping.
 
Lader PWN PLC
Lader PWN PLCLader PWN PLC
Lader PWN PLC
 
6.4. PHD IV CTF final
6.4. PHD IV CTF final6.4. PHD IV CTF final
6.4. PHD IV CTF final
 

Similar to PCB Design with Kicad & Pcb2gcode on Debian

Debugging Ruby Systems
Debugging Ruby SystemsDebugging Ruby Systems
Debugging Ruby SystemsEngine Yard
 
Substrate processing machine2019
Substrate processing machine2019Substrate processing machine2019
Substrate processing machine2019HanamichiSanada
 
Performance tweaks and tools for Linux (Joe Damato)
Performance tweaks and tools for Linux (Joe Damato)Performance tweaks and tools for Linux (Joe Damato)
Performance tweaks and tools for Linux (Joe Damato)Ontico
 
Understanding git
Understanding gitUnderstanding git
Understanding gitAvik Das
 
PGCon 2014 - What Do You Mean my Database Server Core Dumped? - How to Inspec...
PGCon 2014 - What Do You Mean my Database Server Core Dumped? - How to Inspec...PGCon 2014 - What Do You Mean my Database Server Core Dumped? - How to Inspec...
PGCon 2014 - What Do You Mean my Database Server Core Dumped? - How to Inspec...Faisal Akber
 
Scale Out Your Graph Across Servers and Clouds with OrientDB
Scale Out Your Graph Across Servers and Clouds  with OrientDBScale Out Your Graph Across Servers and Clouds  with OrientDB
Scale Out Your Graph Across Servers and Clouds with OrientDBLuca Garulli
 
Debugger Principle Overview & GDB Tricks
Debugger Principle Overview & GDB TricksDebugger Principle Overview & GDB Tricks
Debugger Principle Overview & GDB Tricksdutor
 
Z390 Designare REV1.0.pdf
Z390 Designare REV1.0.pdfZ390 Designare REV1.0.pdf
Z390 Designare REV1.0.pdfQuangSngBi
 
Debugging Ruby
Debugging RubyDebugging Ruby
Debugging RubyAman Gupta
 
리눅스 드라이버 실습 #3
리눅스 드라이버 실습 #3리눅스 드라이버 실습 #3
리눅스 드라이버 실습 #3Sangho Park
 
Quanta bd1 r3b_schematics_da0wj1mb6f0
Quanta bd1 r3b_schematics_da0wj1mb6f0Quanta bd1 r3b_schematics_da0wj1mb6f0
Quanta bd1 r3b_schematics_da0wj1mb6f0DATACORP
 
Drizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free MigrationDrizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free MigrationAndrew Hutchings
 
クラウドDWHとしても進化を続けるPivotal Greenplumご紹介
クラウドDWHとしても進化を続けるPivotal Greenplumご紹介クラウドDWHとしても進化を続けるPivotal Greenplumご紹介
クラウドDWHとしても進化を続けるPivotal Greenplumご紹介Masayuki Matsushita
 
COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520Jon Fortman
 

Similar to PCB Design with Kicad & Pcb2gcode on Debian (20)

Debugging Ruby Systems
Debugging Ruby SystemsDebugging Ruby Systems
Debugging Ruby Systems
 
Substrate processing machine2019
Substrate processing machine2019Substrate processing machine2019
Substrate processing machine2019
 
Performance tweaks and tools for Linux (Joe Damato)
Performance tweaks and tools for Linux (Joe Damato)Performance tweaks and tools for Linux (Joe Damato)
Performance tweaks and tools for Linux (Joe Damato)
 
Understanding git
Understanding gitUnderstanding git
Understanding git
 
PGCon 2014 - What Do You Mean my Database Server Core Dumped? - How to Inspec...
PGCon 2014 - What Do You Mean my Database Server Core Dumped? - How to Inspec...PGCon 2014 - What Do You Mean my Database Server Core Dumped? - How to Inspec...
PGCon 2014 - What Do You Mean my Database Server Core Dumped? - How to Inspec...
 
Scale Out Your Graph Across Servers and Clouds with OrientDB
Scale Out Your Graph Across Servers and Clouds  with OrientDBScale Out Your Graph Across Servers and Clouds  with OrientDB
Scale Out Your Graph Across Servers and Clouds with OrientDB
 
Debugger Principle Overview & GDB Tricks
Debugger Principle Overview & GDB TricksDebugger Principle Overview & GDB Tricks
Debugger Principle Overview & GDB Tricks
 
Backups
BackupsBackups
Backups
 
Z390 Designare REV1.0.pdf
Z390 Designare REV1.0.pdfZ390 Designare REV1.0.pdf
Z390 Designare REV1.0.pdf
 
Debugging Ruby
Debugging RubyDebugging Ruby
Debugging Ruby
 
5583.pdf
5583.pdf5583.pdf
5583.pdf
 
Deathstar
DeathstarDeathstar
Deathstar
 
XS Boston 2008 Debugging Xen
XS Boston 2008 Debugging XenXS Boston 2008 Debugging Xen
XS Boston 2008 Debugging Xen
 
리눅스 드라이버 실습 #3
리눅스 드라이버 실습 #3리눅스 드라이버 실습 #3
리눅스 드라이버 실습 #3
 
Gigabyte ga 945 gzm-s2 rev 2.11
Gigabyte ga 945 gzm-s2 rev 2.11Gigabyte ga 945 gzm-s2 rev 2.11
Gigabyte ga 945 gzm-s2 rev 2.11
 
Quanta bd1 r3b_schematics_da0wj1mb6f0
Quanta bd1 r3b_schematics_da0wj1mb6f0Quanta bd1 r3b_schematics_da0wj1mb6f0
Quanta bd1 r3b_schematics_da0wj1mb6f0
 
Drizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free MigrationDrizzle to MySQL, Stress Free Migration
Drizzle to MySQL, Stress Free Migration
 
クラウドDWHとしても進化を続けるPivotal Greenplumご紹介
クラウドDWHとしても進化を続けるPivotal Greenplumご紹介クラウドDWHとしても進化を続けるPivotal Greenplumご紹介
クラウドDWHとしても進化を続けるPivotal Greenplumご紹介
 
Boosting Developer Productivity with Clang
Boosting Developer Productivity with ClangBoosting Developer Productivity with Clang
Boosting Developer Productivity with Clang
 
COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520COBOL DB2 BATCH EXAMPLE-RPR6520
COBOL DB2 BATCH EXAMPLE-RPR6520
 

Recently uploaded

Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptxNikhil Raut
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsSachinPawar510423
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 

Recently uploaded (20)

Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Steel Structures - Building technology.pptx
Steel Structures - Building technology.pptxSteel Structures - Building technology.pptx
Steel Structures - Building technology.pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documents
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 

PCB Design with Kicad & Pcb2gcode on Debian

  • 1. PCB with kicad & pcb2gcode on Debian by Joy by Sean opjlmi@gmail.com Kicad pcb2gcode
  • 5. 1.eeschema - 2.cvpcb - 3.pcbnew – PCB 4.gerbview – Gerber 5.bitmap2component – 6.pcb_calculator – 1 2 3 4 5 6 : File -> New -> Blank … ->New for template Blank
  • 6. eeschema - 
 pcbnew – PCB 當游標移到元件上⾯時 M:移動 R:旋轉 E;編輯 DEL:刪除 在圖紙上時 F1: Zoom in F2: Zoom out F3: 旋轉顯⽰ F4: 游標為畫⾯中⼼ CTRL+Z : 回到上⼀步 CTRL+Y: 下⼀步 CTRL+S: 儲存檔案
  • 11. eeschema - Preferences -> Library Add Insert Remove
  • 16. pcbnew – PCB pcb layout .net Read Current Netlist Netlist 1 2
  • 17. Gerber 1. File -> Plot
 2. 
 Plot 3. 
 Generate Drill File pcbnew – PCB 2 3
  • 18. Gerber 1. Generate Drill File 2. 3. Drill File .drl pcbnew – PCB
  • 19. • .gbl .drl • pcb2gcode gcode
  • 21. gcode • .gbl .drl gcode pcb2gcode pcb2gcode https://github.com/pcb2gcode/pcb2gcode pcb2gcode API WIKI https://github.com/pcb2gcode/pcb2gcode/wiki/Manual ※ apt-get install pcb2gcode !
  • 22.
  • 23. # pcb2gcode $ sudo apt-get install git build-essential automake autoconf libtool libboost-dev libboost-program-options-dev libgtkmm-2.4-dev gerbv # pcb2code $ git clone https://github.com/pcb2gcode/pcb2gcode.git $ cd pcb2gcode $ autoreconf -i $ ./configure $ make $ sudo make install # sudo apt-get install sudo su # make -j4 (4 )
  • 25. pcb2gcode 2/3 • ( 20° 0.2mm) 0.8 mm
  • 26. pcb2gcode 3/3 • mill speed 9 mill speed 4.724
  • 27. # $ pcb2gcode --back YOUR-GBL-FILE.gbl 
 --zwork -0.003 --zsafe 0.02 --zchange 0 
 --offset 0.003937 --mill-feed 9 --mill-speed 2500 
 --extra-passes 1 --back-output back.ngc --zero-start # $ pcb2gcode --drill YOUR-DRL-FILE.drl 
 --zsafe 0.04 --milldrill --cut-infeed 0.02 --drill-speed 2500 
 --drill-feed 0.945 --cut-feed 4.724 --cut-speed 2500 --zchange 0.5 
 --cutter-diameter 0.03149 --zcut -0.067 --zdrill -0.067 
 --drill-output drl.ngc --zero-start # pcb2gcode https://github.com/ssfrr/ftsh_breakout/blob/master/Makefile Copyright (c) Spencer Russell, MIT Media Lab
  • 28. # $ pcb2gcode --back YOUR-GBL-FILE.gbl 
 --zwork -0.003 --zsafe 0.02 --zchange 0 
 --offset 0.003937 --mill-feed 9 --mill-speed 2500 
 --extra-passes 1 --back-output back.ngc --zero-start # $ pcb2gcode --drill YOUR-DRL-FILE.drl 
 --zsafe 0.04 --milldrill --cut-infeed 0.02 --drill-speed 2500 
 --drill-feed 0.945 --cut-feed 4.724 --cut-speed 2500 --zchange 0.5 
 --cutter-diameter 0.03149 --zcut -0.067 --zdrill -0.067 
 --drill-output drl.ngc --zero-start # pcb2gcode https://github.com/ssfrr/ftsh_breakout/blob/master/Makefile Copyright (c) Spencer Russell, MIT Media Lab ( 1 )
  • 29. # $ pcb2gcode --back YOUR-GBL-FILE.gbl 
 --zwork -0.003 --zsafe 0.02 --zchange 0 
 --offset 0.003937 --mill-feed 9 --mill-speed 2500 
 --extra-passes 1 --back-output back.ngc --zero-start # $ pcb2gcode --drill YOUR-DRL-FILE.drl 
 --zsafe 0.04 --milldrill --cut-infeed 0.02 --drill-speed 2500 
 --drill-feed 0.945 --cut-feed 4.724 --cut-speed 2500 --zchange 0.5 
 --cutter-diameter 0.03149 --zcut -0.067 --zdrill -0.067 
 --drill-output drl.ngc --zero-start # pcb2gcode https://github.com/ssfrr/ftsh_breakout/blob/master/Makefile Copyright (c) Spencer Russell, MIT Media Lab
  • 30. # $ pcb2gcode --back YOUR-GBL-FILE.gbl 
 --zwork -0.003 --zsafe 0.02 --zchange 0 
 --offset 0.003937 --mill-feed 9 --mill-speed 2500 
 --extra-passes 1 --back-output back.ngc --zero-start # $ pcb2gcode --drill YOUR-DRL-FILE.drl 
 --zsafe 0.04 --milldrill --cut-infeed 0.02 --drill-speed 2500 
 --drill-feed 0.945 --cut-feed 4.724 --cut-speed 2500 --zchange 0.5 
 --cutter-diameter 0.03149 --zcut -0.067 --zdrill -0.067 
 --drill-output drl.ngc --zero-start # pcb2gcode https://github.com/ssfrr/ftsh_breakout/blob/master/Makefile Copyright (c) Spencer Russell, MIT Media Lab offset = (inches) / 2 0.003937 = 0.00787401575(0.2mm to inches) / 2 cutter-diameter = (inches) 0.8mm -> 0.031496063 inches