Autonomous sensors are of interest in all cases where a continuous power source is not available or difficult to realize. Besides harvesting of electrical energy for a complex storage system, it is of interest to directly store an event in a non-electrical storage, but in a way that allows a later electrical read-out. Therefore, a miniaturized micromechanical binary counter is presented, which enables counting of threshold events, such as exceeding temperature limits or high mechanical shocks. An electro-mechanical digital-to-analog converter integrated in the binary counter is demonstrated as an option for monolithic electrical read-out of the mechanically stored information.