{"id":1239,"date":"2014-05-30T10:22:33","date_gmt":"2014-05-30T18:22:33","guid":{"rendered":"http:\/\/www.techykids.com\/?p=1239"},"modified":"2014-05-30T10:22:33","modified_gmt":"2014-05-30T18:22:33","slug":"healthy-fridge","status":"publish","type":"post","link":"https:\/\/techykids.com\/staging\/3266\/archives\/1239","title":{"rendered":"Healthy Fridge"},"content":{"rendered":"<p>In the morning you fill the healthy fridge with healthy foods for the day, then whenever you want a snack you press a button on your remote and the healthy fridge will give you a snack.<\/p>\n<h2>Presentation:<\/h2>\n<p><iframe src=\"https:\/\/docs.google.com\/presentation\/d\/13W-S5huymHf1vPWSuh51o5k5PVc0iS50RD2EijSHFew\/embed\" height=\"430\" width=\"580\" allowfullscreen=\"true\" frameborder=\"0\"><\/iframe><\/h2>\n<p>&nbsp;<\/p>\n<h2>Video:<\/h2>\n<div class=\"ast-oembed-container\" style=\"height: 100%;\"><iframe title=\"Healthy Fridge Movie\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/M3w4WYi3gYU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<p>&nbsp;<\/p>\n<h2>Code:<\/h2>\n<p>call sound.system(-1)<br \/>\ncall leds.top(0,0,0)<br \/>\ncall leds.bottom.left(0,0,0)<br \/>\ncall leds.bottom.right(0,0,0)<br \/>\ncall leds.circle(0,0,0,0,0,0,0,0)<\/p>\n<p>onevent prox<br \/>\n\tif prox.horizontal[2] > 500 then<br \/>\n\t\tmotor.left.target = 0<br \/>\n\t\tmotor.right.target = 0<br \/>\n\tend<\/p>\n<p>\tonevent rc5<br \/>\n\tif rc5.command == 2 then<br \/>\n\t\tmotor.left.target = 500<br \/>\n\t\tmotor.right.target = 500<br \/>\nend<br \/>\nif rc5.command ==5 then<br \/>\n\t\tmotor.left.target =0<br \/>\n\t\tmotor.right.target = 0<br \/>\nend<\/p>\n<p>\tif rc5.command == 6 then<br \/>\n\t\tmotor.left.target = 500<br \/>\n\t\tmotor.right.target = 0<\/p>\n<p>end<\/p>\n<p>\tif rc5.command == 8 then<br \/>\n\t\tmotor.left.target = -500<br \/>\n\t\tmotor.right.target = -500<br \/>\n\tend<\/p>\n<p>\tif rc5.command == 4 then<br \/>\n\tmotor.left.target = 0<br \/>\n\tmotor.right.target = 500<\/p>\n<p>\tend<\/p>\n<p>\tif rc5.command == 1 then<br \/>\n\tcall leds.bottom.right(0,32,0)<br \/>\n\tcall leds.bottom.left(0,32,0)<br \/>\n\tcall leds.top(30,2,1)<\/p>\n<p>\tend<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the morning you fill the healthy fridge with healthy foods for the day, then whenever you want a snack you press a button on your remote and the healthy fridge will give you a snack. Presentation: &nbsp; Video: &nbsp; Code: call sound.system(-1) call leds.top(0,0,0) call leds.bottom.left(0,0,0) call leds.bottom.right(0,0,0) call leds.circle(0,0,0,0,0,0,0,0) onevent prox if prox.horizontal[2] &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/techykids.com\/staging\/3266\/archives\/1239\"> <span class=\"screen-reader-text\">Healthy Fridge<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":83403,"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":[26,12,17],"tags":[49,245,273,305,402,503],"class_list":["post-1239","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-littlebits","category-projects","category-thymio-projects","tag-5th-grade","tag-healthy-fridge","tag-invent-a-product","tag-littlebits","tag-robotics","tag-thymio-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Healthy Fridge - 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\/1239\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Healthy Fridge - TechyKids.com\" \/>\n<meta property=\"og:description\" content=\"In the morning you fill the healthy fridge with healthy foods for the day, then whenever you want a snack you press a button on your remote and the healthy fridge will give you a snack. Presentation: &nbsp; Video: &nbsp; Code: call sound.system(-1) call leds.top(0,0,0) call leds.bottom.left(0,0,0) call leds.bottom.right(0,0,0) call leds.circle(0,0,0,0,0,0,0,0) onevent prox if prox.horizontal[2] &hellip; Healthy Fridge Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techykids.com\/staging\/3266\/archives\/1239\" \/>\n<meta property=\"og:site_name\" content=\"TechyKids.com\" \/>\n<meta property=\"article:published_time\" content=\"2014-05-30T18:22:33+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\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1239#article\",\"isPartOf\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1239\"},\"author\":{\"name\":\"Sharon\",\"@id\":\"https:\/\/techykids.com\/#\/schema\/person\/e4d353eee11ff5668cb913fa9d9ffbe4\"},\"headline\":\"Healthy Fridge\",\"datePublished\":\"2014-05-30T18:22:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1239\"},\"wordCount\":159,\"publisher\":{\"@id\":\"https:\/\/techykids.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1239#primaryimage\"},\"thumbnailUrl\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Healthy-Fridge.png\",\"keywords\":[\"5th grade\",\"healthy fridge\",\"Invent a Product\",\"littlebits\",\"robotics\",\"thymio\"],\"articleSection\":[\"Littlebits\",\"Projects\",\"Thymio\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1239\",\"url\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1239\",\"name\":\"Healthy Fridge - TechyKids.com\",\"isPartOf\":{\"@id\":\"https:\/\/techykids.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1239#primaryimage\"},\"image\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1239#primaryimage\"},\"thumbnailUrl\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Healthy-Fridge.png\",\"datePublished\":\"2014-05-30T18:22:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1239#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/techykids.com\/staging\/3266\/archives\/1239\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1239#primaryimage\",\"url\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Healthy-Fridge.png\",\"contentUrl\":\"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Healthy-Fridge.png\",\"width\":574,\"height\":563},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/techykids.com\/staging\/3266\/archives\/1239#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/techykids.com\/staging\/3266\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Healthy Fridge\"}]},{\"@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":"Healthy Fridge - 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\/1239","og_locale":"en_US","og_type":"article","og_title":"Healthy Fridge - TechyKids.com","og_description":"In the morning you fill the healthy fridge with healthy foods for the day, then whenever you want a snack you press a button on your remote and the healthy fridge will give you a snack. Presentation: &nbsp; Video: &nbsp; Code: call sound.system(-1) call leds.top(0,0,0) call leds.bottom.left(0,0,0) call leds.bottom.right(0,0,0) call leds.circle(0,0,0,0,0,0,0,0) onevent prox if prox.horizontal[2] &hellip; Healthy Fridge Read More &raquo;","og_url":"https:\/\/techykids.com\/staging\/3266\/archives\/1239","og_site_name":"TechyKids.com","article_published_time":"2014-05-30T18:22:33+00:00","author":"Sharon","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sharon","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1239#article","isPartOf":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1239"},"author":{"name":"Sharon","@id":"https:\/\/techykids.com\/#\/schema\/person\/e4d353eee11ff5668cb913fa9d9ffbe4"},"headline":"Healthy Fridge","datePublished":"2014-05-30T18:22:33+00:00","mainEntityOfPage":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1239"},"wordCount":159,"publisher":{"@id":"https:\/\/techykids.com\/#organization"},"image":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1239#primaryimage"},"thumbnailUrl":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Healthy-Fridge.png","keywords":["5th grade","healthy fridge","Invent a Product","littlebits","robotics","thymio"],"articleSection":["Littlebits","Projects","Thymio"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1239","url":"https:\/\/techykids.com\/staging\/3266\/archives\/1239","name":"Healthy Fridge - TechyKids.com","isPartOf":{"@id":"https:\/\/techykids.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1239#primaryimage"},"image":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1239#primaryimage"},"thumbnailUrl":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Healthy-Fridge.png","datePublished":"2014-05-30T18:22:33+00:00","breadcrumb":{"@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1239#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techykids.com\/staging\/3266\/archives\/1239"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1239#primaryimage","url":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Healthy-Fridge.png","contentUrl":"https:\/\/techykids.com\/staging\/3266\/wp-content\/uploads\/2014\/05\/Healthy-Fridge.png","width":574,"height":563},{"@type":"BreadcrumbList","@id":"https:\/\/techykids.com\/staging\/3266\/archives\/1239#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techykids.com\/staging\/3266\/"},{"@type":"ListItem","position":2,"name":"Healthy Fridge"}]},{"@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\/1239","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=1239"}],"version-history":[{"count":0,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/posts\/1239\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/media\/83403"}],"wp:attachment":[{"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/media?parent=1239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/categories?post=1239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techykids.com\/staging\/3266\/wp-json\/wp\/v2\/tags?post=1239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}