
A portable display needs software to become interactive, and Anthropic’s Claude supplied programs for animations, a digital plant and network information. The AI assistant’s code lets you switch between 10 animated effects with a button or tend a plant that tracks water, light and health. The plant even offers 600× fast-forward, as Hacktuber demonstrated. Find out how the screen and board fit together and how the programs respond to your button presses.
A Portable TFT Display With Claude-Written Code
TL;DR Key Takeaways :
- The portable project pairs an ESP32-S3 Super Mini with a rechargeable battery and a 1.9-inch, 170 × 320 TFT display.
- A Claude-written program cycles through 10 animated effects, with on-screen frame rates ranging from 21 fps for Shine Waves to 30 fps for Bouncing Balls.
- The digital plant program uses buttons for care and offers a 600× fast-forward mode.
- In one fast-forwarded run, the digital plant reached its blooming stage at a plant age of 6 days, 6 hours and 34 minutes.
- Cyber Terminal offers Wi-Fi and Bluetooth Low Energy scans and displayed the ESP32-S3’s 240 MHz speed in its system view.
This project pairs a portrait screen with an ESP32-S3 Super Mini development board, which Hacktuber finds much faster than a regular ESP32, and code written by Anthropic’s Claude. A rechargeable lithium battery and a button module make the display portable.
Pair the Screen With the ESP32-S3
Longer than a regular TFT screen, the color LCD communicates with the board over SPI. Its specifications are:
- 1.9-inch IPS full-angle TFT LCD
- 170 × 320 resolution
- ST7789 display driver
In this build, the Super Mini board has pin headers soldered on and charges the lithium battery through its built-in charger, while a small button module provides the controls for the display projects.
Unlock more potential in ESP32-S3 boards and projects by reading previous articles we have written.
- The $4 ESP32 S3 Super Mini Packs a 240 MHz Dual-Core Chip
- $4 ESP32-S3 Super Mini Packs a 0.96-Inch IPS TFT Screen
- ESP32-S3 Super Mini Brings 240 MHz Dual-Core Power For $4
- $20 ESP32 Paired with Claude Code to Automate Programming, Tasks and Projects
Cycle Through Animated Effects
A button press changes the image in the first Claude-written program, which contains 10 effects: Plasma, Spiral Galaxy, 3D Cube, Shine Waves, Tunnel Rings, Bouncing Balls, Fire, Matrix Rain, Starfield and Rainbow Bars. Hacktuber suggests the Fire effect could make a tiny Christmas fireplace display.
Each effect’s frame rate appears on screen. Spiral Galaxy ran at 29 frames per second, Shine Waves at 21 fps, Bouncing Balls at 30 fps, Fire at 23 fps and Matrix Rain at 27 fps.
Grow a Digital Plant With Buttons
A second program turns the screen into a digital plant, with controls for water, light, pruning and statistics. Bar graphs show water, light and health, and all three were full once water and UV light had been added. Watering brings a small cloud onto the screen, while the scene changes from day to night, with building lights and a moon. Initially, the plant’s age reads zero days, hours and minutes, and its pruning screen reports “Nothing to prune.”
As it grows, the plant progresses from seed to sprout, young plant and eventually a blooming stage. Holding the second button on the statistics screen activates 600× fast-forward, which can be switched off again so that the plant grows in real time.
In one fast-forwarded run, the plant’s own clock showed it still a seed and 30% toward the next stage at 1 hour 30 minutes, at 100% health at 1 day 11 hours, and blooming at 6 days 6 hours 34 minutes, with the indicators okay and pruning at 5%. Water drops as the plant grows, and a warning appears when it runs low.
Once fully grown, the plant needs daily water and light to stay alive. If it dies from lack of care, pressing water starts it again from the beginning.
Use Cyber Terminal for Network and System Views
The third Claude-written project, Cyber Terminal, was shown with the portrait TFT screen on an ESP32-S3 development board that Hacktuber identifies as a 16R8 model with dual USB. Its menu includes system information, Wi-Fi and Bluetooth Low Energy scans, network, files, OTA, matrix and settings entries.
Settings offer brightness adjustment, magenta, green, cyan and amber themes, and an OTA-at-boot option. Holding the button returns you to the main menu; the interface also shows a clock in the top-right corner and a Wi-Fi signal meter.
Cyber Terminal connected to a network in use, and its Wi-Fi scan displayed that network and no others. Its system view listed the ESP32-S3 at 240 MHz; the microcontroller also has an internal temperature sensor. The files view showed two files that could be stored in memory.
In our view, the digital plant is the most telling demo, because it has to remember state and react to buttons, not just loop an animation. That is a harder test of AI-written code than a visual effect. The low-water warning and restart after death both rely on that state handling. We think this suits tinkerers who are happy to solder pin headers and wire up a battery, and who want a small screen to experiment on. It is a poor fit for anyone wanting a finished, plug-in gadget.
You could use the digital plant as a starting point for experimenting with programs that keep changing between button presses, rather than only reacting to your input. The same battery-powered build also runs the effects program, so one set of parts covers both.
Media Credit: Hacktuber
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.