What it is
Kodeck is built around the ESP32-S3: two processor cores at 240 MHz, Wi-Fi and Bluetooth in one module, with 16 MB of flash and 8 MB of PSRAM. It has a 3.2-inch colour touch screen, an analog stick, six buttons, a speaker, a microSD slot and a single lithium battery.
It runs your own games and programs, and emulators can be adapted to it. Several consoles connect to each other without a router.
Hardware
- Processor: ESP32-S3-WROOM-1 N16R8, 2 cores at 240 MHz, 16 MB flash, 8 MB PSRAM
- Screen: 3.2", 320 × 240, IPS, ILI9341V, SPI at 40 MHz; 31.5 frames per second for a full redraw (measured)
- Touch: capacitive FT6336U, up to two touch points, I²C, no calibration
- Input: PSP-1000 type analog stick (12-bit ADC, software centre and dead zone); A, B, X, Y in a diamond like an Xbox pad; L and R on the top corners
- Sound: MAX98357A class-D amplifier (I²S), 4–8 Ω speaker; the program can switch the amplifier off
- Storage: microSD (tested with 64 GB, FAT32, 1.5 MB/s read), settings and high scores in flash (NVS)
- Wireless: Wi-Fi 2.4 GHz (access point and client, web file manager with QR code), Bluetooth 5 LE, ESP-NOW for direct links
- USB-C: native USB of the ESP32-S3 for charging, uploading and the serial console; can also act as a USB drive or a game controller
- Power: TP4056 charger, DW01A + 8205A battery protection, power path (SS14 + AO3401) so the console runs while charging, ME6211 3.3 V low-dropout regulator, battery voltage and USB presence measured by the ADC
- Circuit board: 173 × 70 mm, two copper layers, EasyEDA
Multiplayer
Every Kodeck has Wi-Fi and Bluetooth, so a class or a group of friends can start a shared game anywhere.
- Direct link: consoles find each other in seconds and exchange short messages with almost no delay (ESP-NOW). Good for duels, races and co-op.
- One console as an access point: other consoles, phones and laptops join its own Wi-Fi network. The built-in file manager already works this way.
- Through a Wi-Fi network: at home or at school.
The radio is on the board. The first version of the network part of the Kodeck library is published (alpha); the first two-console demo will appear in this build log.
Battery
One single-cell lithium battery, 3.7 V nominal, in a 92 × 45 mm compartment behind the screen.
- Maximum battery length and width: 88 × 43 mm.
- Flat Li-Po or cylindrical Li-ion, one cell only. Examples that fit: 103665, 104060, 804080.
- Batteries without their own protection board are fine: protection is on the console board.
- The maximum thickness will be set by the case, which is being designed now.
- Not suitable: LiFePO4, NiMH, or packs of two or more cells in series.
Programming
Board v0.5 is designed so that programs are uploaded over the same USB-C cable: press Upload in the free Arduino IDE and the console restarts with the new program, with no buttons to hold and no separate programmer.
The Kodeck library (alpha) puts the screen, stick, buttons, touch, sound, saving, memory card and the radio link behind one simple object, kodeck. It comes with 12 examples, from the first pixel to games for two consoles, and every change is compiled automatically with the ESP32 Arduino core 3.3 and 4.0. Lessons for the first seven examples, each with a version that runs in the browser: kodeck.tech/lessons
Tools: Arduino IDE with the ESP32 core 3.x, LovyanGFX for graphics, and the standard sound library. PlatformIO and ESP-IDF work too. MicroPython support is planned.
Kodeck will ship without commercial games. Emulators are meant for homebrew and freely distributed games.
Open software, hardware files for owners
The Kodeck library, the examples and the firmware are open source under the MIT licence: github.com/kodeckproject/kodeck-library
Owners will also receive the hardware files: schematics, circuit board and Gerber files, a parts list, the 3D case model and assembly instructions. These may be used and changed for personal...
Read more »
kodeck.project



