P1 is the world's first microcontroller-powered local AI device.
PalUI: Not only a chat interface, but an app/program launcher for P1.
API or Local: Switch between popular API providers or Local mode quickly and easily, thanks to tinyGPT.c architecture.
Cheap & Simple: P1 only needs 2 cheap and accessible microcontrollers to build, and its very simple to put it together!
Completely Open Sourced: From design and hardware to local AI architecture and PalUI, its %100 open-sourced.
-
Notes
- 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.
- p1.stl -> Basically, P1's current 3D design.
- tinyGPT.c -> Custom local AI architecture for microcontrollers, based on its original version GPT.c that i made.
- PalUI -> Currently a chat interface for microcontrollers, which i plan to turn into an agentic launcher for microcontrollers.
Here's the guide you need to follow to make your own P1 from scratch.
- ESP32S3-N16R8
- ESP32-2432S028 (CYD)
- 1.25mm Pitch 4-pin Cable
- Case
You need to connect ESP32S3, the "AI hub" and CYD to make local AI processing with tinyGPT.c work.
Since they communicate over UART, its going to be very simple.
Here's a basic circuit:
The one at the right is the UART port at the CYD's bottom section, and the one on the left is ESP32S3.
- GND -> GND
- TX -> RX
- RX -> TX
You can solder these 3 wires to ESP32S3 accordingly, and plug the port into CYD. Done!
- Follow the guides on tinyGPT.c repo to upload the tinyGPT.c firmware with your desired local model to ESP32S3.
- Follow the guides on PalUI repo to upload the P1 version of PalUI firmware to CYD.
Done!
You can use this 3D guide to assemble P1.
assembly.mp4
mindmap
root((P1))
Requirements
ESP32S3-N16R8
ESP32-2432S028 (CYD)
1.25mm Pitch 4-pin Cable
Case
Building Steps
Wiring
Software
tinyGPT.c
PalUI
Assembly
Modes
API
Local
- Battery Support (I know this was essential at first, but due to how expensive batteries are in my country, i couldn't add it in this version... So im sorry!)
- Improvements in local AI processing capabilities (tinyGPT.c improvements)
- Improvements in PalUI, universal app support after PalUI turns into a launcher as i planned.
You can contact me using yusuf@tachion.tech


