This repository includes a library for designing optical setups in KiCad.
Please visit our website for more product and ordering.
If you have any question or need help, write to us: opticsfoundry@gmail.com
KiCad is an open source electronic design software. However, we have developed this library to be able to design optical setup. The procedure of producing an optical setup with Robot developed by OpticsFoundry is shown below.
- Install KiCad from here,
- Download or clone this repository to your computer as shown below,
- Unzip the downloaded folder and move the folder to an appropriate path if you want,
- Open the KiCad software, from
Preferencestab, click onConfigure Paths...as shown below,
- Add a new path, name it
KIGITHUBwith pathhttps://github.com/KiCad. As shown below,
- Add another one and name it
KICAD_FIREFLY_OPTICS, for the path click on folder icon and go to the path which the library has been downloaded then selectOpticsfolder. As shown in following pictures,
- At the end click on
OKand close the window, - Now from
Preferencestab, click onManage Symbol Libraries..., - Add a new row and call it
Opticswith library path${KICAD_FIREFLY_OPTICS}/Symbols/Optics.kicad_sym. As shown below,
- Then click on
OKand close the window. If you encounter an error like below, probably the path is not defined correctly,
- From
Preferencestab, click onManage Footprint Libraries..., - Add a new row and call it
Opticswith library path${KICAD_FIREFLY_OPTICS}/Footprints/Optics.pretty, at the end click onOKand close the window. As shown below,
- To make sure the library has been added correctly, click on
Symbol EditorandFootprint EditorinToolstab. As shown below,
- Search for
Opticslibrary in search bar, you should be able to see list of all the optical symbols and footprint. As shown in following pictures,
- Done! Now you are ready to start a new optical design.
Now you can start a new project and open schematic editor to design your optical setup, as shown below.
You could also copy one of the examples or use one of the Free Projects for starting point.
Note Standard optics hight is 7.5 mm, if optics hight of your components is smaller or bigger, please write to us: opticsfoundry@gmail.com
Note If you need a specific baseplate size or any other components which are not available in Symbols, please write to us: opticsfoundry@gmail.com
Based on your design, you need to choose baseplate size for your board.
If your page size is smaller than baseplate, you can change it in the page settings from File tab for schematic and footprint editors.
Schematic editor looks like this after adding baseplate.
I have added two collimators and mirrors to design a fiber to fiber setup.
By selecting wire, you can draw the beam path.
Each component need to be defined by selecting the component and changing the value based on what is your need.
After finishing your design, save all changes in schematic editor. NOw you could move to PCB editor and update your PCB from Schematic.
Note You could also update PCB design each time after adding any new components.
Click on Update PCB from Schematic... in PCB editor, then update PCB and close the window as shown below.
Now the PCB looks like this:
Each component need to be selected and reposition and rerotate based on reality.
This example is available in test




















