Magic drawing pad
Touch · Stylus · MouseA dot has two numbers: X goes across, Y goes down. Draw here or on the little screen.
The CYD holds its drawing in RAM until you clear it or switch the power off. The PNG button saves this browser’s drawing.
STEP 1 · A GROWN-UP STEP
Plug the little screen into this computer with a USB data cable, then install its instructions below. When the install finishes, look at the screen.
A BIRTHDAY ADVENTURE IN MAKING
Happy Birthday, Theo! You’re already building with electronics and motors. This little screen is another tool for your next big idea.
Play first. Discover how it works. Teach it a new trick with Dad.
Tap the picture to open your birthday toolkit.
YOUR EXPERIMENT BENCH
These controls work in the simulator now. Connect a CYD to send the same instructions to the real screen.
A dot has two numbers: X goes across, Y goes down. Draw here or on the little screen.
The CYD holds its drawing in RAM until you clear it or switch the power off. The PNG button saves this browser’s drawing.
Letters, numbers, and everyday punctuation.
0 taps counted
TWO SCREENS, ONE IDEA
Bluetooth sends a few numbers between your CYD and this browser. It does not install firmware.
Not connected. You can keep playing locally.
Read the screen, greeting, and tap count back from the real board.
Waiting for a connected CYD.
No pointer packets received.
This is a custom Bluetooth Low Energy GATT service: a place to write instructions and read values.
Open this lab on localhost or HTTPS. A normal http://192.168… network address will not enable browser Bluetooth or Serial.
This prototype allows nearby clients to change screen content. It does not authenticate users and is not a motor-control channel.
Calibration opens on the physical CYD; follow its targets with the stylus.
NEW INSTRUCTIONS FOR YOUR GADGET
A grown-up step. Chrome’s Web Serial talks to the CYD’s USB-to-UART chip. Bluetooth is not used for flashing.
Checking the included release…
Target: ESP32-2432S028R, ILI9341 + XPT2046, 4 MB flash. Check the board label and display revision. A matching ESP32 chip alone does not confirm the screen wiring.
The included installer and firmware files are local. No CDN or online account is needed. USB drivers may need to be installed once.
Try another data cable or USB port. Check the matching CH340/CH341 or CP210x driver. If automatic boot fails, hold BOOT, press RESET, start connecting, then release BOOT. Follow the board’s labeling.
The ZIP includes the merged firmware image and scripts for Python esptool, plus the ESP-IDF source build. See the top-level README (section 5) for exact Windows and Linux commands. Install only files with the target board and offsets you understand.
The weather screen is a clearly labeled sample. This release does not configure Wi-Fi or provision through Improv Serial. NVS stores the greeting, palette, and touch calibration. This included merged-image install resets those settings, including calibration. Calibrate again after installing.
SMALL STEPS, REAL SUPERPOWERS
There is no homework before the fun. Pick one tiny mission together.
“A label is a little sign.” Change the message, then find the matching text in the code.
lv_label_set_text(label, "Hi Theo!");Move right: X gets bigger. Move down: Y gets bigger. Two numbers tell the owl where you are.
ptr:250:750:1“We sent a few numbers, not a whole picture.” Touch the CYD and watch the browser’s pointer readout.
touch → numbers → radio → dotThe touch creates an event. A little instruction chooses what happens next.
taps = taps + 1;Firmware is the program living on your CYD. The computer builds your code; flashing gives it to the board.
idea → code → build → flash
A NOTE FOR THEO
Hi Theo — Happy Birthday! You are growing so much with electronics, motors, and building things. This little computer can become part of your toolkit. We could make a weather station, a sunrise tracker, a math-practice game, or a display for one of your robots. These first tricks are just the beginning.
What should we teach it next?
firmware/main/ui.c draws the screens. board.c connects the display and touch hardware. ble.c handles radio messages. The browser’s protocol.js and bluetooth.js send the same commands from this page.
Settings change a few values. Code changes what the device can do. Start with settings; change a single behavior together when Theo is curious.
THE NEXT PAGE OF THE SPELLBOOK
The birthday kit is included. External projects have their own toolchains and licenses; they are not additional tested firmware releases in this installer.
External resources need internet access. The simulator, learning text, artwork, and included installer stay local.