Course Booklets

Beginner-friendly activity books packed with diagrams, code walkthroughs, and theory. Read below or use your browser's Print → Save as PDF to download.

Rysera Intermediate Course · Session 1

Let's Get Started!

Day 1: Icebreaker — Meet Your Device
Saturday, March 14, 2026 · 3:00 PM
Download PDF
ESP32 Dev Board — the brain of the Medibox
The ESP32 Dev Board — the brain of your Medibox. Wi-Fi + Bluetooth built in.

Welcome to the Rysera Intermediate Course — Course on Integrated System Design! Over the next few weeks you're going to build something really cool: a Medibox.

What is a Medibox?

A Medibox is a smart medicine dispenser — a device that reminds you to take medicine at the right time, shows the time and environment conditions on a screen, and can even be controlled from your phone. Think of it as a mini hospital device you build yourself.

By the end of this course, you'll have:

  • Wired up real electronic components on a circuit board
  • Designed your own PCB (Printed Circuit Board) in professional software
  • Written C++ code to make your device work
  • Connected your device to the internet
  • 3D-designed and printed an enclosure for it

Today we're going to work with the 1.3" TFT Display. TFT stands for Thin Film Transistor — it's a colorful screen, just like the screen on your phone, but much smaller!

1.3 inch TFT display module
1.3" TFT (240×240)

The display has 8 pins — power, ground, and 6 signal wires. It communicates using SPI which means it only needs a few wires to send a full-color image to the screen at high speed.

Specs at a Glance
Screen size1.3 inches diagonal
Resolution240 × 240 pixels
Colors65,536 colors (16-bit)
InterfaceSPI (Serial Peripheral Interface)
Voltage3.3V (powered by ESP32)

What is SPI?

SPI — Serial Peripheral Interface — is a communication "language" that your ESP32 and TFT screen use to talk to each other. Think of it like texting: the ESP32 sends messages (pixel data), and the TFT displays them.

SPI uses 4 wires:
  • MOSI — Master Out, Slave In (ESP32 → TFT, sends data)
  • MISO — Master In, Slave Out (TFT → ESP32, sends data back)
  • SCLK — Clock (keeps both devices in sync)
  • CS — Chip Select (tells the TFT "hey, I'm talking to you!")

Wiring Diagram (ESP32 → 1.3" TFT)

TFT PinESP32 PinWhat it Does
VCC3.3VPower supply for the screen
GNDGNDGround (completes the circuit)
SCL (CLK)GPIO 18Clock signal
SDA (MOSI)GPIO 23Data from ESP32 to screen
RES (RST)GPIO 4Reset pin
DCGPIO 2Data/Command selector
CSGPIO 5Chip select
BLK3.3V or GPIOBacklight (optional)

Let's write your first Medibox code! Follow the steps below carefully.

1
Wire up the TFT display
Using the wiring table above, connect your TFT display to the ESP32 on your breadboard. Double-check each wire — a wrong connection can prevent the screen from working!
2
Open Arduino IDE
Open Arduino IDE on your laptop. Make sure you have selected ESP32 Dev Module as your board under Tools → Board.
3
Install the TFT_eSPI library
Go to Sketch → Include Library → Manage Libraries. Search for TFT_eSPI by Bodmer and click Install. This library speaks SPI to our TFT screen.
4
Upload the starter code
Copy the code below into a new sketch and upload it to your ESP32.
// Day 1 Starter Code — Display Your Name
#include <TFT_eSPI.h>
#include <SPI.h>

TFT_eSPI tft = TFT_eSPI();

void setup() {
    tft.init();
    tft.setRotation(1);
    tft.fillScreen(TFT_BLACK);

    // Set text properties
    tft.setTextColor(TFT_GREEN, TFT_BLACK);
    tft.setTextSize(3);

    // Display your name!
    tft.setCursor(20, 80);
    tft.print("Hello, World!");
}

void loop() {
    // Nothing here for now
}
Challenge: Can you change the text to display your name? Or try changing TFT_GREEN to TFT_CYAN or TFT_YELLOW!
ESP32
A powerful Wi-Fi + Bluetooth microcontroller chip
TFT
Thin Film Transistor — a type of color LCD display
SPI
Serial Peripheral Interface — a wired communication protocol
GPIO
General Purpose Input/Output — programmable pins on a microcontroller
Library
Pre-written code that adds features to your program
Pixel
The smallest unit of a display (dot of color)
Breadboard
A board for prototyping circuits without soldering
Sketch
What Arduino calls a program

New booklets and quizzes are added each week. Check back here after each session.