Skip to content
HardwareLab

Pocket Tank

A 14-million-parameter language model makes every decision for a virtual fish tank on an ESP32-S3, with no network: when each fish eats, hides, explores, socialises, rests or flees.

Hardware:
ESP32-S3
Difficulty:
Advanced
Creator:
mediacutlet

A 14M-parameter LLM keeps a virtual fish tank alive on an ESP32.

Pocket Tank
No photo in the source; GitHub repository card, served from HardwareLab.

By mediacutlet

Posted

What it does

A 14-million-parameter language model makes every decision for a virtual fish tank on an ESP32-S3, with no network: when each fish eats, hides, explores, socialises, rests or flees.

What you need

Difficulty
Advanced
License
No license stated

Parts

  • ESP32-S3-Touch-AMOLED-1.8 [not stated]
  • ESP32-S3-Touch-AMOLED-1.75C [not stated]
  • ESP32-S3-Touch-AMOLED-2.06 [not stated]
  • ESP32-S3-Touch-AMOLED-2.16 [not stated]
AI model or service
14M-param distilled LLM

Prices, notes and sources: Parts and requirements

Parts and requirements

PartSpec / notesNeededPrice
ESP32-S3-Touch-AMOLED-1.8 Not stated
ESP32-S3-Touch-AMOLED-1.75C Not stated
ESP32-S3-Touch-AMOLED-2.06 Not stated
ESP32-S3-Touch-AMOLED-2.16 Not stated

Full build guide

Steps

Difficulty
Advanced
  1. Plug the Waveshare board into your computer, open the page in Chrome or Edge, pick your board, click Install Pocket Tank, pick the port.
  2. The page asks for your Wi-Fi: the tank lists the networks it can see, you pick yours and type the password.

Full instructions: View original

How it works

The model was distilled from a 26B teacher into a 7.56 MB file read straight from flash. Each fish describes its state (hunger, fear, neighbours, personality) as one line of text, and the model completes it with a goal and an urgency. A reflex layer animates that at 25–30 fps on a 1.8-inch AMOLED. You can flash it from the browser to three Waveshare boards.

Limits and caveats

  • On the real board a decision takes about 3.7 s at 12 tokens per second.

Like this build? Get the weekly builds

Every Thursday: the 5 best gadget hacks you can copy. Free.

Built something? Submit a build

Hardware

  • ESP32-S3

More ESP32 builds

This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.

Featured? Add this badge

Built this? Paste the badge into your README. It links back to this page.

Featured on HardwareLab

Markdown

[![Featured on HardwareLab](https://hardwarelab.dev/badge.svg)](https://hardwarelab.dev/projects/pocket-tank/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)

HTML

<a href="https://hardwarelab.dev/projects/pocket-tank/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>