<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsuhiro-me</author_name>
  <author_url>https://blog.hatena.ne.jp/atsuhiro-me/</author_url>
  <blog_title>みーのぺーじ</blog_title>
  <blog_url>https://pc.atsuhiro-me.net/</blog_url>
  <categories>
    <anon>Raspberry Pi</anon>
    <anon>電子工作</anon>
  </categories>
  <description>Raspberry Pi には，gpio-shutdown という機能があり，GPIO を用いて簡単に電源ボタンを追加できるようです． After shutdown, the system can be powered up again by driving GPIO3 low. *1 つまり，Pin 5, 6 を短絡させれば，電源ボタンになるようです．また，/boot/config.txt に以下を追加すれば，シャットダウンも可能になるようです． dtoverlay=gpio-shutdown,debounce=3000 スイッチの自作 自宅に落ちていた茶軸のキースイッチ，余っていたFnキー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2022%2F12%2F27%2F201053&quot; title=&quot;Raspberry Pi に電源ボタンをつける - みーのぺーじ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/atsuhiro-me/20221227/20221227195743.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-27 20:10:53</published>
  <title>Raspberry Pi に電源ボタンをつける</title>
  <type>rich</type>
  <url>https://pc.atsuhiro-me.net/entry/2022/12/27/201053</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
