template and source for hardware projects
Go to file
King Kévin 6c51f29372 Rakefile: minor, show error on empty BOM 2022-01-28 18:45:05 +01:00
coraleda/subc lib: add generated parts 2022-01-28 18:09:58 +01:00
geda/symbols lib: add better crystal symbol, with 4 pins 2022-01-28 18:40:13 +01:00
library@e482148d18 add parts library (as submodule) 2021-07-22 12:26:46 +02:00
.gitignore add PnP export 2021-12-19 11:24:57 +01:00
.gitmodules add parts library (as submodule) 2021-07-22 12:26:46 +02:00
.qeda.yaml lib: define project parts 2022-01-28 17:57:55 +01:00
LICENSE.txt add CERN-OHL-S license 2021-07-22 12:22:58 +02:00
README.md README: remove netlist command 2021-12-19 11:29:06 +01:00
Rakefile Rakefile: minor, show error on empty BOM 2022-01-28 18:45:05 +01:00
gafrc add schematic configuration and template 2021-07-22 12:28:19 +02:00
mass_prop.sh add PnP export 2021-12-19 11:24:57 +01:00
pnp_fab.tab add PnP export 2021-12-19 11:24:57 +01:00
usb_hub.lht set project name 2022-01-04 14:31:54 +01:00
usb_hub.sch sch: first draft, with one port 2022-01-28 17:56:22 +01:00
version add output generation script 2021-07-22 12:34:35 +02:00

README.md

these are the hardware design files for insert project name here.

purpose

usage

requirements

to be able to generate the outputs you need following software:

  • rake: the central script taking care of generating the output files (Makefile is too cumbersome to parse files)
  • QEDA: to generate footprints for the parts
  • Lepton EDA: for the schematic capture
  • pcb-rnd: for the board layout the output generation is automatized.

compiling

library

almost all of the symbols and footprints used in the schematic and board layout are defined in the QEDA format and generated for the CAD software. the library folder contains the QEDA parts definitions.

to install QEDA using NPM from the official repository:

sudo npm install -g qeda

to install QEDA from the sources:

git clone https://github.com/qeda/qeda
cd qeda
npm install
sudo npm install --global

to generate the parts:

rake library

this will use the parts definition (.yaml files) in the library to generate gEDA gschem/Lepton EDA symbols (.sym files) in the geda/symbols folder, and coralEDA pcb-rnd footprints (.lht files) in the coraleda/subc folder.

only the QEDA parts in subfolders within library come from the QEDA library, but the files are included in this project for simplicity and archiving purposes. all other parts are custom and written for this project.

schematic

the .sch file is the schematic source file. it has been drawn using Lepton EDA.

it uses standard symbols, and the ones in the geda/symbols/ folder. most symbols are generated by QEDA as described above.

to export as pdf:

rake print

BOM

to export the bill of material (as CSV):

rake bom

board

the .lht file is the board layout source file. it has been drawn using coralEDA pcb-rnd.

it uses the symbols from the coraleda/subc/ folder. most symbols are generated by QEDA as described above. oshw_logo.lht is just the Open Source Hardware Logo. it been generated from https://oshwlogo.cuvoodoo.info/.

to export gerber files for PCB manufacturer (and photo preview + overview document):

rake fabrication