{"id":2471,"date":"2018-12-06T00:00:26","date_gmt":"2018-12-05T23:00:26","guid":{"rendered":"https:\/\/iot.fkainka.de\/?p=2471"},"modified":"2018-11-19T20:15:20","modified_gmt":"2018-11-19T19:15:20","slug":"day6-2018","status":"publish","type":"post","link":"https:\/\/iot.fkainka.de\/en\/day6-2018","title":{"rendered":"Tag 6: Touch to Speach"},"content":{"rendered":"<p>Behind the sixth door of the Advent calendar is a 1 kOhm resistor, which we will use tomorrow. Today we will continue with Node-RED and try out the touch function of the board. As always you will select the program of today. And today we will also build the following circuit. The yellow wires with one free end are the touch sensors.<\/p>\n<div id=\"attachment_2472\" style=\"width: 484px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day6_Touch_Steckplatine.png\"><img aria-describedby=\"caption-attachment-2472\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-2472\" src=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day6_Touch_Steckplatine-775x1024.png\" alt=\"Versuchsaufbau\" width=\"474\" height=\"626\" data-id=\"2472\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day6_Touch_Steckplatine-775x1024.png 775w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day6_Touch_Steckplatine-227x300.png 227w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day6_Touch_Steckplatine-768x1014.png 768w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/Day6_Touch_Steckplatine.png 879w\" sizes=\"(max-width: 474px) 100vw, 474px\" \/><\/a><p id=\"caption-attachment-2472\" class=\"wp-caption-text\">Breadboard Construction:\u00a0Three wires suspended in the air from one end<\/p><\/div>\n<p>Once set up, you can restart Node-RED using the terminal and the <strong>node-red<\/strong> command. Then open the Node-RED editor via <strong>http:\/\/127.0.0.1:1880\/<\/strong>. Today we will install a few nodes. To do this, click on the three dashes in the top right corner where you will see <strong>manage palette<\/strong> under which all the installed nodes are listed. Select the <strong>Install<\/strong> tab and you will see a large number of different modules that you can install. For today we are searching for the module <strong>node-red-dashboard<\/strong>. Click the <strong>Install<\/strong> button. A message appears warning you that installation may be difficult at times. Just click <strong>Ok<\/strong>, this module is easy to install. After a short while, a success message appears, and the new nodes are now in your node row.<\/p>\n<div id=\"attachment_2474\" style=\"width: 626px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard.png\"><img aria-describedby=\"caption-attachment-2474\" decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-2474\" src=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard-1024x603.png\" alt=\"Die Dashboard Installation\" width=\"616\" height=\"363\" data-id=\"2474\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard-1024x603.png 1024w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard-300x177.png 300w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard-768x453.png 768w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard-972x573.png 972w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard.png 1680w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/a><p id=\"caption-attachment-2474\" class=\"wp-caption-text\">The Dashboard Installation<\/p><\/div>\n<p>The next step involves setting up the flow for today. So that you do not have to do everything yourself, you have the option of importing complete flows into Node-RED. Click the three dashes again and then on <strong>Import<\/strong> and next on <strong>Clipboard<\/strong>. You can copy the flows into the text field that pops up. You will find today\u2019s flow in the Pastebin Frame below:<\/p>\n<p><iframe style=\"border: none; width: 100%;\" src=\"https:\/\/pastebin.com\/embed_iframe\/U4myY9pm\"><\/iframe><\/p>\n<p>A new tab should appear in the bar at the top after the import. Now you need to deactivate yesterday\u2019s flow as it would listen to the UDP port. Double-click on the Flow tab, change the status from <strong>Enabled<\/strong> to <strong>Disabled<\/strong> in the Flow menu and confirm with <strong>Done<\/strong>. Now you can confirm the new processes with <strong>Deploy<\/strong>.<\/p>\n<p>Open this page in the browser:<\/p>\n<p style=\"text-align: center;\"><strong><a href=\"http:\/\/127.0.0.1:1880\/ui\">http:\/\/127.0.0.1:1880\/ui<\/a><\/strong><\/p>\n<div id=\"attachment_2473\" style=\"width: 462px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard2.png\"><img aria-describedby=\"caption-attachment-2473\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-2473\" src=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard2.png\" alt=\"Das einfache Dashboard\" width=\"452\" height=\"326\" data-id=\"2473\" srcset=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard2.png 535w, https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard2-300x216.png 300w\" sizes=\"(max-width: 452px) 100vw, 452px\" \/><\/a><p id=\"caption-attachment-2473\" class=\"wp-caption-text\">The User Interface<\/p><\/div>\n<p>What you see now is a user interface (UI), which is often called a dashboard. By installing this new node module, you can to create your own interface<\/p>\n<table width=\"505\">\n<tbody>\n<tr>\n<td width=\"505\"><strong>Note:<\/strong> If wire contact does not trigger a message, adjust the sensitivity of the touch detection on the configuration page. A higher value means that the touch sensitivity of the buttons increases.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>to control operations. Today\u2019s interface was imported with today\u2019s flow. It is a text box, which shows the UDP messages. But there is a small addition: do not have the volume of your PC turned too high, when you now touch one of the freely dangling wires on the board. The board will automatically detect the contact and will send a UDP message that will be shown in the text box. In addition, there is a text-to-speech node on the dashboard that reads the text value in the JSON object. By that you have successfully created a first voice output \u2013 and all this with just a single node.<\/p>","protected":false},"excerpt":{"rendered":"<p>Behind the sixth door of the Advent calendar is a 1 kOhm resistor, which we will use tomorrow. Today we will continue with Node-RED and try out the touch function of the board. As always you will select the program&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/iot.fkainka.de\/en\/day6-2018\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":2473,"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>Tag 6: Touch to Speach - 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\/day6-2018\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tag 6: Touch to Speach - Internet of Things with the NanoESP\" \/>\n<meta property=\"og:description\" content=\"Behind the sixth door of the Advent calendar is a 1 kOhm resistor, which we will use tomorrow. Today we will continue with Node-RED and try out the touch function of the board. As always you will select the program...Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/iot.fkainka.de\/day6-2018\" \/>\n<meta property=\"og:site_name\" content=\"Internet of Things with the NanoESP\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-05T23:00:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-11-19T19:15:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"535\" \/>\n\t<meta property=\"og:image:height\" content=\"386\" \/>\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=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/iot.fkainka.de\/day6-2018\",\"url\":\"https:\/\/iot.fkainka.de\/day6-2018\",\"name\":\"Tag 6: Touch to Speach - Internet of Things with the NanoESP\",\"isPartOf\":{\"@id\":\"https:\/\/iot.fkainka.de\/#website\"},\"datePublished\":\"2018-12-05T23:00:26+00:00\",\"dateModified\":\"2018-11-19T19:15:20+00:00\",\"author\":{\"@id\":\"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a\"},\"breadcrumb\":{\"@id\":\"https:\/\/iot.fkainka.de\/day6-2018#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/iot.fkainka.de\/day6-2018\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/iot.fkainka.de\/day6-2018#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/iot.fkainka.de\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tag 6: Touch to Speach\"}]},{\"@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":"Tag 6: Touch to Speach - 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\/day6-2018","og_locale":"en_US","og_type":"article","og_title":"Tag 6: Touch to Speach - Internet of Things with the NanoESP","og_description":"Behind the sixth door of the Advent calendar is a 1 kOhm resistor, which we will use tomorrow. Today we will continue with Node-RED and try out the touch function of the board. As always you will select the program...Read more","og_url":"https:\/\/iot.fkainka.de\/day6-2018","og_site_name":"Internet of Things with the NanoESP","article_published_time":"2018-12-05T23:00:26+00:00","article_modified_time":"2018-11-19T19:15:20+00:00","og_image":[{"width":535,"height":386,"url":"https:\/\/iot.fkainka.de\/wp-content\/uploads\/2018\/11\/T6NodeDashboard2.png","type":"image\/png"}],"author":"fk","twitter_card":"summary_large_image","twitter_misc":{"Written by":"fk","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/iot.fkainka.de\/day6-2018","url":"https:\/\/iot.fkainka.de\/day6-2018","name":"Tag 6: Touch to Speach - Internet of Things with the NanoESP","isPartOf":{"@id":"https:\/\/iot.fkainka.de\/#website"},"datePublished":"2018-12-05T23:00:26+00:00","dateModified":"2018-11-19T19:15:20+00:00","author":{"@id":"https:\/\/iot.fkainka.de\/#\/schema\/person\/d3205fdf2649027fc35e240d4f8b285a"},"breadcrumb":{"@id":"https:\/\/iot.fkainka.de\/day6-2018#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/iot.fkainka.de\/day6-2018"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/iot.fkainka.de\/day6-2018#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/iot.fkainka.de\/"},{"@type":"ListItem","position":2,"name":"Tag 6: Touch to Speach"}]},{"@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\/T6NodeDashboard2.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6McI0-DR","_links":{"self":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/2471"}],"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=2471"}],"version-history":[{"count":7,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/2471\/revisions"}],"predecessor-version":[{"id":2481,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/posts\/2471\/revisions\/2481"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/media\/2473"}],"wp:attachment":[{"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/media?parent=2471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/categories?post=2471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iot.fkainka.de\/en\/wp-json\/wp\/v2\/tags?post=2471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}