PageSourceSearch

https://meshtastic.org/assets/js/e8c34b5f.83f5cfcf.js

js meshtastic.org collected 2026-09-24 08:45:46 UTC 6,044 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmeshtastic=self.webpackChunkmeshtastic||[]).push([["25638"],{50630(e,t,r){r.r(t),r.d(t,{metadata:()=>i,default:()=>u,frontMatter:()=>a,contentTitle:()=>l,toc:()=>c,assets:()=>d});var i=JSON.parse('{"id":"hardware/devices/raspberrypi/pico/peripherals","title":"Raspberry Pi Pico Supported Peripherals","description":"I2C peripherals","source":"@site/docs/hardware/devices/raspberrypi/pico/peripherals.mdx","sourceDirName":"hardware/devices/raspberrypi/pico","slug":"/hardware/devices/raspberrypi/pico/peripherals","permalink":"/docs/hardware/devices/raspberrypi/pico/peripherals","draft":false,"unlisted":false,"editUrl":"https://github.com/meshtastic/meshtastic/edit/master/docs/hardware/devices/raspberrypi/pico/peripherals.mdx","tags":[],"version":"current","lastUpdatedBy":"rcarteraz","sidebarPosition":1,"frontMatter":{"id":"peripherals","title":"Raspberry Pi Pico Supported Peripherals","sidebar_label":"Peripherals","sidebar_position":1},"sidebar":"Sidebar","previous":{"title":"Raspberry Pi Pico / Pico 2","permalink":"/docs/hardware/devices/raspberrypi/pico/"},"next":{"title":"Community Supported","permalink":"/docs/hardware/devices/community-supported/"}}'),s=r(91987),n=r(67008),o=r(87622);let a={id:"peripherals",title:"Raspberry Pi Pico Supported Peripherals",sidebar_label:"Peripherals",sidebar_position:1},l,d={},c=[{value:"I<sup>2</sup>C peripherals",id:"i2c-peripherals",level:2}
1,{value:"External device using Serial Module",id:"external-device-using-serial-module",level:2}];function p(e){let t={a:"a",code:"code",h2:"h2",p:"p",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(t.h2,{id:"i2c-peripherals",children:["I",(0,s.jsx)("sup",{children:"2"}),"C peripherals"]}),"\n",(0,s.jsxs)(t.p,{children:["I",(0,s.jsx)("sup",{children:"2"}),"C peripherals like ",(0,s.jsx)(o.A,{term:"OLED",definition:"A display type used on many Meshtastic devices. The OLED Type setting selects which panel driver the firmware uses.",routePath:"/docs/terms/",children:"OLED"})," Displays (e.g. SSD1306 or SH1106) and keyboards (e.g. CardKB) can be connected to ",(0,s.jsx)(o.A,{term:"GPIO",definition:"An uncommitted digital signal pin on a device.",routePath:"/docs/terms/",children:"GPIO"})," pins 4 (SDA) and 5 (SCL), which will be recognized on boot. Note that for keyboard input, the ",(0,s.jsx)(t.a,{href:"/docs/configuration/module/canned-message",children:"Canned Message Module"})," has to be enabled and the ",(0,s.jsx)(t.a,{href:"/docs/configuration/module/canned-message#input-source",children:"input source"})," should be specified."]}),"\n",(0,s.jsx)(t.h2,{id:"external-device-using-serial-module",children:"External device using Seri
1al Module"}),"\n",(0,s.jsxs)(t.p,{children:["For connecting an external device via the ",(0,s.jsx)(t.a,{href:"/docs/configuration/module/serial",children:"Serial Module"}),", it's recommended to use ",(0,s.jsx)(o.A,{term:"GPIO",definition:"An uncommitted digital signal pin on a device.",routePath:"/docs/terms/",children:"GPIO"})," pins 8 (",(0,s.jsx)(t.code,{children:"serial.txd"}),") and 9 (",(0,s.jsx)(t.code,{children:"serial.rxd"}),")."]})]})}function u(e={}){let{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(p,{...e})}):p(e)}},67008(e,t,r){r.d(t,{R:()=>o,x:()=>a});var i=r(71763);let s={},n=i.createContext(s);function o(e){let t=i.useContext(n);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),i.createElement(n.Provider,{value:t},e.children)}},87622(e,t,r){r.d(t,{A:()=>o});var i=r(71763),s=r(37773),n=r(91987);function o({term:e,definition:t,abbreviation:r,routePath:a="/glossary",children:l}){let[d,c]=(0,i.useState)(!1),[p,u]=(0,i.useState)(null),[h,m]=(0,i.useState)("top"),f=(0,i.useRef)(null),g=(0,i.useRef)(null),b=(0,i.useCallback)(()=>{let e;if(!f.current||!g.current)return;let t=f.current.getBoundingClientRect(),r=g.current.getBoundingClientRect(),i=window.innerWidth,s=window.innerHeight,n=document.querySelector(".navbar"),o=n?n.getBoundingClientRect().bottom:0,a=t.to
1p-o>=r.height+8,l=s-t.bottom>=r.height+8,d=a||!l?"top":"bottom";e="top"===d?t.top-r.height-8:t.bottom+8;let c=t.left+t.width/2-r.width/2;c=Math.max(8,Math.min(c,i-r.width-8)),m(d),u({top:Math.max(o+4,e),left:c})},[]);(0,i.useEffect)(()=>{let e;if(!d)return;let t=requestAnimationFrame(()=>{e=requestAnimationFrame(()=>{b()})}),r=()=>b(),i=()=>b();return window.addEventListener("scroll",r,!0),window.addEventListener("resize",i),()=>{cancelAnimationFrame(t),e&&cancelAnimationFrame(e),window.removeEventListener("scroll",r,!0),window.removeEventListener("resize",i)}},[d,b]);let v=(0,s.P_)("docusaurus-plugin-glossary"),x=(0,i.useMemo)(()=>{if(t&&"string"==typeof t&&t.length>0)return t;let r=(v&&v.terms||[]).find(t=>"string"==typeof t.term&&t.term.toLowerCase()===String(e).toLowerCase());return r&&r.definition?r.definition:void 0},[t,v,e]),w=(0,i.useMemo)(()=>{let t=r;if(!t){let r=(v&&v.terms||[]).find(t=>"string"==typeof t.term&&t.term.toLowerCase()===String(e).toLowerCase());t=r&&r.abbreviation}if("string"!=typeof t)return;let i=t.trim();if(i&&i.toLowerCase()!==String(e).toLowerCase())return i},[r,v,e]),y=(0,i.useMemo)(()=>a&&"string"==typeof a&&a.length>0?a:v&&v.routePath||"/glossary",[v,a]),P=l||e,C=e.toLowerCase().replace(/\s+/g,"-");return(0,n.jsxs)("span",{ref:f,className:"glossaryTermWrapper_ud7W",children:[(0,n.jsx)("a",{href:`${y}#${C}`,className:"glossaryTerm_x2nJ",onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onFocus:()=>c(!0),onBlur:()=>c(!1),"aria-describedby":`tooltip-${C}`,children:P}),x&&(0,n.jsxs)("span",{ref:g,id:`tooltip-${C}`,className:`tooltip_WjgA ${d?"tooltipVisible_AjfD":""} ${"top"===h?"tooltipTop_uMN4":"tooltipBottom_U9P5"} tooltipFloating_nLk7`,role:"tooltip",style:d&&p?{top:`${p.top}px`,left:`${p.left}px`}:void 0,children:[(0,n.jsx)("strong",{children:e}),w?` (${w}). `:"",x]})]})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.