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
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:
- a jmd1.3a oled display
- a arduino uno
- a green led
- a red led
- two 220k resistors
- one solderless breadboard
- three push buttons
- and at least 15 jumper wires
Add the Items
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
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
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
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
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?
now wire the buttons to GND
Idk What to Name This Step
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
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.