{"id":49,"date":"2016-03-19T16:21:02","date_gmt":"2016-03-19T16:21:02","guid":{"rendered":"http:\/\/martinelectronics.co.uk\/wp\/?p=49"},"modified":"2016-03-19T16:22:42","modified_gmt":"2016-03-19T16:22:42","slug":"genetic-algorithms-making-a-robot-evolve","status":"publish","type":"post","link":"https:\/\/martinelectronics.co.uk\/wp\/?p=49","title":{"rendered":"Genetic Algorithms, Making a Robot Evolve"},"content":{"rendered":"<figure id=\"attachment_50\" aria-describedby=\"caption-attachment-50\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/martinelectronics.co.uk\/wp\/wp-content\/uploads\/2016\/03\/evolutionisagoodsong.png\" rel=\"attachment wp-att-50\"><img loading=\"lazy\" class=\"size-medium wp-image-50\" src=\"http:\/\/martinelectronics.co.uk\/wp\/wp-content\/uploads\/2016\/03\/evolutionisagoodsong-300x126.png\" alt=\"genetic algorithms\" width=\"300\" height=\"126\" srcset=\"https:\/\/martinelectronics.co.uk\/wp\/wp-content\/uploads\/2016\/03\/evolutionisagoodsong-300x126.png 300w, https:\/\/martinelectronics.co.uk\/wp\/wp-content\/uploads\/2016\/03\/evolutionisagoodsong-768x324.png 768w, https:\/\/martinelectronics.co.uk\/wp\/wp-content\/uploads\/2016\/03\/evolutionisagoodsong.png 800w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-50\" class=\"wp-caption-text\">genetic algorithms<\/figcaption><\/figure>\n<p>Evolution is a fact of life, it is the defining characteristic of life itself, but that doesn\u2019t mean a stupid robot can\u2019t evolve. For his entry into the <a href=\"http:\/\/hackaday.com\">Hackaday<\/a> Pi Zero contest, <a href=\"https:\/\/hackaday.io\/project\/9848-iq-zero-evolving-unprogrammed-robots\">diemastermonkey<\/a> is doing just that: evolution for robots built around microcontrollers and a Raspberry Pi.<\/p>\n<p>The project is a physical extension to genetic algorithms. Just like DNA and proteins have no idea what they\u2019re actually doing, microcontrollers don\u2019t either. Instead of randomly switching up base pairs and amino acids, his project makes random connections pins depending on the values of those pins.<\/p>\n<p>The potential of these randomly programmed robots is only as good as the fitness function, and so far he has seen some surprising success. When putting these algorithms into a microcontroller connected to a tilting table mechanism and a PIR sensor, the robot eventually settled on a bit of code that would keep a ball in motion. You can check out the video of this below.<\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/EIT9XGVJMeY\" width=\"800\" height=\"480\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Evolution is a fact of life, it is the defining characteristic of life itself, but that doesn\u2019t mean a stupid robot can\u2019t evolve. For his entry into the Hackaday Pi Zero contest, diemastermonkey is doing just that: evolution for robots built around microcontrollers and a Raspberry Pi. The project is a physical extension to genetic &hellip; <a href=\"https:\/\/martinelectronics.co.uk\/wp\/?p=49\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Genetic Algorithms, Making a Robot Evolve<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35,34,25,16,36,37,33],"tags":[39,42,40,41,38],"_links":{"self":[{"href":"https:\/\/martinelectronics.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/49"}],"collection":[{"href":"https:\/\/martinelectronics.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/martinelectronics.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/martinelectronics.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/martinelectronics.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49"}],"version-history":[{"count":2,"href":"https:\/\/martinelectronics.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":52,"href":"https:\/\/martinelectronics.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions\/52"}],"wp:attachment":[{"href":"https:\/\/martinelectronics.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/martinelectronics.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/martinelectronics.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}