A wall clock without scales and pendulum