NUR ARISSA ZAHRA BINTI MOHAMMAD ZAID SMK DATO' AHMAD MAHER
ABSTRACT
TriNum is a creative learning tool that includes the use of both technology and craft diligently targeting individuals that suffers from certain mentality issues. It provides the use of electrical stimulation by the builder connecting all numbers into their designated places like Odd numbers, Even numbers and Prime numbers. Just like how fast the world has revolutionised, all we need to do is just click the buttons and our answers would light up with different lights, giving us the satisfactory of playing whilst also learning and moreover memorising the numbers for further education. The main objective of this project is mainly targeting people who struggles with the standard learning system and suffers a hard time to understand things that are systematic. By using this, even kindergarteners could memorize numbers with no exposure to a difficult concept. We invented this in hope to create more powerful and strong individuals that could contribute to our country’s success in the future. The first step in constructing the system is assembling the hardware. The LEDs are connected to digital output pins on the microcontroller through current-limiting resistors. The keypad is wired to designated input pins on the microcontroller, ensuring proper connection of rows and columns for reliable number entry. A common ground connection is established between all components to maintain electrical stability. The primary functions include even-odd detection, which checks if the number is divisible by 2, and prime detection, which verifies whether the number has no divisors other than 1 and itself. The main program loop continuously reads input from the keypad, processes the entered number, and activates the corresponding LED based on the detection results. The even LED lights up if the number is divisible by 2, while the odd LED illuminates if it is not. If the number is prime, the designated prime LED turns on. The program ensures that only one LED is activated at a time, preventing incorrect indications. Once testing is complete, the components are secured in an enclosure for practical use. The power supply is optimized to ensure stable performance. The project successfully developed a system that detects whether a number is even, odd, or prime using an LED display. By integrating a microcontroller with a 4x4 keypad for input, the device accurately processes numerical data and uses distinct LEDs to indicate each category. The even/odd check is performed via a simple modulus operation, while prime detection involves testing for divisibility. In conclusion, the project successfully demonstrates a practical method to determine whether a number is even, odd, or prime using a microcontroller and LED indicators. It effectively combines hardware and software components to provide clear visual feedback, serving both as a functional tool and an educational resource in basic electronics and programming.
Key Word: TriNum