Mentor/s
Tolga Kaya
Participation Type
Poster
Abstract
In this project, I created a stopwatch using a servo motor and implemented a clicker game that counts how many times the player is able to click a push button in 30 seconds. The servo motor stopwatch uses a for loop that positions the servo motor at 180 degrees (30-second mark), and ticks down every second until the position is 0 degrees (0 seconds) There was a conversion code used to maintain the accuracy of each tick. Within this for loop, there is a while loop that counts how many times the pushbutton is pressed each second and at the end, the amount for each second was summed up and displayed to show the user their final score. Prior to each game, there is a “3, 2, 1, Go!” sound effect that is created by a buzzer to indicate the start of the Clicker Game. There is also an alarm sound that indicates the end of the game.
College and Major available
Computer Engineering BS
Location
Digital Commons & West Campus West Building
Start Day/Time
4-29-2022 1:00 PM
End Day/Time
4-29-2022 4:00 PM
Prize Categories
Most Scholarly Impact or Potential, Most Creative, Best Technology Prototype (Prototype needs to be functional either physically or electronically. Examples include but not limited to phone Apps, websites, and contraptions)
Servo Motor Stopwatch
Digital Commons & West Campus West Building
In this project, I created a stopwatch using a servo motor and implemented a clicker game that counts how many times the player is able to click a push button in 30 seconds. The servo motor stopwatch uses a for loop that positions the servo motor at 180 degrees (30-second mark), and ticks down every second until the position is 0 degrees (0 seconds) There was a conversion code used to maintain the accuracy of each tick. Within this for loop, there is a while loop that counts how many times the pushbutton is pressed each second and at the end, the amount for each second was summed up and displayed to show the user their final score. Prior to each game, there is a “3, 2, 1, Go!” sound effect that is created by a buzzer to indicate the start of the Clicker Game. There is also an alarm sound that indicates the end of the game.
Students' Information
Brandon Maruri - Computer Engineering - Class of 2023