Pearson Higher Nationals in Electrical & Electronic Engineering/ Mechanical Engineering

Published on
Embed video
Share video
Ask about this video

Scene 1 (0s)

[Audio] Welcome to my LED Memory Game presentation for the Microcontroller Systems assignment..

Scene 2 (11s)

[Audio] My name is A Nipuna Niroshan Silva and my index number is 249419 from ESOFT College of Engineering and Technology..

Scene 3 (24s)

[Audio] This project implements an interactive memory game where players must remember and repeat sequences of blinking LEDs. The system features progressive difficulty, multiple peripheral integration, and persistent high score storage using EEPROM..

Scene 4 (41s)

[Audio] The circuit uses an Arduino Uno microcontroller with five LEDs, five corresponding buttons, a buzzer for audio feedback, a 20x4 LCD display with I2C communication, a joystick for control, and EEPROM for high score storage..

Scene 5 (58s)

[Audio] LEDs are connected to digital pins 2 through 6. Buttons use pins 7 to 11 with internal pull-up resistors. The buzzer is on pin 12 for PWM control. The LCD uses I2C communication, and the joystick connects to analog pin A0.

Scene 6 (1m 16s)

[Audio] Key design features include internal pull-up resistors for buttons, PWM for generating buzzer tones, I2C communication for the LCD display, analog input for joystick control, and EEPROM for persistent data storage.

Scene 7 (1m 33s)

[Audio] The code structure includes a setup function that initializes all components, reads high scores from EEPROM, and displays a welcome message. The main loop handles the game cycle, level management, and input processing..

Scene 8 (1m 48s)

[Audio] Key functions include playSequence which displays LED patterns with buzzer tones and controls timing. getPlayerInput reads button presses, stores the player's sequence, and manages input timing..

Scene 9 (2m 1s)

[Audio] Validation functions include checkGameOver which compares sequences and validates player input, and gameOver which displays the final score, updates high scores in EEPROM, and resets the game state..

Scene 10 (2m 15s)

[Audio] Sequence management uses random generation stored in arrays with a maximum of 20 steps. The sequence length increases progressively with each level, and real-time validation ensures accurate gameplay..

Scene 11 (2m 29s)

[Audio] The difficulty system uses timing-based challenges where speed increases with higher levels. The joystick controls settings, and the system provides adaptive challenge progression to maintain engagement.

Scene 12 (2m 42s)

[Audio] The technical implementation uses arrays for efficient sequence storage, INPUT_PULLUP for simplified button wiring, modular code structure for maintainability, and millis() for precise timing control..

Scene 13 (2m 58s)

[Audio] EEPROM integration provides single address storage for high scores, ensuring data persistence across power cycles. The system automatically compares new scores with stored highscores..

Scene 14 (3m 11s)

[Audio] Performance features include O(n) time complexity for sequence validation, minimal memory usage, real-time responsiveness for user input, and efficient use of microcontroller resources..

Scene 15 (3m 26s)

[Audio] Now beginning the live demonstration. I'll show the complete game flow from welcome screen through sequence display, player input, validation, and level progression..

Scene 16 (3m 37s)

[Audio] Demonstrating key features including LED blinking patterns with corresponding buzzer sounds, button input response, real-time LCD updates showing level and score, and automatic score calculation.

Scene 17 (3m 54s)

[Audio] Showing level progression where sequence length increases with each successful round, timing speed adjusts for difficulty, scores increment automatically, and visual feedback is provided to the player..

Scene 18 (4m 8s)

[Audio] Demonstrating the game over scenario with sequence mismatch detection, final score display, automatic high score checking, and EEPROM update if a new high score is achieved..

Scene 19 (4m 19s)

[Audio] Confirming EEPROM persistence where high scores survive system resets, multiple gaming sessions are maintained, data integrity is verified, and consistent performance is demonstrated..

Scene 20 (4m 32s)

[Audio] Technical achievements include complete game implementation, successful multi-peripheral integration, real-time system performance, reliable persistent data storage, and robust error handling..

Scene 21 (4m 46s)

[Audio] This project demonstrates academic merits in embedded systems principles, microcontroller programming, hardware interfacing techniques, software engineering practices, and systematic problem solving..

Scene 22 (5m 1s)

[Audio] The project successfully meets all assignment requirements including circuit design, code implementation, game functionality, EEPROM integration, and comprehensive documentation..

Scene 23 (5m 13s)

[Audio] The LED Memory Game assignment is now complete. Thank you for watching this presentation..