Build an hourglass with arduino and gyroscope. Based on the Viral Dodhia project. I have modified some lines of the original code so that the initial calculation is a little faster and the sand moves more fluidly.
π§ Arduino nano
![]() |
π΄ MAX7219 (x2)
![]() |
π§ MPU6050
![]() |
Copy the "Delay" folder into the arduino library directory.
π Default -> C:\Users\{username}\Documents\Arduino\libraries
βοΈ Install the following libraries from arduino IDE.
I add different variants to adjust it to your liking. The most complicated thing is to find a structure to put the components, I got it a wooden box.