demo.mp4
PalUI is a chat interface for Pocketive P1 and ESP32-2432S028 (CYD) devices, which aims to be an agentic launcher for microcontrollers.
Landscape or Portrait: Supports both modes.
API or Local: Switch between popular API providers or Local mode quickly and easily. (Any version is API-only.)
Online Flasher: No need to download anything. You can flash PalUI to your devices on your browser.
UI Design Analysis: Here's a webpage which contains some info about the current 0.8.0 release's design.
-
Notes
- PalUI is originally developed for Pocketive P1, world's first pocket-sized local AI device powered by microcontrollers.
- PalUI, GPT.c, tinyGPT.c and Pocketive P1 are developed for educational purposes only, therefore there might be weak points, like in design, codes and more. I don't claim that it's perfect, since project is under development and not finished. I developed all of them completely by myself, as a 14 years old student :)
-
Why?
- Modern AI chatbots require sending your conversations to remote servers, raising privacy concerns about who has access to your data. Additionally, the massive computing infrastructure needed to run large language models has significant environmental costs. Pocketive P1 explores an alternative approach: running small language models directly on low-power microcontrollers. This enables private, offline AI inference without relying on cloud services or consuming substantial energy. While these models are currently limited compared to their larger counterparts, they demonstrate the potential for edge AI that keeps your data local and your conversations truly private.
- And, PalUI is kind of like the "frontend" part of the Pocketive P1 project.
- main.ino -> PalUI P1 itself
- chat.c -> "Chat section" menu icon
- api.c -> "API section" menu icon
- wifi.c -> "WiFi connection section" menu icon
- dmsans_14.c -> Font used for PalUI
- welcome.c -> Splash screen
- main.ino -> PalUI P1 itself
- chat.c -> "Chat section" menu icon
- api.c -> "API section" menu icon
- wifi.c -> "WiFi connection section" menu icon
- dmsans_14.c -> Font used for PalUI
- welcome.c -> Splash screen
If you dont want to make edits/changes in code, you can simply use PalUI Web Flasher to flash it right in your browser. You dont need to install anything or embed API keys in the code. Unlike my previous LVGL Gemini chat interface project, you enter API keys and connect to WiFi in PalUI.
This guide will help you to compile PalUI yourself, if you want to make edits/changes in the code.
- PlatformIO Installed
- ESP32-2432S028 (CYD) module
- Preconfigured CYD_LVGL LibPack (by me)
-
Open your desired version in PlatformIO. This repo contains two versions:
- Any
- P1 So if you are making a P1 device and want local feature that works with a seperate ESP32S3 (using tinyGPT.c you can open "p1" folder in PlatformIO in your preferred IDE. But if you want to try PalUI's Any version, you only need a CYD.
-
Specify CYD_LVGL LibPack path in platformio.ini in
lib_extra_dirssection. -
Compile & Upload & Test & Repeat!
Currently, there aren't known bugs or errors in PalUI that happens during compiling. But if you run into any problems or need extra help, you can contact with me.
mindmap
root((PalUI))
Versions
Any
P1
Features
Online Flasher
Simple UI
Modes
API
Local
- Turning it into a launcher
- Turning it into an agentic launcher
- Dynamic / Customizable API provider format support
- Improve optimization
You can contact me using yusuf@tachion.tech

