Wee Jia Jun's Coding Projects

Hi, I am Wee Jia Jun, and I love exploring robotics and block‑based coding. I enjoy solving problems by building creative projects that mix hardware and code. My projects range from designing robots using LEGO Technic parts to programming sensors with block‑based code!

Portrait of Wee Jia Jun

Project 1: Touch-Activated Catapult

Touch-Activated Catapult

I built a catapult using LEGO Technic parts that launches bullets when a touch sensor is pressed. Working on this taught me that simple code can control real machines – it was super cool to see the catapult move exactly when I touched it!

Project 1: Touch-Activated Catapult
Project 2: Ultrasonic Activated Bumper Car
Project 2: Ultrasonic Activated Bumper Car

Ultrasonic Activated Bumper Car

I created a bumper car that stops as soon as it gets too close to an obstacle. Using an ultrasonic sensor, I set a distance threshold. This project made me feel like a real engineer by teaching me how sensors help robots react to their surroundings.

Project 3: Distance Activated Shooter

Distance Activated Shooter

I built a shooter robot that only fires when two ultrasonic sensors detect a target at the same time. It was like creating my own mini arcade game, and it taught me how combining sensors can make robots more accurate.

Project 3: Distance Activated Shooter
Project 4: Arcade Gripper
Project 4: Arcade Gripper

Arcade Gripper

Inspired by claw machines at arcades, I built a gripper that opens with one touch and closes with another. This project helped me understand how different sensors can control different actions, just like buttons on a game machine.

Project 5: Colour Activated Propellers

Colour Activated Propellers

I built a model of airplane propellers using LEGO parts. When a colour sensor is triggered, the propellers spin—and a second sensor controls which way they spin. This project made me see how even small sensors can bring a model to life!

Project 5: Colour Activated Propellers
Project 6: Automated Speed Increasing Lazy Susan
Project 6: Automated Speed Increasing Lazy Susan

Automated Speed Increasing Lazy Susan

I built an automated lazy susan that speeds up every time a colour sensor detects a change. This project taught me how variables in code can change the speed of a motor, and it was really fun to see the table spin faster with each change!

Simple Division (simple_division.py)

Description:

This project shows how to calculate the remainder when one number is divided by another. It’s a great way to practice using arithmetic and the modulo operator (%).

Diagram:

simple_division.png

Trinket:

Leap Year Checker (leap_year.py)

Description:

This program checks if a given year is a leap year by using if-else statements to handle divisibility by 4, 100, and 400. It demonstrates how to make decisions in code based on multiple conditions.

Diagram:

leap_year.png

Trinket:

Prime Number Guesser Game (prime_number_game.py)

Description:

This game challenges you to decide if a number is prime by using if-else statements. It’s a fun way to reinforce the concept of prime numbers and divisibility in code.

Diagram:

prime_number_game.png

Trinket:

Simple Login System (login_system.py)

Description:

This project is a simple login system that checks if the entered username and password match preset values. If they do, the user is logged in; otherwise, they must try again. It demonstrates how if-else statements handle multiple outcomes based on user input.

Diagram:

login_system.png

Trinket:

Calculator Factory Production Tracker (factory_tracker.py)

Description:

In this project, I tracked the production rate of a calculator factory that follows an arithmetic progression. I calculated the number of calculators produced on day 30 and the total after 30 days. This shows how loops can handle repeated calculations for real-world scenarios.

Diagram:

factory_tracker.png

Trinket:

Library Inventory (inventory_progression.py)

Description:

In this project, I managed an imaginary library's inventory using a for loop to calculate the number of books on day 20 and the total after 20 days. This project shows how for loops make it easy to perform repetitive tasks.

Diagram:

Diagram for Library Inventory

Trinket:

Palindrome Checker (my_palindrome_checker.py)

Description:

In this project, I used a while loop to reverse a word and check if it is a palindrome. The loop goes through every letter until the word is reversed. This is important because while loops let me repeat actions until they’re done, which is useful for checking words.

Diagram:

Diagram for Palindrome Checker

Trinket:

Countdown Timer (my_countdown_timer.py)

Description:

In this project, I built a countdown timer that uses a while loop to count down from a starting number until it reaches 1. This is important because it shows me how to repeat an action until a condition is met.

Diagram:

Diagram for Countdown Timer

Trinket: