Clock.
Clock Face |
If I left the clock like this, it wouldn't reset, so there is an algorithm to reset the clock once it reaches 23:59 each day.
The seven segment displays were created with the array and cluster options in labview. The array is two dimensional and contains all of the boolean combinations for lighting the LEDs, along with the numbers they are supposed to display. The individual digits extract these values from the array, and send them to the cluster whichh will light up the specified number.
Alarm.
The alarm function was created by creating another display where someone could input the time they want it to trigger by turning a dial. When the current time matched this value, the LED would light up, a message would display and an alarm noise would trigger.
The clock face when the alarm is activated. |
The interface to allow the user to set the alarm. |
Snooze.
I also decided to add a snooze function to the clock. The user would be able to extend the alarm between 1 and 60 minutes when it activates. The user would be able to press "snooze" as many times as they want until they press the "Stop alarm" button, which would reset the alarm back to it's original value.
The interface for setting the snooze time. |
There are still some small bits of tidying up to do, but the functionality of the clock is generally complete. Video to come soon...
No comments:
Post a Comment
Comments: