Full Version : Digital Hourglass (AVR)
avr >>HOME & TIME & TEMPERATURE PROJECTS >>Digital Hourglass (AVR)


AVR_Admin- 04-26-2006
Digital Hourglass

We decided to build a digital hourglass that simulates real-time motion that would challenge both our hardware and software skills. As one tilts the hourglass, the pixilated sand should move accordingly. The sand only falls from the top half of the hourglass into the bottom if the tilt angle is 0 or 180 degrees. Otherwise, it just bounces around in its half of the hourglass.
The challenging part of the project was drawing the “sand” on the LCD and knowing where to draw it. The LCD could only write in bytes, rather than bits, making our task much more difficult than anticipated. We utilized outside tools, such as Matlab, to test various parts of our code.
Additional features of the hourglass include:

Alarm Clock:
When all the sand reaches the bottom of the hourglass, an alarm sounds to alert the user that time is up.
Variable Sand Amount in Hourglass:
By increasing or decreasing the amount of sand in the glass, the user is able to increase or decrease, respectively, the amount of time allotted.


Link: http://instruct1.cit.cornell.edu/courses/e...2/akl4/home.htm


Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.