{"id":3619,"date":"2016-04-07T15:39:09","date_gmt":"2016-04-07T13:39:09","guid":{"rendered":"https:\/\/hacklabterni.org\/?p=3619"},"modified":"2017-12-08T19:50:14","modified_gmt":"2017-12-08T18:50:14","slug":"coderdojo-drawing-robots-arduino-genuino-day-2016","status":"publish","type":"post","link":"https:\/\/hacklabterni.org\/?p=3619","title":{"rendered":"CoderDojo: Drawing Robots | (Arduino) Genuino Day 2016"},"content":{"rendered":"<p>Il 2 Aprile 2016, presso la nostra sede al CAOS, si \u00e8 tenuto il laboratorio di CoderDojo: Drawing Robots. Il laboratorio \u00e8 stato inserito nel contesto degli eventi tenuti in tutto il mondo in occasione dell&#8217; <a href=\"https:\/\/day.arduino.cc\/#\/\" target=\"_blank\">Arduino and Genuino Day 2016<\/a>.<\/p>\n<p>I Drawing Robot sono dei 2WD\u00a0rover (due ruote motrici + un ball caster) con a bordo un Arduino Nano che controlla i motori per le ruote ed il servo per la penna. La connessione al PC \u00e8 assicurata da una schedina bluetooth HC-06.<\/p>\n<p><a href=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3621\" alt=\"DR1\" src=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR1-1024x875.jpg\" width=\"625\" height=\"534\" srcset=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR1-1024x875.jpg 1024w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR1-300x256.jpg 300w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR1-624x533.jpg 624w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR1.jpg 1146w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><!--more--><\/p>\n<p>La base e le ruote sono state disegnate modificando e personalizzando un progetto simile pubblicato su <a href=\"http:\/\/hackaday.com\/2015\/10\/24\/low-cost-arduino-compatible-drawing-robot\/\" target=\"_blank\">Hackaday<\/a>.<\/p>\n<p>Sui PC usati dai ragazzi per programmare i movimenti dei DR abbiamo installato una versione di <a href=\"http:\/\/s4a.cat\/snap\/\" target=\"_blank\">Snap4Arduino<\/a> con dei blocchi aggiuntivi scritti ad hoc sulla base del paradigma della <a href=\"https:\/\/en.wikipedia.org\/wiki\/Turtle_graphics\" target=\"_blank\">Turtle Graphics<\/a>.<\/p>\n<p><a href=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/s4a.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3624\" alt=\"s4a\" src=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/s4a.png\" width=\"960\" height=\"638\" srcset=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/s4a.png 960w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/s4a-300x199.png 300w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/s4a-624x414.png 624w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>L&#8217;idea della Turtle Graphics \u00e8 stata sviluppata da <a title=\"Seymour Papert\" href=\"https:\/\/en.wikipedia.org\/wiki\/Seymour_Papert\" target=\"_blank\">Seymour Papert<\/a> nell&#8217;ambito del linguaggio di programmazione didattico <a href=\"https:\/\/en.wikipedia.org\/wiki\/Logo_%28programming_language%29\" target=\"_blank\">Logo<\/a>. La tartaruga (nel nostro caso il Drawing Robot) si muove con comandi che sono relativi alla sua posizione, tipo: vai avanti di 100 mm e gira a sinistra di 90\u00b0.<\/p>\n<p>Combinando questi blocchi base con i blocchi di controllo (repeat) si possono disegnare figure geometriche complesse tipo spirali o frattali.<\/p>\n<p><a href=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3622\" alt=\"DR2\" src=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR2-1024x624.jpg\" width=\"625\" height=\"380\" srcset=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR2-1024x624.jpg 1024w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR2-300x183.jpg 300w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR2-624x380.jpg 624w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DR2.jpg 1601w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>La valenza didattica di questo approccio \u00e8 risultata evidente dal comportamento dei ragazzi durante il laboratorio, che hanno velocemente imparato i rudimenti per poi iniziare a sperimentare modificando i vari parametri per vedere il tipo di figura generata.<\/p>\n<p>I disegni della parte stampata, gli schemi elettrici e i sorgenti del firmware e del software possono essere scaricati da <a href=\"https:\/\/github.com\/hacklabterni\/DrawingRobot\" target=\"_blank\">GitHub<\/a>.<\/p>\n<p><!--more--><\/p>\n<p>Di seguito alcune foto dell&#8217;evento.<\/p>\n<p><a href=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_162016.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3633\" alt=\"20160402_162016\" src=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_162016-1024x768.jpg\" width=\"625\" height=\"468\" srcset=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_162016-1024x768.jpg 1024w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_162016-300x225.jpg 300w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_162016-624x467.jpg 624w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_162016.jpg 1632w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160404_195502.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3637\" alt=\"20160404_195502\" src=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160404_195502-1024x768.jpg\" width=\"625\" height=\"468\" srcset=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160404_195502-1024x768.jpg 1024w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160404_195502-300x225.jpg 300w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160404_195502-624x467.jpg 624w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160404_195502.jpg 1632w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190045.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3634\" alt=\"20160402_190045\" src=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190045-1024x768.jpg\" width=\"625\" height=\"468\" srcset=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190045-1024x768.jpg 1024w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190045-300x225.jpg 300w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190045-624x467.jpg 624w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190045.jpg 1632w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190105.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3635\" alt=\"20160402_190105\" src=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190105-1024x768.jpg\" width=\"625\" height=\"468\" srcset=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190105-1024x768.jpg 1024w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190105-300x225.jpg 300w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190105-624x467.jpg 624w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190105.jpg 1632w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190136.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3636\" alt=\"20160402_190136\" src=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190136-1024x768.jpg\" width=\"625\" height=\"468\" srcset=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190136-1024x768.jpg 1024w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190136-300x225.jpg 300w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190136-624x467.jpg 624w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/20160402_190136.jpg 1632w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DRlab.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3640\" alt=\"DRlab\" src=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DRlab-1024x827.jpg\" width=\"625\" height=\"504\" srcset=\"https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DRlab-1024x827.jpg 1024w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DRlab-300x242.jpg 300w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DRlab-624x504.jpg 624w, https:\/\/hacklabterni.org\/wp-uploads\/2016\/04\/DRlab.jpg 1280w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Il 2 Aprile 2016, presso la nostra sede al CAOS, si \u00e8 tenuto il laboratorio di CoderDojo: Drawing Robots. Il laboratorio \u00e8 stato inserito nel contesto degli eventi tenuti in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":3634,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[214,49,216,201,200],"class_list":["post-3619","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coderdojo","tag-coderdojo","tag-laboratori-per-bambini","tag-scratch","tag-snap4arduino","tag-turtle-graphics"],"_links":{"self":[{"href":"https:\/\/hacklabterni.org\/index.php?rest_route=\/wp\/v2\/posts\/3619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hacklabterni.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hacklabterni.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hacklabterni.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hacklabterni.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3619"}],"version-history":[{"count":18,"href":"https:\/\/hacklabterni.org\/index.php?rest_route=\/wp\/v2\/posts\/3619\/revisions"}],"predecessor-version":[{"id":3799,"href":"https:\/\/hacklabterni.org\/index.php?rest_route=\/wp\/v2\/posts\/3619\/revisions\/3799"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hacklabterni.org\/index.php?rest_route=\/wp\/v2\/media\/3634"}],"wp:attachment":[{"href":"https:\/\/hacklabterni.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hacklabterni.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3619"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hacklabterni.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}