
Mozc dial
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards

Choose Your Own GPT is a seemingly analog device without any screens or visible digital elements. Spinning the physical dials to select characters and a story setting and then hitting the large arcade 'go' button, the…
Choose Your Own GPT is an open-source printed circuit board by jrutlen, from the jrutlen/Choose-Your-Own-GPT repository on GitHub. It is a 2-layer board of 115.4 × 111.1 mm with 112 parts on 38 nets, routed with 901 tracks and 155 vias.
Its parts include 32 diodes, 17 connectors, 14 resistors, 7 transistors and 7 switches.
Choose Your Own GPT is a seemingly analog device without any screens or visible digital elements. Spinning the physical dials to select characters and a story setting and then hitting the large arcade 'go' button, the built-in printer will spit out a Choose Your Own Adventure type story on the built-in receipt printer.
STLs directory)Bill of Materials.csvThis project uses PlatformIO. All library dependencies are declared in ChooseYourOwnGPT/platformio.ini and are fetched automatically on first build.
ChooseYourOwnGPT folder as a PlatformIO project.pio run --target upload| Library | Version |
|---|---|
| Adafruit NeoPixel | 1.12.4 |
| Adafruit Thermal Printer | 1.4.1 |
| NetWizard | 1.2.0 |
| ArduinoJson | 7.3.1 |
A workflow (.github/workflows/build.yml) automatically builds the firmware on every push or pull request to main/master that touches ChooseYourOwnGPT/ or the workflow file itself. No local toolchain is required to produce a flashable binary.
What the workflow does:
pip.pio run inside ChooseYourOwnGPT/.firmware artifact:
firmware.bin — application imagebootloader.bin — ESP32 bootloaderpartitions.bin — partition tableDownloading the artifact:
firmware..bin files.Flashing the downloaded firmware:
To flash from scratch (first time or full reflash), use esptool.py:
esptool.py --chip esp32 --baud 921600 \
write_flash \
0x1000 bootloader.bin \
0x8000 partitions.bin \
0x10000 firmware.binTo update an already-running device, use the OTA firmware update in the web portal — see OTA Firmware Update below.
ChooseYourOwnGPT with the password itMightBeMagic.http://192.168.4.1).Once the device is connected to your Wi-Fi network, open a browser and go to:
http://<device-ip>/configThe device IP is printed to the serial console on connection. The configuration portal lets you adjust all settings without reflashing.
| Setting | Description |
|---|---|
| OpenAI API Key | Your sk-… key from platform.openai.com. Stored on the device only — never sent anywhere except the OpenAI API. |
| OpenAI Model | The model to use for story generation (default: gpt-4o). |
| Hyphenate long words | When enabled, words that are too long for a line are broken with a hyphen instead of overflowing. |
Up to 10 character names can be assigned to positions on the small dial. Each position corresponds to a dial setting (0–9). Names can include relationship context (e.g. "Mia (a 7-year-old girl)"), which is passed directly to the story prompt.
Up to 16 adventure destinations can be assigned to positions on the large dial. Each entry is a sentence fragment appended to the story prompt (e.g. " who go on an adventure in the Amazon Rainforest.").
These fields control the text sent to the OpenAI API at each stage of the story:
| Field | Description |
|---|---|
| Story Prompt | Opening prompt prepended before the selected character names. |
| Instructions | Instructions appended after the adventure destination (formatting rules, chapter length, button options, etc.). |
| Surprise Ending Prompt | Sent when the red button is pressed to request an unexpected ending. |
| Blue Button – Continue | Message sent when the blue button is pressed to continue the story. |
| Blue Button – Final Chapter | Message sent when the blue button is pressed in the final chapter. |
| Yellow Button – Continue | Message sent when the yellow button is pressed to continue the story. |
| Yellow Button – Final Chapter | Message sent when the yellow button is pressed in the final chapter. |
Use the Export Settings JSON button to download all current settings as a cyogpt-config.json file. Use Import Settings JSON to restore or share a configuration.
The /config portal includes a firmware update section. Select a compiled .bin file (from pio run build output) and click Upload Firmware. The device will reboot automatically after a successful update.
Build log with photos
| Qty | Value | Footprint | References |
|---|---|---|---|
| 20 | D_DO-35_SOD27_P7.62mm_Horizontal | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28 +4 |
| 12 | LED_D3.0mm | LED_THT:LED_D3.0mm | D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12 |
| 10 | JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J2, J4, J5, J6, J7, J8, J9, J10, J11, J12 |
| 7 | TO-92 | Package_TO_SOT_THT:TO-92 | Q1, Q2, Q3, Q4, Q5, Q6, Q7 |
| 4 | 1.7k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R4, R6, R12, R14 |
| 4 | Magnetic Reed Switch | Library:Magnetic Reed Switch | SW5, SW6, SW7, SW8 |
| 4 | PinHeader_1x07_P2.54mm_Vertical | Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_Vertical | DIAL 1, DIAL 1, DIAL 2, DIAL 2 |
| 4 | R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R7, R8, R9, R10 |
| 3 | 22 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R3, R5 |
| 3 | 390 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R2, R11, R16 |
| 3 | 4.7k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | locked, R13, R17 |
| 3 | JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J1, J3, J13 |
| 3 | Nidec_Copal_SH-7010C | Button_Switch_THT:Nidec_Copal_SH-7010C | SW1, SW2, SW3 |
| 3 | SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mm_NumberLabels | Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mm_NumberLabels | JP5, JP6, JP7 |
| 2 | Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mm_NumberLabels | JP3, JP4 | |
| 2 | PinSocket_1x19_P2.54mm_Vertical | Connector_PinSocket_2.54mm:PinSocket_1x19_P2.54mm_Vertical | 1, 20 |
| 2 | SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mm | Jumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mm | JP1, JP2 |
| 2 | VAL** | Library:My MouseBite | mouse-bite-3mm-slot, mouse-bite-3mm-slot |
| 1 | JST_PH_B5B-PH-K_1x05_P2.00mm_Vertical | Connector_JST:JST_PH_B5B-PH-K_1x05_P2.00mm_Vertical | J14 |
| 1 | JST_XH_B5B-XH-A_1x05_P2.50mm_Vertical | Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_Vertical | J14 |
| 1 | LOGO | LOGO | qr.mbm.rocks/EZTP |
| 1 | MBM Logo | Library:MBM Logo | MBM|004 |
| 1 | PinHeader_1x05_P2.54mm_Vertical | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J15 |
| 1 | PinHeader_1x08_P2.54mm_Vertical | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J16 |
The 97 most common of 112 parts.

google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards


jes/scamp-cpu
A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.

rgoulter/keyboard-labs
Repo with my PCB designs and keyboard firmware

klouderone/CorneV4ProMicroEdition
The Corne V4 with Pro Micro Micocontrollers, made specifically for beginners and support for wireless microcontrollers



rallepalaveev/A2DVI
This is based on Clintech Pico Board (CPB) with 48 GPIOs, most 5V tolerant.
It measures 115.4 × 111.1 mm and has 2 copper layers, 1.6 mm thick.
112 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the jrutlen/Choose-Your-Own-GPT repository on GitHub, at the commit this page was made from: the board is PCB/Choose Your Own GPT.kicad_pcb and its schematic PCB/Choose Your Own GPT.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask jrutlen before reusing the design.