{"id":20266,"date":"2017-10-25T13:54:08","date_gmt":"2017-10-25T21:54:08","guid":{"rendered":"https:\/\/www.techykids.com\/?p=20266"},"modified":"2017-10-25T13:54:08","modified_gmt":"2017-10-25T21:54:08","slug":"line-follow-activity","status":"publish","type":"post","link":"https:\/\/techykids.com\/staging\/3266\/archives\/20266","title":{"rendered":"Line Follow Activity"},"content":{"rendered":"<p>Here is one possible solution to doing the line follow challenge.\u00a0 There are many.\u00a0 This one has the robot turning back in the opposite direction when it detects white.\u00a0 When both bottom sensors do not detect much reflected light, it means that the line is below it, so the robot goes straight.\u00a0 Line 4 of the code assumes that the robot has lost the line so in this code it is making a circle to try and re-locate the line.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-20267\" src=\"https:\/\/www.techykids.com\/wp-content\/uploads\/2017\/11\/line-follow-602x1024.png\" alt=\"\" width=\"488\" height=\"830\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is one possible solution to doing the line follow challenge.\u00a0 There are many.\u00a0 This one has the robot turning back in the opposite direction when it detects white.\u00a0 When both bottom sensors do not detect much reflected light, it means that the line is below it, so the robot goes straight.\u00a0 Line 4 of &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/techykids.com\/staging\/3266\/archives\/20266\"> <span class=\"screen-reader-text\">Line Follow Activity<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":84046,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[17],"tags":[62],"class_list":["post-20266","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thymio-projects","tag-activity"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Line Follow Activity - TechyKids.com<\/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:\/\/techykids.com\/staging\/3266\/archives\/20266\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Line Follow Activity - TechyKids.com\" \/>\n<meta property=\"og:description\" content=\"Here is one possible solution to doing the line follow challenge.\u00a0 There are many.\u00a0 This one has the robot turning back in the opposite direction when it detects white.\u00a0 When both bottom sensors do not detect much reflected light, it means that the line is below it, so the robot goes straight.\u00a0 Line 4 of &hellip; Line Follow Activity Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techykids.com\/staging\/3266\/archives\/20266\" \/>\n<meta property=\"og:site_name\" content=\"TechyKids.com\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-25T21:54:08+00:00\" \/>\n<meta name=\"author\" content=\"Sharon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sharon\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/20266#article\",\"isPartOf\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/20266\"},\"author\":{\"name\":\"Sharon\",\"@id\":\"https:\/\/techykids.com\/#\/schema\/person\/e4d353eee11ff5668cb913fa9d9ffbe4\"},\"headline\":\"Line Follow Activity\",\"datePublished\":\"2017-10-25T21:54:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/20266\"},\"wordCount\":82,\"publisher\":{\"@id\":\"https:\/\/techykids.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/20266#primaryimage\"},\"thumbnailUrl\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2017\/11\/line-follow-img.png\",\"keywords\":[\"Activity\"],\"articleSection\":[\"Thymio\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/20266\",\"url\":\"https:\/\/techykids.com\/staging\/3266\/archives\/20266\",\"name\":\"Line Follow Activity - TechyKids.com\",\"isPartOf\":{\"@id\":\"https:\/\/techykids.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/20266#primaryimage\"},\"image\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/20266#primaryimage\"},\"thumbnailUrl\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2017\/11\/line-follow-img.png\",\"datePublished\":\"2017-10-25T21:54:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/20266#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/techykids.com\/staging\/3266\/archives\/20266\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/20266#primaryimage\",\"url\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2017\/11\/line-follow-img.png\",\"contentUrl\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2017\/11\/line-follow-img.png\",\"width\":786,\"height\":612},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/20266#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/techykids.com\/staging\/3266\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Line Follow Activity\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/techykids.com\/#website\",\"url\":\"https:\/\/techykids.com\/\",\"name\":\"TechyKids.com\",\"description\":\"Get Inspired.\",\"publisher\":{\"@id\":\"https:\/\/techykids.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/techykids.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/techykids.com\/#organization\",\"name\":\"TechyKids.com\",\"url\":\"https:\/\/techykids.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techykids.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2013\/05\/techykids1-2.png\",\"contentUrl\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2013\/05\/techykids1-2.png\",\"width\":300,\"height\":104,\"caption\":\"TechyKids.com\"},\"image\":{\"@id\":\"https:\/\/techykids.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/techykids.com\/#\/schema\/person\/e4d353eee11ff5668cb913fa9d9ffbe4\",\"name\":\"Sharon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techykids.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6d7fcd9f270d4b5e8e68ff1ebe130252a70cafed7163951b2805d154ba9e8ab5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6d7fcd9f270d4b5e8e68ff1ebe130252a70cafed7163951b2805d154ba9e8ab5?s=96&d=mm&r=g\",\"caption\":\"Sharon\"},\"url\":\"https:\/\/techykids.com\/staging\/3266\/archives\/author\/sharontk\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Line Follow Activity - TechyKids.com","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:\/\/techykids.com\/staging\/3266\/archives\/20266","og_locale":"en_US","og_type":"article","og_title":"Line Follow Activity - TechyKids.com","og_description":"Here is one possible solution to doing the line follow challenge.\u00a0 There are many.\u00a0 This one has the robot turning back in the opposite direction when it detects white.\u00a0 When both bottom sensors do not detect much reflected light, it means that the line is below it, so the robot goes straight.\u00a0 Line 4 of &hellip; Line Follow Activity Read More &raquo;","og_url":"https:\/\/techykids.com\/staging\/3266\/archives\/20266","og_site_name":"TechyKids.com","article_published_time":"2017-10-25T21:54:08+00:00","author":"Sharon","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sharon"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/20266#article","isPartOf":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/20266"},"author":{"name":"Sharon","@id":"https:\/\/techykids.com\/#\/schema\/person\/e4d353eee11ff5668cb913fa9d9ffbe4"},"headline":"Line Follow Activity","datePublished":"2017-10-25T21:54:08+00:00","mainEntityOfPage":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/20266"},"wordCount":82,"publisher":{"@id":"https:\/\/techykids.com\/#organization"},"image":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/20266#primaryimage"},"thumbnailUrl":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2017\/11\/line-follow-img.png","keywords":["Activity"],"articleSection":["Thymio"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/20266","url":"https:\/\/techykids.com\/staging\/3266\/archives\/20266","name":"Line Follow Activity - TechyKids.com","isPartOf":{"@id":"https:\/\/techykids.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/20266#primaryimage"},"image":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/20266#primaryimage"},"thumbnailUrl":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2017\/11\/line-follow-img.png","datePublished":"2017-10-25T21:54:08+00:00","breadcrumb":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/20266#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techykids.com\/staging\/3266\/archives\/20266"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/20266#primaryimage","url":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2017\/11\/line-follow-img.png","contentUrl":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2017\/11\/line-follow-img.png","width":786,"height":612},{"@type":"BreadcrumbList","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/20266#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techykids.com\/staging\/3266\/"},{"@type":"ListItem","position":2,"name":"Line Follow Activity"}]},{"@type":"WebSite","@id":"https:\/\/techykids.com\/#website","url":"https:\/\/techykids.com\/","name":"TechyKids.com","description":"Get Inspired.","publisher":{"@id":"https:\/\/techykids.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techykids.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techykids.com\/#organization","name":"TechyKids.com","url":"https:\/\/techykids.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techykids.com\/#\/schema\/logo\/image\/","url":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2013\/05\/techykids1-2.png","contentUrl":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2013\/05\/techykids1-2.png","width":300,"height":104,"caption":"TechyKids.com"},"image":{"@id":"https:\/\/techykids.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/techykids.com\/#\/schema\/person\/e4d353eee11ff5668cb913fa9d9ffbe4","name":"Sharon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techykids.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6d7fcd9f270d4b5e8e68ff1ebe130252a70cafed7163951b2805d154ba9e8ab5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6d7fcd9f270d4b5e8e68ff1ebe130252a70cafed7163951b2805d154ba9e8ab5?s=96&d=mm&r=g","caption":"Sharon"},"url":"https:\/\/techykids.com\/staging\/3266\/archives\/author\/sharontk"}]}},"_links":{"self":[{"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/posts\/20266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/comments?post=20266"}],"version-history":[{"count":0,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/posts\/20266\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/media\/84046"}],"wp:attachment":[{"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/media?parent=20266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/categories?post=20266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/tags?post=20266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}