{"id":2504,"date":"2018-12-10T00:00:59","date_gmt":"2018-12-09T23:00:59","guid":{"rendered":"https:\/\/iot.fkainka.de\/?p=2504"},"modified":"2018-11-19T21:22:48","modified_gmt":"2018-11-19T20:22:48","slug":"day10-2018","status":"publish","type":"post","link":"https:\/\/iot.fkainka.de\/en\/day10-2018","title":{"rendered":"Day 10: Deep Sleep"},"content":{"rendered":"<p>There is a battery compartment for three A batteries (4.5 V) hidden behind the door today that will \u00a0\u00a0\u00a0 <strong>10. Tag <\/strong>power the board independently of a power outlet. For economical battery operation, we have the deepsleep mode. This mode allows the board to go into a deep sleep where it uses almost no power at all. After a certain time, the board wakes up, performs a modest task and goes back to sleep shortly after. In this mode a lot of energy is saved due to the long sleep and short wake times and ultimately the batteries will supply power to the board for months. The setup we will use today includes again the light sensor and it gets a wire jumper that connects pin 23 and GND.<\/p>\n<div id=\"attachment_2505\" style=\"width: 429px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day10_LDR_DeepSleep_Steckplatine.png\"><img aria-describedby=\"caption-attachment-2505\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-2505\" src=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day10_LDR_DeepSleep_Steckplatine-827x1024.png\" alt=\"Die Drahtbr\u00fccke an Pin 23 beachten\" width=\"419\" height=\"518\" data-id=\"2505\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day10_LDR_DeepSleep_Steckplatine-827x1024.png 827w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day10_LDR_DeepSleep_Steckplatine-242x300.png 242w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day10_LDR_DeepSleep_Steckplatine-768x951.png 768w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day10_LDR_DeepSleep_Steckplatine.png 879w\" sizes=\"(max-width: 419px) 100vw, 419px\" \/><\/a><p id=\"caption-attachment-2505\" class=\"wp-caption-text\">Note the wire jumper at pin 23<\/p><\/div>\n<p>Select the program of today. While the board now resets, the status LED will flash briefly green and turns off again. After approximately 20 seconds, the game starts all over, thus the deep-sleep mode is active.<\/p>\n<p><iframe style=\"border: none; width: 100%;\" src=\"https:\/\/pastebin.com\/embed_iframe\/Eepfqir4\"><\/iframe><\/p>\n<div id=\"attachment_2506\" style=\"width: 812px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10Flow.png\"><img aria-describedby=\"caption-attachment-2506\" decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-2506\" src=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10Flow.png\" alt=\"Der heutige Flow\" width=\"802\" height=\"165\" data-id=\"2506\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10Flow.png 802w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10Flow-300x62.png 300w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10Flow-768x158.png 768w\" sizes=\"(max-width: 802px) 100vw, 802px\" \/><\/a><p id=\"caption-attachment-2506\" class=\"wp-caption-text\">Todays Flow<\/p><\/div>\n<p>Today\u2019s flow consists of a gauge and a chart. A chart is used to graphically display several measured values\u00a0 over a certain time. By the way, today we will reverse the readings by means of a range node, so that more light delivers a higher gauge and chart reading. You can now run the Node-RED instance on a machine or Raspberry while placing the board powered by batteries anywhere where it can measure the light over the entire day.<\/p>\n<div id=\"attachment_2507\" style=\"width: 390px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10UI.png\"><img aria-describedby=\"caption-attachment-2507\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-2507\" src=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10UI.png\" alt=\"Das Gauge und das Chart-Element auf der Dashboard-Seite\" width=\"380\" height=\"481\" data-id=\"2507\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10UI.png 653w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10UI-237x300.png 237w\" sizes=\"(max-width: 380px) 100vw, 380px\" \/><\/a><p id=\"caption-attachment-2507\" class=\"wp-caption-text\">Gauge and chart elements on the Dashboard page<\/p><\/div>\n<p><strong>Note:<\/strong> Maybe you find it disturbing that the status LED flashes every 20 seconds, for example, if you want to measure the light distribution in your bedroom overnight. You can simply disable the function on the configuration page. And all you have to do to exit deep-sleep mode, remove the wire jumper from pin 23 and reset the board or wait for a deep-sleep cycle.<\/p>","protected":false},"excerpt":{"rendered":"<p>There is a battery compartment for three A batteries (4.5 V) hidden behind the door today that will \u00a0\u00a0\u00a0 10. Tag power the board independently of a power outlet. For economical battery operation, we have the deepsleep mode. This mode&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/iot.fkainka.de\/en\/day10-2018\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":2507,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[315,312,313],"tags":[],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Day 10: Deep Sleep - Internet of Things with the NanoESP<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/iot.fkainka.de\/day10-2018\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Day 10: Deep Sleep - Internet of Things with the NanoESP\" \/>\n<meta property=\"og:description\" content=\"There is a battery compartment for three A batteries (4.5 V) hidden behind the door today that will \u00a0\u00a0\u00a0 10. Tag power the board independently of a power outlet. For economical battery operation, we have the deepsleep mode. This mode...Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/iot.fkainka.de\/day10-2018\" \/>\n<meta property=\"og:site_name\" content=\"Internet of Things with the NanoESP\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-09T23:00:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-11-19T20:22:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10UI.png\" \/>\n\t<meta property=\"og:image:width\" content=\"653\" \/>\n\t<meta property=\"og:image:height\" content=\"828\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"fk\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"fk\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/iot.fkainka.de\/day10-2018\",\"url\":\"https:\/\/iot.fkainka.de\/day10-2018\",\"name\":\"Day 10: Deep Sleep - Internet of Things with the NanoESP\",\"isPartOf\":{\"@id\":\"https:\/\/iot.fkainka.de\/#website\"},\"datePublished\":\"2018-12-09T23:00:59+00:00\",\"dateModified\":\"2018-11-19T20:22:48+00:00\",\"author\":{\"@id\":\"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a\"},\"breadcrumb\":{\"@id\":\"https:\/\/iot.fkainka.de\/day10-2018#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/iot.fkainka.de\/day10-2018\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/iot.fkainka.de\/day10-2018#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/iot.fkainka.de\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tag 10: Deep Sleep\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/iot.fkainka.de\/#website\",\"url\":\"https:\/\/iot.fkainka.de\/\",\"name\":\"Internet of Things with the NanoESP\",\"description\":\"The webpage for the Arduino compatible WiFi-Board\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/iot.fkainka.de\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a\",\"name\":\"fk\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/iot.fkainka.de\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/141cf958a831e66efabf9674e117e8d9?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/141cf958a831e66efabf9674e117e8d9?s=96&d=identicon&r=g\",\"caption\":\"fk\"},\"url\":\"https:\/\/iot.fkainka.de\/en\/author\/fk\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Day 10: Deep Sleep - Internet of Things with the NanoESP","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/iot.fkainka.de\/day10-2018","og_locale":"en_US","og_type":"article","og_title":"Day 10: Deep Sleep - Internet of Things with the NanoESP","og_description":"There is a battery compartment for three A batteries (4.5 V) hidden behind the door today that will \u00a0\u00a0\u00a0 10. Tag power the board independently of a power outlet. For economical battery operation, we have the deepsleep mode. This mode...Read more","og_url":"https:\/\/iot.fkainka.de\/day10-2018","og_site_name":"Internet of Things with the NanoESP","article_published_time":"2018-12-09T23:00:59+00:00","article_modified_time":"2018-11-19T20:22:48+00:00","og_image":[{"width":653,"height":828,"url":"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10UI.png","type":"image\/png"}],"author":"fk","twitter_card":"summary_large_image","twitter_misc":{"Written by":"fk","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/iot.fkainka.de\/day10-2018","url":"https:\/\/iot.fkainka.de\/day10-2018","name":"Day 10: Deep Sleep - Internet of Things with the NanoESP","isPartOf":{"@id":"https:\/\/iot.fkainka.de\/#website"},"datePublished":"2018-12-09T23:00:59+00:00","dateModified":"2018-11-19T20:22:48+00:00","author":{"@id":"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a"},"breadcrumb":{"@id":"https:\/\/iot.fkainka.de\/day10-2018#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/iot.fkainka.de\/day10-2018"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/iot.fkainka.de\/day10-2018#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/iot.fkainka.de\/"},{"@type":"ListItem","position":2,"name":"Tag 10: Deep Sleep"}]},{"@type":"WebSite","@id":"https:\/\/iot.fkainka.de\/#website","url":"https:\/\/iot.fkainka.de\/","name":"Internet of Things with the NanoESP","description":"The webpage for the Arduino compatible WiFi-Board","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/iot.fkainka.de\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a","name":"fk","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/iot.fkainka.de\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/141cf958a831e66efabf9674e117e8d9?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/141cf958a831e66efabf9674e117e8d9?s=96&d=identicon&r=g","caption":"fk"},"url":"https:\/\/iot.fkainka.de\/en\/author\/fk"}]}},"jetpack_featured_media_url":"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T10UI.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6McI0-Eo","_links":{"self":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/2504"}],"collection":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/comments?post=2504"}],"version-history":[{"count":3,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/2504\/revisions"}],"predecessor-version":[{"id":2511,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/2504\/revisions\/2511"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/media\/2507"}],"wp:attachment":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/media?parent=2504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/categories?post=2504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/tags?post=2504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}