<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/someone-wired-up-a-digital-fly-s-brain-in-a-pi-5-to-play-pok-mon-and-you-can-help-it-progress-rdqqak8o5" -->

---
title: Someone wired up a digital fly's brain in a Pi 5 to play...
description: A hobbyist wired a complete simulated fruit-fly brain (139,255 neurons from the FlyWire FAFB v783 connectome) to run on a Raspberry Pi 5 alongside the mGBA...
canonical: https://daily.dev/posts/someone-wired-up-a-digital-fly-s-brain-in-a-pi-5-to-play-pok-mon-and-you-can-help-it-progress-rdqqak8o5
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Someone wired up a digital fly's brain in a Pi 5 to play Pokémon, and you can help it progress | daily.dev
og:description: A hobbyist wired a complete simulated fruit-fly brain (139,255 neurons from the FlyWire FAFB v783 connectome) to run on a Raspberry Pi 5 alongside the mGBA...
og:url: https://daily.dev/posts/someone-wired-up-a-digital-fly-s-brain-in-a-pi-5-to-play-pok-mon-and-you-can-help-it-progress-rdqqak8o5
og:image: https://api.daily.dev/og/posts/RDQQaK8o5.png
og:image:alt: Someone wired up a digital fly's brain in a Pi 5 to play Pokémon, and you can help it progress
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Someone wired up a digital fly's brain in a Pi 5 to play Pokémon, and you can help it progress

**[XDA Developers](https://daily.dev/sources/xda-developers)** · 2 min read · 0 upvotes · 0 comments

## Summary

A hobbyist wired a complete simulated fruit-fly brain (139,255 neurons from the FlyWire FAFB v783 connectome) to run on a Raspberry Pi 5 alongside the mGBA emulator, letting the simulated Drosophila brain play Pokémon. Game memory is decoded into looming-detector neuron inputs (no image processing or retinotopy), and descending neuron activity translates into button presses. Viewers on Twitch can stimulate reward or punishment neurons to influence its behavior, with effects lasting about 10 minutes.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.xda-developers.com/someone-wired-up-a-digital-flys-brain-in-a-pi-5-to-play-pokmon-and-you-can-help-it-progress>

## Questions this post answers

### How does the fruit fly brain simulation on a Raspberry Pi 5 actually control Pokemon gameplay?

The simulation runs all 139,255 neurons of the FlyWire FAFB v783 reconstruction, a complete adult female Drosophila brain excluding the ventral nerve cord, using synaptic connections of five or more synapses. Spatial layout data like walls, doors, and people is read from the game's memory and fed into looming-detector neuron populations (LPLC1, LC10, LPLC4) as left/right drive signals, with no actual image processing or retinotopy involved. Descending neuron activity is then decoded into button presses on the emulator.

_Makers exploring biological computing experiments can find more unconventional builds like this via daily.dev._

## Similar posts on daily.dev

- [Second complete map of a fruit fly brain completed](https://daily.dev/posts/second-complete-map-of-a-fruit-fly-brain-completed-kabloxiit) · Ars Technica · 0 upvotes · 0 comments

---

Tags: [#raspberry-pi](https://daily.dev/tags/raspberry-pi), [#twitch](https://daily.dev/tags/twitch)

[View this post on daily.dev](https://daily.dev/posts/someone-wired-up-a-digital-fly-s-brain-in-a-pi-5-to-play-pok-mon-and-you-can-help-it-progress-rdqqak8o5)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Someone wired up a digital fly's brain in a Pi 5 to play Pokémon, and you can help it progress","url":"https://daily.dev/posts/someone-wired-up-a-digital-fly-s-brain-in-a-pi-5-to-play-pok-mon-and-you-can-help-it-progress-rdqqak8o5","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/someone-wired-up-a-digital-fly-s-brain-in-a-pi-5-to-play-pok-mon-and-you-can-help-it-progress-rdqqak8o5"},"datePublished":"2026-09-28T05:32:38.566Z","dateModified":"2026-09-28T05:33:01.282Z","description":"A hobbyist wired a complete simulated fruit-fly brain (139,255 neurons from the FlyWire FAFB v783 connectome) to run on a Raspberry Pi 5 alongside the mGBA...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a406453ba2ec823f7d15261dadfc3afc?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a406453ba2ec823f7d15261dadfc3afc?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"XDA Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"XDA Developers","logo":"https://media.daily.dev/image/upload/s--kCg6yyAP--/f_auto,q_auto/v1774964407/logos/xda-developers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/xda-developers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/someone-wired-up-a-digital-fly-s-brain-in-a-pi-5-to-play-pok-mon-and-you-can-help-it-progress-rdqqak8o5","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"raspberry-pi,twitch","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"XDA Developers","item":"https://daily.dev/sources/xda-developers"},{"@type":"ListItem","position":3,"name":"Someone wired up a digital fly's brain in a Pi 5 to play Pokémon, and you can help it progress"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/someone-wired-up-a-digital-fly-s-brain-in-a-pi-5-to-play-pok-mon-and-you-can-help-it-progress-rdqqak8o5#faq","mainEntity":[{"@type":"Question","name":"How does the fruit fly brain simulation on a Raspberry Pi 5 actually control Pokemon gameplay?","acceptedAnswer":{"@type":"Answer","text":"The simulation runs all 139,255 neurons of the FlyWire FAFB v783 reconstruction, a complete adult female Drosophila brain excluding the ventral nerve cord, using synaptic connections of five or more synapses. Spatial layout data like walls, doors, and people is read from the game's memory and fed into looming-detector neuron populations (LPLC1, LC10, LPLC4) as left/right drive signals, with no actual image processing or retinotopy involved. Descending neuron activity is then decoded into button presses on the emulator. Makers exploring biological computing experiments can find more unconventional builds like this via daily.dev."}}]}
```

