▶ QUEST IN PROGRESS

Wish Tin

A tin with a candle in it and a tiny screen that keeps me company either side of the wish. It shows me something before, a flame while I’m wishing, and something after – and it never, ever shows the wish itself.

Sep 2026 – Present
XIAO ESP32S3 MicroPython OLED Hardware

How I made it

It was a really easy project to do, but it was super whimsy. Here’s the whole thing start to finish, in the order I actually did it.

  1. Choosing the right board

    I went with the XIAO ESP32S3 over something like a Raspberry Pi Pico because I don’t need it to have an operating system at all. It’s just running one programme in a loop. All I need it to do is work out when a button has been pressed and show the right messages on the screen.

    The XIAO ESP32S3 held between finger and thumb, USB-C port facing up

    It was also really useful because the headers were pre-soldered, and I hate soldering headers. It has USB-C built in too, so I can plug a cable straight in to connect it to my phone. Down the line I’d quite like to make it so that it records my wishes through my phone – I’m going to be doing a macro for that at some point as well.

  2. The screen and the button

    I went with an OLED screen, 0.96 inches, an SSD1306. Super cheap, and it makes things show up really nicely on the screen itself.

    The 0.96 inch OLED module, screen unlit

    I also went with a 12mm tactile button. I have some 6mm ones as well, but they were just a little too small and fiddly for this project, because it also involves real-life flames. I didn’t want to make anything too fiddly to use.

    That was all the actual equipment I needed, plus some female-to-female jumper wires to connect things together.

  3. Tools and firmware

    I needed to install the tools, and then flash the firmware onto the board for anything to run. I pulled the firmware from micropython.org.

    uv tool install mpremote
    uv tool install esptool
    
    curl -L -o firmware/ESP32_GENERIC_S3-v1.29.0.bin \
      https://micropython.org/resources/firmware/ESP32_GENERIC_S3-20260824-v1.29.0.bin

    Then a classic bootloader on the ESP32-S3 – hold BOOT, tap RESET, release BOOT – and flash the firmware onto it. I ran a quick blink test to make sure everything was awake and alive before I went ahead and started securing hardware down into the actual physical thing.

    Worth doing in that order. If the blink works, the board, the cable and the firmware are all fine, so anything that breaks after this point is wiring.

  4. Wiring up the OLED

    I wired the OLED up to the ESP32-S3 using four female-to-female jumper cables – power, ground, and the two data lines.

    OLED VCC  →  3V3
    OLED GND  →  GND
    OLED SDA  →  D4
    OLED SCL  →  D5
    The back of the OLED with four coloured jumper wires on its pin header The XIAO with the four jumpers connected, wires fanning out

    Then I tested the screen with a short script to make sure all the pixels were working as they should, and that we could do different things like fading and short animations.

  5. Soldering the button

    The button was a tactile button with four legs, so I had to get a little creative. I took a female-to-female jumper cable and cut it down the middle, stripping the ends back a little on each one. I tinned both the exposed wires and two of the legs on the button first, then soldered them together.

    A jumper wire with its green insulation stripped back to bare copper Close-up of the stripped wire end tinned with solder

    I chose two legs diagonally across from each other. If you choose legs that are laterally across from each other they basically serve the same purpose, so you can’t do that – they’re already connected inside the switch. I had to choose different legs.

    Macro of the finished joint on two diagonally opposite legs of the tactile button A 12mm tactile button held in a clamp with two green wires soldered to diagonal legs

    Then I tested that the button was reading and that my soldering wasn’t rubbish. I put a little bit of electrical tape around where I joined the jumper cables to the legs, for insulation and to give it a bit more stability.

    The tactile button wired to the XIAO board on a blue silicone mat The same button and XIAO from above, the two green button wires running to the pin header
  6. Deciding what appears on the screen

    After that I got to work deciding what I wanted to appear on the screen, and started choosing some fun quotes and animations to show while I was doing the wish. I used mpremote run so I could keep iterating on my quotes and things without needing to install anything onto the board each time.

    The way I thought this through was that I wanted it to relate to the universe and the stars, because that’s something I really enjoy and find a lot of meaning in.

  7. What actually happens

    Idle. Whenever the board has power, the screen shows this sea of stars just idling. They twinkle a little, with an occasional shooting star.

    Press one. When you’re ready you press the button, and a nice introduction quote fades in and then fades away. Another message comes up telling you to light the candle, with an unlit candle on the screen as well. This stays for as long as you need it to.

    The open tin standing upright, OLED showing the words light it above a small candle icon

    At this point you get your physical candle out, put it in the candle holder in the tin, and light it.

    A thin yellow taper candle held next to the open tin A short stub of the taper held over the tin's lower tray

    Press two. Some phrasing comes up to tell you to make a wish. The digital candle lights on the screen, with embers around it drifting away. You make your wish in real life.

    Press three. When it’s done, you blow your candle out and press the button. The digital candle also goes out, scatters, and smokes. It’s very pretty. Another message comes up to let you know your wish is now drifting in the universe, out there with the stars – and it ends with this beautiful visual of a bunch of stars and a shooting star, before returning to the idle screen.

    The tin open on a workbench, screen lit, a taper candle in the foreground
  8. Testing before locking it down

    I had to do some quick tests before actually locking everything into position. I wanted to make sure it would run properly from my phone, because that makes it super easy to just carry around with me.

    First test fit of the OLED, XIAO and button inside the tin
  9. Getting it into the tin

    Then I got to work positioning the three components and a bunch of cables. I ended up using the deeper side of the tin – technically the side where you’re supposed to keep your items – but it worked really well in terms of height for mounting everything I needed to mount.

    The deeper half of the tin lined in matte black

    I used Velcro for a lot of it. The XIAO ESP32S3 is mounted to the side of the tin with Velcro, and so is the screen, and the cables are tucked out of the way at the back. The button is mounted on a circular piece of foam, which gives a bit of cushion when you press it so it isn’t pressing directly onto a hard surface. That protects the button as well. It just sort of wedges in.

    The black printed cap that sits over the tactile button, held between two fingers Inside the tin: the OLED and the button seated in foam with the wiring tucked behind

    Velcro also means I can always take these components out and use them for other projects, or pull things out if anything needs updating. Super easy to do.

  10. The cover

    I created a cardboard visual for the top of the candle tin as well, to cover up all of the jankiness behind it.

    The assembled tin open flat, screen and button in the lid, empty tray below The open tin held in one hand, screen lit, showing how small the whole thing is

    And that was it.