Description
This Bionic Eye Robot Kit is built around the ESP32-DEVKIT-V1 as its core controller, paired with an expansion board and TFT display. Toggle switches, push-buttons, and a joystick button let users switch TFT display modes and control eye behaviors, achieving realistic eyeball simulation. Users can edit code or load content from a TF card to customize the TFT screen, enjoying the fun of presenting self-designed images through programming.
Features:
- ESP32 Open-Source Platform:
Modular code structure, clearly commented key functions, easy to expand.
- SPI Full-Duplex Communication:
Two GC9A01 1.28-inch TFT screens are driven independently via SPI, with a simple protocol and high transfer speed.
- DMA Dual-Buffer Technology:
During GIF playback, the screen is rendered in blocks to avoid stutter . Blinking animations use a dedicated pixel buffer so eyeball motion never interferes with GIF playback.
- SPIFFS Caching Mechanism:
Every time a GIF is switched, SPIFFS is automatically formatted and the new file copied, ensuring stable playback.
Functions:
- A three-position toggle switch (AUTO / MANUAL / GIF) provides seamless mode switching. The system detects changes in real time and interrupts the current behavior to prevent conflicts.
– GIF mode: plays GIF animations.
– Manual / Auto modes: simulate human eye color, blinking, and eyeball rotation.
- Supports custom GIF content—simply name files 1.gif, 2.gif… and place them in the TF card root; the system will auto-index them.
