{"id":20971,"date":"2021-06-23T13:51:09","date_gmt":"2021-06-23T04:51:09","guid":{"rendered":"https:\/\/www.souichi.club\/?p=20971"},"modified":"2022-03-19T17:25:11","modified_gmt":"2022-03-19T08:25:11","slug":"comeback-button","status":"publish","type":"post","link":"https:\/\/www.souichi.club\/en\/raspberrypi\/comeback-button\/","title":{"rendered":"Button to recover Raspberry Pi from stopped state"},"content":{"rendered":"<ul class=\"bogo-language-switcher list-view\"><li class=\"en-US en current first\"><span class=\"bogoflags bogoflags-us\"><\/span> <span class=\"bogo-language-name\"><a rel=\"alternate\" hreflang=\"en-US\" href=\"https:\/\/www.souichi.club\/en\/wp-json\/wp\/v2\/posts\/20971\/\" title=\"English\" class=\"current\" aria-current=\"page\">English<\/a><\/span><\/li>\n<li class=\"ja last\"><span class=\"bogoflags bogoflags-jp\"><\/span> <span class=\"bogo-language-name\"><a rel=\"alternate\" hreflang=\"ja\" href=\"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts\/20971\/\" title=\"Japanese\">\u65e5\u672c\u8a9e<\/a><\/span><\/li>\n<\/ul>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f0d209d4a77\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #454e5c;color:#454e5c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #454e5c;color:#454e5c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f0d209d4a77\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.souichi.club\/en\/raspberrypi\/comeback-button\/#Recovery_button_from_shutdown\" >Recovery button from shutdown<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.souichi.club\/en\/raspberrypi\/comeback-button\/#Connection_method\" >Connection method<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.souichi.club\/en\/raspberrypi\/comeback-button\/#Tested_environment\" >Tested environment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.souichi.club\/en\/raspberrypi\/comeback-button\/#the_end\" >the end<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Recovery_button_from_shutdown\"><\/span>Recovery button from shutdown<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In order to boot the OS again after shutting down on the Raspberry Pi, it is necessary to turn off the power supply from the USB and then turn it back on.<\/p>\n\n\n\n<p>For this reason, the USB connector for power supply that comes with the Raspberry Pi set often has a switch on it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a class=\"r_image\" href=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-03.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-03.jpg?resize=512%2C406&#038;ssl=1\" alt=\"Return button from stop state\" class=\"wp-image-20457\" width=\"512\" height=\"406\" srcset=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-03.jpg?resize=1024%2C811&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-03.jpg?resize=300%2C238&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-03.jpg?resize=768%2C608&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-03.jpg?resize=1536%2C1216&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-03.jpg?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/figure>\n\n\n\n<p>procedure<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Shut down the Raspberry Pi.(Power is being supplied to the Raspberry Pi.)<\/li><li>Turn off the switch for power supply.<\/li><li>Turn on the switch for power supply.<\/li><\/ol>\n\n\n\n<p>The Raspberry Pi will start up again by following the steps in<\/p>\n\n\n\n<p>I saw an article that said if you connect the GPIO3 and GND of the Raspberry Pi for a short time when it is in the state 1. above, the OS will boot (recover from the stop), so I decided to give it a try.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Connection_method\"><\/span>Connection method<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The connection method is as follows.<\/p>\n\n\n\n<p>Connect GPIO3 to GND using a switch with A-contact (which turns on when the switch is pressed).<\/p>\n\n\n\n<p>No programming or configuration to the Raspy is required.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a class=\"r_image\" href=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-en-01.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-en-01.png?resize=512%2C331&#038;ssl=1\" alt=\"Recovering from the Raspberry Pi Stopped\" class=\"wp-image-20975\" width=\"512\" height=\"331\" srcset=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-en-01.png?resize=1024%2C661&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-en-01.png?resize=300%2C194&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-en-01.png?resize=768%2C496&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-en-01.png?w=1450&amp;ssl=1 1450w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Tested_environment\"><\/span>Tested environment<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>I tried it on a Raspberry Pi 4B and confirmed that after shutting down, pressing the button will boot the OS again.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"the_end\"><\/span>the end<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This concludes this article.<\/p>\n\n\n<div class=\"postscript_balloon\">Finally.<\/div>\n\n\n<p>I hope this article will be useful to someone somewhere.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to boot the OS again after shutting down on the Raspberry Pi, it is necessary to turn off the power supply from the USB and then turn it back on.<\/p>\n","protected":false},"author":5,"featured_media":20457,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/www.souichi.club\/?p=20446","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[136],"tags":[],"class_list":["post-20971","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberrypi","en-US"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/comeback-button-03.jpg?fit=1920%2C1520&ssl=1","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts\/20971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/comments?post=20971"}],"version-history":[{"count":1,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts\/20971\/revisions"}],"predecessor-version":[{"id":24538,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts\/20971\/revisions\/24538"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/media\/20457"}],"wp:attachment":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/media?parent=20971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/categories?post=20971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/tags?post=20971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}