{"id":25470,"date":"2024-07-03T17:54:40","date_gmt":"2024-07-03T08:54:40","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=25470"},"modified":"2024-07-03T17:54:40","modified_gmt":"2024-07-03T08:54:40","slug":"lirc%e5%86%8d%e3%81%b3","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=25470","title":{"rendered":"LIRC\u518d\u3073"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">&#38750;&#24120;&#12395;&#37325;&#35201;&#12363;&#12388;&#29694;&#23455;&#30340;&#12394;&#21839;&#38988;&#12395;&#23550;&#20966;&#12377;&#12427;&#12383;&#12417;&#65292;LIRC&#12434;&#20877;&#12403;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12375;&#12390;&#12415;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#30452;&#38754;&#12375;&#12390;&#12356;&#12427;&#21839;&#38988;&#12399;&#65292;&#30561;&#30496;&#26178;&#12395;&#12456;&#12450;&#12467;&#12531;&#12434;&#12363;&#12369;&#12387;&#12401;&#12394;&#12375;&#12395;&#12377;&#12427;&#12392;&#65292;&#26126;&#12369;&#26041;&#20919;&#12360;&#12390;&#12367;&#12427;&#12371;&#12392;&#12391;&#12377;&#65294;&#12383;&#12406;&#12435;&#26085;&#12364;&#20986;&#12427;&#12392;&#23460;&#22806;&#27231;&#12395;&#26085;&#12364;&#24403;&#12383;&#12427;&#12398;&#12391;&#65292;&#28201;&#24230;&#21046;&#24481;&#12395;&#35492;&#24046;&#12364;&#20986;&#12390;&#12367;&#12427;&#12398;&#12391;&#12399;&#12394;&#12356;&#12363;&#12392;&#25512;&#28204;&#12375;&#12390;&#12356;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#12414;&#12378;&#65292;<strong>&#24656;&#12429;&#12375;&#12367;&#38515;&#33104;&#21270;&#12375;&#12390;&#12356;&#12427;<\/strong>&#31558;&#32773;&#33258;&#36523;&#12364;6&#24180;&#21069;&#12395;&#12414;&#12392;&#12417;&#12383;<a href=\"https:\/\/je1sgh.mydns.jp\/?page_id=2463\">Raspberry Pi (LIRC)<\/a>&#12434;&#21442;&#32771;&#12395;&#22987;&#12417;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#21463;&#20449;&#22120;<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"000000000000032b0000000000000000_25470\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000032b0000000000000000_25470-1\">1<\/a><\/sup><span id=\"mfn-content-000000000000032b0000000000000000_25470-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">&#31179;&#26376;&#38651;&#23376;&#36890;&#21830;&#12391;&#36092;&#20837;&#12375;&#12383;&#65292; &ldquo;OSRB38C9AA&rdquo; &#65294;<\/span>&#12434;&#38651;&#28304;&#12434;3.3V, GND&#12399;GND&#65292;&#20449;&#21495;&#20986;&#21147;&#12399;GPIO 18&#12395;&#12381;&#12428;&#12382;&#12428;&#25509;&#32154;&#12375;&#12390;&#12356;&#12414;&#12377;&#65294;GPIO&#12398;&#12500;&#12531;&#12524;&#12452;&#12450;&#12454;&#12488;&#12399;&#20844;&#24335;&#12469;&#12452;&#12488;&#12434;&#21442;&#29031;&#12377;&#12427;&#12398;&#12364;&#28961;&#38627;&#12391;&#12375;&#12423;&#12358;&#65294;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.raspberrypi.com\/documentation\/computers\/raspberry-pi.html\">Raspberry Pi Hardware<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">&#27425;&#12395;&#65292;&#12477;&#12501;&#12488;&#12454;&#12456;&#12450;&#12398;&#28310;&#20633;&#12391;&#12377;&#65294;Raspberry Pi OS&#12398;&#22580;&#21512;&#12399;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install lirc<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#12391;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12391;&#12365;&#12414;&#12377;&#65294;&#12414;&#12383;&#65292;\/boot\/firmware\/config.txt&#12398;&#36969;&#24403;&#12394;&#22580;&#25152;&#12395;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># For LIRC\ndtoverlay=gpio-ir,gpio_pin=18\ndtoverlay=gpio-ir-tx,gpio_pin=17<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#12394;&#12393;&#12392;&#35352;&#36848;&#12375;&#12390;&#12362;&#12365;&#12414;&#12377;<sup class=\"modern-footnotes-footnote \" data-mfn=\"2\" data-mfn-post-scope=\"000000000000032b0000000000000000_25470\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000032b0000000000000000_25470-2\">2<\/a><\/sup><span id=\"mfn-content-000000000000032b0000000000000000_25470-2\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"2\">&#21442;&#32771;&#12395;&#12375;&#12383;&#12506;&#12540;&#12472;: <a href=\"https:\/\/raspberry-pi.hateblo.jp\/entry\/setup_3\">Raspberry Pi&#12392;&#38651;&#23376;&#24037;&#20316;<\/a>&#65294;<br><br>\n\n\n\n<p class=\"wp-block-paragraph\">&#26412;&#31295;&#12392;&#21442;&#32771;&#12395;&#12375;&#12383;&#12506;&#12540;&#12472;&#12392;&#12391;&#12399;&#12500;&#12531;&#25509;&#32154;&#12364;&#30064;&#12394;&#12426;&#12414;&#12377;&#65294;<\/p><\/span>&#65294;&#12381;&#12375;&#12390;&#65292;reboot&#12375;&#12414;&#12377;&#12364;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lsmod | grep lirc<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#12375;&#12390;&#12418;&#20309;&#12395;&#12418;&#12354;&#12426;&#12414;&#12379;&#12435;&#65294;&#12420;&#12399;&#12426;&#12371;&#12398;6&#24180;&#12398;&#38291;&#12395;&#12378;&#12356;&#12406;&#12435;&#33394;&#12293;&#22793;&#12431;&#12387;&#12390;&#12375;&#12414;&#12387;&#12383;&#12424;&#12358;&#12391;&#12377;&#65294;&#26032;&#12375;&#12356;&#12489;&#12461;&#12517;&#12513;&#12531;&#12488;&#12434;&#25506;&#12377;&#12371;&#12392;&#12395;&#12375;&#12414;&#12377;&#65294;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u975e\u5e38\u306b\u91cd\u8981\u304b\u3064\u73fe\u5b9f\u7684\u306a\u554f\u984c\u306b\u5bfe\u51e6\u3059\u308b\u305f\u3081\uff0cLIRC\u3092\u518d\u3073\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u307e\u3059\uff0e \u76f4\u9762\u3057\u3066\u3044\u308b\u554f\u984c\u306f\uff0c\u7761\u7720\u6642\u306b\u30a8\u30a2\u30b3\u30f3\u3092\u304b\u3051\u3063\u3071\u306a\u3057\u306b\u3059\u308b\u3068\uff0c\u660e\u3051\u65b9\u51b7\u3048\u3066\u304f\u308b\u3053\u3068\u3067\u3059\uff0e\u305f\u3076\u3093\u65e5\u304c\u51fa\u308b\u3068\u5ba4\u5916\u6a5f\u306b\u65e5\u304c\u5f53\u305f\u308b\u306e\u3067\uff0c\u6e29\u5ea6\u5236\u5fa1\u306b\u8aa4\u5dee\u304c\u51fa\u3066\u304f\u308b\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u63a8\u6e2c\u3057\u3066\u3044\u307e\u3059\uff0e \u307e\u305a\uff0c\u6050\u308d\u3057\u304f\u9673\u8150\u5316\u3057\u3066\u3044\u308b\u7b46\u8005\u81ea\u8eab\u304c6\u5e74\u524d\u306b\u307e\u3068\u3081\u305fRaspberry Pi (LIRC)\u3092\u53c2\u8003\u306b\u59cb\u3081\u307e\u3059\uff0e \u53d7\u4fe1\u5668\u3092\u96fb\u6e90\u30923.3V, GND\u306fGND\uff0c\u4fe1\u53f7\u51fa\u529b\u306fGPIO 18\u306b\u305d\u308c\u305e\u308c\u63a5\u7d9a\u3057\u3066\u3044\u307e\u3059\uff0eGPIO\u306e\u30d4\u30f3\u30ec\u30a4\u30a2\u30a6\u30c8\u306f\u516c\u5f0f\u30b5\u30a4\u30c8\u3092\u53c2\u7167\u3059\u308b\u306e\u304c\u7121\u96e3\u3067\u3057\u3087\u3046\uff0e \u6b21\u306b\uff0c\u30bd\u30d5\u30c8\u30a6\u30a8\u30a2\u306e\u6e96\u5099\u3067\u3059\uff0eRaspberry Pi OS\u306e\u5834\u5408\u306f\uff0c \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\uff0e\u307e\u305f\uff0c\/boot\/firmware\/config.txt\u306e\u9069\u5f53\u306a\u5834\u6240\u306b\uff0c \u306a\u3069\u3068\u8a18\u8ff0\u3057\u3066\u304a\u304d\u307e\u3059\uff0e\u305d\u3057\u3066\uff0creboot\u3057\u307e\u3059\u304c\uff0c \u3057\u3066\u3082\u4f55\u306b\u3082\u3042\u308a\u307e\u305b\u3093\uff0e\u3084\u306f\u308a\u3053\u306e6\u5e74\u306e\u9593\u306b\u305a\u3044\u3076\u3093\u8272\u3005\u5909\u308f\u3063\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3067\u3059\uff0e\u65b0\u3057\u3044\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u63a2\u3059\u3053\u3068\u306b\u3057\u307e\u3059\uff0e<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_daextam_enable_autolinks":"1","footnotes":""},"categories":[6,27],"tags":[],"class_list":["post-25470","post","type-post","status-publish","format-standard","hentry","category-debian","category-rasapberry-pi"],"publishpress_future_action":{"enabled":false,"date":"2026-06-01 01:59:31","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/25470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25470"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/25470\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}