component
DS18B20
Public Made by Adomby adom
Analog Devices 1-Wire digital thermometer, TO-92. -55 to +125 C, 9-12 bit, unique 64-bit ID, parasite power. Datasheet-verified.
← Commit history
viewers/footprint.html+3−3@@ -1,5 +1,5 @@ <!doctype html><html lang=en><head><meta charset=utf-8>-<meta name=viewport content="width=device-width,initial-scale=1"><title>DS18B20 footprint</title>+<meta name=viewport content="width=device-width,initial-scale=1"><title>ADOM/DS18B20 footprint</title> <style> :root{--bg:#0d1117;--panel:#161b22;--edge:#30363d;--ink:#e6edf3;--mut:#8b949e;--acc:#00b8b0;--accb:#00e6dc;--hi:#6ea8fe} *{box-sizing:border-box;margin:0}html,body{height:100%}@@ -23,10 +23,10 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4} </style></head><body> <div class=bar><span class=h>PCB footprint</span><span class=sp></span><button class="lyrtog on" data-lyr="copper"><span class="d" style="background:#e35d5d"></span>Copper</button><button class="lyrtog on" data-lyr="silk"><span class="d" style="background:#e6edf3"></span>Silkscreen</button><button class="lyrtog" data-lyr="fab"><span class="d" style="background:#8b949e"></span>Fab</button><button class="lyrtog" data-lyr="courtyard"><span class="d" style="background:#bc8cff"></span>Courtyard</button></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-1.860 -3.130 6.260 6.130' style='width:100%;height:100%'><line class='ly-silk' x1='-0.530' y1='1.850' x2='3.070' y2='1.850' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-1.460' y1='-2.730' x2='-1.460' y2='2.010' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.460' y1='-2.730' x2='4.000' y2='-2.730' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='4.000' y1='2.010' x2='-1.460' y2='2.010' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='4.000' y1='2.010' x2='4.000' y2='-2.730' stroke='#4ade80' stroke-width='0.050'/><line class='ly-fab' x1='-0.500' y1='1.750' x2='3.000' y2='1.750' stroke='#f472b6' stroke-width='0.100'/><path class='ly-silk' d='M-0.568 1.838 A2.600 2.600 0 0 1 1.270 -2.600' fill='none' stroke='#d8b4fe' stroke-width='0.120'/><path class='ly-silk' d='M1.270 -2.600 A2.600 2.600 0 0 1 3.108 1.838' fill='none' stroke='#d8b4fe' stroke-width='0.120'/><path class='ly-fab' d='M-0.484 1.754 A2.480 2.480 0 0 1 1.270 -2.480' fill='none' stroke='#f472b6' stroke-width='0.100'/><path class='ly-fab' d='M1.270 -2.480 A2.480 2.480 0 0 1 3.024 1.754' fill='none' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-copper pad' data-num='1' data-name='GND' x='-0.525' y='-0.750' width='1.050' height='1.500' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='0.000' font-size='0.630' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='DQ' x='0.745' y='-0.750' width='1.050' height='1.500' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.270' y='0.000' font-size='0.630' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='V_{DD}' x='2.015' y='-0.750' width='1.050' height='1.500' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.540' y='0.000' font-size='0.630' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-1.860 -3.130 6.260 6.130' style='width:100%;height:100%'><line class='ly-silk' x1='-0.530' y1='1.850' x2='3.070' y2='1.850' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-1.460' y1='-2.730' x2='-1.460' y2='2.010' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-1.460' y1='-2.730' x2='4.000' y2='-2.730' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='4.000' y1='2.010' x2='-1.460' y2='2.010' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='4.000' y1='2.010' x2='4.000' y2='-2.730' stroke='#4ade80' stroke-width='0.050'/><line class='ly-fab' x1='-0.500' y1='1.750' x2='3.000' y2='1.750' stroke='#f472b6' stroke-width='0.100'/><path class='ly-silk' d='M-0.568 1.838 A2.600 2.600 0 0 1 1.270 -2.600' fill='none' stroke='#d8b4fe' stroke-width='0.120'/><path class='ly-silk' d='M1.270 -2.600 A2.600 2.600 0 0 1 3.108 1.838' fill='none' stroke='#d8b4fe' stroke-width='0.120'/><path class='ly-fab' d='M-0.484 1.754 A2.480 2.480 0 0 1 1.270 -2.480' fill='none' stroke='#f472b6' stroke-width='0.100'/><path class='ly-fab' d='M1.270 -2.480 A2.480 2.480 0 0 1 3.024 1.754' fill='none' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-copper pad' data-num='1' data-name='GND' x='-0.525' y='-0.750' width='1.050' height='1.500' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='0.000' font-size='0.630' transform='rotate(-90 0.000 0.000)' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='DQ' x='0.745' y='-0.750' width='1.050' height='1.500' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.270' y='0.000' font-size='0.630' transform='rotate(-90 1.270 0.000)' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='VDD' x='2.015' y='-0.750' width='1.050' height='1.500' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.540' y='0.000' font-size='0.630' transform='rotate(-90 2.540 0.000)' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text></svg></div> <div id=tip></div> <script>-var KIND="footprint", MPN="DS18B20", PINS=[{"desc":"Ground return.","name":"GND","number":"1","type":"Power"},{"desc":"1-Wire data input/output.","name":"DQ","number":"2","type":"Bidir"},{"desc":"Optional external power supply, 3.0 V to 5.5 V.","name":"V_{DD}","number":"3","type":"Power"}];+var KIND="footprint", MPN="ADOM/DS18B20", PINS=[{"desc":"","name":"GND","number":"1","type":""},{"desc":"","name":"DQ","number":"2","type":""},{"desc":"","name":"VDD","number":"3","type":""}]; var byNum={}; PINS.forEach(function(p){byNum[String(p.number)]=p;}); var stage=document.getElementById('stage'), svg=stage.querySelector('svg'), tip=document.getElementById('tip'); // ---- pan/zoom ----
viewers/symbol.html+3−3@@ -1,5 +1,5 @@ <!doctype html><html lang=en><head><meta charset=utf-8>-<meta name=viewport content="width=device-width,initial-scale=1"><title>DS18B20 symbol</title>+<meta name=viewport content="width=device-width,initial-scale=1"><title>ADOM/DS18B20 symbol</title> <style> :root{--bg:#0d1117;--panel:#161b22;--edge:#30363d;--ink:#e6edf3;--mut:#8b949e;--acc:#00b8b0;--accb:#00e6dc;--hi:#6ea8fe} *{box-sizing:border-box;margin:0}html,body{height:100%}@@ -23,10 +23,10 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4} </style></head><body> <div class=bar><span class=h>Schematic symbol</span><span class=sp></span></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-300 -350 600 700' style='width:100%;height:100%'><polyline points='-205.0,-125.0 -205.0,-0.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-205.0,-125.0 -180.0,-125.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-205.0,-100.0 -180.0,-100.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-205.0,-75.0 -180.0,-75.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-205.0,-50.0 -180.0,-50.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-205.0,-25.0 -180.0,-25.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-155.0,-125.0 -155.0,-0.0' fill='none' stroke='#e35d5d' stroke-width='4'/><rect x='-250.0' y='-200.0' width='400.0' height='400.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><rect x='-205.0' y='-0.0' width='50.0' height='75.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><circle cx='-180.0' cy='100.0' r='50.0' fill='none' stroke='#e35d5d' stroke-width='4'/><path d='M-155.0 -125.0 A25.0 25.0 0 0 0 -205.0 -125.0' fill='none' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='GND'><line class='pinvis' x1='-50.0' y1='300.0' x2='-50.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-50.0' y1='300.0' x2='-50.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-12.5' y='250.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-50.0' y='175.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text><g class='pingroup' data-num='2' data-name='DQ'><line class='pinvis' x1='250.0' y1='-0.0' x2='150.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='250.0' y1='-0.0' x2='150.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='200.0' y='-37.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='125.0' y='0.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>DQ</text><g class='pingroup' data-num='3' data-name='V_{DD}'><line class='pinvis' x1='-50.0' y1='-300.0' x2='-50.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-50.0' y1='-300.0' x2='-50.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-87.5' y='-250.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='-50.0' y='-175.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>V_{DD}</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-300 -350 600 700' style='width:100%;height:100%'><rect x='-250.0' y='-200.0' width='400.0' height='400.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><rect x='-205.0' y='-0.0' width='50.0' height='75.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><polyline points='-205.0,-125.0 -205.0,-0.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-205.0,-125.0 -180.0,-125.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-205.0,-100.0 -180.0,-100.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-205.0,-75.0 -180.0,-75.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-205.0,-50.0 -180.0,-50.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-205.0,-25.0 -180.0,-25.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='-155.0,-125.0 -155.0,-0.0' fill='none' stroke='#e35d5d' stroke-width='4'/><circle cx='-180.0' cy='100.0' r='50.0' fill='none' stroke='#e35d5d' stroke-width='4'/><path d='M-155.0 -125.0 A25.0 25.0 0 0 0 -205.0 -125.0' fill='none' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='GND'><line class='pinvis' x1='-50.0' y1='300.0' x2='-50.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-50.0' y1='300.0' x2='-50.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-12.5' y='250.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-50.0' y='175.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text><g class='pingroup' data-num='2' data-name='DQ'><line class='pinvis' x1='250.0' y1='-0.0' x2='150.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='250.0' y1='-0.0' x2='150.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='200.0' y='-37.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='125.0' y='0.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>DQ</text><g class='pingroup' data-num='3' data-name='VDD'><line class='pinvis' x1='-50.0' y1='-300.0' x2='-50.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-50.0' y1='-300.0' x2='-50.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-87.5' y='-250.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='-50.0' y='-175.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>VDD</text></svg></div> <div id=tip></div> <script>-var KIND="symbol", MPN="DS18B20", PINS=[{"desc":"Ground return.","name":"GND","number":"1","type":"Power"},{"desc":"1-Wire data input/output.","name":"DQ","number":"2","type":"Bidir"},{"desc":"Optional external power supply, 3.0 V to 5.5 V.","name":"V_{DD}","number":"3","type":"Power"}];+var KIND="symbol", MPN="ADOM/DS18B20", PINS=[{"desc":"","name":"GND","number":"1","type":""},{"desc":"","name":"DQ","number":"2","type":""},{"desc":"","name":"VDD","number":"3","type":""}]; var byNum={}; PINS.forEach(function(p){byNum[String(p.number)]=p;}); var stage=document.getElementById('stage'), svg=stage.querySelector('svg'), tip=document.getElementById('tip'); // ---- pan/zoom ----