All paths

Touch apps on the Cheap Yellow Display

Make touch-screen gadgets on the Cheap Yellow Display, an ESP32 with a screen built in: shapes, text and fonts, touch points, buttons on screen, a WiFi clock, and a space mission panel.

Cheap Yellow Display (ESP32-2432S028R)Free7 lessons5 h4 chapters1,800 XPEmbedded engineering · Beginner+100 XP

0 of 7 done

What you will build

3 projects, built step by step

7 lessons in 4 chapters, about 5 hours on a simulated Cheap Yellow Display (ESP32-2432S028R). Free, in your browser, every step checked by the simulator.

Chapter 1 project

Drawing shapes

A night launch in pixels: coordinates where y grows down, lines, rectangles, circles and triangles, colors as RGB565 numbers, and a satellite animated by erasing and redrawing.

Open it in the simulator
Chapter 2 project

Touch points

Where did the finger land? Read the XPT2046 touch chip, see its raw numbers, map them to pixels, draw a crosshair, and find out what calibration is by getting it wrong.

Open it in the simulator
Chapter 3 project

A WiFi clock

Join WiFi, ask a time server for the time with NTP, add a time zone, and show it in seven-segment digits. The network is simulated, and the lesson says exactly what that means.

Open it in the simulator
The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

The screen

The board, then shapes, colors and animation.

  1. Open175 XP

    The board tour

    Meet the Cheap Yellow Display: an ESP32 glued to a touch screen. Where the screen, the touch film, the RGB LED and the free pins are wired, and a first hello on the screen.

    0 of 6 steps

  2. ProjectLocked350 XP

    Drawing shapes

    A night launch in pixels: coordinates where y grows down, lines, rectangles, circles and triangles, colors as RGB565 numbers, and a satellite animated by erasing and redrawing.

    0 of 6 steps

4 questions, graded as you go.
Chapter 2

Words and touch

Fonts and text, and where a finger lands.

  1. Locked175 XP

    Text and fonts

    Words and numbers on the screen: TFT_eSPI’s numbered fonts measured in pixels, the text datum that anchors a string, scaling, and a score that counts up without flicker.

    0 of 6 steps

  2. ProjectLocked350 XP

    Touch points

    Where did the finger land? Read the XPT2046 touch chip, see its raw numbers, map them to pixels, draw a crosshair, and find out what calibration is by getting it wrong.

    0 of 6 steps

4 questions, graded as you go.
Chapter 3

Real apps

Buttons that do things, and a clock that asks the internet.

  1. Locked175 XP

    Buttons on screen

    Turn rectangles into buttons: a struct for each one, a hit test, a pressed look, and an action. Three buttons that light the board’s RGB LED red, green or blue.

    0 of 6 steps

  2. ProjectLocked350 XP

    A WiFi clock

    Join WiFi, ask a time server for the time with NTP, add a time zone, and show it in seven-segment digits. The network is simulated, and the lesson says exactly what that means.

    0 of 6 steps

4 questions, graded as you go.
Chapter 4

Project

A touch remote: a space mission panel.

  1. Locked225 XP

    Project: a space mission panel

    A touch remote for a rocket: ARM, LAUNCH and ABORT buttons drive a safe, armed, countdown and liftoff state machine, light the LED, and send every command over serial.

    0 of 8 steps

3 questions, graded as you go.
Syllabus

Every lesson in the course

All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

The screen

  1. The board tourMeet the Cheap Yellow Display: an ESP32 glued to a touch screen. Where the screen, the touch film, the RGB LED and the free pins are wired, and a first hello on the screen.
  2. Drawing shapesA night launch in pixels: coordinates where y grows down, lines, rectangles, circles and triangles, colors as RGB565 numbers, and a satellite animated by erasing and redrawing.
Chapter 2

Words and touch

  1. Text and fontsWords and numbers on the screen: TFT_eSPI’s numbered fonts measured in pixels, the text datum that anchors a string, scaling, and a score that counts up without flicker.
  2. Touch pointsWhere did the finger land? Read the XPT2046 touch chip, see its raw numbers, map them to pixels, draw a crosshair, and find out what calibration is by getting it wrong.
Chapter 3

Real apps

  1. Buttons on screenTurn rectangles into buttons: a struct for each one, a hit test, a pressed look, and an action. Three buttons that light the board’s RGB LED red, green or blue.
  2. A WiFi clockJoin WiFi, ask a time server for the time with NTP, add a time zone, and show it in seven-segment digits. The network is simulated, and the lesson says exactly what that means.
Chapter 4

Project

  1. Project: a space mission panelA touch remote for a rocket: ARM, LAUNCH and ABORT buttons drive a safe, armed, countdown and liftoff state machine, light the LED, and send every command over serial.
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Touch apps on the Cheap Yellow Display

Is Touch apps on the Cheap Yellow Display free?

Yes. All 7 lessons of Touch apps on the Cheap Yellow Display are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Cheap Yellow Display (ESP32-2432S028R)?

No. Every lesson runs on a simulated Cheap Yellow Display (ESP32-2432S028R) with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Touch apps on the Cheap Yellow Display take?

About 5 hours: 7 lessons in 4 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Drawing shapes, Touch points and A WiFi clock.

Where do I start?

With "The board tour", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.