Devan Kai's Coding Projects

Hello, I am Devan! I enjoy building robots and using coding to solve real-world problems. Starting with block-based coding helped me understand how to control my robots and test new ideas. Learning robotics has strengthened my problem-solving and critical-thinking skills, because I have to break big challenges into smaller steps and troubleshoot when things don’t work as expected. It has also taught me patience and creativity, since designing, building, and programming robots often requires multiple experiments and improvements. Through robotics, I’m learning how software and hardware work together, which helps me better understand technology and how it can be used to make everyday tasks easier and more efficient.

Portrait of Devan Kai

Project 1: Bumper Car

Bumper Car

I learned how to use LEGO Technic parts to design and build functional mechanical systems. By applying coding concepts such as conditionals (if-else) and integrating various sensors, I programmed my creations to respond dynamically to their environment. One example was a bumper car that automatically reverses when its front touch sensor detects a collision—mimicking real-world applications of obstacle detection used in autonomous vehicles and robotic systems to enhance safety and navigation.

Project 1: Bumper Car
Project 2: Ultrasonic Activated Tractor
Project 2: Ultrasonic Activated Tractor

Ultrasonic Activated Tractor

I learned how to use LEGO Technic parts to design and build various mechanical structures. By applying coding concepts such as conditionals (if-else) and incorporating different sensors, I built a tractor. Using the ultrasonic sensor, the tractor moves when it detects the load on it. Such autonomous track-based vehicles are used to transport goods between different stations. Once the sensor detects the object, the vehicle automatically moves to deliver the item to the designated location. This automation reduces the need for human labor, increases efficiency, and ensures precise handling of materials.

Project 3: Touch Activated Gripper

Touch activated catapult

Having played at the arcade frequently, I decided to apply the same concepts and design principles to create a robotic gripper that opens and closes only when a touch sensor is activated. This mechanism allows for precise control, mimicking the arcade claw machine’s motion. Beyond recreation, this design has real-world applications — such as in assistive robotics, where touch-sensitive grippers can help individuals with limited mobility pick up and release objects safely, or in industrial automation, where the system can handle delicate components without causing damage. By integrating touch-based activation, the gripper combines fun design inspiration with practical functionality for real-world use.

Project 3: Touch Activated Gripper
Project 4: Ultrasonic Activated Automated Car
Project 4: Ultrasonic Activated Automated Car

Ultrasonic Activated Automated Car

I decided to create an automated car using LEGO Technic parts that can return to its original parking position after detecting an obstacle. This project simulates the logic behind autonomous parking systems found in modern vehicles. Using the concept of nested while loops with variables, I programmed the car to activate and begin moving when the touch sensor is activated. While in motion, the car continuously checks for obstacles using the ultrasonic sensor. Once an obstacle is detected, the car automatically stops and reverses back to its starting point—mimicking a vehicle returning to its parking spot.

Project 5: Tea Cup Ride

Tea Cup Ride

As someone who enjoys visiting amusement parks—especially the tea cup ride, I recreated a classic amusement park teacup ride using LEGO Technic parts. It incorporates two color sensors to make decisions about when and how to spin, based on both the color detected and the amount of reflected light. This adds a layer of safety and control that reflects how real-world rides use environment-sensitive automation.

Project 5: Tea Cup Ride
Project 6: Touch Activated Treadmill
Project 6: Touch Activated Treadmill

Touch Activated Treadmill

As someone who enjoys exercising on a treadmill, I decided to recreate an automated treadmill using LEGO Technic parts. This miniature version functions similarly to a real treadmill—its speed is controlled by user input. With the use of a touch sensor, and coding concepts such as variables and if-else statements, the treadmill increases speed with each press—just like speed adjustments on a real gym machine.