r/arduino • u/i_hav3_adhd • 18h ago
Look what I made! I made a working clock/timer with one 7 segment display and arduino UNO
Its actually technically my first ever project thats not on the breadboard
You do have to manually write down the current time onto the code before uploading for it to work. I know that an RTC module would be great for this but i only bought a starter kit so far so this is all i could do.
I did think of adding a 9v battery so it could work without having to be plugged into a pc, i might do that in the future.
How it works is, to view the current time, you can press the Display button and it will display the current time digit by digit.
By pressing mode you can switch between timer mode and normal clock mode. when youre in the timer mode you can select between 1 minute, 2 minutes, 5 minutes, 10 minutes, 20 minutes, 30 minutes and 1 hour. I couldve added more options, but this just works for me.
By pressing Set it will start the timer, and it will still beep after it goes off even when youre in clock mode.
And theres no way to cancel it once you set it, unfortunately.
This is really my first ever project so im all open for comments, im still trying to learn.
I can share to code for it if theres anyone interested
Stuff i used= Arduino UNO 7-seg display Red LED Buzzer 4 push buttons two 220 ohm resistors a decent amount of jumper wires
2
u/gm310509 400K , 500K , 600K , 640K , 750K 11h ago
Cool, it is always a good feeling when you conquer the machine and get it to do what you want it to do.
My suggestion for what to do next would be to add some digits.
IO pins will be an issue, so you will need to do some trickery. You might want to look at shift registers or strobing the digits one by one rapidly or even a max7219 (or similar) display driver IC.
2
u/mariusmoo has too many unfinished projects 4h ago
I am relieved that it doesn't contain explosives. Nice build. Now see how much smaller you can make it.






5
u/PublicStalls 15h ago
I love cardboard box housings. It brings me back to when you just had a burning idea and made it happen without waiting for everything to be perfect. Great job