component
LSM6DS3
Public Made by Adomby adom
ST 6-axis inertial module, LGA-14. 3D accelerometer + 3D gyroscope, I2C/SPI, FIFO, embedded functions. Datasheet-verified.
Also listed as LSM6DS3TR
← Commit history
viewers/symbol.html+4−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>LSM6DS3 symbol</title>+<meta name=viewport content="width=device-width,initial-scale=1"><title>ADOM/LSM6DS3 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%}@@ -26,7 +26,7 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} <div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-650 -650 1300 1300' style='width:100%;height:100%'><rect x='-500.0' y='-500.0' width='1000.0' height='1000.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='SDO/SA0'><line class='pinvis' x1='-600.0' y1='-300.0' x2='-500.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-600.0' y1='-300.0' x2='-500.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-550.0' y='-262.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-475.0' y='-300.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SDO/SA0</text><g class='pingroup' data-num='2' data-name='SDX'><line class='pinvis' x1='-600.0' y1='-200.0' x2='-500.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-600.0' y1='-200.0' x2='-500.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-550.0' y='-162.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='-475.0' y='-200.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SDX</text><g class='pingroup' data-num='3' data-name='SCX'><line class='pinvis' x1='-600.0' y1='-100.0' x2='-500.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-600.0' y1='-100.0' x2='-500.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-550.0' y='-62.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='-475.0' y='-100.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SCX</text><g class='pingroup' data-num='4' data-name='INT1'><line class='pinvis' x1='600.0' y1='-300.0' x2='500.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='600.0' y1='-300.0' x2='500.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='550.0' y='-337.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='475.0' y='-300.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>INT1</text><g class='pingroup' data-num='5' data-name='VDDIO'><line class='pinvis' x1='0.0' y1='-600.0' x2='0.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='-600.0' x2='0.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-37.5' y='-550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='0.0' y='-475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>VDDIO</text><g class='pingroup' data-num='6' data-name='GND'><line class='pinvis' x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='37.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='0.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='GND'><line class='pinvis' x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='37.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='0.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text><g class='pingroup' data-num='8' data-name='VDD'><line class='pinvis' x1='100.0' y1='-600.0' x2='100.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='100.0' y1='-600.0' x2='100.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='62.5' y='-550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='100.0' y='-475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>VDD</text><g class='pingroup' data-num='9' data-name='INT2'><line class='pinvis' x1='600.0' y1='-200.0' x2='500.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='600.0' y1='-200.0' x2='500.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='550.0' y='-237.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='475.0' y='-200.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>INT2</text><g class='pingroup' data-num='10' data-name='NC'><line class='pinvis' x1='500.0' y1='200.0' x2='350.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='200.0' x2='350.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='425.0' y='155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>10</text><text x='320.0' y='200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text><g class='pingroup' data-num='11' data-name='NC'><line class='pinvis' x1='500.0' y1='100.0' x2='350.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='100.0' x2='350.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='425.0' y='55.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>11</text><text x='320.0' y='100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text><g class='pingroup' data-num='12' data-name='CS'><line class='pinvis' x1='-600.0' y1='300.0' x2='-500.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-600.0' y1='300.0' x2='-500.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-550.0' y='337.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>12</text><text x='-475.0' y='300.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>CS</text><g class='pingroup' data-num='13' data-name='SCL'><line class='pinvis' x1='-600.0' y1='200.0' x2='-500.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-600.0' y1='200.0' x2='-500.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-550.0' y='237.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>13</text><text x='-475.0' y='200.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SCL</text><g class='pingroup' data-num='14' data-name='SDA'><line class='pinvis' x1='-600.0' y1='100.0' x2='-500.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-600.0' y1='100.0' x2='-500.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-550.0' y='137.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>14</text><text x='-475.0' y='100.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SDA</text></svg></div> <div id=tip></div> <script>-var KIND="symbol", MPN="LSM6DS3", PINS=[{"desc":"SPI 4-wire serial data output (SDO) when SPI is selected.","name":"SDO/SA0","number":"1","type":"Bidir"},{"desc":"Mode 1: not used, must be tied to VDDIO or GND.","name":"SDX","number":"2","type":"Bidir"},{"desc":"Mode 1: not used, must be tied to VDDIO or GND.","name":"SCX","number":"3","type":"Bidir"},{"desc":"Programmable interrupt 1 output.","name":"INT1","number":"4","type":"Output"},{"desc":"Independent I/O supply pin (1.62 V typical, 1.71 V to 3.6 V analog VDD range allows level-shifted digital rails).","name":"VDDIO","number":"5","type":"Power"},{"desc":"0 V ground return.","name":"GND","number":"6","type":"Power"},{"desc":"0 V ground return.","name":"GND","number":"7","type":"Power"},{"desc":"Main analog supply, 1.71 V to 3.6 V.","name":"VDD","number":"8","type":"Power"},{"desc":"Programmable interrupt 2 output / data-enable (DEN) input used to timestamp external events into the FIFO.","name":"INT2","number":"9","type":"Bidir"},{"desc":"No internal connection.","name":"NC","number":"10","type":"NC"},{"desc":"No internal connection.","name":"NC","number":"11","type":"NC"},{"desc":"I²C / SPI mode selection and SPI chip-select.","name":"CS","number":"12","type":"Input"},{"desc":"I²C serial clock (SCL) when I²C is selected, or SPI serial port clock (SPC) when SPI is selected.","name":"SCL","number":"13","type":"Input"},{"desc":"I²C serial data (SDA) in I²C mode; SPI 4-wire serial data input (SDI) in SPI mode; SPI 3-wire bidirectional serial data (SDO) when SIM = 1 (3-wire SPI).","name":"SDA","number":"14","type":"Bidir"}];+var KIND="symbol", MPN="ADOM/LSM6DS3", PINS=[{"desc":"","name":"SDO/SA0","number":"1","type":""},{"desc":"","name":"SDX","number":"2","type":""},{"desc":"","name":"SCX","number":"3","type":""},{"desc":"","name":"INT1","number":"4","type":""},{"desc":"","name":"VDDIO","number":"5","type":""},{"desc":"","name":"GND","number":"6","type":""},{"desc":"","name":"GND","number":"7","type":""},{"desc":"","name":"VDD","number":"8","type":""},{"desc":"","name":"INT2","number":"9","type":""},{"desc":"","name":"NC","number":"10","type":""},{"desc":"","name":"NC","number":"11","type":""},{"desc":"","name":"CS","number":"12","type":""},{"desc":"","name":"SCL","number":"13","type":""},{"desc":"","name":"SDA","number":"14","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 ----@@ -44,7 +44,8 @@ function els(n){return [].slice.call(document.querySelectorAll('[data-num="'+n+' function clearHi(){[].slice.call(document.querySelectorAll('.hi')).forEach(function(e){e.classList.remove('hi');});} function hi(n){els(n).forEach(function(e){e.classList.add('hi');});} function post(n){try{parent.postMessage({type:'lbr-hover',pin:n===null?null:String(n),mpn:MPN},'*');}catch(_){}}-function showTip(n,x,y){var p=byNum[String(n)];if(!p)return;tip.innerHTML='<span class=tn></span><div class=tt></div><div class=td></div>';tip.querySelector('.tn').textContent=n+' '+(p.name||'');tip.querySelector('.tt').textContent=p.type||'';var d=p.desc||'';if(d)tip.querySelector('.td').textContent=d;else tip.querySelector('.td').style.display='none';tip.style.display='block';tip.style.left=(x+14)+'px';tip.style.top=(y+12)+'px';}+function ovName(el,pre,nm){el.textContent=pre;var r=nm,i;while((i=r.indexOf('~{'))>=0){el.appendChild(document.createTextNode(r.slice(0,i)));var a=r.slice(i+2),j=a.indexOf('}'),s=document.createElement('span');s.style.textDecoration='overline';s.textContent=j<0?a:a.slice(0,j);el.appendChild(s);r=j<0?'':a.slice(j+1);}el.appendChild(document.createTextNode(r));}+function showTip(n,x,y){var p=byNum[String(n)];if(!p)return;tip.innerHTML='<span class=tn></span><div class=tt></div><div class=td></div>';ovName(tip.querySelector('.tn'),n+' ',p.name||'');tip.querySelector('.tt').textContent=p.type||'';var d=p.desc||'';if(d)tip.querySelector('.td').textContent=d;else tip.querySelector('.td').style.display='none';tip.style.display='block';tip.style.left=(x+14)+'px';tip.style.top=(y+12)+'px';} [].slice.call(document.querySelectorAll('.pingroup,.pad')).forEach(function(g){ var n=g.getAttribute('data-num'); g.addEventListener('mouseenter',function(e){clearHi();hi(n);post(n);showTip(n,e.clientX,e.clientY);});