Arduino LED Hourglass

Difficulty: intermediate Cost: $40-65 Build time: 3-5 hours

#arduino#led-matrix#accelerometer#3d-printing#digital-hourglass

Affiliate disclosure: This page contains affiliate links. When you buy through these links, we earn a small commission at no extra cost to you. This helps us keep the site running and the links up to date.

What This Project Is

This project builds a digital hourglass using an Arduino Nano R4, two 8x8 MAX7219 LED matrices, and an ADXL335 accelerometer. When you flip the 3D-printed hourglass, virtual sand grains flow from one matrix to the other, simulating real physics. It’s a neat desk gadget and a solid introduction to combining microcontrollers, LED matrices, and sensor input.

The original Arduino Project Hub page provides the code and 3D print files, but some of the component links are generic or point to older versions of parts. This companion page offers a verified bill of materials with current buy links, clarifies critical power supply considerations, and includes practical build tips gathered from the community.

What You’ll Need to Buy

#ComponentSpecQtyBuy LinkNotes
1Arduino Nano R4Renesas RA4M1 Arm Cortex-M4 48 MHz, 5V operating voltage1Arduino Official Store — Nano R4The original project used an older Nano, but the R4 is used in the redesign. DO NOT use a 3.3V logic Nano variant.
2ADXL335 Triple-Axis Accelerometer Breakout±3g analog output1Adafruit — ADXL335 BreakoutCRITICAL VOLTAGE NOTE: The Adafruit version has an onboard regulator and accepts 5V. If you buy a SparkFun SEN-09269, it requires 1.8-3.6V and must be powered from the Nano R4’s 3.3V pin.
3MAX7219 8×8 LED Matrix ModuleMAX7219 driver IC, 8×8 common-cathode LED matrix, 5V VCC, SPI2Amazon — MAX7219 ModuleAny standard 5V MAX7219 8x8 module works. These are daisy-chained.
43.7V 18650 Lithium-Ion Battery3.7V nominal, 18650 cell format, min 1000 mAh1Amazon — 18650 BatteryAny protected 18650 cell works. You’ll need a TP4056 module to charge it safely.
5TP4056 Lithium Battery Charger Module with Protection5V/1A input via USB, 4.2V charge cutoff, over-discharge/over-current protection1Amazon — TP4056 ModuleGet the variant with built-in protection (dual-function board), not just the bare charger.
65V USB Boost Converter / Power ModuleInput 3.0–4.2V (Li-ion), output 5V, min 500 mA1Amazon — 5V Boost ConverterREQUIRED: The Nano R4 needs 5V on USB-C or 6-21V on VIN. A raw 3.7V Li-ion cell is too low. This boosts the battery voltage to 5V.
7Jumper Wires / Dupont CablesMale-to-female and male-to-male, 10–20 cm, 2.54 mm pitch1 packAmazon — Jumper WiresStandard breadboard jumper wire set.
8Soldering Iron and SolderTemperature-controlled station recommended; 60/40 or lead-free solder1 setAmazon — Soldering StationEssential for connecting components permanently.

Estimated total cost for components: $40-65

You will also need a 3D printer (FDM) to print the enclosure.

Where to Get the Files

Build Notes

About This Page

Some Assembly Mandatory builds supply guides for popular maker projects. We research and verify every component link so you can focus on building, not shopping. This guide was researched and compiled with AI assistance and reviewed by our editorial team. Found a dead link or a better component? Let us know.