Skip to content
Driving clock mechanism from Turris Router
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
clock.py
fakegpio.py
goto.py
gpio.py
gpio_turris.py
nvramstore.py
statestore.py
turrisclock.init
turrisclock.py

README.md

TurrisClock

Driving clock movement from the Turris Router.

See the project page for more informations.

This is a simple set of python scripts for driving hardware clock connected to GPIO pins of a computer (like Turris router). Two GPIO pins are used. First GPIO pin named CLK enables/disables powering the step motor (0 = powered off, 1 = powered on). Second GPIO pin is used to control the polarity of current flowing through the motor. In case the clock movement appears to be 1 second slow, you should either swap wires connecting the step motor or activate polarity inversion in Clock class.

You can’t perform that action at this time.