+21622886281
Arduino TM1637 display

Create a stopwatch with Arduino and TM1637 display

Purpose of this tutorial:

In this tutorial we will see how to create a stopwatch with the Arduino board and the TM1637 display:

  • When the push button is pressed, the stopwatch is triggered.
  • When the push button is pressed again, the stopwatch stops.

Composants nécessaires

  • Arduino UNO
  • TM1637 display
  • push button
  • Test plate
  • Connecting wires

Mounting

To complete the assembly, connect:

  • VCC pin of TM1637 display to 3.3V pin of Arduino.
  • GND pin pin of TM1637 display to GND pin of Arduino
  • DIO pin of TM1637 display to pin 3 of Arduino
  • CLK pin of TM1637 display to pin 2 of Arduino
  • push button pin to pin 1 of Arduino
  • other push button pin to GND pin of Arduino

Program

Here is the program to create a stopwatch and display it on the TM1637 display.

Note: you must import the library  TM1637 .




0 commentaire


Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top