{"id":20787,"date":"2021-01-30T13:45:56","date_gmt":"2021-01-30T12:45:56","guid":{"rendered":"https:\/\/www.recantha.co.uk\/blog\/?p=20787"},"modified":"2021-01-30T13:45:56","modified_gmt":"2021-01-30T12:45:56","slug":"decentralized-robotic-fish-swarming-and-swimming-with-the-raspberry-pi-zero","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=20787","title":{"rendered":"Decentralized robotic fish &#8211; swarming and swimming with the Raspberry Pi Zero"},"content":{"rendered":"<div id=\"attachment_20789\" style=\"width: 2570px\" class=\"wp-caption alignnone\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-20789\" class=\"wp-image-20789 size-full\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?resize=560%2C457&#038;ssl=1\" alt=\"\" width=\"560\" height=\"457\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?w=2560&amp;ssl=1 2560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?resize=300%2C245&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?resize=1024%2C836&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?resize=768%2C627&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?resize=1536%2C1253&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?resize=2048%2C1671&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?resize=560%2C457&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?resize=260%2C212&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?resize=160%2C131&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?w=1120&amp;ssl=1 1120w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?w=1680&amp;ssl=1 1680w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><p id=\"caption-attachment-20789\" class=\"wp-caption-text\">Image courtesy of Self-organizing Systems Research Group<\/p><\/div>\n<p>Researchers from the Self-organizing Systems Research Group at the Harvard John A. Paulson School of Engineering and Applied Sciences and the Wyss Institute for Biologically Inspired Engineering have created a swarm of robotic fish that can behave and adapt just like real fish (or at least an approximation of real fish!).<\/p>\n<p>Each fish, called Bluebots, has on-board a Raspberry Pi Zero W and two camera modules, allowing stereoscopic (3D) vision.\u00a0The Zero in each fish is attached to an <a href=\"https:\/\/www.arducam.com\/product\/multi-camera-adapter-doubleplexer-stereo-module-v2-raspberry-pi-zero-3-b-4\/\" target=\"_blank\" rel=\"noopener\">Arducam Multi-camera adapter<\/a> so that it can use the two camera modules at the same time.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20788\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/2-channel-arducam-multi-camera-adapter-fish-swarm.jpg?resize=560%2C377&#038;ssl=1\" alt=\"\" width=\"560\" height=\"377\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/2-channel-arducam-multi-camera-adapter-fish-swarm.jpg?w=806&amp;ssl=1 806w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/2-channel-arducam-multi-camera-adapter-fish-swarm.jpg?resize=300%2C202&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/2-channel-arducam-multi-camera-adapter-fish-swarm.jpg?resize=768%2C517&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/2-channel-arducam-multi-camera-adapter-fish-swarm.jpg?resize=560%2C377&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/2-channel-arducam-multi-camera-adapter-fish-swarm.jpg?resize=260%2C175&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/2-channel-arducam-multi-camera-adapter-fish-swarm.jpg?resize=160%2C108&amp;ssl=1 160w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p>Each Bluebot operates independently, using its cameras to spot LEDs on each of the other fish and coordinate its behaviour with its nearest neighbours. This leads to pseudo-<a href=\"https:\/\/en.wikipedia.org\/wiki\/Emergence\" target=\"_blank\" rel=\"noopener\">emergent behaviour<\/a> as the fish collaborate on a goal. This can be anything from following each other in a shoal to spotting food being dropped from above to doing more complicated things such as search-and-rescue. The Bluebot is armed with little more than the knowledge that the LEDs on the other robots are a specific distance apart. Very impressive stuff!<\/p>\n<blockquote><p>\u201cEach Bluebot implicitly reacts to its neighbours\u2019 positions,\u201d explains Florian Berlinger, a PhD candidate at SEAS and Wyss and first author of the research paper, per\u00a0<a href=\"https:\/\/www.seas.harvard.edu\/news\/2021\/01\/robotic-swarm-swims-school-fish\" target=\"_blank\" rel=\"noopener\">a press release<\/a>. \u201cSo, if we want the robots to aggregate, then each Bluebot will calculate the position of each of its neighbours and move towards the centre. If we want the robots to disperse, the Bluebots do the opposite. If we want them to swim as a school in a circle, they are programmed to follow lights directly in front of them in a clockwise direction.\u201d<\/p><\/blockquote>\n<p>You can see a presentational video of the project below and read a lot more about it over at <a href=\"https:\/\/www.seas.harvard.edu\/news\/2021\/01\/robotic-swarm-swims-school-fish\" target=\"_blank\" rel=\"noopener\">Harvard<\/a>, <a href=\"https:\/\/spectrum.ieee.org\/automaton\/robotics\/industrial-robots\/blueswarm-robotic-fish\" target=\"_blank\" rel=\"noopener\">IEEE<\/a>, <a href=\"https:\/\/www.wired.com\/story\/these-adorable-fish-robots-form-schools-like-the-real-thing\/\" target=\"_blank\" rel=\"noopener\">Wired<\/a>, <a href=\"https:\/\/www.gizmodo.com.au\/2021\/01\/these-3d-printed-fish-bots-can-swarm-and-school-like-their-scaly-counterparts\/\" target=\"_blank\" rel=\"noopener\">Gizmodo<\/a> and <a href=\"https:\/\/www.arducam.com\/robot-fish-swarm-multi-camera\/\" target=\"_blank\" rel=\"noopener\">Arducam<\/a>. You can also read the team&#8217;s full paper over at <a href=\"https:\/\/robotics.sciencemag.org\/content\/6\/50\/eabd8668\" target=\"_blank\" rel=\"noopener\">Science Robotics<\/a>, but you do have to be a subscriber for that.<\/p>\n<p><em>Warning: the video below contains flashing lights which, frankly, gave\u00a0<span style=\"text-decoration: underline;\">me<\/span> a headache, let alone anyone with visual\/mental problems relating to that sort of thing!<\/em><\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/1pflbeDRkUs?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Researchers from the Self-organizing Systems Research Group at the Harvard John A. Paulson School of Engineering and Applied Sciences and the Wyss Institute for Biologically Inspired Engineering have created a swarm of robotic fish that can behave and adapt just&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=20787\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":20789,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Decentralized robotic fish - swarming and swimming with the Raspberry Pi Zero","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[2,8,904,70,43,45,68],"tags":[410],"class_list":["post-20787","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3d-printing","category-camera-module","category-communications","category-nature","category-research","category-robotics","category-science","tag-fish"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Decentralized robotic fish - swarming and swimming with the Raspberry Pi Zero - Raspberry Pi Pod<\/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:\/\/www.recantha.co.uk\/blog\/?p=20787\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Decentralized robotic fish - swarming and swimming with the Raspberry Pi Zero - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Researchers from the Self-organizing Systems Research Group at the Harvard John A. Paulson School of Engineering and Applied Sciences and the Wyss Institute for Biologically Inspired Engineering have created a swarm of robotic fish that can behave and adapt just&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=20787\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-30T12:45:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i2.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?fit=2560%2C2089&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"2089\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Decentralized robotic fish &#8211; swarming and swimming with the Raspberry Pi Zero\",\"datePublished\":\"2021-01-30T12:45:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787\"},\"wordCount\":382,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.recantha.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Bluebot_LED-scaled.jpeg?fit=2560%2C2089&ssl=1\",\"keywords\":[\"fish\"],\"articleSection\":[\"3D printing\",\"Camera module\",\"Communications\",\"Nature\",\"Research\",\"Robotics\",\"Science\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787\",\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787\",\"name\":\"Decentralized robotic fish - swarming and swimming with the Raspberry Pi Zero - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.recantha.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Bluebot_LED-scaled.jpeg?fit=2560%2C2089&ssl=1\",\"datePublished\":\"2021-01-30T12:45:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.recantha.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Bluebot_LED-scaled.jpeg?fit=2560%2C2089&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.recantha.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Bluebot_LED-scaled.jpeg?fit=2560%2C2089&ssl=1\",\"width\":2560,\"height\":2089},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=20787#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Decentralized robotic fish &#8211; swarming and swimming with the Raspberry Pi Zero\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.recantha.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.recantha.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/recantha\\\/\",\"https:\\\/\\\/x.com\\\/recantha\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/recantha\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Decentralized robotic fish - swarming and swimming with the Raspberry Pi Zero - Raspberry Pi Pod","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:\/\/www.recantha.co.uk\/blog\/?p=20787","og_locale":"en_US","og_type":"article","og_title":"Decentralized robotic fish - swarming and swimming with the Raspberry Pi Zero - Raspberry Pi Pod","og_description":"Researchers from the Self-organizing Systems Research Group at the Harvard John A. Paulson School of Engineering and Applied Sciences and the Wyss Institute for Biologically Inspired Engineering have created a swarm of robotic fish that can behave and adapt just&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=20787","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2021-01-30T12:45:56+00:00","og_image":[{"width":2560,"height":2089,"url":"https:\/\/i2.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?fit=2560%2C2089&ssl=1","type":"image\/jpeg"}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20787#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20787"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Decentralized robotic fish &#8211; swarming and swimming with the Raspberry Pi Zero","datePublished":"2021-01-30T12:45:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20787"},"wordCount":382,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20787#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?fit=2560%2C2089&ssl=1","keywords":["fish"],"articleSection":["3D printing","Camera module","Communications","Nature","Research","Robotics","Science"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=20787#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20787","url":"https:\/\/www.recantha.co.uk\/blog\/?p=20787","name":"Decentralized robotic fish - swarming and swimming with the Raspberry Pi Zero - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20787#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20787#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?fit=2560%2C2089&ssl=1","datePublished":"2021-01-30T12:45:56+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20787#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=20787"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20787#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?fit=2560%2C2089&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?fit=2560%2C2089&ssl=1","width":2560,"height":2089},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20787#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Decentralized robotic fish &#8211; swarming and swimming with the Raspberry Pi Zero"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/Bluebot_LED-scaled.jpeg?fit=2560%2C2089&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-5ph","jetpack-related-posts":[{"id":18635,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18635","url_meta":{"origin":20787,"position":0},"title":"Robotic fish sneaks up on hard-to-track animals with the aid of a Raspberry Pi","author":"Michael Horne","date":"23 March 2018","format":false,"excerpt":"There are many sea-borne creatures that are notoriously difficult to film and photograph. To solve this problem, researchers at MIT have developed SoFi, a rubber-encased robotic fish. Mimicking the movement and look of a real fish, SoFi can swim without disturbing the water as much as other methods which can\u2026","rel":"","context":"In &quot;Research&quot;","block_context":{"text":"Research","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=43"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/sofi.gif?fit=640%2C360&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/sofi.gif?fit=640%2C360&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/sofi.gif?fit=640%2C360&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":4858,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4858","url_meta":{"origin":20787,"position":1},"title":"Lenses for the #RaspberryPi camera module","author":"Michael Horne","date":"30 June 2013","format":false,"excerpt":"Matt Hawkins at Raspberry Pi Spy has been looking for cheap lenses to put over the front of the Raspberry Pi's official camera module, or Picam as it's starting to be known. He's come up trumps with an eBay lot which offers 3 lenses: fish-eye, wide angle & macro. All\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14991,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14991","url_meta":{"origin":20787,"position":2},"title":"Build a wearable time-lapse camera with a Raspberry Pi Zero","author":"Michael Horne","date":"2 July 2016","format":false,"excerpt":"Adafruit has published a tutorial on creating a time-lapse camera using a Pi Zero, a camera module, a bit of power circuitry, a micro button and a 3D-printed case. Lovely project if you've got the 3D printing capability. Take a look at the guide\u00a0here and view their video below. https:\/\/www.youtube.com\/watch?v=KXVkN8eS9z4","rel":"","context":"In &quot;3D printing&quot;","block_context":{"text":"3D printing","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=2"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cdn-learn.adafruit.com\/assets\/assets\/000\/033\/249\/medium800\/camera_hero-lanyard.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cdn-learn.adafruit.com\/assets\/assets\/000\/033\/249\/medium800\/camera_hero-lanyard.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/cdn-learn.adafruit.com\/assets\/assets\/000\/033\/249\/medium800\/camera_hero-lanyard.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/cdn-learn.adafruit.com\/assets\/assets\/000\/033\/249\/medium800\/camera_hero-lanyard.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":20459,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20459","url_meta":{"origin":20787,"position":3},"title":"Raspberry Pi high-definition camera &#8211; a collection of new projects, guides and reviews from the web","author":"Michael Horne","date":"7 July 2020","format":false,"excerpt":"At the end of April, a new, high-definition camera was launched for the Raspberry Pi. Now that people have had the kit for a few months, a lot of projects are starting to come out that really show off the camera. I thought I'd do a round-up post. Bare-bones rig\u2026","rel":"","context":"In &quot;3D printing&quot;","block_context":{"text":"3D printing","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=2"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/04\/full_camera_kit.jpg?fit=1200%2C900&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/04\/full_camera_kit.jpg?fit=1200%2C900&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/04\/full_camera_kit.jpg?fit=1200%2C900&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/04\/full_camera_kit.jpg?fit=1200%2C900&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/04\/full_camera_kit.jpg?fit=1200%2C900&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":16364,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16364","url_meta":{"origin":20787,"position":4},"title":"Thermal-printing camera with a Raspberry Pi Zero","author":"Michael Horne","date":"8 February 2017","format":false,"excerpt":"Over on Hackaday.io, Pierre Muth has documented his build of a Raspberry Pi Zero-based camera that prints\u00a0photographs on an internal thermal printer. Called the\u00a0PolaPi-Zero, it uses an Adafruit Nano Thermal Printer\u00a0and some other parts as well as a 3D-printed case. The case files can be found here\u00a0and the code for\u2026","rel":"","context":"In &quot;3D printing&quot;","block_context":{"text":"3D printing","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=2"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/polapi.jpg?fit=1200%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/polapi.jpg?fit=1200%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/polapi.jpg?fit=1200%2C1200&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/polapi.jpg?fit=1200%2C1200&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/polapi.jpg?fit=1200%2C1200&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":16747,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16747","url_meta":{"origin":20787,"position":5},"title":"Set-up a wifi CCTV camera with a Raspberry Pi Zero W and motionEyeOS","author":"Michael Horne","date":"12 April 2017","format":false,"excerpt":"Matt, over at Raspberry Pi Spy, has written a great tutorial that shows you how to set-up your Raspberry Pi with the motionEyeOS operating system. It lets you create yourself a CCTV camera that works over IP on your network. He's used the ZeroView mount\u00a0from The Pi Hut to stick\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/04\/pi_zeroview_camera.jpg?fit=1200%2C900&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/04\/pi_zeroview_camera.jpg?fit=1200%2C900&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/04\/pi_zeroview_camera.jpg?fit=1200%2C900&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/04\/pi_zeroview_camera.jpg?fit=1200%2C900&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/04\/pi_zeroview_camera.jpg?fit=1200%2C900&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20787"}],"version-history":[{"count":1,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20787\/revisions"}],"predecessor-version":[{"id":20790,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20787\/revisions\/20790"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/20789"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}