From 20a873c6f4f96d8a9a970a388c2aef8f1613ee98 Mon Sep 17 00:00:00 2001 From: Neil Gershenfeld <gersh@cba.mit.edu> Date: Sun, 28 Jul 2024 21:18:26 -0400 Subject: [PATCH] wip --- python/pcb.py | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/python/pcb.py b/python/pcb.py index 4cb5f35..99e881c 100755 --- a/python/pcb.py +++ b/python/pcb.py @@ -6639,6 +6639,51 @@ class VL53L1X(part): # ICs ############################################################ +class TLV365DBVR(part): + # + # op-amp SOT-23-5 + # + def __init__(self,value=''): + self.value = value + self.pad = [point(0,0,0)] + self.labels = [] + w = 1.1/25.4/2 + h = 0.5/25.4/2 + d = 2.6/25.4/2 + p = 0.95/25.4 + pad = cube(-w,w,-h,h,0,0) + s = 0.003 + # + # pin 1 + # + self.shape = translate(pad,-d,p,0) + self.pad.append(point(-d,p,0)) + self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'Vo',line=s,angle=90)) + # + # pin 2 + # + self.shape = add(self.shape,translate(pad,-d,0,0)) + self.pad.append(point(-d,0,0)) + self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'V-',line=s,angle=90)) + # + # pin 3 + # + self.shape = add(self.shape,translate(pad,-d,-p,0)) + self.pad.append(point(-d,-p,0)) + self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'I+',line=s,angle=90)) + # + # pin 4 + # + self.shape = add(self.shape,translate(pad,d,-p,0)) + self.pad.append(point(d,-p,0)) + self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'I-',line=s,angle=90)) + # + # pin 5 + # + self.shape = add(self.shape,translate(pad,d,p,0)) + self.pad.append(point(d,p,0)) + self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'V+',line=s,angle=90)) + class SN74LVC1G14DCKR(part): # # single Schmidt trigger inverter SOT-353 SC-70-5 -- GitLab