Follow Along Guides

Build 1 · ES3C28P

Story Box v0

An offline audio player with a touch display and three stories on a microSD card. The ES3C28P powers up over USB-C.

DIY hobby build for ages 14+. Adult assembly required. This prototype is not EN 71 or CE tested.

Story Box overview

Parts

Use plug-in parts for a solder-free setup. Bring the shared tools and firmware.

Story Box v0 bill of materials
QtyPart
12.8-inch ES3C28P ESP32-S3 board with touch LCD, FT6336G touch controller, ES8311 codec, speaker amp and microSD socket
1FAT32 microSD card, typically 4 GB to 32 GB
1Data-capable USB-C cable. Use USB-C 5 V only and leave BAT empty.
1 set, optionalSupplied 1.25 mm JST pigtails for expansion
1, optionalKY-040 rotary encoder, 3.3 V, with CLK, DT and SW
1, optional12 × 12 mm tactile play/stop switch, active low
1Compatible speaker with a matching plug for SP+ / SP-, if the board did not come with one

Prepare the story card

Format the card as FAT32. The firmware does not use exFAT or NTFS. Use nine PCM WAV files at 16-bit, 44.1 kHz, mono or stereo. The Bright Harbor story files are not publicly available yet. You can prepare your own WAV files in this format for use with the matching firmware.

Copy these exact filenames to the card root. The firmware mounts the card at /sdcard. Keep files out of subfolders.

Card root filenames in playback order
StoryWAV files
1/story1.wav, /story1-2.wav, /story1-3.wav
2/story2.wav, /story2-2.wav, /story2-3.wav
3/story3.wav, /story3-2.wav, /story3-3.wav

ES3C28P pinout

The onboard buses are routed at the factory. Use the first table to identify signals when probing. Leave these buses as routed and do not add jumpers.

Onboard signal reference
BusBoard signals
LCD (SPI)IO12 SCK, IO11 MOSI, IO13 MISO, IO46 DC, IO10 CS. EN doubles as LCD RST, so there is no second reset wire. IO45 backlight is high for on. Portrait, MADCTL 0x08, invert on.
Touch and codec (I2C)IO16 SDA and IO15 SCL are shared with P4. FT6336G at 0x38, ES8311 at 0x18. IO17 touch INT stays unused because firmware polls the touch IC. IO18 is touch RST.
Codec (I2S)IO4 MCLK, IO5 BCLK, IO7 LRCK, IO8 ESP DOUT to codec DIN. IO6 ESP DIN is unused in this playback-only build.
Amp and speakerIO1 amp enable is active low. SP+ and SP- are the speaker pair on the 1.25 mm pigtail. Neither is GND.
microSD (SDMMC)IO38 CLK, IO40 CMD and IO39 D0 mount /sdcard in 1-bit mode. IO41 D1, IO48 D2 and IO47 D3 are routed but unused in this mode.
USB and resetIO19 USB D- and IO20 USB D+ are for serial and flash. Leave IO0 BOOT and EN alone. EN also resets the LCD.
UnusedIO42 RGB LED and IO9 BAT sense. Leave both alone.

Optional expansion

Use only the 1.25 mm JST pigtails for P3 and P4. Keep bare DuPont pins out of the sockets. P3 has no GND. P4 is labeled 3.3 V, GND, SCL (IO15) and SDA (IO16). With power disconnected, meter P4 GND against the USB-C shell.

Optional controls and speaker connections
ConnectionPart
P4 3.3 VKY-040 +. Use 3.3 V only.
P4 GNDKY-040 GND and one side of the 12x12 switch
P3 IO2KY-040 A (CLK)
P3 IO3KY-040 B (DT). IO3 selects the JTAG source at reset. Avoid forcing its level during reset.
P3 IO14KY-040 SW, active low
P3 IO21Other side of the 12x12 play/stop switch, active low
SP+ / SP-Speaker pigtail only. Keep both leads off GND.

Power and flash

Firmware is not publicly available yet. These commands are for reference until the named build targets are available in a PlatformIO project.

  1. Power off. Unplug USB-C and confirm that the BAT socket is empty. Complete the unpowered meter checks.
  2. Inspect the board for a populated onboard microphone. Leave any mic unused. This build plays audio and does not record.
  3. Plug USB-C directly into the computer. Use USB-C only and meter 3.3 V against GND before continuing.
  4. Flash debug and check the board

    pio run -e story_box_es3c28p_debug -t upload

    Open serial at 115200 baud. Confirm the banner and reset reason. Type each command in order.

    pio device monitor -b 115200

    help, status, pins, i2c, inputs, display, sd, audio, selftest

    Check the display and look for touch at 0x38 and the codec at 0x18. Check card and speaker playback after fitting the card and speaker.

  5. Unplug USB-C before you add a card or pigtail.
  6. For audio files, insert the prepared FAT32 microSD card while power is off.
  7. If the speaker is not already fitted, plug its 1.25 mm connector into SP+ / SP-. Confirm neither speaker lead is shorted to GND or the USB-C shell.
  8. For optional controls, use the P3 and P4 JST pigtails. Meter P4 GND against the USB-C shell. Wire GND and 3.3 V first, then IO2, IO3, IO14 and IO21 as shown in the pinout.
  9. Repeat the unpowered meter checks after adding parts. Plug in USB-C only. Meter P4 3.3 V against GND, then repeat the debug checks, including sd, audio and inputs for any parts you added.
  10. Flash the product and play all three stories

    Once debug passes, close the serial monitor and upload the product environment.

    pio run -e story_box_es3c28p -t upload

    Walk through the bench UI and play story1, story2 and story3. Confirm chapter advance. Check that each boot starts at 30 percent volume, the steps are 5 percentage points and the ceiling is 50 percent. Keep that cap in place.

Troubleshoot the card, audio, display or touch

Before use

Handling and Compliance Notes