Main Content

Mars clock

As a time-enthousiast I wondered how time was kept on other planets, like Mars. Of course the citizens of Mars (none found at the time of this writing) did not decide on this themselves, but NASA did.

I decided it would be cool to have a physical clock on the wall telling me the time on Mars, to get used to it in case I ever go there. There’s software for it but nothing beats a circle on the wall with arrows indicating the current time coordinates.

After pondering a bit I realised arrows would require a noisy mechanical construction and decided against this option. The circle stayed but instead I would use LEDs showing hours, minutes and seconds. This was motivated a bit by that I had bought a LED ring from aliexpress.

Things I had to do: figure out how to use the ring, figure out how time works on Mars, write software and create something I could stick to the wall.

Using the ring is simple, just use the FastLED Arduino library (and thus an Arduino - in this case an ESP8266 as I then can sync time against the internet). Connect the data-pin to pin 2 of the ESP8266 (or D2 in case of a NodeMCU/WeeMos D1) or any other pin if you like (then adjust the PIN_NEOPIXELS #define in the source code).”

Link to article

Related Content