Let's Learn how to make an Arduino pushbutton counter. I used digispark attiny85 Arduino, but it will work with any Arduino. so you can use Arduino uno or some other if you want.
You can see how this work in video or with this link: https://www.youtube.com/watch?v=1o_9ELJzqHg
We need :
-Arduino board
-TM1637 -4 digits dispaly module
-push button
-10 resistor
-breadboard and wires
You will also need library for the module, download and install library using the link bellow.
https://github.com/avishorp/TM1637
Now, lets connect everithing together!