PageSourceSearch

https://cubic9.com/assets/js/7bf70d71.chunk.js

js cubic9.com collected 2026-10-04 11:10:34 UTC 42,040 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcubic_9_com=self.webpackChunkcubic_9_com||[]).push([[417],{17334:(e,n,r)=>{r.d(n,{A:()=>s});const s=r.p+"assets/images/raspberrypi_lirc02-8b2392055405113cf662896a12e3c846.jpg"},23704:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>h,contentTitle:()=>d,default:()=>t,frontMatter:()=>c,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"Devel/\u96fb\u5b50\u5de5\u4f5c/RaspberryPi/\u8d64\u5916\u7dda\u5b66\u7fd2\u30ea\u30e2\u30b3\u30f3","title":"\u8d64\u5916\u7dda\u5b66\u7fd2\u30ea\u30e2\u30b3\u30f3","description":"Raspberry Pi\u306b\u7c21\u5358\u306a\u56de\u8def\u3092\u63a5\u7d9a\u3057\u3001LIRC \uff08Linux Infrared Remote Control\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u306e\u53d7\u4fe1/\u9001\u4fe1\u3092\u3057\u3066\u307f\u307e\u3059\u3002","source":"@site/docs/Devel/\u96fb\u5b50\u5de5\u4f5c/RaspberryPi/\u8d64\u5916\u7dda\u5b66\u7fd2\u30ea\u30e2\u30b3\u30f3.md","sourceDirName":"Devel/\u96fb\u5b50\u5de5\u4f5c/RaspberryPi","slug":"/Devel/\u96fb\u5b50\u5de5\u4f5c/RaspberryPi/\u8d64\u5916\u7dda\u5b66\u7fd2\u30ea\u30e2\u30b3\u30f3","permalink":"/Devel/\u96fb\u5b50\u5de5\u4f5c/RaspberryPi/\u8d64\u5916\u7dda\u5b66\u7fd2\u30ea\u30e2\u30b3\u30f3","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"\u65e5\u672c\u8a9e\u97f3\u58f0\u8a8d\u8b58","permalink":"/Devel/\u96fb\u5b50\u5de5\u4f5c/RaspberryPi/\u65e5\u672c\u8a9e\u97f3\u58f0\u8a8d\u8b58"},"next":{"title":"iPad3\u306eRetina\u6db2\u6676\u30d1\u30cd\u30eb\u3092\u4f7f\u3063\u305f\u30e2\u30cb\u30bf","permalink":"/Devel/\u96fb\u5b50\u5de5\u4f5c/iPad3\u306eRetina\u6db2\u6676\u30d1\u30cd\u30eb\u3092\u4f7f\u3063\u305f\u30e2\u30cb\u30bf"}}');var i=r(74848),l=r(28453);const c={},d=void 0,h={},a=[{value:"\u53c2\u8003",id:"\u53c2\u8003",level:2},{value:"\u5fc5\u8981\u306a\u3082\u306e",id:"\u5fc5\u8981\u306a\u3082\u306e",level:2},{value:"\u3042\u3063\u305f\u65b9\u304c\u3044\u3044\u3082\u306e",id:"\u3042\u3063\u305f\u65b9\u304c\u3044\u3044\u3082\u306e",level:2},{value:"\u624b\u9806",id:"\u624b\u9806",level:2},{value:"\u56de\u8def\u306e\u7d44\u307f\u7acb\u3066",id:"\u56de\u8def\u306e\u7d44\u307f\u7acb\u3066",level:3},{value:"LIRC\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb",id:"lirc\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb",level:3},{value:"LIRC\u306e\u52d5\u4f5c\u78ba\u8a8d",id:"lirc\u306e\u52d5\u4f5c\u78ba\u8a8d",level:3},{value:"\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u306e\u5b66\u7fd2",id:"\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u306e\u5b66\u7fd2",level:3},{value:"lircd\u7528\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210",id:"lircd\u7528\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210",level:3},{value:"lircd\u306e\u8d77\u52d5\u3068\u30c6\u30b9\u30c8",id:"lircd\u306e\u8d77\u52d5\u3068\u30c6\u30b9\u30c8",level:3},{value:"\u5b9f\u306f\u5b66\u7fd2\u3057\u306a\u304f\u3066\u3082\u30ea\u30e2\u30b3\u30f3\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u3059\u3067\u306b\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044",id:"\u5b9f\u306f\u5b66\u7fd2\u3057\u306a\u304f\u3066\u3082\u30ea\u30e2\u30b3\u30f3\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u3059\u3067\u306b\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044",level:2},{value:"\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0",id:"\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0",level:2},{value:"mode2\u3067\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u529b\u3055\u308c\u305f",id:"mode2\u3067\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u529b\u3055\u308c\u305f",level:3},{value:"mode2\u3067\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u304c\u8868\u793a\u3055\u308c\u306a\u3044",id:"mode2\u3067\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u304c\u8868\u793a\u3055\u308c\u306a\u3044",level:3},{value:"mode2\u3067\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u306f\u8868\u793a\u3055\u308c\u3001irrecord\u3067\u5b66\u7fd2\u306f\u3067\u304d\u305f\u304c\u3001irsend\u3067\u51fa\u529b\u3057\u305f\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u3067\u6a5f\u5668\u3092\u64cd\u4f5c\u3067\u304d\u306a\u3044",id:"mode2\u3067\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u306f\u8868\u793a\u3055\u308cirrecord\u3067\u5b66\u7fd2\u306f\u3067\u304d\u305f\u304cirsend\u3067\u51fa\u529b\u3057\u305f\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u3067\u6a5f\u5668\u3092\u64cd\u4f5c\u3067\u304d\u306a\u3044",level:3},{value:"\u666e\u901a\u306e\u96fb\u6c17\u30d7\u30e9\u30b0\u304c\u3042\u308b\u6a5f\u5668\u306e\u30b3\u30f3\u30bb\u30f3\u30c8\u3082\u
164cd\u4f5c\u3057\u305f\u3044",id:"\u666e\u901a\u306e\u96fb\u6c17\u30d7\u30e9\u30b0\u304c\u3042\u308b\u6a5f\u5668\u306e\u30b3\u30f3\u30bb\u30f3\u30c8\u3082\u64cd\u4f5c\u3057\u305f\u3044",level:3},{value:"\u96fb\u706f\u3082\u64cd\u4f5c\u3057\u305f\u3044",id:"\u96fb\u706f\u3082\u64cd\u4f5c\u3057\u305f\u3044",level:3},{value:"\u305d\u3082\u305d\u3082\u56de\u8def\u4f5c\u308b\u306e\u3068\u304b\u9762\u5012\u304f\u3055\u3044\u3093\u3060\u3051\u3069\u2026",id:"\u305d\u3082\u305d\u3082\u56de\u8def\u4f5c\u308b\u306e\u3068\u304b\u9762\u5012\u304f\u3055\u3044\u3093\u3060\u3051\u3069",level:3},{value:"\u305d\u3082\u305d\u3082Raspberry Pi\u3068\u304b\u6301\u3063\u3066\u306a\u3044\u3093\u3060\u3051\u3069\u2026",id:"\u305d\u3082\u305d\u3082raspberry-pi\u3068\u304b\u6301\u3063\u3066\u306a\u3044\u3093\u3060\u3051\u3069",level:3}];function o(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,l.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{class:"markdown",children:(0,i.jsx)("img",{src:r(93121).A,style:{width:"33%"}})}),"\n",(0,i.jsxs)(n.p,{children:["Raspberry Pi\u306b\u7c21\u5358\u306a\u56de\u8def\u3092\u63a5\u7d9a\u3057\u3001",(0,i.jsx)(n.a,{href:"http://lirc.org/",children:"LIRC \uff08Linux Infrared Remote Control\uff09"}),"\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u306e\u53d7\u4fe1/\u9001\u4fe1\u3092\u3057\u3066\u307f\u307e\u3059\u3002"]}),"\n",(0,i.jsx)(n.p,{children:"\u306a\u304a\u3001\u56de\u8def\u306e\u7d44\u307f\u7acb\u3066\u306b\u306f\u534a\u7530\u3054\u3066\u306f\u4e0d\u8981\u3067\u3059\u3002"}),"\n",(0,i.jsxs)(n.p,{children:["\u3053\u306e\u5f8c\u3001",(0,i.jsx)(n.a,{href:"/Devel/%E9%9B%BB%E5%AD%90%E5%B7%A5%E4%BD%9C/irMagician/%E8%B5%A4%E5%A4%96%E7%B7%9A%E5%AD%A6%E7%BF%92%E3%83%AA%E3%83%A2%E3%82%B3%E3%83%B3R2-D2",children:"Raspberry Pi + irMagician\u3067\u4f5c\u308a\u76f4\u3057\u307e\u3057\u305f\uff01"})]}),"\n",(0,i.jsx)(n.h2,{id:"\u53c2\u8003",children:"\u53c2\u8003"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"http://homebrew.jp/show?page=1480",children:"Raspberry Pi\u3067\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3 - Homebrew.JP"})," : \u672c\u30da\u30fc\u30b8\u306e\u30cd\u30bf\u5143\u3067\u3059\u3002\u307b\u307c\u305d\u306e\u307e\u307e\u5b9f\u65bd\u3057\u3066\u3044\u307e\u3059\u3002"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"http://www.anchorsystems.jp/anchor/ashp/irrckit/sample.html",children:"LAN\u8d64\u5916\u7dda\u5b66\u7fd2\u30ea\u30e2\u30b3\u30f3KTI\u306e\u7d39\u4ecb \u30b5\u30f3\u30d7\u30eb\u30fb\u8cc7\u6599\u30fb\u5fdc\u7528"})," : \u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u306e\u4ed5\u7d44\u307f\u304c\u5206\u304b\u308a\u307e\u3059\u3002"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"http://elm-chan.org/docs/ir_format.html",children:"\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u306e\u901a\u4fe1\u30d5\u30a9\u30fc\u30de\u30c3\u30c8"})," : \u5bb6\u96fb\u5354((\u5bb6\u88fd\u5354/AEHA\u3068\u3082\u3002\u5bb6\u96fb\u88fd\u54c1\u5354\u4f1a\u306e\u7565\u3002))\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3001NEC\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3001SONY\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3068\u306f\u3069\u3046\u3044\u3046\u3082\u306e\u306a\u306e\u304b\u304c\u5206\u304b\u308a\u307e\u3059\u3002"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"\u5fc5\u8981\u306a\u3082\u306e",children:"\u5fc5\u8981\u306a\u3082\u306e"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"\u90e8\u54c1"}),(0,i.jsx)(n.th,{children:"\u7528\u9014"}),(0,i.jsx)(n.th,{children:"\u5099\u8003"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"\u8d64\u5916\u7ddaLED"}),(0,i.jsx)(n.td,{children:"\u9001\u4fe1\u7528\u3002"}),(0,i.jsxs)(n.td,{children:["\u306a\u308b\u3079\u304f\u534a\u6e1b\u89d2\u304c\u5e83\u3044\u3082\u306e\u304c\u826f\u3044\u3067\u3059\u3002\u4eca\u56de\u306f\u5f8c\u8ff0\u306eLED\u62e1\u6563\u30ad\u30e3\u30c3\u30d7\u3092\u4f75\u7528\u3057\u305f\u305f\u3081\u3001\u79cb\u6708\u96fb\u5b50\u901a\u5546\u3067\u8cfc\u5165\u3057\u305f ",(0,i.jsx)(n.a,{href:"http://akizukidenshi.com/catalog/g/gI-03261/",children:"OSI5FU5111C-40"})," \uff08\u534a\u6e1b\u89d215\u5ea6\uff09\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002"]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u53d7\u4fe1\u30e2\u30b8\u30e5\u30fc\u30eb"}),(0,i.jsx)(n.td,{children:"\u53d7\u4fe1\u7528\u3002"}),(0,i.jsxs)(n.td,{children:["\u4f55\u3067\u3082\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30ea\u30e2\u30b3\u30f3\u7528\u9014\u4ee5\u5916\u306e\u8d64\u5916\u7dda\u30bb\u30f3\u30b5\u3092\u8cb7\u308f\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3002\u4eca\u56de\u306f\u79cb\u6708\u96fb\u5b50\u901a\u5546\u3067\u8cfc\u5165\u3057\u305f ",(0,i.jsx)(n.a,{href:"http://akizukidenshi.com/catalog/g/gI-04659/",children:"OSRB38C9AA"})," \u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002"]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf"}),(0,i.jsx)(n.td,{children:"LED\u3078\u306e\u96fb\u6d41\u3092\u5897\u5e45\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002"}),(0,i.jsxs)(n.td,{children:["NPN\u578b\u306a\u3089\u4f55\u3067\u3082\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u4eca\u56de\u306f\u5343\u77f3\u96fb\u5546\u3067\u8cfc\u5165\u3057\u305f ",(0,i.jsx)(n.a,{href:"http://www.sengoku.co.jp/mod/sgk_cart/detail.php?code=65CY-8MDJ",children:"2SC1815-GR"})," \u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002\u5343\u77f3\u96fb\u5546\u306e2F\u306a\u3089\u30d0\u30e9\u58f2\u308a\u3057\u3066\u307e\u3059\u3002"]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"\u62b5\u6297 100\u03a9\u304f\u3089\u3044"}),(0,i.jsx)(n.td,{children:"LED\u3078\u306e\u96fb\u6d41\u3092\u5236\u9650\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002"}),(0,i.jsx)(n.td,{children:"\u30ab\u30e9\u30fc\u30b3\u30fc\u30c9\u306f\u8336\u9ed2\u8336\u91d1\u3002\u4f55\u3067\u3082\u826f\u3044\u3067\u3059\u3002\u5343\u77f3\u96fb\u5546\u306eB1F\u306a\u3089\u30d0\u30e9\u58f2\u308a\u3057\u3066\u307e\u3059\u3002\u672c\u6765\u306f\u62b5\u6297\u5024\u306fLED\u306b\u5408\u308f\u305b\u3066\u8abf\u6574\u3059\u308b\u306f\u305a\u3067\u3059\u3002"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"\u62b5\u6297 2.2k\u03a9\u304f\u3089\u3044"}),(0,i.jsx)(n.td,{children:"\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u306e\u30d9\u30fc\u30b9\u7aef\u5b50\u3078\u306e\u96fb\u6d41\u3092\u5236\u9650\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002"}),(0,i.jsx)(n.td,{children:"\u30ab\u30e9\u30fc\u30b3\u30fc\u30c9\u306f\u8d64\u8d64\u8d64\u91d1\u3002\u4f55\u3067\u3082\u826f\u3044\u3067\u3059\u3002\u5343\u77f3\u96fb\u5546\u306eB1F\u306a\u3089\u30d0\u30e9\u58f2\u308a\u3057\u3066\u307e\u3059\u3002\u672c\u6765\u306f\u62b5\u6297\u5024\u306f\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u306b\u5408\u308f\u305b\u3066\u8abf\u6574\u3059\u308b\u306f\u305a\u3067\u3059\u3002"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9"}),(0,i.jsx)(n.td,{children:"\u3053\u306e\u4e0a\u3067\u90e8\u54c1\u3092\u7d44\u307f\u7acb\u3066\u307e\u3059\u3002"}),(0,i.jsxs)(n.td,{children:["\u4f55\u3067\u3082\u826f\u3044\u3067\u3059\u3002",(0,i.jsx)(n.a,{href:"http://www.amazon.co.jp/exec/obidos/ASIN/B009ALRR9M/cubic9com-22",children:"\u3053\u308c"})," \u3068\u304b\u3002"]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"\u30b8\u30e3\u30f3\u30d7\u30ef\u30a4\u30e4\uff08\u30aa\u30b9-\u30e1\u30b9\uff09"}),(0,i.jsx)(n.td,{children:"Raspberry Pi\u3068\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3092\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002"}),(0,i.jsxs)(n.td,{children:["\u4f55\u3067\u3082\u826f\u3044\u3067\u3059\u3002 ",(0,i.jsx)(n.a,{href:"http://www.amazon.co.jp/exec/obidos/ASIN/B0079BW7O0/cubic9com-22",children:"\u3053\u308c"})," \u3068\u304b\u3002"]})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"\u30b8\u30e3\u30f3\u30d7\u30ef\u30a4\u30e4\uff08\u30aa\u30b9-\u30aa\u30b9\uff09"}),(0,i.jsx)(n.td,{children:"\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u4e0a\u3067\u90e8\u54c1\u3092\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002"}),(0,i.jsxs)(n.td,{children:["\u4f55\u3067\u3082\u826f\u3044\u3067\u3059\u3002 ",(0,i.jsx)(n.a,{href:"http://www.amazon.co.jp/exec/obidos/ASIN/B009ALH0H6/cubic9com-22",children:"\u3053\u308c"})," \u3068\u304b\u3002"]})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"\u3042\u3063\u305f\u65b9\u304c\u3044\u3044\u3082\u306e",children:"\u3042\u3063\u305f\u65b9\u304c\u3044\u3044\u3082\u306e"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"\u90e8\u54c1"}),(0,i.jsx)(n.th,{children:"\u7528\u9014"}),(0,i.jsx)(n.th,{children:"\u8aac\u660e"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:"LED\u62e1\u6563\u30ad\u30e3\u30c3\u30d7"}),(0,i.jsx)(n.td,{children:"\u4fe1\u53f7\u304c\u6a5f\u5668\u306b\u5c4a\u304d\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002"}),(0,i.jsxs)(n.td,{children:["\u4eca\u56de\u306f\u5343\u77f3\u96fb\u5546\u3067\u8cfc\u5165\u3057\u305f ",(0,i.jsx)(n.a,{href:"http://www.sengoku.co.jp/mod/sgk_cart/detail.php?code=EEHD-00PR",children:"5mm\u7528LED\u62e1\u6563\u30ad\u30e3\u30c3\u30d7\uff08\u900f\u660e\uff09"})," \u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002\u4eca\u56de\u4f7f\u3063\u305f\u30d7\u30e9\u30b9\u30c1\u30c3\u30af\u88fd\u306e\u4ed6\u306b",(0,i.jsx)(n.a,{href:"http://www.sengoku.co.jp/mod/sgk_cart/detail.php?code=6A4W-KGJE",children:"\u30b7\u30ea\u30b3\u30f3\u30e9\u30d0\u30fc\u88fd\u306e\u3082\u306e"}),"\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3042\u307e\u308a\u52b9\u679c\u304c\u306a\u304b\u3063\u305f\u3067\u3059\u3002"]})]})})]}),"\n",(0,i.jsx)(n.h2,{id:"\u624b\u9806",children:"\u624b\u9806"}),"\n",(0,i.jsx)(n.h3,{id:"\u56de\u8def\u306e\u7d44\u307f\u7acb\u3066",children:"\u56de\u8def\u306e\u7d44\u307f\u7acb\u3066"}),"\n",(0,i.jsxs)("div",{class:"markdown",children:[(0,i.jsx)("img",{src:r(93121).A,style:{width:"25%"}}),(0,i.jsx)("img",{src:r(17334).A,style:{width:"25%"}}),(0,i.jsx)("img",{src:r(45747).A,style:{width:"25%"}}),(0,i.jsx)("img",{src:r(55584).A,style:{width:"25%"}})]}),"\n",(0,i.jsx)(n.p,{children:"\u4e0a\u8a18\u90e8\u54c1\u3092\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u3068\u30b8\u30e3\u30f3\u30d7\u30ef\u30a4\u30e4\u3092\u4f7f\u3063\u3066\u7d44\u307f\u7acb\u3066\u307e\u3059\u3002"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Raspberry Pi\u306eGPIO\u30d4\u30f3\u306e\u30a2\u30b5\u30a4\u30f3\u306f",(0,i.jsx)(n.a,{href:"http://elinux.org/RPi_Low-level_peripherals",children:"RPi Low-level peripherals - eLinux.org"}),"\u306a\u3069\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002"]}),"\n",(0,i.jsxs)(n.li,{children:["\u30d6\u30ec\u30c3\u30c9\u30dc\u30fc\u30c9\u306e\u4f7f\u3044\u65b9\u306f",(0,i.jsx)(n.a,{href:"http://sunhayato.co.jp/blog/?p=190",children:"\u30b5\u30f3\u30cf\u30e4\u30c8\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b"}),"\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002"]}),"\n",(0,i.jsxs)(n.li,{children:["\u56de\u8def\u56f3\u306f\u30cd\u30bf\u5143\u306e\u30b5\u30a4\u30c8\uff08",(0,i.jsx)(n.a,{href:"http://homebrew.jp/show?page=1480",children:"Homebrew.JP\u69d8"}),"\uff09\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002\u4ee5\u4e0b\u3067\u306f\u624b\u9806\u306e\u5f62\u3067\u3054\u8aac\u660e\u3057\u307e\u3059\u3002"]}),"\n"]}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["\u53d7\u4fe1\u5074\u306e\u7d44\u307f\u7acb\u3066","\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsx)(n.li,{children:"Raspberry Pi\u306eGND\u7aef\u5b50\u3068\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u53d7\u4fe1\u30e2\u30b8\u30e5\u30fc\u30eb\u306eGND\u7aef\u5b50\u3092\u63a5\u7d9a\u3059\u308b\u3002"}),"\n",(0,i.jsx)(n.li,{children:"Raspberry Pi\u306e5V\u7aef\u5b50\uff08\u307e\u305f\u306f3.3V\u7aef\u5b50\u3002\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u53d7\u4fe1\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u52d5\u4f5c\u96fb\u5727\u306b\u3088\u3063\u3066\u5909\u3048\u3066\u304f\u3060\u3055\u3044\uff09\u3068\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u53d7\u4fe1\u30e2\u30b8\u30e5\u30fc\u30eb\u306eVcc\u7aef\u5b50\u3092\u63a5\u7d9a\u3059\u308b\u3002"}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.li,{children:"Raspberry Pi\u306eGPIO14\u7aef\u5b50\u3068\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u53d7\u4fe1\u30e2\u30b8\u30e5\u30fc\u30eb\u306eOUTPUT\u7aef\u5b50\u3092\u63a5\u7d9a\u3059\u308b\u3002"}),"\n",(0,i.jsxs)(n.li,{children:["\u9001\u4fe1\u5074\u306e\u7d44\u307f\u7acb\u3066","\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsx)(n.li,{children:"\u8d64\u5916\u7ddaLED\u306bLED\u62e1\u6563\u30ad\u30e3\u30c3\u30d7\u3092\u88c5\u7740\u3059\u308b\u3002"}),"\n",(0,i.jsx)(n.li,{children:"Raspberry Pi\u306eGPIO15\u7aef\u5b50\u30682.2k\u03a9\u62b5\u6297\u3092\u63a5\u7d9a\u3057\u3001\u3055\u3089\u306b\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u306e\u30d9\u30fc\u30b9\uff082SC1815\u306a\u3089\u5e73\u305f\u3044\u9762\u306b\u5411\u304b\u3063\u3066\u53f3\u306e\u7aef\u5b50\uff09\u306b\u63a5\u7d9a\u3059\u308b\u3002"}),"\n",(0,i.jsx)(n.li,{children:"Raspberry Pi\u306e5V\u7aef\u5b50\uff08\u307e\u305f\u306f3.3V\u7aef\u5b50\u3002\u8d64\u5916\u7ddaLED\u306e\u7279\u6027\u3068\u96fb\u6d41\u5236\u9650\u62b5\u6297\u5024\u306b\u3088\u3063\u3066\u5909\u3048\u3066\u304f\u3060\u3055\u3044\uff09\u3068100\u03a9\u62b5\u6297\u3092\u63a5\u7d9a\u3057\u3001\u3055\u3089\u306b\u8d64\u5916\u7ddaLED\u306e\u30a2\u30ce\u30fc\u30c9\uff08\u7aef\u5b50\u306e\u9577\u3044\u65b9\uff09\u306b\u63a5\u7d9a\u3057\u3001\u3055\u3089\u306b\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u306e\u30b3\u30ec\u30af\u30bf\uff082SC1815\u306a\u3089\u5e73\u305f\u3044\u9762\u306b\u5411\u304b\u3063\u3066\u771f\u3093\u4e2d\u306e\u7aef\u5b50\uff09\u306b\u63a5\u7d9a\u3059\u308b\u3002"}),"\n",(0,i.jsx)(n.li,{children:"Raspberry Pi\u306eGND\u7aef\u5b50\u3068\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u306e\u30a8\u30df\u30c3\u30bf\uff082SC1815\u306a\u3089\u5e73\u305f\u3044\u9762\u306b\u5411\u304b\u3063\u3066\u771f\u3093\u4e2d\u306e\u7aef\u5b50\uff09\u306b\u63a5\u7d9a\u3059\u308b\u3002"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"\u56de\u8def\u306f\u3069\u7d20\u4eba\u3067\u3059\u304c\u9001\u4fe1\u5074\u3092\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001GPIO17\u304c\u4f9b\u7d66\u3059\u308b\u96fb\u6d41\u3067\u306f\u8d64\u5916\u7ddaLED\u3092\u52d5\u4f5c\u3055\u305b\u308b\u306e\u306b\u306f\u4e0d\u5341\u5206\u3067\u3042\u308b\u305f\u3081\u3001\u30c8\u30e9\u30f3\u30b8\u30b9\u30bf\u3092\u4f7f\u3063\u3066\u30b3\u30ec\u30af\u30bf\u5074\u304b\u3089\u96fb\u6d41\u3092\u5f15\u304d\u8fbc\u3093\u3067\u3044\u308b\uff08\u3064\u307e\u308a\u96fb\u6d41\u3092\u5897\u5e45\u3057\u3066\u3044\u308b\uff09\u3068\u3044\u3046\u56de\u8def\u3067\u3059\u3002"}),"\n",(0,i.jsx)(n.p,{children:"\u53d7\u4fe1\u5074\u306e\u30ce\u30a4\u30ba\u304c\u6c17\u306b\u306a\u308b\u65b9\u306f\u30b3\u30f3\u30c7\u30f3\u30b5\u3092\u5165\u308c\u307e\u3057\u3087\u3046\u3002"}),"\n",(0,i.jsx)(n.h3,{id:"lirc\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb",children:"LIRC\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["LIRC\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"sudo aptitude install lirc\n"})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["LIRC\u95a2\u9023\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u767b\u9332\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"sudo nano /etc/modules\n"})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:"lirc_dev\r\nlirc_rpi gpio_in_pin=14 gpio_out_pin=15\n"})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\u518d\u8d77\u52d5\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"sudo reboot\n"})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["LIRC\u95a2\u9023\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8a8d\u8b58\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"lsmod | grep lirc\n"})}),"\n",(0,
1i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:"lirc_rpi                7274  0\r\nlirc_dev               10224  1 lirc_rpi\n"})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["LIRC\u7528\u306e\u30c7\u30d0\u30a4\u30b9\u304c\u51fa\u6765\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"ls -l /dev/lirc*\n"})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"crw-rw---T 1 root video 248, 0 10\u6708  1 21:00 /dev/lirc0\n"})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\u4eca\u56de\u4f7f\u7528\u3057\u3066\u3044\u308bGPIO14\u756a\u30d4\u30f3\u3001GPIO15\u756a\u30d4\u30f3\u3078\u306e\u5272\u308a\u5f53\u3066\u304c\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"sudo mount -t debugfs debugfs /sys/kernel/debug\r\ngrep lirc /sys/kernel/debug/gpio\n"})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"gpio-14  (lirc_rpi ir/in      ) in  hi\r\ngpio-15  (lirc_rpi ir/out     ) in  lo\n"})}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.h3,{id:"lirc\u306e\u52d5\u4f5c\u78ba\u8a8d",children:"LIRC\u306e\u52d5\u4f5c\u78ba\u8a8d"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["\u30ea\u30e2\u30b3\u30f3\u306e\u4fe1\u53f7\u3092\u8a8d\u8b58\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304b\u3089\u3001\u30ea\u30e2\u30b3\u30f3\u306e\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3001\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u53d7\u4fe1\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u5f53\u3066\u308b\u3002\uff08lircd\u3092start\u3057\u305f\u5f8c\u3067\u5b9f\u65bd\u3059\u308b\u5834\u5408\u306f\u307e\u305alircd\u3092stop\u3057\u3066\u304f\u3060\u3055\u3044\uff09","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"mode2 -d /dev/lirc0\n"})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"space 12838908\r\npulse 3499\r\nspace 1739\r\npulse 435\r\nspace 429\r\npulse 410\r\n(\u7565)\n"})}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"\u306a\u304a\u3001X\u304c\u4e0a\u304c\u3063\u3066\u3044\u308b\u74b0\u5883\u3067\u306f\u3001xmode2\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u6ce2\u5f62\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002"}),"\n",(0,i.jsx)(n.p,{children:"\u8aad\u307f\u53d6\u308a\u7d50\u679c\u304c\u3044\u307e\u3044\u3061\u306a\u5834\u5408\u306b\u3001\u76ee\u8996\u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u5224\u5b9a\u3057\u3066\u3001\u6574\u5f62\u3059\u308b\u306e\u306b\u6709\u52b9\u3067\u3059\u3002"}),"\n",(0,i.jsx)(n.h3,{id:"\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u306e\u5b66\u7fd2",children:"\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u306e\u5b66\u7fd2"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u3092\u5b66\u7fd2\u3057\u3001\u30ea\u30e2\u30b3\u30f3\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u9332\u3057\u307e\u3059\u3002\uff08lircd\u3092start\u3057\u305f\u5f8c\u3067\u5b9f\u65bd\u3059\u308b\u5834\u5408\u306f\u307e\u305alircd\u3092stop\u3057\u3066\u304f\u3060\u3055\u3044\uff09","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"irrecord -n -d /dev/lirc0 ~/lircd_tv.conf\n"})}),"\n"]}),"\n",(0,i.jsx)(n.li,{children:"\u753b\u9762\u306e\u6307\u793a\u306b\u5f93\u3044\u3001Enter\u30ad\u30fc\u30922\u56de\u62bc\u3057\u305f\u5f8c\u3001\u30ea\u30e2\u30b3\u30f3\u306e\u5168\u3066\u306e\u30dc\u30bf\u30f3\u3092\u6e80\u904d\u306a\u304f\u62bc\u3059\u3002"}),"\n",(0,i.jsx)(n.li,{children:"\u30dc\u30bf\u30f3\u30921\u500b\u62bc\u3059\u305f\u3073\u306b\u30bf\u30fc\u30df\u30ca\u30eb\u306b.\u304c1\u500b\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u306e2\u884c\u5206\u8868\u793a\u3055\u308c\u308b\u307e\u3067\u7e70\u308a\u8fd4\u3059\u3002"}),"\n",(0,i.jsx)(n.li,{children:'"Please enter the name for the next button"\u3068\u8868\u793a\u3055\u308c\u305f\u3089\u3001\u767b\u9332\u3057\u305f\u3044\u30dc\u30bf\u30f3\u540d\u3092\u5165\u529b\u3057\u3066Enter\u3092\u62bc\u3059\u3002'}),"\n",(0,i.jsx)(n.li,{children:"\u30ea\u30e2\u30b3\u30f3\u306e\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3002"}),"\n",(0,i.jsx)(n.li,{children:"\u30ea\u30e2\u30b3\u30f3\u306e\u30dc\u30bf\u30f3\u306e\u5206\u3060\u3051\u7e70\u308a\u8fd4\u3059\u3002\u7d42\u308f\u308b\u3068\u304d\u306fEnter\u3092\u62bc\u3059\u3002"}),"\n",(0,i.jsx)(n.li,{children:"Enter\u3092\u62bc\u3059\u3002"}),"\n",(0,i.jsx)(n.li,{children:"\u30ea\u30e2\u30b3\u30f3\u306e\u9069\u5f53\u306a\u30dc\u30bf\u30f31\u500b\u3092\u9023\u6253\u3059\u308b\u30021\u500b\u62bc\u3059\u305f\u3073\u306b\u30bf\u30fc\u30df\u30ca\u30eb\u306b.\u304c1\u500b\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u7d42\u4e86\u3059\u308b\u307e\u3067\u7e70\u308a\u8fd4\u3059\u3002"}),"\n",(0,i.jsxs)(n.li,{children:["\u30ea\u30e2\u30b3\u30f3\u540d\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306b\u306a\u308b\u306e\u3067\u3001\u533a\u5225\u306e\u3064\u304f\u540d\u524d\u306b\u5909\u66f4\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"nano ~/lircd_tv.conf\n"})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"(\u7565)\r\nbegin remote\r\n\r\n#  name  /home/pi/lircd_tv.conf\r\nname  TV\r\n(\u7565
1)\n"})}),"\n"]}),"\n",(0,i.jsx)(n.li,{children:"\u30ea\u30e2\u30b3\u30f3\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5909\u3048\u3064\u3064\u4e0a\u8a18\u3092\u7e70\u308a\u8fd4\u3059\u3002"}),"\n"]}),"\n",(0,i.jsx)(n.h3,{id:"lircd\u7528\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210",children:"lircd\u7528\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"sudo nano /etc/lirc/hardware.conf\n"})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:'# /etc/lirc/hardware.conf\r\n#\r\n# Arguments which will be used when launching lircd\r\nLIRCD_ARGS="--uinput"\r\n\r\n#Don\'t start lircmd even if there seems to be a good config file\r\n#START_LIRCMD=false\r\n\r\n#Don\'t start irexec, even if a good config file seems to exist.\r\n#START_IREXEC=false\r\n\r\n#Try to load appropriate kernel modules\r\nLOAD_MODULES=true\r\n\r\n# Run "lircd --driver=help" for a list of supported drivers.\r\nDRIVER="default"\r\n# usually /dev/lirc0 is the correct setting for systems using udev\r\nDEVICE="/dev/lirc0"\r\nMODULES="lirc_rpi"\r\n\r\n# Default configuration files for your hardware if any\r\nLIRCD_CONF=""\r\nLIRCMD_CONF=""\n'})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["cat\u30b3\u30de\u30f3\u30c9\u3067\u4e0a\u8a18\u3067\u4f5c\u3063\u305f\u500b\u3005\u306e\u30ea\u30e2\u30b3\u30f3\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7d50\u5408\u3057\u3066\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u683c\u7d0d\u5834\u6240\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:'sudo sh -c "cat $HOME/lircd_tv.conf $HOME/lircd_compo.conf > /etc/lirc/lircd.conf"\n'})}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.h3,{id:"lircd\u306e\u8d77\u52d5\u3068\u30c6\u30b9\u30c8",children:"lircd\u306e\u8d77\u52d5\u3068\u30c6\u30b9\u30c8"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u767b\u9332\u3057\u3001Raspberry Pi\u306e\u8d77\u52d5\u6642\u306blircd\u304c\u8d77\u52d5\u3055\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"sudo update-rc.d lirc defaults\n"})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["lircd\u3092\u8d77\u52d5\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"sudo /etc/init.d/lirc start\n"})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\u30ea\u30e2\u30b3\u30f3\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u30ea\u30e2\u30b3\u30f3\u540d(\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306ename\u3067\u6307\u5b9a\u3057\u305f\u3082\u306e)\u306e\u4e00\u89a7\u3092\u78ba\u8a8d\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:'irsend LIST "" ""\n'})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"irsend: TV\r\nirsend: COMPO\n"})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\u30ea\u30e2\u30b3\u30f3\u540d\u3092\u6307\u5b9a\u3057\u3066\u30b3\u30fc\u30c9\u4e00\u89a7\u3092\u78ba\u8a8d\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:'irsend LIST TV ""\r\n(\u7565)\n'})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"irsend: 000000000100bcbd power\r\n(\u7565)\n"})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u5f8c\u3001\u5b9f\u30ea\u30e2\u30b3\u30f3\u306e\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3001\u30ea\u30e2\u30b3\u30f3\u306e\u4fe1\u53f7\u304c\u6b63\u3057\u304f\u8a8d\u8b58\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002Ctrl+C\u3067\u7d42\u4e86\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"irw\n"})}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"000000000100bcbd 00 power TV\r\n(\u7565
1)\n"})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u3092\u9001\u4fe1\u3057\u3066\u307f\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"irsend SEND_ONCE TV power\n"})}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"\u4ee5\u4e0a\u3067\u3059\u3002\u304a\u75b2\u308c\u69d8\u3067\u3057\u305f :)"}),"\n",(0,i.jsx)(n.h2,{id:"\u5b9f\u306f\u5b66\u7fd2\u3057\u306a\u304f\u3066\u3082\u30ea\u30e2\u30b3\u30f3\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u3059\u3067\u306b\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044",children:"\u5b9f\u306f\u5b66\u7fd2\u3057\u306a\u304f\u3066\u3082\u30ea\u30e2\u30b3\u30f3\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u3059\u3067\u306b\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044"}),"\n",(0,i.jsx)(n.p,{children:"LIRC\u306e\u30b5\u30a4\u30c8\u306b\u5404\u7a2e\u6a5f\u5668\u306e\u30ea\u30e2\u30b3\u30f3\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u3059\u3067\u306b\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002"}),"\n",(0,i.jsx)(n.p,{children:"\u56fd\u5185\u96fb\u6a5f\u30e1\u30fc\u30ab\u30fc\u3067\u8a00\u3046\u3068\u3001 \u30bd\u30cb\u30fc\u3001\u30d1\u30ca\u30bd\u30cb\u30c3\u30af\u3001\u6771\u829d\u3001\u30b7\u30e3\u30fc\u30d7\u3001\u4e09\u83f1\u3001\u65e5\u7acb\u306a\u3069\u306e\u30ea\u30e2\u30b3\u30f3\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002"}),"\n",(0,i.jsx)(n.h2,{id:"\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0",children:"\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0"}),"\n",(0,i.jsx)(n.h3,{id:"mode2\u3067\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u529b\u3055\u308c\u305f",children:"mode2\u3067\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u529b\u3055\u308c\u305f"}),"\n",(0,i.jsx)(n.p,{children:"\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u529b\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"mode2: could not open /dev/lirc0\r\nmode2: default_init(): Device or resource busy\n"})}),"\n",(0,i.jsx)(n.p,{children:"\u305d\u306e\u5834\u5408\u306f\u3001\u6050\u3089\u304flircd\u304c\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002"}),"\n",(0,i.jsx)(n.p,{children:"\u4e00\u65e6lircd\u3092\u505c\u6b62\u3055\u305b\u3066\u304b\u3089mode2\u3092\u5b9f\u884c\u3057\u307e\u3057\u3087\u3046\u3002"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"sudo /etc/init.d/lirc stop\n"})}),"\n",(0,i.jsx)(n.h3,{id:"mode2\u3067\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u304c\u8868\u793a\u3055\u308c\u306a\u3044",children:"mode2\u3067\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u304c\u8868\u793a\u3055\u308c\u306a\u3044"}),"\n",(0,i.jsx)(n.p,{children:"Raspberry Pi\u3068\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u53d7\u4fe1\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u6b63\u3057\u304f\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002"}),"\n",(0,i.jsx)(n.h3,{id:"mode2\u3067\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u306f\u8868\u793a\u3055\u308cirrecord\u3067\u5b66\u7fd2\u306f\u3067\u304d\u305f\u304cirsend\u3067\u51fa\u529b\u3057\u305f\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u3067\u6a5f\u5668\u3092\u64cd\u4f5c\u3067\u304d\u306a\u3044",children:"mode2\u3067\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u306f\u8868\u793a\u3055\u308c\u3001irrecord\u3067\u5b66\u7fd2\u306f\u3067\u304d\u305f\u304c\u3001irsend\u3067\u51fa\u529b\u3057\u305f\u30ea\u30e2\u30b3\u30f3\u4fe1\u53f7\u3067\u6a5f\u5668\u3092\u64cd\u4f5c\u3067\u304d\u306a\u3044"}),"\n",(0,i.jsx)(n.p,{children:"\u307e\u305a\u3001\u8d64\u5916\u7ddaLED\u304b\u3089\u8d64\u5916\u7dda\u304c\u51fa\u529b\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002"}),"\n",(0,i.jsx)(n.p,{children:"\u305d\u306e\u969b\u3001\u8d64\u5916\u7dda\u306f\u8089\u773c\u3067\u306f\u898b\u3048\u306a\u3044\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u78ba\u8a8d\u3057\u307e\u3059\u3002"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u8d64\u5916\u7dda\u3092\u9001\u4fe1\u3057\u7d9a\u3051\u3001\u304a\u624b\u6301\u3061\u306e\u643a\u5e2f\u96fb\u8a71\u306e\u30ab\u30e1\u30e9\u30d7\u30ec\u30d3\u30e5\u30fc\u3067\u8d64\u5916\u7ddaLED\u3092\u9001\u4fe1\u5074\u304b\u3089\u898b\u3066\u307f\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"irsend SEND_START TV power\n"})}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\u78ba\u8a8d\u304c\u7d42\u308f\u3063\u305f\u3089\u505c\u6b62\u3059\u308b\u3002","\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"irsend SEND_STOP TV power\n"})}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"\u8d64\u5916\u7dda\u304c\u51fa\u3066\u3044\u308b\u5834\u5408\u306f\u767d\u304f\u898b\u3048\u307e\u3059\u3002"}),"\n",(0,i.jsx)(n.p,{children:"\u8d64\u5916\u7dda\u304c\u51fa\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001Raspberry Pi\u3068\u8d64\u5916\u7ddaLED\u304c\u6b63\u3057\u304f\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002"}),"\n",(0,i.jsx)(n.p,{children:"\u8d64\u5916\u7dda\u306f\u51fa\u3066\u3044\u308b\u3082\u306e\u306e\u6a5f\u5668\u307e\u3067\u5c4a\u3044\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u5b66\u7fd2\u3057\u305f\u4fe1\u53f7\u304c\u8aa4\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u591a\u304f\u306e\u5834\u5408\u306f\u8d64\u5916\u7ddaLED\u306e\u89d2\u5ea6\u304c\u60aa\u3044\u304b\u3001\u8d64\u5916\u7dda\u306e\u5f37\u5ea6\u306b\u5bfe\u3057\u3066\u8ddd\u96e2\u304c\u9577\u3044\u304b\u3067\u3059\u3002"}),"\n",(0,i.jsxs)(n.p,{children:["\u8abf\u6574\u3067\u4f55\u3068\u304b\u306a\u3089\u306a\u3044\u5834\u5408\u306f\u3001",(0,i.jsx)(n.a,{href:"http://www.amazon.co.jp/exec/obidos/ASIN/B00A8D1QMK/cubic9com-22",children:"\u8d64\u5916\u7dda\u30ea\u30d4\u30fc\u30bf\u30fc/\u8d64\u5916\u7dda\u30d9\u30f3\u30c0\u30fc"}),"\u3092\u8cb7\u3046\u3068\u3088\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002"]}),"\n",(0,i.jsx)(n.h3,{id:"\u666e\u901a\u306e\u96fb\u6c17\u30d7\u30e9\u30b0\u304c\u3042\u308b\u6a5f\u5668\u306e\u30b3\u30f3\u30bb\u30f3\u30c8\u3082\u
164cd\u4f5c\u3057\u305f\u3044",children:"\u666e\u901a\u306e\u96fb\u6c17\u30d7\u30e9\u30b0\u304c\u3042\u308b\u6a5f\u5668\u306e\u30b3\u30f3\u30bb\u30f3\u30c8\u3082\u64cd\u4f5c\u3057\u305f\u3044"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"http://www.amazon.co.jp/exec/obidos/ASIN/B0013L6ACM/cubic9com-2",children:"\u30aa\u30fc\u30e0\u96fb\u6c17 \u30ea\u30e2\u30b3\u30f3\u30b3\u30f3\u30bb\u30f3\u30c8OCR-05 07-0155"}),"\u3092\u8cb7\u3046\u3068\u3088\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002"]}),"\n",(0,i.jsx)(n.h3,{id:"\u96fb\u706f\u3082\u64cd\u4f5c\u3057\u305f\u3044",children:"\u96fb\u706f\u3082\u64cd\u4f5c\u3057\u305f\u3044"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"http://www.amazon.co.jp/exec/obidos/ASIN/B0013L6ACC/cubic9com-22",children:"\u30aa\u30fc\u30e0\u96fb\u6c17 \u5929\u4e95\u7167\u660e\u5668\u5177\u5c02\u7528 \u30ea\u30e2\u30b3\u30f3\u30b9\u30a4\u30c3\u30c1OCR-04 07-0154"}),"\u3092\u8cb7\u3046\u3068\u3088\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002"]}),"\n",(0,i.jsx)(n.h3,{id:"\u305d\u3082\u305d\u3082\u56de\u8def\u4f5c\u308b\u306e\u3068\u304b\u9762\u5012\u304f\u3055\u3044\u3093\u3060\u3051\u3069",children:"\u305d\u3082\u305d\u3082\u56de\u8def\u4f5c\u308b\u306e\u3068\u304b\u9762\u5012\u304f\u3055\u3044\u3093\u3060\u3051\u3069\u2026"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"http://www.amazon.co.jp/exec/obidos/ASIN/B00AXVHQLC/cubic9com-22",children:"Bit Trade One\u306eUSB\u63a5\u7d9a \u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3\u30ad\u30c3\u30c8"}),"\u306fLinux\u3067\u306e\u52d5\u4f5c\u5b9f\u7e3e\u304c\u3042\u308a\u3001Raspberry Pi\u3067\u3082\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"http://a-desk.jp/modules/forum_hobby/index.php?topic_id=44",children:"Assembly Desk - Linux\u30b5\u30dd\u30fc\u30c8\u306b\u3064\u3044\u3066"}),"\u3002"]}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"http://blog.at-dk.info/2013/07/bittradeone-kit-linux.html",children:"\u305f\u3060\u306e\u30e1\u30e2: BitTradeOne \u306e\u8d64\u5916\u7dda\u30ea\u30e2\u30b3\u30f3Kit\u3092 Linux \u304b\u3089\u4f7f\u3063\u3066\u307f\u305f"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"http://blogs.yahoo.co.jp/beachinside/11968482.html",children:"Raspberry Pi\u306b\u5b66\u7fd2\u30ea\u30e2\u30b3\u30f3\u3092\u63a5\u7d9a\u3057\u3066\u307f\u305f - \u30ed\u30fc\u30c9\u30d0\u30a4\u30af\u3068\u304d\u3069\u304diPad/Air\u306ablog - Yahoo!\u30d6\u30ed\u30b0"})}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"\u3053\u306e\u30da\u30fc\u30b8\u3067\u8aac\u660e\u3057\u3066\u3044\u308b\u65b9\u6cd5\u3068\u306f\u307e\u3063\u305f\u304f\u7570\u306a\u308a\u307e\u3059\u304c\u3001\u5019\u88dc\u306b\u306f\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002"}),"\n",(0,i.jsx)(n.h3,{id:"\u305d\u3082\u305d\u3082raspberry-pi\u3068\u304b\u6301\u3063\u3066\u306a\u3044\u3093\u3060\u3051\u3069",children:"\u305d\u3082\u305d\u3082Raspberry Pi\u3068\u304b\u6301\u3063\u3066\u306a\u3044\u3093\u3060\u3051\u3069\u2026"}),"\n",(0,i.jsx)(n.p,{children:"\u305d\u3093\u306a\u3042\u306a\u305f\u306e\u305f\u3081\u306b\u65e2\u88fd\u54c1\u304c\u8272\u3005\u3042\u308a\u307e\u3059\u3002"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"http://www.amazon.co.jp/exec/obidos/ASIN/B00NTLOKO4/cubic9com-22",children:"BroadLink eRemote-3 RM-Pro"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"http://www.amazon.co.jp/exec/obidos/ASIN/B00LAKEIN4/cubic9com-22",children:"\u30e9\u30c8\u30c3\u30af\u30b7\u30b9\u30c6\u30e0 REX-BTIREX1"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"http://www.amazon.co.jp/exec/obidos/ASIN/B00H91KK26/cubic9com-22",children:"IRKit"})}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"http://rti-giken.jp/",children:"rti\u6280\u7814 Future Home Controller"})," : \u58f0\u3067\u3082\u64cd\u4f5c\u3067\u304d\u307e\u3059\u3002"]}),"\n"]})]})}function t(e={}){const{wrapper:n}={...(0,l.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},28453:(e,n,r)=>{r.d(n,{R:()=>c,x:()=>d});var s=r(96540);const i={},l=s.createContext(i);function c(e){const n=s.useContext(l);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),s.createElement(l.Provider,{value:n},e.children)}},45747:(e,n,r)=>{r.d(n,{A:()=>s});const s=r.p+"assets/images/raspberrypi_lirc03-f8b60a554aba45a076fdfc5c88ecd885.jpg"},55584:(e,n,r)=>{r.d(n,{A:()=>s});const s=r.p+"assets/images/raspberrypi_lirc04-d0c01365bc4a2113b9437e3a699cde8f.jpg"},93121:(e,n,r)=>{r.d(n,{A:()=>s});const s=r.p+"assets/images/raspberrypi_lirc01-d4581b205ca6215adc7c2352f32551ab.jpg"}}]);

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.