{"id":1339,"date":"2016-12-09T00:01:46","date_gmt":"2016-12-08T23:01:46","guid":{"rendered":"http:\/\/iot.fkainka.de\/?p=1339"},"modified":"2018-10-24T16:05:11","modified_gmt":"2018-10-24T15:05:11","slug":"day9-2016","status":"publish","type":"post","link":"https:\/\/iot.fkainka.de\/en\/day9-2016","title":{"rendered":"Day 9: Brightness of the real LED"},"content":{"rendered":"<p>Behind today&#8217;s door is another 1-kohm resistor. But today you don&#8217;t have to change anything in the hardware layout from yesterday. Only a small detail changes on the interface.<\/p>\n<div id=\"attachment_1340\" style=\"width: 626px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Day8_AnalogButtonLED_Steckplatine-1.jpg\"><img aria-describedby=\"caption-attachment-1340\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-1340 size-large\" src=\"http:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Day8_AnalogButtonLED_Steckplatine-1-1024x500.jpg\" alt=\"Der Aufbau von gestern\" width=\"616\" height=\"301\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Day8_AnalogButtonLED_Steckplatine-1-1024x500.jpg 1024w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Day8_AnalogButtonLED_Steckplatine-1-300x147.jpg 300w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Day8_AnalogButtonLED_Steckplatine-1-768x375.jpg 768w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Day8_AnalogButtonLED_Steckplatine-1-972x475.jpg 972w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Day8_AnalogButtonLED_Steckplatine-1.jpg 1105w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/a><p id=\"caption-attachment-1340\" class=\"wp-caption-text\">The layout from yesterday<\/p><\/div>\n<p>You don&#8217;t have to re-upload the programme because you&#8217;re simply manually adjusting the interface from yesterday. If you&#8217;d like to load the interface in the app anyway for safety&#8217;s sake, you&#8217;ll find the QR code here as usual. But then you also have to re-enter the token in your programme.<\/p>\n<p><a href=\"http:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Blynk_Tag99.png\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-1341 alignleft\" src=\"http:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Blynk_Tag99.png\" alt=\"blynk_tag99\" width=\"166\" height=\"166\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Blynk_Tag99.png 500w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Blynk_Tag99-150x150.png 150w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Blynk_Tag99-300x300.png 300w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Blynk_Tag99-60x60.png 60w\" sizes=\"(max-width: 166px) 100vw, 166px\" \/><\/a><\/p>\n<p>In order to make the changes manually, you first have to delete the button that was previously responsible for the LED at D9. To do this, tap briefly on the button while the interface is not started and tap the &#8220;delete&#8221; option below. There you&#8217;ll also be shown the energy that you &#8220;recycle.&#8221; Now, instead of the button, you have to insert a slider. To do this, tap on the plus sign at the top right and select &#8220;Slider_L.&#8221; The slider appears on the screen. By briefly tapping on the element, you reach its settings. Once you&#8217;re there, set &#8220;Output&#8221; to &#8220;Digital D9.&#8221; Note that after &#8220;D9&#8221; there&#8217;s a small red &#8220;PWM,&#8221; a little indication of how today&#8217;s test works. After these changes, you can start the interface by tapping the Play button at the top right.<\/p>\n<p>What was previously possible only with the virtual LED is now also possible with real objects. You change the brightness of the LED at D9 by changing the slider position. Thus, for example, you can build a dimmable living room lamp that can be controlled via app. The keyword for this subject is PWM (pulse width modulation). Unlike with an incandescent light bulb, for example, you can&#8217;t simply dim an LED with less voltage. The procedure here is more complicated and functions by quickly switching the port on and off. The on and off times vary such that it looks like the LED becomes brighter or darker. The longer the on time is compared to the off time, the brighter the LED appears. The fact that the flickering of the LED can&#8217;t be seen or can barely be seen is due to the high speed with which the port is switched. With this procedure, you can also control engines or generate audio signals.<br \/>\n<iframe loading=\"lazy\" style=\"height: 510px; width: 100%; margin: 10px 0;\" src=\"https:\/\/create.arduino.cc\/editor\/FKainka\/0458c7cc-df44-43d0-adea-72df05e37a2a\/preview?embed\" width=\"300\" height=\"150\" frameborder=\"0\"><\/iframe><\/p>","protected":false},"excerpt":{"rendered":"<p>Behind today&#8217;s door is another 1-kohm resistor. But today you don&#8217;t have to change anything in the hardware layout from yesterday. Only a small detail changes on the interface. You don&#8217;t have to re-upload the programme because you&#8217;re simply manually&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/iot.fkainka.de\/en\/day9-2016\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":1341,"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":[123,124,311],"tags":[126],"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 9: Brightness of the real LED - 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\/day9-2016\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Day 9: Brightness of the real LED - Internet of Things with the NanoESP\" \/>\n<meta property=\"og:description\" content=\"Behind today&#8217;s door is another 1-kohm resistor. But today you don&#8217;t have to change anything in the hardware layout from yesterday. Only a small detail changes on the interface. You don&#8217;t have to re-upload the programme because you&#8217;re simply manually...Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/iot.fkainka.de\/day9-2016\" \/>\n<meta property=\"og:site_name\" content=\"Internet of Things with the NanoESP\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-08T23:01:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-24T15:05:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Blynk_Tag99.png\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/iot.fkainka.de\/day9-2016\",\"url\":\"https:\/\/iot.fkainka.de\/day9-2016\",\"name\":\"Day 9: Brightness of the real LED - Internet of Things with the NanoESP\",\"isPartOf\":{\"@id\":\"https:\/\/iot.fkainka.de\/#website\"},\"datePublished\":\"2016-12-08T23:01:46+00:00\",\"dateModified\":\"2018-10-24T15:05:11+00:00\",\"author\":{\"@id\":\"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a\"},\"breadcrumb\":{\"@id\":\"https:\/\/iot.fkainka.de\/day9-2016#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/iot.fkainka.de\/day9-2016\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/iot.fkainka.de\/day9-2016#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/iot.fkainka.de\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tag 9: Helligkeit der realen LED\"}]},{\"@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 9: Brightness of the real LED - 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\/day9-2016","og_locale":"en_US","og_type":"article","og_title":"Day 9: Brightness of the real LED - Internet of Things with the NanoESP","og_description":"Behind today&#8217;s door is another 1-kohm resistor. But today you don&#8217;t have to change anything in the hardware layout from yesterday. Only a small detail changes on the interface. You don&#8217;t have to re-upload the programme because you&#8217;re simply manually...Read more","og_url":"https:\/\/iot.fkainka.de\/day9-2016","og_site_name":"Internet of Things with the NanoESP","article_published_time":"2016-12-08T23:01:46+00:00","article_modified_time":"2018-10-24T15:05:11+00:00","og_image":[{"width":500,"height":500,"url":"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2016\/09\/Blynk_Tag99.png","type":"image\/png"}],"author":"fk","twitter_card":"summary_large_image","twitter_misc":{"Written by":"fk","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/iot.fkainka.de\/day9-2016","url":"https:\/\/iot.fkainka.de\/day9-2016","name":"Day 9: Brightness of the real LED - Internet of Things with the NanoESP","isPartOf":{"@id":"https:\/\/iot.fkainka.de\/#website"},"datePublished":"2016-12-08T23:01:46+00:00","dateModified":"2018-10-24T15:05:11+00:00","author":{"@id":"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a"},"breadcrumb":{"@id":"https:\/\/iot.fkainka.de\/day9-2016#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/iot.fkainka.de\/day9-2016"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/iot.fkainka.de\/day9-2016#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/iot.fkainka.de\/"},{"@type":"ListItem","position":2,"name":"Tag 9: Helligkeit der realen LED"}]},{"@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\/2016\/09\/Blynk_Tag99.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6McI0-lB","_links":{"self":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/1339"}],"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=1339"}],"version-history":[{"count":5,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/1339\/revisions"}],"predecessor-version":[{"id":1707,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/1339\/revisions\/1707"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/media\/1341"}],"wp:attachment":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/media?parent=1339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/categories?post=1339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/tags?post=1339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}