initial design capture based on data sheet reference application schematic
authorBdale Garbee <bdale@gag.com>
Sun, 10 Oct 2010 16:05:05 +0000 (10:05 -0600)
committerBdale Garbee <bdale@gag.com>
Sun, 10 Oct 2010 16:05:05 +0000 (10:05 -0600)
Makefile [new file with mode: 0644]
amp.sch [new file with mode: 0644]
attribs [new file with mode: 0644]
gattribrc [new symlink]
gnetlistrc [new symlink]
gschemrc [new file with mode: 0644]
project [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..aac9087
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,45 @@
+# intentionally want to rebuild drc and bom on every invocation
+#all:  drc partslist partslist.csv pcb
+all:   drc partslist partslist.csv
+
+drc:   amp.sch
+       -gnetlist -g drc2 amp.sch -o amp.drc
+
+partslist:     amp.sch
+       gnetlist -g bom -o amp.unsorted amp.sch
+       head -n1 amp.unsorted > partslist
+       tail -n+2 amp.unsorted | sort >> partslist
+       rm -f amp.unsorted
+
+partslist.csv: amp.sch Makefile
+       gnetlist -g partslist4 -o amp.unsorted amp.sch
+       head -n1 amp.unsorted > partslist.csv
+       tail -n+2 amp.unsorted | sort -t \, -k 8 >> partslist.csv
+       rm -f amp.unsorted
+
+pcb:   amp.sch project
+       gsch2pcb project
+
+# note that 'gschlas -e foo.sch' will embed all symbols in the schematic, this
+# might be a really good idea for publishing designs to the web that others
+# might review?  Like this example from DJ:
+#
+#web :
+#        for i in channel.sch ethernet.sch power.sch mcu.sch; do \
+#          cp $$i tmp.sch ; \
+#          gschlas -e tmp.sch ; \
+#          mv tmp.sch ${WEB}/$$i; \
+#        done
+
+# this shoves local work out to the git.gag.com repository
+push:  
+       git push --mirror
+
+zip:   amp.back.gbr amp.backmask.gbr amp.fab.gbr amp.front.gbr amp.frontmask.gbr amp.frontpaste.gbr amp.frontsilk.gbr amp.outline.gbr amp.plated-drill.cnc amp.xy
+       zip amp.zip amp.*.gbr amp.*.cnc amp.xy
+
+clean:
+       rm -f *.bom *.drc *.log *~ amp.ps *.gbr *.cnc *bak* *- *.zip 
+       rm -f *.net *.xy *.cmd *.png partslist partslist.csv
+       rm -f *.partslist *.new.pcb *.unsorted amp.xy
+
diff --git a/amp.sch b/amp.sch
new file mode 100644 (file)
index 0000000..9a2a2e8
--- /dev/null
+++ b/amp.sch
@@ -0,0 +1,287 @@
+v 20100214 2
+C 40000 40000 0 0 0 title-C-bdale.sym
+T 40000 40000 8 10 1 1 0 0 1
+value=270
+T 40000 40000 8 10 1 1 0 0 1
+netname=3.3V
+T 56400 41800 9 30 1 0 0 0 1
+Audio Amplifier
+T 13300 -8600 8 10 0 1 0 0 1
+vendor_part_number=MMA7260QT-ND
+T 13300 -8600 8 10 0 1 0 0 1
+vendor_part_number=MCP9700-E/TO-ND
+T 60400 40400 9 10 1 0 0 0 1
+0.1
+T 58000 40400 9 10 1 0 0 0 1
+1
+T 58600 40400 9 10 1 0 0 0 1
+1
+T 55700 40400 9 10 1 0 0 0 1
+amp.sch
+T 55700 40100 9 10 1 0 0 0 1
+http://altusmetrum.com/
+T 13300 -8600 8 10 0 1 0 0 1
+vendor_part_number=MMA7260QT-ND
+T 13300 -8600 8 10 0 1 0 0 1
+vendor_part_number=MCP9700-E/TO-ND
+C 59200 47200 1 0 0 hole_plated.sym
+{
+T 59300 49000 5 10 0 0 0 0 1
+device=HOLE_PLATED
+T 58800 47400 5 10 1 1 0 0 1
+refdes=H1
+T 59200 47200 5 10 0 0 0 0 1
+footprint=hole-M2.5
+T 59200 47200 5 10 0 1 0 0 1
+loadstatus=noload
+T 59200 47200 5 10 0 0 0 0 1
+vendor=none
+}
+T 58900 48000 9 10 1 0 0 0 1
+mounting holes
+C 59200 46200 1 0 0 hole_plated.sym
+{
+T 59300 48000 5 10 0 0 0 0 1
+device=HOLE_PLATED
+T 58800 46400 5 10 1 1 0 0 1
+refdes=H2
+T 59200 46200 5 10 0 0 0 0 1
+footprint=hole-M2.5
+T 59200 46200 5 10 0 1 0 0 1
+loadstatus=noload
+T 59200 46200 5 10 0 1 0 0 1
+vendor=none
+}
+C 59200 45300 1 0 0 hole_plated.sym
+{
+T 59300 47100 5 10 0 0 0 0 1
+device=HOLE_PLATED
+T 58800 45500 5 10 1 1 0 0 1
+refdes=H3
+T 59200 45300 5 10 0 0 0 0 1
+footprint=hole-M2.5
+T 59200 45300 5 10 0 1 0 0 1
+loadstatus=noload
+T 59200 45300 5 10 0 0 0 0 1
+vendor=none
+}
+C 59200 44300 1 0 0 hole_plated.sym
+{
+T 59300 46100 5 10 0 0 0 0 1
+device=HOLE_PLATED
+T 58800 44500 5 10 1 1 0 0 1
+refdes=H4
+T 59200 44300 5 10 0 0 0 0 1
+footprint=hole-M2.5
+T 59200 44300 5 10 0 1 0 0 1
+loadstatus=noload
+T 59200 44300 5 10 0 1 0 0 1
+vendor=none
+}
+C 48200 50100 1 0 0 LM1875.sym
+{
+T 49025 50350 5 8 0 0 0 0 1
+device=LM1875
+T 48400 51200 5 10 1 1 0 0 1
+refdes=U1
+T 48200 50100 5 10 0 1 0 0 1
+value=LM1875
+}
+C 49100 52400 1 270 0 cap-polar.sym
+{
+T 49800 52200 5 10 0 0 270 0 1
+device=POLARIZED_CAPACITOR
+T 49600 52100 5 10 1 1 0 0 1
+refdes=C7
+T 50000 52200 5 10 0 0 270 0 1
+symversion=0.1
+T 49100 52405 5 10 0 1 270 0 1
+footprint=1206
+T 49600 51700 5 10 1 1 0 0 1
+value=100uF
+}
+C 51200 48900 1 90 0 capacitor.sym
+{
+T 50500 49100 5 10 0 0 90 0 1
+device=CAPACITOR
+T 51500 49600 5 10 1 1 180 0 1
+refdes=C5
+T 50300 49100 5 10 0 0 90 0 1
+symversion=0.1
+T 51200 48895 5 10 0 1 90 0 1
+footprint=1206
+T 51300 49100 5 10 1 1 0 0 1
+value=0.22uF
+}
+C 51100 49800 1 90 0 resistor.sym
+{
+T 50700 50100 5 10 0 0 90 0 1
+device=RESISTOR
+T 51400 50500 5 10 1 1 180 0 1
+refdes=R5
+T 51100 49795 5 10 0 1 90 0 1
+footprint=1206
+T 51200 50000 5 10 1 1 0 0 1
+value=1
+}
+C 44400 51000 1 180 1 pwrjack-1.sym
+{
+T 44500 50500 5 10 0 0 180 6 1
+device=PWRJACK
+T 44400 51200 5 10 1 1 180 6 1
+refdes=INPUT
+}
+C 53600 50400 1 180 0 terminal-1.sym
+{
+T 53290 49650 5 10 0 0 180 0 1
+device=terminal
+T 53290 49800 5 10 0 0 180 0 1
+footprint=CONNECTOR 1 1
+T 53350 50350 5 10 1 1 180 6 1
+refdes=Speaker-
+}
+C 53600 50800 1 180 0 terminal-1.sym
+{
+T 53290 50050 5 10 0 0 180 0 1
+device=terminal
+T 53290 50200 5 10 0 0 180 0 1
+footprint=CONNECTOR 1 1
+T 53350 50750 5 10 1 1 180 6 1
+refdes=Speaker+
+}
+C 52600 50000 1 0 0 gnd-1.sym
+C 50900 48600 1 0 0 gnd-1.sym
+C 48600 52400 1 0 0 vcc-1.sym
+C 49100 49800 1 0 0 vee-1.sym
+N 49500 50700 52700 50700 4
+C 49200 51200 1 0 0 gnd-1.sym
+C 49000 48500 1 90 0 cap-polar.sym
+{
+T 48300 48700 5 10 0 0 90 0 1
+device=POLARIZED_CAPACITOR
+T 49300 49200 5 10 1 1 180 0 1
+refdes=C6
+T 48100 48700 5 10 0 0 90 0 1
+symversion=0.1
+T 49000 48495 5 10 0 1 90 0 1
+footprint=1206
+T 49000 48700 5 10 1 1 0 0 1
+value=100uF
+}
+C 48700 48200 1 0 0 gnd-1.sym
+N 49300 49800 48800 49800 4
+N 48800 50100 48800 49400 4
+N 48800 52400 50600 52400 4
+N 48800 52400 48800 51300 4
+C 50800 51500 1 90 0 capacitor.sym
+{
+T 50100 51700 5 10 0 0 90 0 1
+device=CAPACITOR
+T 51100 52200 5 10 1 1 180 0 1
+refdes=C3
+T 49900 51700 5 10 0 0 90 0 1
+symversion=0.1
+T 50800 51495 5 10 0 1 90 0 1
+footprint=1206
+T 50800 51600 5 10 1 1 0 0 1
+value=0.1uF
+}
+N 49300 51500 50600 51500 4
+C 50100 48500 1 90 0 capacitor.sym
+{
+T 49400 48700 5 10 0 0 90 0 1
+device=CAPACITOR
+T 50400 49200 5 10 1 1 180 0 1
+refdes=C4
+T 49200 48700 5 10 0 0 90 0 1
+symversion=0.1
+T 50100 48495 5 10 0 1 90 0 1
+footprint=1206
+T 50100 48600 5 10 1 1 0 0 1
+value=0.1uF
+}
+N 48800 49400 49900 49400 4
+N 48800 48500 49900 48500 4
+C 48900 47600 1 0 0 resistor.sym
+{
+T 49200 48000 5 10 0 0 0 0 1
+device=RESISTOR
+T 49000 47900 5 10 1 1 0 0 1
+refdes=R4
+T 48895 47600 5 10 0 1 0 0 1
+footprint=1206
+T 49400 47900 5 10 1 1 0 0 1
+value=20k
+}
+C 48100 46700 1 90 0 resistor.sym
+{
+T 47700 47000 5 10 0 0 90 0 1
+device=RESISTOR
+T 48400 47400 5 10 1 1 180 0 1
+refdes=R3
+T 48100 46695 5 10 0 1 90 0 1
+footprint=1206
+T 48200 46900 5 10 1 1 0 0 1
+value=1k
+}
+C 47800 46700 1 270 0 cap-polar.sym
+{
+T 48500 46500 5 10 0 0 270 0 1
+device=POLARIZED_CAPACITOR
+T 48300 46300 5 10 1 1 0 0 1
+refdes=C2
+T 48700 46500 5 10 0 0 270 0 1
+symversion=0.1
+T 47800 46705 5 10 0 1 270 0 1
+footprint=1206
+T 48300 46100 5 10 1 1 0 0 1
+value=22uF
+}
+C 47900 45500 1 0 0 gnd-1.sym
+N 48900 47700 48000 47700 4
+N 48000 47600 48000 50500 4
+N 48000 50500 48200 50500 4
+N 49800 47700 50700 47700 4
+N 50700 47700 50700 50700 4
+C 46200 50700 1 0 0 capacitor.sym
+{
+T 46400 51400 5 10 0 0 0 0 1
+device=CAPACITOR
+T 46300 51200 5 10 1 1 0 0 1
+refdes=C1
+T 46400 51600 5 10 0 0 0 0 1
+symversion=0.1
+T 46195 50700 5 10 0 1 0 0 1
+footprint=1206
+T 46700 51200 5 10 1 1 0 0 1
+value=2.2uF
+}
+C 47400 49800 1 90 0 resistor.sym
+{
+T 47000 50100 5 10 0 0 90 0 1
+device=RESISTOR
+T 47700 50500 5 10 1 1 180 0 1
+refdes=R2
+T 47400 49795 5 10 0 1 90 0 1
+footprint=1206
+T 47500 50000 5 10 1 1 0 0 1
+value=22k
+}
+C 46100 49800 1 90 0 resistor.sym
+{
+T 45700 50100 5 10 0 0 90 0 1
+device=RESISTOR
+T 46400 50500 5 10 1 1 180 0 1
+refdes=R1
+T 46100 49795 5 10 0 1 90 0 1
+footprint=1206
+T 46200 50000 5 10 1 1 0 0 1
+value=1M
+}
+C 47200 49500 1 0 0 gnd-1.sym
+C 45900 49500 1 0 0 gnd-1.sym
+N 47100 50900 48200 50900 4
+N 47300 50900 47300 50700 4
+N 46200 50900 45300 50900 4
+N 46000 50900 46000 50700 4
+C 45200 50400 1 0 0 gnd-1.sym
diff --git a/attribs b/attribs
new file mode 100644 (file)
index 0000000..92a91e7
--- /dev/null
+++ b/attribs
@@ -0,0 +1,6 @@
+value
+vendor
+vendor_part_number
+footprint
+loadstatus
+device
diff --git a/gattribrc b/gattribrc
new file mode 120000 (symlink)
index 0000000..441e62e
--- /dev/null
+++ b/gattribrc
@@ -0,0 +1 @@
+gschemrc
\ No newline at end of file
diff --git a/gnetlistrc b/gnetlistrc
new file mode 120000 (symlink)
index 0000000..441e62e
--- /dev/null
@@ -0,0 +1 @@
+gschemrc
\ No newline at end of file
diff --git a/gschemrc b/gschemrc
new file mode 100644 (file)
index 0000000..55565aa
--- /dev/null
+++ b/gschemrc
@@ -0,0 +1,2 @@
+;; list libraries here.  order matters as this sets the search order
+(component-library "../bdale/sym")
diff --git a/project b/project
new file mode 100644 (file)
index 0000000..5b31ac6
--- /dev/null
+++ b/project
@@ -0,0 +1,13 @@
+# List all the schematics to be netlisted and laid out on the pc board
+schematics     amp.sch
+
+# for an output-name of foo, gsch2pcb generates files foo.net, foo.pcb,
+# and foo.new.pcb.  if there is no output name specified, the file names
+# are derived from the first listed schematic...
+output-name    amp
+
+elements-dir ../bdale/pkg
+elements-dir /usr/share/pcb
+
+# stick to newlib elements, don't use the older/odder m4 stuff
+skip-m4