Random mix of pages and files
2023.07.30 16:34:20 HowTo Gilhad

1   KiCad

nainstaloval jsem si Arduina pro KiCad

2   Vytváření knihoven

Chci použít 74HC279 4x S-R hradlo, ale KiCad pro něj nemá symbol, takže si udělám vlastní podle návodu. Nejdřív založím knihovnu:

cd GIT-sortme
portage-tools-new-repository.sh -u sortme KiCad_parts "Součástky pro KiCad" HW/
cd ~/GIT-sortme/HW/KiCad_parts
mkdir Symbols
mkdir Footprints

A pak už jedu v KiCadu

  • To create a Symbol Library:
    • Open “Symbol Editor”
    • Left click “File”
    • Left click “New Library”
    • Choose “Global”
    • Left click “OK”
    • Name the library
    • Do not remove the attachment ( .kicad_sym ) or, if altered, re-type exactly.
    • Left click Save.
  • Gilhad > How in kicad make my own part with 3d model, which is nearly the same as existing part?
  • chatGPT > In KiCad, creating your own part with a 3D model is a useful skill, especially when you want to modify an existing part slightly. Here's a step-by-step guide on how to do it:
    • Identify the Existing Part: First, you need to identify the existing part that is closest to what you want to create. Make sure the footprint and electrical connections are the same or similar.
    • Create a New Library: If you don't have a custom library for your projects, it's recommended to create one. Open KiCad and go to "Preferences" > "Manage Symbol Libraries." Click on "New Library," give it a name, and save it.
    • Copy Existing Symbol: In the library editor, find the existing part you want to modify. Right-click on it and select "Save as." Save it in your custom library with a new name to avoid overwriting the original part.
    • Modify the Symbol: Now, you have a copy of the existing part in your custom library. Double-click on the symbol to open the symbol properties dialog. Here, you can make any necessary changes to the pin names, pin numbers, and other properties to match your requirements. Save your changes.
    • Create or Find a 3D Model: Next, you need a 3D model that closely matches the physical appearance of your part. You can create your own 3D model using software like Blender, FreeCAD, or download pre-made 3D models from websites like GrabCAD or 3D ContentCentral. Ensure that the dimensions and general shape of the 3D model match the part you are creating.
    • Add 3D Model to the Part: Once you have the 3D model ready, you need to attach it to the part in your custom library. Open the symbol properties dialog again, and click on the "3D Settings" tab. Here, you can associate the 3D model file with the part. Use the "Add 3D model" button to browse and select the 3D model file you created or downloaded. Adjust the model scale and position if necessary to align it correctly with the symbol.
    • Save the Library: Save the custom library containing the modified symbol and the associated 3D model.
    • Use the New Part: Now, you can use your custom part in your KiCad projects. Go to the schematic editor, and your new part should be available in your custom library. Place it on your schematic, and when you move to the PCB layout, the 3D model should automatically appear for your part.