{"schema_version":1,"id":"adriankosey-g-code-offline-controller-esp32","name":{"en":"G Code Offline Controller ESP32"},"summary":{"en":"An offline controller capable of making any CNC machine intelligent, primarily using an ESP32 and an ILI9341 touch screen.","zh":"给 Grbl 数控机床做的手持触摸控制盒，目的是让干活的人不用再抱一台笔记本到机器前。"},"purpose":"offline CNC controller","tier":"community","author":"AdrianKosey","repository":"https://github.com/AdrianKosey/G-code_Offline_Controller_ESP32","license":"Apache-2.0","shape":"square","scenes":["tools"],"boards":[{"name":"ESP32"}],"motion":false,"hardware":{"en":"Supported hardware: ESP32. Confirm the exact board revision and pin map in the upstream repository.","zh":"支持硬件：ESP32。烧录前请在上游仓库核对板卡版本与引脚定义。"},"notes":{"en":"A standalone touch pendant for a Grbl CNC machine, so nobody has to carry a laptop to the mill. A 30-pin ESP32 dev kit and a 240x320 ILI9341 touch display with an SD reader give you G-code preview with an auto-scaled toolpath, a jog screen with homing and work zero, and a file browser over both microSD and a USB stick through a CH376S. It streams G-code to Grbl over UART and tracks the full modal state with its own parser; it does not drive steppers itself. If the power drops mid-job, reboot brings up a safe homing cycle, restores that modal state and resumes at the interrupted line, provided the USB or SD stick stayed plugged in. A web dashboard mirrors status, jog and the console. Built with PlatformIO on Arduino, and the TFT_eSPI library has to be edited by hand before it compiles.","zh":"给 Grbl 数控机床做的手持触摸控制盒，目的是让干活的人不用再抱一台笔记本到机器前。30 针 ESP32 开发板配一块带读卡器的 240x320 ILI9341 触摸屏，能预览自动缩放的刀路、用点动页做回零和设工件零点，还能在 microSD 和经 CH376S 读的 U 盘之间浏览文件。它通过串口把 G 代码流式发给 Grbl，并用自己写的解析器跟踪模态状态，本身不驱动步进电机。加工中掉电，重启后会先安全回零、恢复模态状态，再从断掉的那一行接着执行，前提是 U 盘或 SD 卡一直插着。同一份状态还能在浏览器里的远程面板上看，包括点动和实时控制台。用 PlatformIO 按 Arduino 框架构建，编译前必须手动改 TFT_eSPI 库的两个配置文件。"},"evidence":{"en":"Reviewed from public README media at commit e33c02294807 under Apache-2.0. Firmware was not executed.","zh":"项目画面来自提交 e33c02294807 的公开 README 媒体，许可证为 Apache-2.0；预览未执行固件。"},"readme_excerpts":[{"label":"Display","quote":"The 240x320 TFT-ILI9341 display with a microSD card reader is used."},{"label":"Feature","quote":"resumes from the exact line where it left off"},{"label":"Build","quote":"This project is built with PlatformIO on top of the Arduino framework for ESP32."},{"label":"Dependency","quote":"Support for USB drive communication."},{"label":"Limit","quote":"does not control stepper motors directly"}],"images":{"type":"gallery","primary":"https://esp32gallery.com/previews/adriankosey-g-code-offline-controller-esp32/poster.jpg","poster":"https://esp32gallery.com/previews/adriankosey-g-code-offline-controller-esp32/poster.jpg","sources":["https://esp32gallery.com/previews/adriankosey-g-code-offline-controller-esp32/frames/view-001.jpg","https://esp32gallery.com/previews/adriankosey-g-code-offline-controller-esp32/frames/view-002.jpg","https://esp32gallery.com/previews/adriankosey-g-code-offline-controller-esp32/frames/view-003.jpg"]},"media_credit":{"status":"upstream-project-media","creator":"AdrianKosey","source":"https://github.com/AdrianKosey/G-code_Offline_Controller_ESP32/tree/e33c02294807cbd530076695ae3abda9ea3f9ae9","note":{"en":"Screenshots decoded from the upstream README at a pinned commit. Repository code and firmware were not executed; the license texts are included in the preview package.","zh":"画面来自固定提交中的上游 README 截图。未执行仓库代码或固件；预览包内保留了许可证文本。"},"reviewed":"2026-10-20"},"preview":{"browser_playable":false,"kind":"media_gallery","label":{"en":"Project screenshots","zh":"项目截图"},"width":960,"height":720,"shape":"square","source_commit":"e33c02294807cbd530076695ae3abda9ea3f9ae9"},"stars":3,"pushed_at":"2026-11-04T08:39:33Z","added_at":"2026-10-20T16:49:38+08:00","urls":{"html":"https://esp32gallery.com/projects/adriankosey-g-code-offline-controller-esp32/","html_zh":"https://esp32gallery.com/zh/projects/adriankosey-g-code-offline-controller-esp32/","json":"https://esp32gallery.com/data/catalog/projects/adriankosey-g-code-offline-controller-esp32.json","markdown":"https://esp32gallery.com/data/catalog/projects/adriankosey-g-code-offline-controller-esp32.md"}}
