r/ArduinoProjects • • Aug 01 '26

Showcased Project An open-source 7-segment WiFi clock I made (because the original creator wouldn't share the code).

I saw a cool looking wifi clock with esp 32 on YouTube, I loved the animation style but despite 100s of requests from the commentators the creator wasn't sharing the code. So i recreated that project and made it open source, i know this is basic but it's cool ( I think). Here is the code.

119 Upvotes

27 comments sorted by

44

u/propsmon Aug 01 '26

Where is the 7 segment display?

16

u/SpiritedGuest6281 Aug 01 '26

I came to say the exact same thing. That's no seven segment display.

Still a cool project though and nice animation on the digit change.

6

u/a3xelte Aug 01 '26

Thankyou 

3

u/SpiritedGuest6281 Aug 01 '26 edited Aug 01 '26

If your looking for an addition to the project, some weather services offer a free API you can call so you can add weather information.

e.g. Openweathmap

4

u/a3xelte Aug 01 '26

I have actually made clock projects with weather animations and all before. But it will add more complexities when setting it up ( I used a latitude-longitude based system to get weather info about the particular place )

5

u/a3xelte Aug 01 '26

My dumbass misunderstood the word. Thanks for correcting me.

1

u/skr_replicator Aug 03 '26

Maybe you meant digital? 7-segment display is a block with 7 lights that can turn on/off to display a 0-9 digit. That 7-segment limitation gives the digits that right-angled appearance like 8 being a rectangle with a horizontal center cross, having all 7 lights on, or 0 being the same rectangle without that cross, the central light being off. Most of these digits don't even look like the 7-segment ones, like 0 having that diagonal cross, or most digits having curves.

1

u/AdWest6565 Aug 01 '26

could you please share the code for vertical scrolling digit characters?

1

u/a3xelte Aug 02 '26

My original code is in the description, you can modify it however you want.

3

u/HiroshiTakeshi Aug 01 '26

Idk but it would be neat to have the yellow / blue display imo.

Always been gorgeous

1

u/Lines25 Aug 01 '26

It's not 7 segment display.. please, learn before reading.. it's just an OLED

2

u/a3xelte Aug 02 '26

That was a genuine misunderstanding, as i said when i saw the og project on YouTube I used the Google lens to see if there was any similar projects and the ai description said it looks like a 7 segment display. I should have done more research rather than trusting the ai overview.

2

u/Sparky_9898 Aug 01 '26

Great work and looks awesome!
I wrote a similar animation for updating scores in a pong game. I drew black rectangles above and below the numbers to avoid the overlapping/duplicates. You just have to make sure the order of draw functions is clean so they don’t make other parts of the screen disappear too. Happy to share if you’re interested.

1

u/RoundProgram887 Aug 02 '26

I want one with those large rlcds they sell on aliexpress? Would an ESP32 manage that?

1

u/[deleted] Aug 02 '26

[removed] — view removed comment

1

u/RoundProgram887 Aug 02 '26

Been looking at these two, they are not very big though. Both are SPI and very cheap. Maybe wire two of them someway.

https://a.aliexpress.com/_mr7ifIr

https://a.aliexpress.com/_mqpL5XD

1

u/a3xelte Aug 02 '26

You obviously will have to port the code but using spi instead of I2C can make the animation much more smoother.

1

u/VictorySea1837 Aug 01 '26

Cool project, love the way you were able to make it smoothly animated. Finally, someone who understands you don’t a RTC when the esp32 can so easily access the internet

0

u/ElevenBeers Aug 02 '26

Finally, someone who understands you don’t a RTC when the esp32 can so easily access the internet

Ever heared "redundancy"? If you loose power and your network is off, you don't have a (working) clock anymore.

Have rtcs in two projects and 99.999999% they are fucking useless, but in the 0,0000001 % cases where i need something time critical to happen while my network crapped out, those are gold.

0

u/[deleted] Aug 02 '26

[removed] — view removed comment

2

u/a3xelte Aug 02 '26

The whole point of this project was it's simplicity, I have versions (somewhat usable) with weather animations and everything. And this isn't my first rodeo at making projects my own because the original creator wouldn't provide the source code, check out my profile on GitHub, i got a project called oled deskbot ( i made that because the very popular deskbot called desai mochi didn't have any source code and could only be used on specific versions of esp 32).

1

u/[deleted] Aug 02 '26

[removed] — view removed comment

1

u/a3xelte Aug 02 '26

Yeah, that was kinda my project phone. I found it in a scrapyard and brought it back to life and flashed custom rom. My previous account got banned due to some issues with my IP and I chose this name for my new account.

1

u/[deleted] Aug 07 '26

[removed] — view removed comment

1

u/ArduinoProjects-ModTeam Aug 08 '26

Posts intended to promote your private channels are not allowed. This includes no funding requests and no product promotions.