← Commit history

Update 2 file(s)

Ray ·99d7fe3f89 · ·parent 5a033cb
2 files changed +6−6
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>VL53L0X footprint</title>+<meta name=viewport content="width=device-width,initial-scale=1"><title>ADOM/VL53L0X 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='-3.100 -1.900 6.200 3.800' style='width:100%;height:100%'><line class='ly-silk' x1='-2.550' y1='-1.050' x2='-2.550' y2='1.350' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.550' y1='1.350' x2='2.550' y2='1.350' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.550' y1='-1.350' x2='-2.250' y2='-1.350' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.550' y1='1.350' x2='2.550' y2='-1.350' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-2.700' y1='-1.500' x2='-2.700' y2='1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.700' y1='1.500' x2='2.700' y2='1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.700' y1='-1.500' x2='-2.700' y2='-1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.700' y1='1.500' x2='2.700' y2='-1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-fab' x1='-2.450' y1='-0.750' x2='-2.450' y2='1.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-2.450' y1='-0.750' x2='-1.950' y2='-1.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-1.950' y1='-1.250' x2='2.450' y2='-1.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='2.450' y1='-1.250' x2='2.450' y2='1.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='2.450' y1='1.250' x2='-2.450' y2='1.250' stroke='#f472b6' stroke-width='0.100'/><rect class='ly-copper pad' data-num='1' data-name='AVDDVCSEL' x='-1.930' y='-0.800' width='0.380' height='0.250' rx='0.062' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.740' y='-0.675' font-size='0.350' 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='1' data-name='AVDDVCSEL' x='-1.850' y='-1.050' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.600' y='-0.800' font-size='0.350' 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='AVSSVCSEL' x='-1.050' y='-1.050' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.800' y='-0.800' font-size='0.350' 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='GND' x='-0.250' y='-1.050' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='-0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='GND' x='0.550' y='-1.050' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.800' y='-0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='XSHUT' x='1.350' y='-1.050' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.600' y='-0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='GND' x='1.350' y='-0.250' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.600' y='0.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='GPIO1' x='1.350' y='0.550' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.600' y='0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='DNC' x='0.550' y='0.550' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.800' y='0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='SDA' x='-0.250' y='0.550' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='SCL' x='-1.050' y='0.550' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.800' y='0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='AVDD' x='-1.850' y='0.550' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.600' y='0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='GND' x='-1.850' y='-0.250' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.600' y='0.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-3.230 -2.030 6.330 3.930' style='width:100%;height:100%'><line class='ly-silk' x1='-2.550' y1='-1.050' x2='-2.550' y2='1.350' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.550' y1='1.350' x2='2.550' y2='1.350' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.550' y1='-1.350' x2='-2.250' y2='-1.350' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.550' y1='1.350' x2='2.550' y2='-1.350' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-2.700' y1='-1.500' x2='-2.700' y2='1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.700' y1='1.500' x2='2.700' y2='1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.700' y1='-1.500' x2='-2.700' y2='-1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.700' y1='1.500' x2='2.700' y2='-1.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-fab' x1='-2.450' y1='-0.750' x2='-2.450' y2='1.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-2.450' y1='-0.750' x2='-1.950' y2='-1.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='-1.950' y1='-1.250' x2='2.450' y2='-1.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='2.450' y1='-1.250' x2='2.450' y2='1.250' stroke='#f472b6' stroke-width='0.100'/><line class='ly-fab' x1='2.450' y1='1.250' x2='-2.450' y2='1.250' stroke='#f472b6' stroke-width='0.100'/><polygon class='ly-silk' points='-2.550,-1.350 -2.830,-1.350 -2.550,-1.630 -2.550,-1.350' fill='#d8b4fe' stroke='none'/><rect class='ly-copper pad' data-num='1' data-name='AVDDVCSEL' x='-1.930' y='-0.800' width='0.380' height='0.250' rx='0.062' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.740' y='-0.675' font-size='0.350' 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='1' data-name='AVDDVCSEL' x='-1.850' y='-1.050' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.600' y='-0.800' font-size='0.350' 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='AVSSVCSEL' x='-1.050' y='-1.050' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.800' y='-0.800' font-size='0.350' 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='GND' x='-0.250' y='-1.050' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='-0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='GND2' x='0.550' y='-1.050' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.800' y='-0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='XSHUT' x='1.350' y='-1.050' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.600' y='-0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='GND3' x='1.350' y='-0.250' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.600' y='0.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='GPIO1' x='1.350' y='0.550' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.600' y='0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='DNC' x='0.550' y='0.550' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.800' y='0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='SDA' x='-0.250' y='0.550' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='SCL' x='-1.050' y='0.550' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-0.800' y='0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='AVDD' x='-1.850' y='0.550' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.600' y='0.800' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='GND4' x='-1.850' y='-0.250' width='0.500' height='0.500' rx='0.125' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.600' y='0.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text></svg></div> <div id=tip></div> <script>-var KIND="footprint", MPN="VL53L0X", PINS=[{"desc":"VCSEL supply rail.","name":"AVDDVCSEL","number":"1","type":"Power"},{"desc":"VCSEL ground return.","name":"AVSSVCSEL","number":"2","type":"Power"},{"desc":"Module ground; connect to the main ground plane.","name":"GND","number":"3","type":"Power"},{"desc":"Standard pin forced to the ground domain in the application schematic to avoid instabilities.","name":"GND","number":"4","type":"Power"},{"desc":"Hardware shutdown / reset input, active low.","name":"XSHUT","number":"5","type":"Input"},{"desc":"Standard pin forced to the ground domain in the application schematic.","name":"GND","number":"6","type":"Power"},{"desc":"Programmable interrupt output, open-drain.","name":"GPIO1","number":"7","type":"Output"},{"desc":"Do-not-connect.","name":"DNC","number":"8","type":"NC"},{"desc":"I²C serial data line (fast mode, up to 400 kHz).","name":"SDA","number":"9","type":"Bidir"},{"desc":"I²C serial clock input (fast mode, up to 400 kHz).","name":"SCL","number":"10","type":"Input"},{"desc":"Main analog supply, 2.6 to 3.5 V.","name":"AVDD","number":"11","type":"Power"},{"desc":"Standard pin forced to the ground domain in the application schematic.","name":"GND","number":"12","type":"Power"}];+var KIND="footprint", MPN="ADOM/VL53L0X", PINS=[{"desc":"","name":"AVDDVCSEL","number":"1","type":""},{"desc":"","name":"AVSSVCSEL","number":"2","type":""},{"desc":"","name":"GND","number":"3","type":""},{"desc":"","name":"GND2","number":"4","type":""},{"desc":"","name":"XSHUT","number":"5","type":""},{"desc":"","name":"GND3","number":"6","type":""},{"desc":"","name":"GPIO1","number":"7","type":""},{"desc":"","name":"DNC","number":"8","type":""},{"desc":"","name":"SDA","number":"9","type":""},{"desc":"","name":"SCL","number":"10","type":""},{"desc":"","name":"AVDD","number":"11","type":""},{"desc":"","name":"GND4","number":"12","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>VL53L0X symbol</title>+<meta name=viewport content="width=device-width,initial-scale=1"><title>ADOM/VL53L0X 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='-400 -650 800 1300' style='width:100%;height:100%'><rect x='-250.0' y='-500.0' width='600.0' height='1000.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='AVDDVCSEL'><line class='pinvis' x1='150.0' y1='-600.0' x2='150.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='150.0' y1='-600.0' x2='150.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='112.5' y='-550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='150.0' y='-475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>AVDDVCSEL</text><g class='pingroup' data-num='2' data-name='AVSSVCSEL'><line class='pinvis' x1='150.0' y1='600.0' x2='150.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='150.0' y1='600.0' x2='150.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='187.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='150.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>AVSSVCSEL</text><g class='pingroup' data-num='3' data-name='GND'><line class='pinvis' x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='87.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='50.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text><g class='pingroup' data-num='4' data-name='GND'><line class='pinvis' x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='87.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='50.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text><g class='pingroup' data-num='5' data-name='XSHUT'><line class='pinvis' x1='-350.0' y1='300.0' x2='-250.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-350.0' y1='300.0' x2='-250.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-300.0' y='337.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='-225.0' y='300.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>XSHUT</text><g class='pingroup' data-num='6' data-name='GND'><line class='pinvis' x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='87.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='50.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text><g class='pingroup' data-num='7' data-name='GPIO1'><line class='pinvis' x1='-350.0' y1='-200.0' x2='-250.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-350.0' y1='-200.0' x2='-250.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-300.0' y='-162.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='-225.0' y='-200.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GPIO1</text><g class='pingroup' data-num='8' data-name='DNC'><line class='pinvis' x1='-250.0' y1='-300.0' x2='-150.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-250.0' y1='-300.0' x2='-150.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-200.0' y='-262.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='-125.0' y='-300.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>DNC</text><g class='pingroup' data-num='9' data-name='SDA'><line class='pinvis' x1='-350.0' y1='-0.0' x2='-250.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-350.0' y1='-0.0' x2='-250.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-300.0' y='37.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='-225.0' y='0.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SDA</text><g class='pingroup' data-num='10' data-name='SCL'><line class='pinvis' x1='-350.0' y1='100.0' x2='-250.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-350.0' y1='100.0' x2='-250.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-300.0' y='137.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>10</text><text x='-225.0' y='100.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SCL</text><g class='pingroup' data-num='11' data-name='AVDD'><line class='pinvis' x1='50.0' y1='-600.0' x2='50.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='50.0' y1='-600.0' x2='50.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='12.5' y='-550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>11</text><text x='50.0' y='-475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>AVDD</text><g class='pingroup' data-num='12' data-name='GND'><line class='pinvis' x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='87.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>12</text><text x='50.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-400 -650 800 1300' style='width:100%;height:100%'><rect x='-250.0' y='-500.0' width='600.0' height='1000.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='AVDDVCSEL'><line class='pinvis' x1='150.0' y1='-600.0' x2='150.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='150.0' y1='-600.0' x2='150.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='112.5' y='-550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='150.0' y='-475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>AVDDVCSEL</text><g class='pingroup' data-num='2' data-name='AVSSVCSEL'><line class='pinvis' x1='150.0' y1='600.0' x2='150.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='150.0' y1='600.0' x2='150.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='187.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='150.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>AVSSVCSEL</text><g class='pingroup' data-num='3' data-name='GND'><line class='pinvis' x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='87.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='50.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text><g class='pingroup' data-num='4' data-name='GND2'><line class='pinvis' x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='87.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='50.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND2</text><g class='pingroup' data-num='5' data-name='XSHUT'><line class='pinvis' x1='-350.0' y1='300.0' x2='-250.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-350.0' y1='300.0' x2='-250.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-300.0' y='337.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='-225.0' y='300.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>XSHUT</text><g class='pingroup' data-num='6' data-name='GND3'><line class='pinvis' x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='87.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='50.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND3</text><g class='pingroup' data-num='7' data-name='GPIO1'><line class='pinvis' x1='-350.0' y1='-200.0' x2='-250.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-350.0' y1='-200.0' x2='-250.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-300.0' y='-162.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='-225.0' y='-200.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GPIO1</text><g class='pingroup' data-num='8' data-name='DNC'><line class='pinvis' x1='-250.0' y1='-300.0' x2='-150.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-250.0' y1='-300.0' x2='-150.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-200.0' y='-262.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='-125.0' y='-300.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>DNC</text><g class='pingroup' data-num='9' data-name='SDA'><line class='pinvis' x1='-350.0' y1='-0.0' x2='-250.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-350.0' y1='-0.0' x2='-250.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-300.0' y='37.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='-225.0' y='0.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SDA</text><g class='pingroup' data-num='10' data-name='SCL'><line class='pinvis' x1='-350.0' y1='100.0' x2='-250.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-350.0' y1='100.0' x2='-250.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-300.0' y='137.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>10</text><text x='-225.0' y='100.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SCL</text><g class='pingroup' data-num='11' data-name='AVDD'><line class='pinvis' x1='50.0' y1='-600.0' x2='50.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='50.0' y1='-600.0' x2='50.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='12.5' y='-550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>11</text><text x='50.0' y='-475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>AVDD</text><g class='pingroup' data-num='12' data-name='GND4'><line class='pinvis' x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='50.0' y1='600.0' x2='50.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='87.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>12</text><text x='50.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND4</text></svg></div> <div id=tip></div> <script>-var KIND="symbol", MPN="VL53L0X", PINS=[{"desc":"VCSEL supply rail.","name":"AVDDVCSEL","number":"1","type":"Power"},{"desc":"VCSEL ground return.","name":"AVSSVCSEL","number":"2","type":"Power"},{"desc":"Module ground; connect to the main ground plane.","name":"GND","number":"3","type":"Power"},{"desc":"Standard pin forced to the ground domain in the application schematic to avoid instabilities.","name":"GND","number":"4","type":"Power"},{"desc":"Hardware shutdown / reset input, active low.","name":"XSHUT","number":"5","type":"Input"},{"desc":"Standard pin forced to the ground domain in the application schematic.","name":"GND","number":"6","type":"Power"},{"desc":"Programmable interrupt output, open-drain.","name":"GPIO1","number":"7","type":"Output"},{"desc":"Do-not-connect.","name":"DNC","number":"8","type":"NC"},{"desc":"I²C serial data line (fast mode, up to 400 kHz).","name":"SDA","number":"9","type":"Bidir"},{"desc":"I²C serial clock input (fast mode, up to 400 kHz).","name":"SCL","number":"10","type":"Input"},{"desc":"Main analog supply, 2.6 to 3.5 V.","name":"AVDD","number":"11","type":"Power"},{"desc":"Standard pin forced to the ground domain in the application schematic.","name":"GND","number":"12","type":"Power"}];+var KIND="symbol", MPN="ADOM/VL53L0X", PINS=[{"desc":"","name":"AVDDVCSEL","number":"1","type":""},{"desc":"","name":"AVSSVCSEL","number":"2","type":""},{"desc":"","name":"GND","number":"3","type":""},{"desc":"","name":"GND2","number":"4","type":""},{"desc":"","name":"XSHUT","number":"5","type":""},{"desc":"","name":"GND3","number":"6","type":""},{"desc":"","name":"GPIO1","number":"7","type":""},{"desc":"","name":"DNC","number":"8","type":""},{"desc":"","name":"SDA","number":"9","type":""},{"desc":"","name":"SCL","number":"10","type":""},{"desc":"","name":"AVDD","number":"11","type":""},{"desc":"","name":"GND4","number":"12","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 ----