Open Source Hardware TDCS
Getting Started
If you've never used gEDA before, start with this simple tutorial. Once you're familiar with the gschem and pcb UI feel free to clone the repo in github with the fork button or clone the repo using the CLI:
git clone https://github.com/boinger/tdcs
Interesting Files in the Repo
-
tdcs.sch:
gschem schematic. Edit this file with gschem to add or remove components or change the way the components are connected.
-
tdcs.pcb:
pcb layout. Edit with pcb to change the locations of the components on the board or to place new components added in gschem.
-
attrib:
template files for the fields that should appear in a bill of materials file generated by gnetlist
-
project:
gsch2pcb project file. Setup options to import tdcs.sch into board.pcb. Options like path to pcb footprints, names of schematics to process, and output name.
-
gafrc:
Options for gschem. Primarily the location of local schematic symbols
-
gerber/tdcs/*:
Gerber files generated from the *.pcb files. This directory is designed such that the contents can be compressed and sent to OSH Park without modification.
-
gerber/tdcs.zip:
Zipfile ready for upload to OSHPark .
-
bom.csv:
Bill of Materials, the components you need to buy to populate the board. Auto generated via gnetlist from the schematic.
General Workflow
-
Add new components or change the circuit diagram in tdcs.sch using gschem.
-
Run:
gsch2pcb project
-
Follow the instructions provided by gsch2pcb to insert the new components.
-
Adjust the pcb layout using pcb
-
Export your layout to gerber:
cd gerbers && ./generate-gerbers.sh
-
Recreate the BoM:
gnetlist -g bom -o bom.txt tdcs.sch
Getting the PCB made
I plan to add this to the wiki, but for now this post is a good starting point elaborated on slightly below:
-
In a web browser: Browse to oshpark.com, select "Get Started Now", then "Select a file on your computer". Select tdcs.zip in the
gerbers/
directory. Fill out the name, contact and billing information. -
Wait for boards to arrive. While you're waiting you'll want to checkout bom.txt for a list of parts to order and this post for some accessories you'll want.
License
All files are licensed CC-BY 3.0. Full text of license is available in LICENSE.txt