mirror of
https://codeberg.org/SiB64/atfuses.git
synced 2026-05-01 15:14:22 +02:00
Compare commits
5 commits
ca2915735d
...
fc79b41509
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc79b41509 | ||
|
|
a380336fe5 | ||
|
|
b5d21a58fd | ||
|
|
464f2536d2 | ||
|
|
2887114cf7 |
5 changed files with 116 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
PROJ = atfuses
|
||||
PROJ = updi232
|
||||
VERSION = v01
|
||||
|
||||
GERBERS=$(PROJ).plated-drill.cnc
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/python2
|
||||
# coding=utf-8
|
||||
#!/usr/bin/python3
|
||||
|
||||
# $Id: gvp2make.py 8411 2022-02-28 11:50:10Z stephan $
|
||||
# This script is free software (c) 2010 Stephan I. Böttcher
|
||||
|
|
@ -76,7 +75,7 @@ from getopt import gnu_getopt as getopt
|
|||
oo,ifile = getopt(sys.argv[1:], "hg:x:o:w:D:XMA:")
|
||||
for o,v in oo:
|
||||
if o=="-h":
|
||||
print "Synopsis:", sys.argv[0], "<options> gerbv-project-file", usage
|
||||
print("Synopsis:", sys.argv[0], "<options> gerbv-project-file", usage)
|
||||
sys.exit()
|
||||
if o=="-g":
|
||||
options[0]=v
|
||||
|
|
@ -123,7 +122,7 @@ for l in input(ifile):
|
|||
LL=""
|
||||
|
||||
files=[]
|
||||
lnumbers = layers.keys()
|
||||
lnumbers = list(layers.keys())
|
||||
lnumbers.sort()
|
||||
for n in lnumbers:
|
||||
ll = layers[n]
|
||||
|
|
@ -138,6 +137,8 @@ for n in lnumbers:
|
|||
except:
|
||||
opacity = opacities["DEFAULT"]
|
||||
color = [int(c)/65536. for c in ll["color"].split()]
|
||||
if "alpha" in ll:
|
||||
opacity = int(ll["alpha"])/65536
|
||||
if len(color)<4:
|
||||
color.append(opacity)
|
||||
options.append("--foreground=#%02x%02x%02x%02x" % tuple(
|
||||
|
|
@ -145,14 +146,14 @@ for n in lnumbers:
|
|||
|
||||
if makefile:
|
||||
target = options[2].split("=")[1]
|
||||
print "GERBV="+options[0]
|
||||
print "FORMAT="+options[1].split("=")[1]
|
||||
print "DPI="+options[3].split("=")[1]
|
||||
print target+": \\\n\t "+" \\\n\t ".join(files)
|
||||
print "\t$(GERBV) --output=$@ --export=$(FORMAT) --dpi=$(DPI) \\"
|
||||
print "\t "+" \\\n\t ".join(options[4:])+" \\\n\t $<"
|
||||
print ("GERBV="+options[0])
|
||||
print ("FORMAT="+options[1].split("=")[1])
|
||||
print ("DPI="+options[3].split("=")[1])
|
||||
print (target+": \\\n\t "+" \\\n\t ".join(files))
|
||||
print ("\t$(GERBV) --output=$@ --export=$(FORMAT) --dpi=$(DPI) \\")
|
||||
print ("\t "+" \\\n\t ".join(options[4:])+" \\\n\t $<")
|
||||
else:
|
||||
cmd = " ".join(options+files)
|
||||
print cmd
|
||||
print (cmd)
|
||||
if execcmd:
|
||||
os.system(cmd)
|
||||
|
|
|
|||
19
gerber/updi232.README
Normal file
19
gerber/updi232.README
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
Project updi232 version v01
|
||||
|
||||
Two layer rigid PCB, 8mil/8mil rules, 0.4mm vias, 10mil annular
|
||||
|
||||
Size: 50x51 mm²
|
||||
Thickness: 1.55 mm.
|
||||
With soldermask, no silk.
|
||||
|
||||
Layer order:
|
||||
|
||||
1c: updi232.top.gbr top side copper
|
||||
2c: updi232.bottom.gbr bottom side copper
|
||||
|
||||
d: updi232.plated-drill.cnc drill file
|
||||
o: updi232.outline.gbr board outline
|
||||
|
||||
1m: updi232.topmask.gbr soldermask top
|
||||
2m: updi232.bottommask.gbr soldermask bottom
|
||||
|
||||
56
gerber/updi232.gvp
Normal file
56
gerber/updi232.gvp
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
(gerbv-file-version! "2.0A")
|
||||
(define-layer! 8 (cons 'filename "updi232.bottommask.gbr")
|
||||
(cons 'inverted #t)
|
||||
(cons 'visible #f)
|
||||
(cons 'color #(0 57568 6070))
|
||||
(cons 'alpha #(21588))
|
||||
)
|
||||
(define-layer! 7 (cons 'filename "updi232.bottom.gbr")
|
||||
(cons 'visible #t)
|
||||
(cons 'color #(45177 46748 64893))
|
||||
)
|
||||
(define-layer! 6 (cons 'filename "updi232.top.gbr")
|
||||
(cons 'visible #t)
|
||||
(cons 'color #(65535 29244 28836))
|
||||
(cons 'alpha #(42662))
|
||||
)
|
||||
(define-layer! 5 (cons 'filename "updi232.toppaste.gbr")
|
||||
(cons 'visible #t)
|
||||
(cons 'color #(65535 0 6760))
|
||||
)
|
||||
(define-layer! 4 (cons 'filename "updi232.topmask.gbr")
|
||||
(cons 'inverted #t)
|
||||
(cons 'visible #f)
|
||||
(cons 'color #(0 64984 7760))
|
||||
(cons 'alpha #(13364))
|
||||
)
|
||||
(define-layer! 3 (cons 'filename "updi232.plated-drill.cnc")
|
||||
(cons 'visible #t)
|
||||
(cons 'color #(61307 61307 61307))
|
||||
(cons 'alpha #(65535))
|
||||
(cons 'attribs (list
|
||||
(list 'autodetect 'Boolean 1)
|
||||
(list 'zero_suppression 'Enum 0)
|
||||
(list 'units 'Enum 0)
|
||||
(list 'digits 'Integer 4)
|
||||
))
|
||||
)
|
||||
(define-layer! 2 (cons 'filename "updi232.topsilk.gbr")
|
||||
(cons 'visible #t)
|
||||
(cons 'color #(0 0 0))
|
||||
(cons 'alpha #(55512))
|
||||
)
|
||||
(define-layer! 1 (cons 'filename "updi232.outline.gbr")
|
||||
(cons 'visible #t)
|
||||
(cons 'color #(0 0 0))
|
||||
(cons 'alpha #(65535))
|
||||
)
|
||||
(define-layer! 0 (cons 'filename "updi232.fab.gbr")
|
||||
(cons 'visible #f)
|
||||
(cons 'color #(0 0 0))
|
||||
(cons 'alpha #(65535))
|
||||
)
|
||||
(define-layer! -1 (cons 'filename "/home/blaulicht/stephan/eda/updi232/gerber")
|
||||
(cons 'color #(65535 65535 65535))
|
||||
)
|
||||
(set-render-type! 3)
|
||||
28
gerber/updi232_bom.txt
Normal file
28
gerber/updi232_bom.txt
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# PcbBOM Version 1.0
|
||||
# Date: Di 23 Jan 2024 21:54:16 GMT UTC
|
||||
# Author:
|
||||
# Title: UPDI232 - PCB BOM
|
||||
# Quantity, Description, Value, RefDes
|
||||
# --------------------------------------------
|
||||
C0603 -BYP_100nF 1/1 C30
|
||||
C0603 -SD:_10kΩ 1/1 R30
|
||||
C0603 0Ω 1/1 R21
|
||||
C0603 100kΩ 5/5 R1 R12 R15 R17 R18
|
||||
C0603 100nF 9/9 C1 C11 C12 C2 C3 C4 C5 C6 C7
|
||||
C0603 100Ω 1/1 R33
|
||||
C0603 10kΩ 9/9 R10 R11 R14 R2 R3 R4 R5 R6 R7
|
||||
C0603 120kΩ 1/1 R32
|
||||
C0603 1MΩ 2/2 R13 R16
|
||||
C0603 270kΩ 1/1 R31
|
||||
C0603 ∞Ω 1/1 R20
|
||||
HE_100mil_2_2 unknown 2/2 J2 J30
|
||||
HE_100mil_6_2 unknown 1/1 J1
|
||||
P1206 10µF 3/3 C13 C31 C8
|
||||
SC70_6 BC847S 3/3 Q2 Q3 Q4
|
||||
SOD123 12V 1/1 D8
|
||||
SOD523 1N4148 7/7 D1 D2 D3 D4 D5 D6 D7
|
||||
SOIC_150_16 MAX3232EIDR 1/1 U1
|
||||
SOT23_3 BSS84 1/1 Q1
|
||||
SOT23_5 LT1761-SD_/_-BYP 1/1 U30
|
||||
SUBD9_F D9_fem_90°_backs 1/1 CONN1
|
||||
gseboard unknown 1/1 BOARD
|
||||
Loading…
Add table
Add a link
Reference in a new issue