|25||EarlyBird Alarm Clock
When I need to wake up early, I usually set an alarm. The problem is that oftentimes I just hit the snooze button and fall back asleep.
We will address the problem by creating an alarm clock that runs around your room blaring an alarm. When the user catches the clock, they need to solve a math equation in order to turn off the alarm.
1. **The Alarm Clock**
The alarm clock will display the current time on a hex display. It will allow the user to change the current time and set an alarm using push buttons. A microcontroller will keep the time using a watch crystal, and display the current time on a hex display. At the specified alarm time, the clock will produce a loud noise through a speaker.
2. **The car**
The alarm clock will be mounted on top of a car. When the alarm is ringing, the car will start navigating around the room with obstacle detection. The car will be a 4-wheel drive, with a servo behind each wheel. The front of the car will have an ultrasonic sensor mounted on a servo. The servo will periodically scan the 180 degrees at the front of the car, looking for obstacles. Based on the ultrasonic sensor, the microcontroller will map a path for the car.
3. **The math equation**
When the user catches the car, they need to solve a math equation in order to turn the alarm off. The microcontroller will randomly pick a single digit number and a double digit number, and compute their product. The user needs to enter the correct the product using push buttons, and then the alarm will be deactivated. The operands as well as the user’s input will be displayed on hex displays.
**Criterion for Success**
To measure our success, we’re basing it on these requirements:
**Clock Capabilities: +2**
The clock unit needs to display the correct time, allow the user to set the time and alarms, and produce a loud sound at the specified alarm time.
**Autonomous Movement: +3**
This part involves the car having the capability to detect it’s path and determine if an object is in the way or not. It should also be able to avoid certain zones (such as under the bed, or in a trash bag).
**Math Equation: +3**
A random double digit multiplicand and random single digit multiplier are displayed on the HEX display. The user can input 3 digit numbers on the hex display. The microcontroller correctly computes the product, and compares the user input to the computed product. If they match, turn off the alarm clock, else, generate a new equation and keep the alarm on.
**Documentation & Paper Work: +2**
Not only is the hardware component a part of our laboratory, we think that setting good discipline with documentation is integral to the success of our senior design project.