Click to Read Part-1 first
The cardboard housing for the hourglass is completed and set aside.
I have also experimented with a simple tilt sensor, its readings are not very accurate, but very easy to use. No library is needed, you simply do an Analog reading and determine if the thing is standing upright or not.
My effort during this time mostly has been on the software side of things. For the modeling of the little balls that will fall thru the hourglass.
Started working on a new mini-project to build an hourglass using cascaded led matrix displays driven by max7219s and an arduino with some kind of a gravity sensor on it.
What makes this project interesting is I intend to make it imitate physical falling of sand particles under gravity.
Initial challenge is to have a prototype housing. As I intend to imitate a real object I cannot simply place components on a breadboard and lay it flat.
I installed the newest arduino IDE on my lubuntu machine using the arduino site instructions.
After that I can run the IDE by typing arduino from command line, which works fine but I also wanted arduino to appear as an application on the startup menu or be able to add arduino to my panel.
It is simple: Go to ~/local/share directory. If you do not see an applications directory, create one there.
Before I started writing this blog I published a simple educational library that shows how to use arduino to drive a 8x8 LED matrix display.
Library includes fun examples:
Invaders Game Scrolling Marquee Alarm Timer Detailed frizzing diagram and more are available at: Simple 8x8 Matrix Display LibraryDownload