Skip to content

v2.0 - Gemini 3.1, Hardware Control & Web Console

Choose a tag to compare

@AdvaScript AdvaScript released this 18 Oct 18:12
· 3 commits to main since this release

⚡ GeminiPuter v2.0 - Gemini 3.1, Hardware Function Calling, Web Console & Cardputer ADV

An advanced firmware turning your M5Stack Cardputer and Cardputer ADV into a full-featured pocket AI assistant powered by Google Gemini 3.1 Flash-Lite.

Upstream Attribution: This project is an advanced fork of nishad2m8/GeminiPuter by Nishad.


🌟 What's New in v2.0

🧠 Upgraded AI & Fast Thinking Engine

  • Gemini 3.1 & 2.5 Support: Upgraded from deprecated gemini-1.5-flash to gemini-3.1-flash-lite and gemini-2.5-flash.
  • Zero Thinking Latency: Configured thinkingBudget: 0 for instant first-token generation without waiting for reasoning tokens.
  • Dynamic Model Selection: Select between gemini-3.1-flash-lite, gemini-2.5-flash, and others directly in the web UI.

🛠️ Full Hardware Function Calling (Tools)

  • Screen Brightness: Gemini can dynamically set backlight brightness (set_screen_brightness).
  • WS2812 RGB LED Lamp: Full control over color and 11 animations (solid, breathe, blink, rainbow, cyber_pulse, aurora, fire, starlight, police, alert, off) + custom JSON animations (set_led_effect, generate_led_pattern).
  • Battery Sensor: Query real battery voltage and percentage in real-time (get_battery_percentage).
  • FreeRTOS Multi-tasking: Separated HTTP network worker from UI loop with mutex locks to eliminate Task Watchdog (WDT) crashes.

📟 Cardputer ADV & M5Cardputer Support

  • Full pinout and timing compatibility for both standard M5Stack Cardputer and Cardputer ADV.

⌨️ Bilingual Russian & English Keyboard

  • Switch layouts with Fn + Backspace or Fn + Enter.
  • Semi-transparent HUD toast indicator [ РУС ] / [ ENG ] on screen.
  • Cyrillic font rendering via embedded rubik_14_cy.

🌐 Cyberpunk Real-Time Web Console & Telemetry

  • Live Terminal & Chat: Mirrored screen transcript with clean message bubbles.
  • Remote Typing: Send questions using your desktop or smartphone keyboard.
  • Hardware Telemetry HUD: Live battery meter, Wi-Fi RSSI signal strength, uptime, free heap memory, and simulated RGB lamp status.
  • Web Config: Manage API Key, Gemini model, and Wi-Fi credentials without reflashing.

🎨 Visual Polishing & UX

  • Electric blue Gemini responses (#38B6FF).
  • Right-aligned user prompts in both web interface and Cardputer screen.
  • Built-in IMU Shake / /shake Easter egg.
  • Clean repository tree: firmware binary detached from git history and moved exclusively to GitHub Releases.

📥 Flashing the Firmware

Download GeminiPuter.bin attached below and flash with esptool.py:

esptool.py --chip esp32s3 write_flash 0x0 GeminiPuter.bin

Or use M5Burner / ESP Web Flasher.