
SimonShield
github-linguist/linguist
Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

Utility Kicad scripts
Example project is an open-source printed circuit board by ignamv, from the ignamv/kicad_scripts repository on GitHub, published under the GPL-2.0 licence. It is a 2-layer board with 10 parts on 6 nets.
It is built around the BC547. Its parts include 4 resistors, 3 connectors, 2 capacitors and 1 transistor.
Utility Kicad scripts

Making RFID readers and tags requires designing antenna inductors. This tool simplifies the process by allowing you to quickly analyze PCB spiral inductors with FastHenry to find inductance and Q. Once you're satisfied with a design, you can save a Kicad footprint to incorporate into your PCB layout.
You can use it online at http://ignamv2.linkpc.net/spiral/
For local use, download the folder rfid_calculator and run cmdline.py. Example:
$ python3 cmdline.py --help
usage: cmdline.py [-h] --width WIDTH --height HEIGHT --trace_width TRACE_WIDTH
[--mirror] --turns TURNS
(--pitch PITCH | --separation SEPARATION) [--zpitch ZPITCH]
[--frequency FREQUENCY]
[--thickness THICKNESS | --weight WEIGHT] [--fasthenry]
[--kicad_mod KICAD_MOD] [--pad_size PAD_SIZE]
(--mm | --cm | --mil | --in) [--square | --ellipse]
[--vertices_per_turn VERTICES_PER_TURN]
Calculate PCB spiral inductor with FastHenry and produce Kicad footprint
optional arguments:
-h, --help show this help message and exit
--width WIDTH Total outside width
--height HEIGHT Total outside height
--trace_width TRACE_WIDTH
Trace width
--mirror Reflect footprint horizontally
--turns TURNS Number of turns
--pitch PITCH Trace pitch (width + separation)
--separation SEPARATION
Separation between traces
--zpitch ZPITCH Vertical pitch (default 0 for planar inductor)When you first start pcbnew and read a netlist, all components are piled up in one place. This script takes the schematic and pcb files and moves the footprints to match their placement in the schematic. This is a nicer starting point to route your PCB.
You need to have python 2 installed. First, finish the schematic:

Then export the netlist for pcbnew, and run cvpcb to associate a footprint to each component. Launch pcbnew and load the netlist and footprint association, then save. These are standard steps when making PCBs with Kicad, you can check out Contextual Electronics for more detailed instructions.
My script takes the pcb file you just saved and moves the footprints to match the schematic. You need to download the script to your project directory. To run it, just drag the project file (.pro) or project folder into the script icon. Your pcb file now has placed components.
Here's the output from the schematic above:

If you want to see detailed script output (for troubleshooting), open a terminal (in Windows, use Start -> Run -> cmd.exe) and go to your project directory
$ cd %USERPROFILE%\My Documents\example_project
$ python place_footprints.py .
Found project ./example_project
Found schematic: ././example_project.sch
Found pcb: ././example_project.kicad_pcb
13:06:04: Debug: Skipping general section token 'links'
13:06:04: Debug: Skipping general section token 'area'
13:06:04: Debug: Skipping general section token 'drawings'
13:06:04: Debug: Skipping general section token 'tracks'
13:06:04: Debug: Skipping general section token 'zones'
13:06:04: Debug: Skipping general section token 'symbol'
Moving module...R1 R2 Q1 R4 C2 R3 C1 P1 P3 P2
Backing up ././example_project.kicad_pcb to ././example_project.kicad_pcb.bak6| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | CONN_01X02 | Pin_Headers:Pin_Header_Angled_1x02 | P1, P2, P3 |
| 2 | .1u | Capacitors_SMD:C_0805_HandSoldering | C1, C2 |
| 2 | 10k | Resistors_SMD:R_0805_HandSoldering | R1, R2 |
| 1 | 1k | Resistors_SMD:R_0805_HandSoldering | R4 |
| 1 | 200 | Resistors_SMD:R_0805_HandSoldering | R3 |
| 1 | BC547 | Housings_TO-92:TO-92_Inline_Narrow_Oval | Q1 |
10 parts, built around the BC547. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the ignamv/kicad_scripts repository on GitHub, at the commit this page was made from: the board is example_project/example_project.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the GPL-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

github-linguist/linguist
Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

dotnet/iot
This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.

peterheinrich/InternetOverSpaghetti
Transmitting IP packages over a pair of spaghetti thus demonstrating how media independent IP really is.

tebl/RC6502-Apple-1-Replica
An expandable SBC-version of the Apple 1 computer, easy to get started with and lot of cool stuff that can be added to it!



ZeroPhone/ZeroPhone-PCBs
PCB files for ZeroPhone - for gerbers and schematics, go to "Releases" tab!
