Round TFT screen showing an animated face, from the CMozMaker video on custom ESP32 animations

Make Faces, Blinks and a Pixel Cat on a Round ESP32 Screen (Video Recap)

Most beginner projects stop at a blinking LED. It is a fine first step, but it is hard to feel proud of a light that goes on and off. This week's CMozMaker video is the opposite: a small round screen that smiles, changes expression and finally shows a pixel cat. It takes about four minutes to watch and not much longer to build, and it is a very good way to learn how a display talks to an ESP32.

You can watch the full build here: Level Up Your ESP32 Build with Custom TFT Animations. Below is a written version of what happens in the video, with a few extra notes from teaching this kind of project.

What you need

The parts list is short, which is part of the appeal:

  • An ESP32 development board. In the video I use a simple dev module, but any ESP32 will do. If you want one that is easy to find your way around, the ESP32 Development Board 30-pin works well on a breadboard.
  • A round TFT screen. This is the Round 1.28-inch TFT Display, 240 x 240, an IPS panel that talks to your board over SPI.
  • Two breadboards, so the screen and the board each have room and every pin is easy to reach. A half-size breadboard is plenty for each.
  • Jumper wires.

Round screens are fun because they change how you think about layout. A face fits a circle naturally, and so does a clock, a gauge or an eye. That is also why this screen is a good candidate for a wrist piece, which is where I plan to take it in a later build.

Step 1: Wire it up, one end to the other

Lay the board and the display on the breadboards so the pins do not crowd each other. Then start at one end of the display header and work along it, one wire at a time. The video shows this part at speed, so slow down when you do it yourself and tick each connection off as you go. A screen that stays black is almost always a swapped wire, not a broken part.

Step 2: Define your pins first

The most important part of the code is the block of pin definitions near the top. It tells the program which ESP32 pins your display is connected to, and it has to match your wiring exactly. If you changed a wire, change the number in the code. If you are not sure which pins are safe to use, my guide to ESP32 dev module pins will save you some head-scratching.

The code works the same in the Arduino IDE or in PlatformIO. I use PlatformIO, and the sketch is on my GitHub, linked from the video description, so you can copy and paste it rather than typing it out.

Step 3: Say hello world

Before any animation, upload a hello world. This is the same habit as blinking an LED: prove the wiring and the code are correct with the simplest possible test. When text appears on the round screen, you know every wire is in the right place and you can move on with confidence.

If your upload says Connecting...

This one catches a lot of beginners. On my board I need to hold the boot button and press reset to get code onto it. If your upload sits on Connecting with a row of dots, do the same: press and hold BOOT, tap RESET, release RESET, then release BOOT. The upload should start. If it still will not connect, a missing USB driver is the next most common culprit, and I have a walkthrough for that in How to Install CP210x USB Drivers for ESP32.

Step 4: The fun part

Once hello world works, upload the animation sketch. The first thing you see is a happy face, followed by a handful of different expressions, and then a small pixel cat. None of it needs extra hardware. It is all drawing on the same screen you just wired, which makes it a very approachable way to learn how shapes, colours and timing work on a display.

Here is how I would use it as a teaching exercise. Change one thing at a time: the colour of the eyes, the length of a blink, the order of the expressions. Each small edit teaches you what a line of code does without risking the whole project. Students tend to stay interested far longer when the result is a face that reacts to them rather than a number in the serial monitor.

Where to take it next

A few ideas if you want to push this further:

  • Make the face react to a button or a touch input, so it smiles when you tap it.
  • Move the electronics onto a small perfboard and mount the screen on a strap for a wrist-worn piece.
  • Draw your own pixel character by editing the cat sprite.

Since the screen is round, it also suits a badge, a brooch or the front of a bag, anywhere you would like a bit of personality that moves.

Get the parts and watch along

If you want to follow the video exactly, the display and board are linked above. I am also live on Wednesdays, so bring your questions and your wiring photos. And if you build your own animation, I would love to see it.

Watch the video: https://youtu.be/O_dWnbVqegw

Back to blog

Leave a comment