Create an interactive project with just one sentence. - Wio Terminal (D51R) - dumpling—li - CodeCraft Hub
Scene: Maker. Edge AI application on CodeCraft Hub for Maker use cases.
Devices / BOM: Wio Terminal (D51R)
Maker application on CodeCraft Hub. Explore Wio Terminal through fun, easy-to-demo projects featuring games, motion controls, and creative interactions.
Documentation
This collection includes four projects:
Brick Breaker
Gesture Sketchpad
Maze Ball
Shake Fortune
These projects cover a variety of applications, including button controls, motion sensing, randomized interaction, and on-screen drawing. Each project provides ready-to-use prompts and supports one-click firmware flashing.
Suitable for: Information technology classes for upper-primary and middle-school students, maker clubs, project-based learning, science and technology exhibitions, and hands-on activities for parents and children at home.
Preparation
Hardware:
Wio Terminal × 1
USB data cable × 1 (for connecting and burning)
Tools:
Chrome / Edge / 360 Browser (must support Web Serial API)
CodeCraft platform (generate code online, no installation needed):
Deploy steps
- Brick Breaker Game
Flash firmware to your device (in-app tool on CodeCraft Hub).
Flash
Connect the Wio Terminal to your computer via USB, then double-click the left-side reset button. Click Connect Device, select the Wio Terminal’s serial port, and click Connect and Flash.
Gameplay:
Tilt Wio Terminal to roll the red ball through white walls
Reach the green goal square to auto-advance
3 levels (easy → medium → hard), victory screen on all-clear
Title screen with button-press to start
Prompt: Wio Terminal breakout game, joystick paddle, button to launch, score + lives on screen, buzzer on hit.
- Gesture Sketchpad
Flash firmware to your device (in-app tool on CodeCraft Hub).
Flash
Connect the Wio Terminal to your computer via USB, then double-click the left-side reset button. Click Connect Device, select the Wio Terminal’s serial port, and click Connect and Flash.
Gameplay:
Joystick: Move the cursor. Drawing mode is enabled by default, so moving draws lines.
Press Joystick: Switch between PEN and MOV modes. MOV mode moves the cursor without drawing.
Button A: Cycle through eight colors.
Button B: Clear the screen.
Button C: Press once to save the current drawing; press again to restore it.
Prompt: Make a Wio Terminal joystick drawing pad with A to switch colors, B to clear, C to save/undo, and a real-time status bar at the bottom.
- Maze Ball
Flash
Connect the Wio Terminal to your computer via USB, then double-click the left-side reset button. Click Connect Device, select the Wio Terminal’s serial port, and click Connect and Flash.
Gameplay:
Tilt forward or backward to move the ball up or down.
Tilt left or right to move the ball sideways.
Avoid the blue walls and reach the green goal to display “Level Complete!”
Press Button B to restart.
Prompt: Wio Terminal 3-level maze ball game, tilt to roll the ball, auto-advance on clear.
Flash firmware to your device (in-app tool on CodeCraft Hub).
- Shake Fortune
Flash firmware to your device (in-app tool on CodeCraft Hub).
Flash
Connect the Wio Terminal to your computer via USB, then double-click the left-side reset button. Click Connect Device, select the Wio Terminal’s serial port, and click Connect and Flash.
Gameplay:
After flashing, the screen will display “Shake me!”
Shake the Wio Terminal. A random fortune and blessing will appear with a sound. After three seconds, the standby screen will return automatically.
Prompt: Shake Fortune Teller for Wio Terminal: shake to draw a random English fortune + blessing, buzzer sounds.