Du Shuo Xuan's Coding Projects

Hi, I'm Du Shuo Xuan! and I am 12 years old. I began learning robotics with Lego Mindstorms and block-based coding in Primary 2, building robots to automate daily tasks. This sparked my interest in solving real-world problems and exploring text-based coding with Python. I started by writing programs to solve math problems and later used Pygame to create educational games for my friends to enjoy. I have also documented my journey in robotics, coding, innovation, and STEM.

Portrait of Du Shuo Xuan

Project 1: Touch activated ping pong racket

Touch activated ping pong racket

I learnt how to use the LEGO technic parts to create different designs. Using the coding concept of conditionals (if-else), together with different sensors, I coded my designs to do certain actions only if a specific condition is met. Among many other projects, I created a ping pong racket that hits the ball if the touch sensor is activated

Project 1: Touch activated ping pong racket
Project 2: Ultrasonic activated rack and pinion door
Project 2: Ultrasonic activated rack and pinion door

Ultrasonic activated rack and pinion door

I applied coding concepts such as conditionals (if-else) and using an ultrasonic sensor, I built a rack and pinion door mechanism that automatically opens when it detects someone approaching. This project simulates real world automatic door systems commonly found in malls and offices.

Project 3: Color activated delivery vehicle

Colour activated delivery vehicle

Inspired by automated warehouse systems, I applied the design principles and coding skills I learned to build a standard robot with sensor-based control. The robot uses an ultrasonic sensor to detect when a package is placed in the box mounted on top of it. Once the package is detected within a defined distance threshold, the robot begins to move automatically. While in motion, a colour sensor continuously monitors the surface ahead, and the robot stops immediately when the colour black is detected. This project demonstrates how sensor integration and conditional logic can be used to create responsive robotic systems, similar to those used in automated logistics and delivery operations.

Project 3: Color activated delivery vehicle