បញ្ហាធម្មតាមួយដែលយើងបាន from ពីបុគ្គល KICAD ថ្មីជាច្រើនដែលភ្ជាប់ជាមួយគ្រោងការណ៍ដែលមានគ្រោងការណ៍ក៏ដូចជាបណ្ណាល័យដាក់ស្លាកជើង។ បច្ចេកទេសគឺប្រើប្រាស់សញ្ញាគ្រោងការណ៍មួយក៏ដូចជាបណ្ណាល័យប្រអប់ជើងនីមួយៗដែលមានគម្រោងរបស់អ្នក។ វិធីនេះការកែប្រែណាមួយទៅបណ្ណាល័យគ្រោងការណ៍លំនាំដើមនឹងមិនប៉ះពាល់ដល់គម្រោងរបស់អ្នកទេហើយវានឹងមានភាពសាមញ្ញក្នុងការចែករំលែកការងាររបស់អ្នកជាមួយអ្នកដទៃដោយមិនចាំបាច់បំបែកវា។ ខ្ញុំបានចំណាយពេលយូរក្នុងការកែលម្អវិធីសាស្ត្រនេះក៏ដូចជាខ្ញុំនឹងដើរអ្នកជាមួយនឹងដំណើរការនៅក្នុងអត្ថបទនេះ។
យើងបានគ្របដណ្តប់ KICAD (ក៏ដូចជាឧបករណ៍ស្វ័យប្រវត្តិកម្មរចនាប័ទ្មអេឡិចត្រូនិច (អេឌីអេ) ផ្សេងទៀតចំនួនដងក្នុងអតីតកាល។ [លោក Brian Benchoff] បានធ្វើស៊េរីទាំងមូលនៅលើការកសាងការងារតាំងពីចាប់ផ្តើមឡើងនូវការប្រើបាច់ផ្សេងៗដែលគាត់អាចដាក់ដៃលើដៃរបស់គាត់។ មិនមានកម្មវិធី CAD ឬអេឌីអេសសូហ្វវែរល្អឥតខ្ចោះទេក៏ដូចជាបុគ្គលម្នាក់ៗត្រូវរកឱ្យឃើញដើម្បីចាប់យកការក្តាប់ដៃជាមួយនឹងភាពមិនចេះរីងស្ងួតរបស់កម្មវិធីណាមួយដែលពួកគេជ្រើសរើសប្រើ។ នេះនាំឱ្យមានការចាប់អារម្មណ៍យ៉ាងខ្លាំងក៏ដូចជាការទាញសក់ក្នុងដំណាក់កាលដំបូងនៅពេលដែលមនុស្សម្នាក់មិនអាចដោះស្រាយបាន “តើខ្ញុំធ្វើយ៉ាងម៉េច?” ជាពិសេសពីអ្នកផ្លាស់ប្រែចិត្តជឿថ្មីដែលត្រូវបានប្រើដើម្បីធ្វើអ្វីៗខុសគ្នា។
សូមអានដើម្បីស្វែងយល់ពីវិធីសាស្រ្តល្អបំផុតក្នុងការប្រើប្រាស់នៅពេលប្រើប្រាស់ Kicad ក៏ដូចជាការគ្រប់គ្រងបណ្ណាល័យរបស់វា។
ការគ្រប់គ្រងគម្រោង
Kicad រក្សាសញ្ញាតាមគ្រោងការណ៍ក៏ដូចជាស្នាមជើងរបស់ធាតុផ្សំក្នុងបណ្ណាល័យដាច់ដោយឡែកក៏ដូចជាអ្នកដែលមានតម្រូវការភ្ជាប់សញ្ញាទៅបាតជើងដោយប្រើវិធីមួយក្នុងចំណោមវិធីសាស្រ្តផ្សេងៗគ្នា។ នេះធ្វើឱ្យមនុស្សជាច្រើនមានចំនួនច្រើនណាស់, ទោះយ៉ាងណាវាដំណើរការបានល្អនៅពេលដែលអ្នកត្រូវបានប្រើទៅវា។
នៅថ្ងៃចាស់មុនពេលកុំព្យូទ័រអ្នករចនាជាច្រើននឹងគូរតាមគ្រោងការណ៍ដំបូងបន្ទាប់មកបានផលិត “វិក័យប័ត្រវត្ថុធាតុដើម” ដែលជាកន្លែងដែលពួកគេចេញនូវលក្ខណៈពិសេសនៃធាតុដែលត្រូវប្រើ។ នេះនឹងជួយពួកគេក្នុងការជ្រើសរើសធាតុប្រអប់ជើងដែលនាំឱ្យមានដំណាក់កាលរចនាក្តារ។ Kicad ព្យាយាមអនុវត្តតាមលំហូរការងារនេះ។ នេះគឺជារចនាសម្ព័នថតឯកសារធម្មតាដែលខ្ញុំប្រើដើម្បីរៀបចំគម្រោងរបស់ KICAD ដោយមានវិធីសាស្រ្តនេះយ៉ាងល្អនេះលើវិធីសាស្ត្រនេះក្នុងរយៈពេលជាច្រើនឆ្នាំនៃការធ្វើការជាមួយសូហ្វវែរនេះ។
DOODAD
↳3d_models // .step ក៏ដូចជាទិន្នន័យរចនាសម្រាប់ស្នាមជើងទាំងអស់
↳↳កំណត់ទិន្នន័យ // សន្លឹកទិន្នន័យសម្រាប់ធាតុដែលបានប្រើ
↳gerber // ឯកសារផលិតកម្មចុងក្រោយ
↳images // svg រូបភាពក៏ដូចជាការផ្តល់ជូនក្រុមប្រឹក្សាភិបាល 3D
↳lib_sch // និមិត្តសញ្ញាគ្រោងការណ៍
↳lib_fp.pretty // ស្នាមជើង
↳pdf // គ្រោងការណ៍ប្លង់ក្តារ, គំនូរវិមាត្រ
គ្រប់គ្រងបណ្ណាល័យតាមគ្រោងការណ៍
នៅពេលដែលអ្នកគូរស្លាកសញ្ញាប្រើប្រាស់គ្រោងការណ៍ពីបណ្ណាល័យដែលមានស្រាប់ក្នុងបណ្ណាល័យគីលីដ Eeschema បង្កើតបណ្ណាល័យបម្រុងទុកតំបន់មួយ – Doodad-Cache.lib ។ នៅពេលដែលអ្នកគូរគ្រោងការណ៍របស់អ្នករួចចម្លងទិន្នន័យនេះទៅថតឯកសារ↳lib_schហើយប្តូរឈ្មោះវាទៅ doodad.lib ។
បន្ទាប់សូមចូលទៅកាន់បណ្ណាល័យរបស់អ្នកបញ្ជីការងារបច្ចុប្បន្ន ” លេចឡើង) ក៏ដូចជាចុងក្រោយជ្រើសរើស Dowodad.lib ។ វាត្រូវបានបន្ថែមនៅខាងក្រោមបណ្ណាល័យដែលបានជ្រើសរើសបច្ចុប្បន្ននៅក្នុងបញ្ជី។
KiCAD reads these libraries in sequential order, so you requirement to choose doodad.lib as well as bring it to the top of the listing utilizing the UP button. ប្រសិនបើមានសញ្ញាសំគាល់ដែលមានឈ្មោះដូចគ្នាក្នុងបណ្ណាល័យផ្សេងៗគ្នាបន្ទាប់មកឧទាហរណ៍ដំបូងរបស់វាត្រូវបានប្រើ។ នៅពេលនេះអ្នកអាចលុបបំបាត់បណ្ណាល័យដែលបានផ្តល់ជូនទាំងអស់ឬគ្រាន់តែធ្វេសប្រហែសពួកគេដរាបណាអ្នកធ្វើឱ្យប្រាកដថារាល់សញ្ញាដែលអ្នកប្រើត្រូវបានបន្ថែមទៅ DOODAD.LIB ក៏ដូចជាការហៅទូរស័ព្ទតែពីឯកសារនោះប៉ុណ្ណោះ។
ការងាររបស់អ្នកឥឡូវនេះគ្រាន់តែប្រើបណ្ណាល័យសញ្ញាគ្រោងការណ៍មួយប៉ុណ្ណោះ – ~ / doodad / lib_sch / doodad.lib – ក៏ដូចជាប្រភេទនៃការកែប្រែណាមួយទៅបណ្ណាល័យគ្រោងការណ៍លំនាំដើមនឹងមិនប៉ះពាល់ដល់គម្រោងរបស់អ្នកទេ។ Moreover, utilizing the above defined folder structure, it’s simple to share your job on GitHub. When your job gets cloned or downloaded, this makes sure there are no library conflicts.
All of the above may modification when KiCAD implements s-expression styles in EESCHEMA as well as schematic libraries (already implemented in PCBnew), so we’ll revisit this at that time.
Assigning Footprints to Symbols
There’s a number of methods of doing this, however essentially, you choose a schematic symbol, as well as designate it a footprint from one of the default libraries. ever considering that KiCAD moved footprint libraries to GitHub, this has been a cause of heartburn for many. For one, all libraries are held online, as well as KiCAD needs to look them up whenever you terminate it up. For those who don’t modification this behaviour, it slows down the program during startup, if you’re not linked to the web. on the internet libraries are a great concept since footprints stay updated, however it is a sure terminate method to break your styles must one of the footprints utilized in your style change. This won’t show up for you immediately, since you will have to explicitly re-read the net-list as well as get KiCAD to replace altered footprints. however for somebody else who clones your design, as well as their KiCAD version tons up the updated footprint, it will break things.
The option is to clone all the KiCAD libraries to a regional place on your computer, as well as then point KiCAD to this location. however when you do this, it negates the advantage of having gain access to to updated libraries. I don’t believe there’s an suitable method to make it work, however here’s what works for me.
I clone the GitHub libraries to my regional computer, as well as keep them updated by routine pulls. This assists me utilize existing footprints or customize them to fit my requirements. however my job does not utilize any type of of those cloned libraries directly. Instead, I produce a job certain footprint library that contains all of the footprints (~/doodad/lib_fp.pretty) utilized in the project. when again, this makes sure that when the job gets cloned, all of the ideal footprints are already offered without depending upon outside source libraries.
How to Make KiCAD Footprints regional as well as Project-Unique
Start by cloning (from GitHub) the KiCAD footprint repository to your computer. This is finest done utilizing the ‘Footprint Libraries Wizard‘ from within PCBnew. In my case, I have cloned it to ~/kicad_sources/library-repos. In KiCAD’s PCBnew, choose ↳PREFERENCES ↳CONFIGURE paths as well as edit KISYSMOD to point to the regional footprint library path (~/kicad_sources/library-repos).
path to fp-lib-table
In some cases, extra steps may be needed to make things work. Select ↳PREFERENCES ↳FOOTPRINT LIBRARIES MANAGER and figure out the place of the “fp-lib-table” data utilized by PCBnew. This is a text data that tells PCBnew where to look for footprint libraries – on Github, regional path etc. open this data in a text editor, as well as inspect if it utilizes KISYSMOD as the path. If not, do a browse as well as replace for all instances of present path as well as replace it with KISYSMOD.
Now, you can edit each schematic symbol, as well as add a footprint to it — either from within EESCHEMA, or utilizing the stand alone Cvpcb module. when all footprints have been assigned, make sure you re-generate the netlist before moving on to PCBnew.
MODE : footprint
You can now begin PCBnew as well as checked out the netlist, which dumps all the footprints in a stack on the canvas. choose the mode : footprint icon, then context-click on any type of ONE footprint, choose ↳Global spread as well as location ↳Spread out all footprints.
This spreads out all the footprints making it much easier to choose as well as step them around. when you’re made with your board layout, as well as all of your footprints are locked in, choose data ↳Archive Footprints↳Create library as well as Archive Footprints as well as supply the path/name to the .pretty folder in your job (~/doodad/lib_fp.pretty). This copies all the footprints utilized in your design to the target folder.
Then, Preferences↳Footprint Libraries Wizard↳Files on my computer↳(navigate to ~/doodad/lib_fp.pretty) as well as make sure you choose “To the present job Only” before hitting Finish. At this point, you have utilized footprints from KiCAD’s worldwide libraries as well as used them to schematic symbols, made a netlist, imported netlist in PCBnew, put the footprints as well as directed the board, made an archive of all the footprints used, as well as configured PCBnew to utilize that archive library.
Replace library paths
Next, return back to EESCHEMA, as well as edit the footprint association of each sign to point to the new lib_fp.pretty folder instead of the regional GitHub repository on your computer. The simplest method to do this is to open the .SCH data in a text editor as well as do a search/replace. In our present example, we will replace instances such as “Capacitors_ThroughHole” or “Resistors_ThroughHole” or “LEDs” with our regional job library folder “lib_fp”
Open the schematic one last time, save a fresh netlist, open PCBnew, checked out this netlist, however this time around choose the modification choice under exchange Footprint. Your board design will now be utilizing footprints saved in your lib_fp.pretty folder, as well as modifications to the KiCAD worldwide libraries will not impact the layout.
ក្តោប
This may noise a bit convoluted in the beginning, however over time it becomes rather easy, as well as you can get rid of some steps as you get better. For example, I already have my own library for a lot of of the typical parts that I use, as well as copy these footprints before starting off on a new project. Over time, as you get much better at it, you will begin building your own schematic signs as well as footprints from element data sheets instead of utilizing outside versions. like I stated at the beginning, it’s not perfect, as well as for me this process works extremely well. If you have comments or tips on making this better, chime in as wellដូចដែលអនុញ្ញាតឱ្យយើងដឹង។