Source: https://mokxi.com/learn/path/desk-buddy
Updated: 2026-11-20

All paths

# Build a desk buddy robot

Animated eyes on a round display that blink, feel, react to touch, tilt and light, ending with a robot that misses you.

ESP32-C3-DevKitM-1 Free 6 lessons 4 h 3 chapters 1,908 XP Maker · Advanced +250 XP

0 of 6 done

Start the course free Two eyes on a round screen Build it as a kit Retails for about $22, free on Mokxi. Lesson plan for teachers

What you will build

## 3 projects, built step by step

6 lessons in 3 chapters, about 4 hours on a simulated ESP32-C3-DevKitM-1. Free, in your browser, every step checked by the simulator.

Chapter 1 project

### Blink and glance

Blinks on an uneven beat and glances that ease into place, both on millis() timers so neither waits for the other.
Open it in the simulator

Chapter 2 project

### Touch and feelings

A TTP223 pad makes the robot beam, too many pokes make it cross, and being ignored makes it lonely.
Open it in the simulator

Chapter 3 project

### Meet your desk buddy

Everything together: blinking, glancing, moods, touch, a temper, dizzy spells, bedtime in the dark and loneliness when ignored.
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

## A face

Two eyes on round glass, then blinks and glances that bring them to life.

Open 212 XP

### Two eyes on a round screen

Draw two rounded eyes on a GC9A01 and slide them across the glass by repainting only the edges that move.

0 of 4 steps

Start What is in it

Project Locked 424 XP

### Blink and glance

Blinks on an uneven beat and glances that ease into place, both on millis() timers so neither waits for the other.

0 of 4 steps

Chapter 2

## Feelings

Moods as a table of numbers, and a touch pad that changes them.

Locked 212 XP

### Moods are numbers

Happy, sleepy, surprised, angry, lonely and dizzy as a handful of numbers each: lids, tilt, size and color, eased from one to the next.

0 of 4 steps

Project Locked 424 XP

### Touch and feelings

A TTP223 pad makes the robot beam, too many pokes make it cross, and being ignored makes it lonely.

0 of 4 steps

Chapter 3

## Senses

Tilt and light, then the whole robot together.

Locked 212 XP

### Tilt and light

An MPU6050 tips the gaze and makes the robot dizzy when rocked; an LDR module sends it to sleep in the dark.

0 of 4 steps

Project Locked 424 XP

### Meet your desk buddy

Everything together: blinking, glancing, moods, touch, a temper, dizzy spells, bedtime in the dark and loneliness when ignored.

0 of 4 steps

Syllabus

## Every lesson in the course

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

Chapter 1

### A face

- Two eyes on a round screen Draw two rounded eyes on a GC9A01 and slide them across the glass by repainting only the edges that move.
- Blink and glance Blinks on an uneven beat and glances that ease into place, both on millis() timers so neither waits for the other.

Chapter 2

### Feelings

- Moods are numbers Happy, sleepy, surprised, angry, lonely and dizzy as a handful of numbers each: lids, tilt, size and color, eased from one to the next.
- Touch and feelings A TTP223 pad makes the robot beam, too many pokes make it cross, and being ignored makes it lonely.

Chapter 3

### Senses

- Tilt and light An MPU6050 tips the gaze and makes the robot dizzy when rocked; an LDR module sends it to sleep in the dark.
- Meet your desk buddy Everything together: blinking, glancing, moods, touch, a temper, dizzy spells, bedtime in the dark and loneliness when ignored.

Keep going

## The next course on your track

Build a desk buddy robot is part of the robotics track, a ladder of courses from zero to expert.

Next course

### Mars rover

Drive by counting wheel slots, see hazards, do the science, then send your rover on a full mission.
Open the next course

Track

### Robotics track

Motors, servos, sensors and PID control loops, then a rover, a claw machine and a balance bot, every lesson checked on a simulated board.
See every course on the track

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.

The kit for this course

### Desk Buddy Kit

An ESP32-C3, a round eye screen, a motion sensor, a touch pad, a light sensor and a piezo.
Open the kit

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 Build a desk buddy robot

Is Build a desk buddy robot free?

Yes. All 6 lessons of Build a desk buddy robot are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real ESP32-C3-DevKitM-1?

No. Every lesson runs on a simulated ESP32-C3-DevKitM-1 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 Build a desk buddy robot take?

About 4 hours: 6 lessons in 3 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: Blink and glance, Touch and feelings and Meet your desk buddy.

Where do I start?

With "Two eyes on a round screen", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.
