Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.74 KB

File metadata and controls

20 lines (15 loc) · 1.74 KB
author
@riddy8051
programming_language Shell script
youtube_video_id ShmbfrEXyME
source_code_url https://github.com/riddy8051/riddy8051.github.io/blob/master/ev3dev_clock
building_instructions_url https://github.com/riddy8051/riddy8051.github.io/blob/master/Lego_EV3_Clock.pdf
excerpt An Internet-enabled analog clock.

This project is written in shell script on a lego EV3 brick running Debian EV3dev Linux. On boot the EV3 brick gets the current time from the internet via WiFi. When the clock script is started the EV3 brick finds the hands of the clock with a colour sensor and sets the clock hands to the current time. It keeps reading the current time and moves the clock hands accordingly. A medium motor is geared down 3:1 to drive the minute hand then a further 12:1 (36:1 total) to drive the hour hand. Enjoy!