Find all your DIY electronics in the MakerShed. 3D Printing, Kits, Arduino, Raspberry Pi, Books & more!

Spotted in the MAKE Flickr pool, a nifty laser “sundial,” controlled by an ATtiny24 MCU and a servo:

An Atmel ATtiny24 microcontroller drives an R/C servo which in turn rotates a line LASER taken from a LASER level.

The microcontroller runs a software real time clock and turns the servo and the line LASER to mimic the shadow cast from the style of a sundial as the time goes.

XXI century sundial – Now for Arduino also!

Gareth Branwyn

Gareth Branwyn is a freelancer writer and the former Editorial Director of Maker Media. He is the author or editor of a dozen books on technology, DIY, and geek culture, including the first book about the web (Mosaic Quick Tour) and the Absolute Beginner’s Guide to Building Robots. He is currently working on a best-of collection of his writing, called Borg Like Me.



  1. morezane says:

    love it love it love it

  2. celeriac says:

    This is not a sundial. This is a clock. I wonder whether they know what the word “sun” means.

    1. Anonymous says:

      I bet they do know what the word sun means. They are using a laser and some hackery to recreate it’s path indoors.

      1. Dave Bell says:

        No, thy are not recreating the sun’s path indoors, unless I missed something unsaid in the write-up. The sun’s path is a complex two-sinusoidal function forced by the Earth’s orbital motion, not a straight-forward 24 equal hours clock.
        That certainly could be coded into the Arduino, though…

        For some real sundials, you might want to check out this huge collection of photos and info:


    2. Michael Fusion says:

      you know, that’s why the word “sundial” is in quotes, it means that it is being taken out of the vernacular.

In the Maker Shed