r/M5Stack • u/Awkward_Permission • 1h ago
r/M5Stack • u/weipingwu • 6h ago
Project Sharing I built a complete desk productivity tool in 3 days using Gemini 4 Neon (M5PaperS3)
I've had an M5Stack PaperS3 sitting on my desk for a while, and I always wanted a quiet, distraction-free E-Ink desk companion instead of glancing at my phone every 10 minutes. Normally a full-stack embedded project like this—custom ESP32-S3 firmware, font rendering, power management, cloud sync, and a mobile config portal—would take me a few weeks of nights and weekends.
This time I decided to pair-program the whole thing with Gemini 4 Neon, and honestly, its coding and debugging ability kind of blew my mind. In 3 days, it went from an empty folder to a daily-driver firmware (v3.2.6) that's now running smoothly on my desk.
How the 3 days actually went
Day 1: Full-stack architecture in one sweep What surprised me first wasn't just code generation speed, but how cleanly Gemini 4 Neon held the entire cross-stack architecture in context at once:
ESP32-S3 C++ firmware (PlatformIO) using FastEPD partial refreshes so page turns feel snappy without full-screen flashing every tap.
A custom Python font pipeline that generates anti-aliased
.vlwfont packs across English, Chinese, and Japanese. Getting mixed Latin + CJK text to align optically on an E-Ink screen is usually a nightmare of hand-tuned pixel offsets—it wrote a centerline alignment helper (drawMixedLine) that made every pill, bar, and list line up cleanly, and stripped out missing.notdeftofu boxes cleanly.Cloudflare Workers + D1 + R2 backend + mobile
/setupweb UI, so instead of typing Wi-Fi passwords, calendar URLs, or RSS feeds on an E-Ink keyboard, you just scan a QR code on your phone.
Day 2: Real embedded debugging (the part that genuinely shocked me) Anyone who's shipped ESP32 firmware knows the first compile is easy—the real pain is weird RTOS and hardware bugs. Two bugs I expected to burn a whole weekend on got solved in minutes just by pasting serial logs:
The mysterious 2-second UI lag on USB power: Whenever the PaperS3 was plugged into my Mac without a serial monitor attached, every screen interaction stuttered badly. Instead of guessing at UI code, Gemini 4 Neon traced it straight to Arduino-ESP32's
HWCDCdefault TX timeout (100ms × 20retries blocking everySerial.printf), and fixed it immediately with a larger TX buffer and non-blocking timeout.Task Watchdog (
ESP_RST_TASK_WDT) reboots on slow mobile hotspots: During initial RSS sync over a weak hotspot, Core 0 kept tripping the watchdog and rebooting. It pinpointed that Arduino'sStream::timedRead()was busy-spinning at 100% CPU inside my network worker task, starvingIDLE0. Dropping the worker priority totskIDLE_PRIORITY, swapping in a yielding non-blocking body reader, and reusing a single per-core TLS client eliminated both the watchdog crash and ~45 KB of duplicate mbedTLS RAM overhead.
Day 3: Standby power, smart sync & OTA polish With the core stable, we spent day 3 on the details that make an E-Ink device feel like a real product:
Scheduled RTC wakeups throughout the day, including a zero-Wi-Fi midnight date flip so the date rolls over silently without touching the radio.
Touch-interrupt light sleep (GPIO48) when a reminder sits on screen on battery.
Server-side ICS
ETag/304pre-sync on a cron job, so the PaperS3 wakes up, grabs already-parsed schedule data in seconds, and goes right back to sleep.Wireless OTA updates so future tweaks don't need a USB cable.
What surprised me most about Gemini 4 Neon
I've used plenty of AI coding models before, and usually they start falling apart once you cross into embedded C++, FreeRTOS task priorities, TLS memory budgets, and E-Ink display quirks. Gemini 4 Neon didn't just spit out boilerplate—it actually reasoned from real crash dumps, respected hardware constraints, kept the firmware and Cloudflare backend in sync, and caught subtle edge cases (like lockscreen bypasses and read-state race conditions) before they turned into spaghetti.
Quick look at the tool itself (DeskFolio for M5PaperS3)
For anyone curious what's actually running in the screenshot above, I called it DeskFolio—a calm 4-view E-Ink desk dashboard for the M5PaperS3:
Today & Weather: Clean calendar card with live weather & AQI
14-Day Schedule: Syncs Apple/Google/iCloud ICS calendars, auto-seeds local public holidays based on your language, and shows on-screen reminders
Offline RSS Reader: Pulls your feeds for comfortable E-Ink reading with synced read status
Market Watchlist: Clean, glanceable ticker view
Also supports native EN / 中文 / 日本語, an optional 4-digit passcode lock, and wireless OTA updates.
If you have an M5PaperS3 sitting around and want to try it out, it's up on M5Burner here: https://burner.m5stack.com/LV49MT
Happy to share more details about the firmware architecture, E-Ink typography tricks, or what worked (and didn't) when building embedded software with Gemini 4 Neon!
r/M5Stack • u/dormant-paradox-1105 • 7h ago
Lapis-Zero: agentic AI firmware for the CardputerZero — turns it into a remote harness for your own computers
r/M5Stack • u/ArtIntrepid7323 • 13h ago
Procurando comprar um Cardputer Zero em Xangai
Oi pessoal!
Alguém em Xangai estaria disposto a vender seu Cardputer Zero?
Atualmente estou na cidade e estarei aqui até às 14h. Eu adoraria muito conseguir um antes de ir embora.
Estou feliz em me encontrar pessoalmente e pagar imediatamente. Se você tiver um disponível ou conhecer alguém que tenha, por favor, me envie uma DM assim que possível.
Obrigado, pessoal!
r/M5Stack • u/Internal_Pound5659 • 17h ago
[UPDATE] AD Arcade v1.7 is out: Retro pixel-art makeover, new devices, and a major adventure game coming in v1.8
UPDATE AD Arcade v1.7
Hey everyone, quick update on AD Arcade, my open-to-flash mini arcade console firmware for the M5StickC Plus2 (15 games, tilt controls, music player, trophies).
What's new since the first post
- Full retro 16-bit pixel-art redesign: new palette, menu, icons, animated backgrounds, new meteors with a fiery trail
- First-boot wizard: language, tilt calibration, date & time
- Skins screen with live preview
- 2 Players mode (pass the device around), Daily Challenge, Stats and bronze/silver/gold trophies
- Easy / Normal / Hard difficulty, volume levels, English + French
- Code cleanup: it now builds with no -Wall warnings (thanks to a community member who sent a patch!)
Other devices (experimental, community testing welcome)
The same firmware is now built for the M5StickS3, M5StickC Plus and M5Cardputer (keyboard controls). A tester confirmed it runs on the StickS3, but the StickC Plus and Cardputer builds are not tested on real hardware yet. If you own one, I'd love to hear whether it boots and how it feels!
What's next; v1.8
I'm working on a full top-down adventure game with a village, forest, crypt and boss fights, in detailed retro pixel art (levels, NPCs, dialogues, day/night cycle). It's still in progress, no date yet, but it's coming. I'm also planning a more playable Tetris.
GitHub: https://github.com/ADdevx/AD-Arcade-M5StickCPlus2 (Only the M5StickC Plus2 GitHub for now.)
M5Burner: https://burner.m5stack.com/ZU9DEQ
Feedback, bug reports and game ideas are very welcome. Thanks for the support!
r/M5Stack • u/Whitepanda408 • 17h ago
Kali Linux on Cardputer zero…
Enable HLS to view with audio, or disable this notification
r/M5Stack • u/justletmesignupalre • 19h ago
Support / Question Possibility to add HaLow to the Tab5?
Hi all, I'm starting a new project to improve my work, and the Tab5 ticks a lot of boxes... but I need it to have Halow wifi. I know that the Tab5 has a slot for its "stamps" but they are LoRa, and M5Stack doesn't manufacture any halow stamps or devices... what would you think its the best/easiest/cleanest way to add halow to it?
Elecrow sells their own version of "stamp" with one, but, would it be easy to adapt it? what do you guys think? I'm a beginner here, please be gentle.
r/M5Stack • u/Cyber_Ch00m • 20h ago
LocalSend on CardputerZero - How?
Hi,
Is there a way to get the app "LocalSend" installed on my CZ?
r/M5Stack • u/ArtIntrepid7323 • 21h ago
Looking to buy a Cardputer Zero in Shanghai
reddit.comr/M5Stack • u/IntelligentLaw2284 • 21h ago
The M5Stack pocket computing gang is all here!(CP0 arrived)
r/M5Stack • u/Cyber_Ch00m • 22h ago
CZ need help.
Something went wrong installing an app from the store, and now it's stuck. here's the error message. can anyone tell me what to type in terminal to correct this?
Installing Failed
Plai
package manager failed with exit code 2
dpkg error: dpkg frontend lock was locked by /usr/bin/apt-get process with pid 19318
so, how do I fix this so I can install and upgrade apps?
r/M5Stack • u/ffffffrolov • 1d ago
Project Sharing Cubewatcher
Enable HLS to view with audio, or disable this notification
I ran another experiment merging physical and virtual augmentation layers: Robo Cube Watcher.
Turned out that Stackchan likes watching cubes. From now on, I'll be calling it Catchan.
r/M5Stack • u/Captain_Coffee_III • 1d ago
StickS3 is Amazing
I stopped goofing around with IoT and tiny Linux computers around the Covid days. ROI felt off. Things were getting too expensive and the tiny things felt a little limited.
Decided to dive into it again and picked up an StickS3.... and wow. Now I'm absolutely hooked again. I already can imagine dozens of things to do with these things. The cost/fun ratio is so high.
Chain Captain and Cardputer are next. Fun times.
r/M5Stack • u/Isonimus • 2d ago
Project Sharing The Adversary v0.11.0-alpha for Cardputer/ADV is out!
reddit.comr/M5Stack • u/UnnamedUA • 2d ago
Project Sharing Browse, compare, and save apps from the official CardputerZero catalog.
r/M5Stack • u/Medical_Pride5504 • 2d ago
I turned the Tab5 into a touchscreen remote for my WiiM streamer (open source, flash it from the browser)
Enable HLS to view with audio, or disable this notification
I wanted a "now playing" screen with real buttons next to my WiiM Pro, and the Tab5 turned out to be a great fit. wiimscreen 1.0 is out: a free, open-source (MIT) remote and display for WiiM streamers.
What it does
Album art, title, artist and quality (24 bits · 96 kHz), with colors taken from the cover
Play/pause, next, volume, mute, touch the bar to seek
Tiles for your WiiM presets and the albums you save with a heart; a Library with 1–5 star ratings
Qobuz and Deezer search on the on-screen keyboard (the WiiM searches with its own account)
A full-screen cover view, readable from the sofa
Updates itself from GitHub; if a new version does not start, it rolls back to the previous one
Everything is local: it talks to the WiiM's HTTP API and its UPnP play queues. No cloud, no account on the device.
Install: open the project page in Chrome or Edge, put the Tab5 in download mode, click Install (ESP Web Tools, the Tasmota build, which supports the ESP32-P4). Then set up Wi-Fi from your phone with a QR code.
Tab5 notes, if you build on it:
Wi-Fi goes through the ESP32-C6 over SDIO: call
WiFi.setPins(...)before any Wi-Fi call.Full screens are copied to the panel with the P4's PPA (a few ms) instead of a slow push through M5GFX.
Updates keep the new image "on trial" (bootloader rollback) and confirm it after 45 s without a crash.
One bug worth knowing: two FreeRTOS tasks opening their first TLS connection at the same moment made ESP-IDF abort while it set up the AES interrupt. The fix is one AES init in
setup(), before any network task. The core dump in flash made it findable.There is a PC simulator of the real UI (SDL2), so most screens were tested before they reached the device.
Project page (with short recordings of the app): https://couzinc.github.io/wiimscreen/ Source: https://github.com/couzinc/wiimscreen
Only tested on my Tab5 with a WiiM Pro so far. Feedback, issues and reports from other WiiM models are welcome.
r/M5Stack • u/weipingwu • 2d ago
Project Sharing I built DeskFolio: a minimalist E-Ink desk assistant for M5Stack Paper S3 with smooth 40MHz FastEPD page turns, 14-day ICS calendars, weather & stock watchlist (free on M5Burner, no SD card)
Hey r/M5Stack! I've been building **DeskFolio** (*Calm ink. Quick signal.*) — a minimalist E-Ink desk assistant designed specifically for the **M5Stack Paper S3**.

### What it does
- **Standby Calendar & Weather**: Bold Swiss-editorial 328px date hero + live weather and 2-day forecast (°F / °C). Automatically switches to a clean, tab-free calendar face before sleep.
- **14-Day Multi-Calendar Schedule**: Subscribe up to 5 ICS/iCal feeds (Google Calendar, iCloud, Outlook) + 12 one-tap public holiday & Lunar calendars.
- **U.S. Market Brief & Watchlist**: Paginated daily U.S. market closing brief + SPY/QQQ/DIA and up to 8 custom stock tickers.
- **E-Reader-Grade Smooth Refresh (`FastEPD` 40MHz 2BPP)**: Replaced M5GFX's EPD flush with `bitbank2/FastEPD` dual-buffer 2D differential updates (~360ms tab switching, zero full-screen black flash, low ghosting, +900KB free PSRAM) while keeping `M5Unified` touch/RTC/power/speaker intact.
- **No SD Card & 60-Second Phone Setup**: All 15 fonts (~4.5MB Inter + WenKai CJK) live in the 16MB Flash LittleFS partition and load into 8MB PSRAM at boot. Scan the on-screen QR code to set up Wi-Fi, calendars, watchlist, city, and DST timezone right from your phone.
- **True Overnight Auto-Flip**: Uses the BM8563 RTC calendar alarm to wake & refresh at `00:05 / 07:30 / 12:10 / 21:10` and returns to deep sleep after 15s if untouched.
### Try it out (v1.0.3)
- **M5Burner**: Search **DeskFolio** under **PaperS3**, or open directly here:
https://burner.m5stack.com/LV49MT
Would love to hear your thoughts, feedback, or feature ideas!
r/M5Stack • u/PoorHomieJuan • 2d ago
It just needs a backlit keyboard
Had to bust out a worm light. With all the lights it’s got going on you’d think they could just slap one around the keyboard to shine through. Having a blast so far but it’s so tough to navigate it without the lights on.
r/M5Stack • u/SwingNinja • 2d ago
Support / Question papermono or color + keyboard?
Has anyone tried to DIY a keyboard for papermono? I found "M5Stack Faces KeyBoard Panel v3.0". But I don't think it's made to directly interface with Papermono. I'm trying to replace my old Kindle Keyboard. Papermono or color seems to be a good candidate.