Mathieu Goh's Coding Projects

Hi, I am Mathieu Goh, 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 Mathieu Goh

Project 1: Bumper Track Car

Bumper Track Car

Using the coding concept of conditional statements (if-else) and touch sensor, I coded my bumper car to reverses when the touch sensor at the front of the car hits the wall.

Project 1: Bumper Track Car
Project 2: Tractor with Ultrasonic Sensor
Project 2: Tractor with Ultrasonic Sensor

Tractor with Ultrasonic Sensor

I built a semi autonomous tractor equipped with ultrasonic sensor to detect and avoid obstacles, helping farms operate machinery safely and efficiently in varied terrain.

Project 3: Ultrasonic & Infrared Activated Coin Dispenser

Ultrasonic & Infrared Activated Coin Dispenser

Having played at the arcade frequently, I designed a coin dispensing mechanism that releases coins only when 2 sensors are triggered simultaneously. This ensures that the mechanism releases coins only when both conditions are met, preventing accidental dispensing.

Project 3: Ultrasonic & Infrared Activated Coin Dispenser
Project 4: Smart Driving Vehicle with Touch and Ultrasonic Sensors
Project 4: Smart Driving Vehicle with Touch and Ultrasonic Sensors

Smart Driving Vehicle with Touch and Ultrasonic Sensors

I designed a smart geared car equipped with sensors to model an autonomous driving vehicle. When the touch sensor is triggered, the car moves, mimicking the “start” command in autonomous vehicles. It stops when the ultrasonic sensor detects obstacles, like the radar system in real autonomous cars and reverses to its original starting position, all without any human guidance beyond the initial touch.

Project 5: Autonomous Motion Robot

Autonomous Motion Robot

I designed a autonomous motion robot that follows a predefined black line path. This is used to navigate library floors. Using 2 color sensors, it allows for better, accurate detection of the line position, makes smoother turns and responds faster to changes in path direction.

Project 5: Autonomous Motion Robot

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:

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: