← Commit history

Targeted fixes, page content unchanged: ds18b20.lbr; models_3d

Ray ·7ea07bb787 · ·parent a24d8a7
3 files changed +73−23
ds18b20.lbr+28−18
@@ -52,11 +52,11 @@ <library> <description>1-Wire Ambient Temperature Sensor TO-92</description> <packages>-<package name="DS18B20">-  <description>DS18B20</description>-  <pad name="1" x="0.0000" y="-0.0000" drill="0.7500" diameter="1.5000" shape="square"/>-  <pad name="2" x="1.2700" y="-0.0000" drill="0.7500" diameter="1.5000" shape="long"/>-  <pad name="3" x="2.5400" y="-0.0000" drill="0.7500" diameter="1.5000" shape="long"/>+<package name="TO-92_Inline">+  <description>3 pads, 3.6 x 1.5 mm. TO-92 leads in-line, narrow, oval pads, drill 0.75mm (see NXP sot054_po.pdf)</description>+  <pad name="1" x="0.0000" y="-0.0000" drill="0.7500" diameter="1.0500" shape="long" rot="R90"/>+  <pad name="2" x="1.2700" y="-0.0000" drill="0.7500" diameter="1.0500" shape="long" rot="R90"/>+  <pad name="3" x="2.5400" y="-0.0000" drill="0.7500" diameter="1.0500" shape="long" rot="R90"/>   <wire x1="-0.5300" y1="-1.8500" x2="3.0700" y2="-1.8500" width="0.1200" layer="21"/>   <wire x1="-0.5000" y1="-1.7500" x2="3.0000" y2="-1.7500" width="0.1000" layer="51"/>   <wire x1="-0.5685" y1="-1.8385" x2="-0.8918" y2="-1.4445" width="0.1200" layer="21"/>@@ -113,17 +113,20 @@ </packages> <symbols> <symbol name="DS18B20">+  <description>1-Wire Ambient Temperature Sensor TO-92</description>   <wire x1="-5.08" y1="5.08" x2="5.08" y2="5.08" width="0.254" layer="94"/>   <wire x1="5.08" y1="5.08" x2="5.08" y2="-5.08" width="0.254" layer="94"/>   <wire x1="5.08" y1="-5.08" x2="-5.08" y2="-5.08" width="0.254" layer="94"/>   <wire x1="-5.08" y1="-5.08" x2="-5.08" y2="5.08" width="0.254" layer="94"/>-  <wire x1="-3.9370" y1="3.1750" x2="-3.9370" y2="0.0000" width="0.1524" layer="94"/>-  <wire x1="-3.9370" y1="3.1750" x2="-3.3020" y2="3.1750" width="0.1524" layer="94"/>-  <wire x1="-3.9370" y1="2.5400" x2="-3.3020" y2="2.5400" width="0.1524" layer="94"/>-  <wire x1="-3.9370" y1="1.9050" x2="-3.3020" y2="1.9050" width="0.1524" layer="94"/>-  <wire x1="-3.9370" y1="1.2700" x2="-3.3020" y2="1.2700" width="0.1524" layer="94"/>-  <wire x1="-3.9370" y1="0.6350" x2="-3.3020" y2="0.6350" width="0.1524" layer="94"/>-  <wire x1="-2.6670" y1="3.1750" x2="-2.6670" y2="0.0000" width="0.1524" layer="94"/>+  <rectangle x1="-2.6670" y1="-1.9050" x2="-3.9370" y2="0.0000" layer="94"/>+  <circle x="-3.3020" y="-2.5400" radius="1.2700" width="0.1524" layer="94"/>+  <wire x1="-3.9370" y1="3.1750" x2="-3.9370" y2="0.0000" width="0.2540" layer="94"/>+  <wire x1="-3.9370" y1="3.1750" x2="-3.3020" y2="3.1750" width="0.2540" layer="94"/>+  <wire x1="-3.9370" y1="2.5400" x2="-3.3020" y2="2.5400" width="0.2540" layer="94"/>+  <wire x1="-3.9370" y1="1.9050" x2="-3.3020" y2="1.9050" width="0.2540" layer="94"/>+  <wire x1="-3.9370" y1="1.2700" x2="-3.3020" y2="1.2700" width="0.2540" layer="94"/>+  <wire x1="-3.9370" y1="0.6350" x2="-3.3020" y2="0.6350" width="0.2540" layer="94"/>+  <wire x1="-2.6670" y1="3.1750" x2="-2.6670" y2="0.0000" width="0.2540" layer="94"/>   <wire x1="-3.9370" y1="3.1750" x2="-3.9148" y2="3.3388" width="0.1524" layer="94"/>   <wire x1="-3.9148" y1="3.3388" x2="-3.8510" y2="3.4914" width="0.1524" layer="94"/>   <wire x1="-3.8510" y1="3.4914" x2="-3.7501" y2="3.6223" width="0.1524" layer="94"/>@@ -136,11 +139,11 @@   <wire x1="-2.8539" y1="3.6223" x2="-2.7530" y2="3.4914" width="0.1524" layer="94"/>   <wire x1="-2.7530" y1="3.4914" x2="-2.6892" y2="3.3388" width="0.1524" layer="94"/>   <wire x1="-2.6892" y1="3.3388" x2="-2.6670" y2="3.1750" width="0.1524" layer="94"/>-  <text x="0" y="7.62" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>-  <text x="0" y="-7.62" size="1.27" layer="96" align="top-center">&gt;VALUE</text>+  <text x="-3.8100" y="6.3500" size="1.27" layer="95" align="center">&gt;NAME</text>+  <text x="6.3500" y="6.3500" size="1.27" layer="96" align="center">&gt;VALUE</text>   <pin name="GND" x="0" y="-7.62" length="short" direction="pwr" rot="R90"/>   <pin name="DQ" x="7.62" y="0" length="short" direction="io" rot="R180"/>-  <pin name="V_{DD}" x="0" y="7.62" length="short" direction="pwr" rot="R270"/>+  <pin name="V__DD" x="0" y="7.62" length="short" direction="pwr" rot="R270"/> </symbol> </symbols> <devicesets>@@ -150,13 +153,20 @@     <gate name="G$1" symbol="DS18B20" x="0" y="0"/>   </gates>   <devices>-    <device name="" package="DS18B20">+    <device name="" package="TO-92_Inline">       <connects>         <connect gate="G$1" pin="GND" pad="1"/>         <connect gate="G$1" pin="DQ" pad="2"/>-        <connect gate="G$1" pin="V_{DD}" pad="3"/>+        <connect gate="G$1" pin="V__DD" pad="3"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="DS18B20" constant="no"/>+          <attribute name="MANUFACTURER" value="Analog Devices" constant="no"/>+          <attribute name="DATASHEET" value="https://cdn.sparkfun.com/datasheets/Sensors/Temp/DS18B20.pdf" constant="no"/>+          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/ds18b20" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
package.json+2−2
@@ -1,6 +1,6 @@ {   "slug": "ds18b20",-  "version": "0.1.0",+  "version": "1.0.1",   "type": "component",   "description": "Analog Devices 1-Wire digital thermometer, TO-92. -55 to +125 C, 9-12 bit, unique 64-bit ID, parasite power. Datasheet-verified.",   "tags": [@@ -28,4 +28,4 @@     "viewers/symbol.html",     "viewers/footprint.html"   ]-}\ No newline at end of file+}
page.json+43−3
@@ -4,7 +4,7 @@   "slug": "ds18b20",   "title": "DS18B20",   "brief": "Analog Devices 1-Wire digital thermometer, TO-92. -55 to +125 C, 9-12 bit, unique 64-bit ID, parasite power. Datasheet-verified.",-  "version": "0.1.0",+  "version": "1.0.1",   "license": "CC-BY-SA-4.0",   "tags": [     "component",@@ -72,7 +72,47 @@     "viewers": {       "symbol": "viewers/symbol.html",       "footprint": "viewers/footprint.html"-    }+    },+    "models_3d": [+      {+        "file": "ds18b20.step",+        "role": "plain",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "body on z = 0, through-hole leads below",+        "extents_mm": [+          4.83,+          3.745,+          9.8+        ],+        "zmin_mm": -2.5,+        "centre_offset_mm": 0.542,+        "footprint_binding": "identity",+        "sha256": "f0b61c32ecbf0067157adc5a3d4966ceadf5d6dafe93c51af35f76c41c71a54a",+        "checked": "2026-11-10",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      },+      {+        "file": "ds18b20-etched.step",+        "role": "plain",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "body on z = 0, through-hole leads below",+        "extents_mm": [+          4.83,+          3.745,+          9.83+        ],+        "zmin_mm": -2.5,+        "centre_offset_mm": 0.542,+        "footprint_binding": "identity",+        "sha256": "06d0a34c6631e381bc67315db797e7ef77c9017c899c7b1c443857967938a88d",+        "checked": "2026-11-10",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      }+    ]   },   "metadata": {     "specs": {@@ -132,4 +172,4 @@       "kind": "packaging"     }   ]-}\ No newline at end of file+}