Work Timer/manual Counter/stopwatch With Arduino

by Arduino_is_me in Circuits > Arduino

17 Views, 0 Favorites, 0 Comments

Work Timer/manual Counter/stopwatch With Arduino

20260622_113246.jpg

this is a progect where it is a stopwatch, work timer, and manual counter where you press a button and it adds a number to the count.

Supplies

for this progect, you will need:

  1. a jmd1.3a oled display
  2. a arduino uno
  3. a green led
  4. a red led
  5. two 220k resistors
  6. one solderless breadboard
  7. three push buttons
  8. and at least 15 jumper wires

Add the Items

20260622_113353.jpg

place the oled display so that it gos into the readboard and you will be able to attach jumper wires to the rails it it connected to, then add the three push buttons, and take a rubber band and attach the arduino uno to the other end of the breadboard (unless the breadboard is too small) then add the leds where they are placed in the image (or however you want)

Add Power to Breadboard

20260622_113527.jpg

using two jumper wires, attach the + rail on the breadboard to 5V on the arduino uno, then attach - on the breadboard power rail to gnd on the arduino uno. refer to image above.

Add Resistors to Leds

20260622_113503.jpg

now you need to add the two 220k resistors to the leds (you do not want them to burn out, do you?) from the diode of the led (short leg or -) to the gnd rail on the breadboard, then do the same for the other.

Power the OLED

20260622_113619.jpg

now attach GND on the OLED display to the GND rail on the breadboard, then VCC to the positive rail.

I Do Not Know What to Name This Step

20260622_113949.jpg

now attach SCL on the OLED display to A5 on the arduino, then SDA to A4, these wires carry the signal to the OLED to light up the pixels.

Power the Buttons?

20260622_114316.jpg

now wire the buttons to GND

Idk What to Name This Step

20260622_114411.jpg

now wire the yellow button in the image to pin 2 on the arduino, then the red button in the image to pin 3, then the green button in the image to pin 6.

Step 8

now wire the anode (long leg) of the green led to pin 4, then the red one to pin 5.

Upload the Code

20260622_113246.jpg

your project should now look like this, now i will give you the code to download below:

then after you upload the sketch in your Arduino ide, click upload (you may need to install the U8G2 library) and then plug the Arduino into your computer using your programing cord, and click upload. i am unable to upload videos, sorry. i hope this project works for you. oh, AND PLEASE do not leave any cuss words, inappropriate content, or links in the comments. i will report you if you do.