r/arduino • • 19d ago

Look what I made! Simple OLED Projector Clock

The idea behind this project was that I wanted a dim (white!) clock in my bedroom rather than a floodlight on my nightstand - and I wanted to keep the design as simple as possible. I haven’t come across a setup like this before.

So I built a projector clock using a 1.3" OLED display powered by an ESP32-C3. I bought a lens with a focal length of 130 mm and a diameter of 50 mm. I designed and 3D-printed a case to fit the lens and the electronics. Afterwards, I clad the case with oak wood strips.

As you might imagine, the time is only readable when the room is dark, but that’s exactly what I wanted for my use case. I think this design should work with every display. By using just a single display as the light source, there is no need for a complex design involving lenses, an additional LED, or a separation between a display and the backlight.

There are two things I might improve in the future:

  • Even though I used matte PLA, the inside of the case still causes some light scattering, which is also projected through the lens. You can not see it on the photo because I turn on the lights a bit
  • I didn’t design a dedicated focusing mechanism. The 3D-printed component housing the ESP and OLED has a slightly tight fit, but it can still be moved by hand to adjust the focus.
831 Upvotes

49 comments sorted by

49

u/infrigato 19d ago

Cool! How did you calculate the lense properties?

47

u/udota 19d ago

I measured the distance to the ceiling and considered roughly how large the numbers should be. There wasn’t much of a selection on AliExpress, tough.

57

u/HarvieCZ 19d ago

so you were just glassballing it?

24

u/udota 19d ago

I worked with the lens equation

15

u/315Concepts 19d ago edited 19d ago

Neat project - projection engineering is such a funny dichotomy where one half is the latest display technology and the other half is just... some plain ol' glass! You say "the inside of the case still causes some light scattering" - in the pictures it looks like the PCB pads and USB connector would be contributing a lot to that issue, have you tried blocking them off with i.e. black construction paper or maybe a printed light guide with this kind of shape?

- Andrew

4

u/udota 18d ago

Thank you!

When I look through the lens from above, I can see that the walls reflect the light slightly. In my opinion, the walls should be designed in such a way that the light rays are absorbed by the case.

I’m thinking, for example, of the shape of the Taipei 101 skyscraper.

5

u/Swifty52 18d ago

That is used in camera systems a lot, a fine triangular texture, though to get good results easily I would suggest some flocking material, it comes as a sheet with adhesive back

5

u/unk2003 19d ago

What lens have you used? And any other specs please... Id love to build one...

7

u/udota 19d ago

I’ve used this lens: https://a.aliexpress.com/_EH3I4Qi
What specs do you need? The distance between the lens and the display depends on the focal length you choose. I recommend a long focal length so that its brighter

4

u/AdministrationOk6752 19d ago edited 18d ago

But with a long focal length for the same diameter more light is dispersed from the OLED to the lens! I would try a 50mm lens.

1

u/unk2003 16d ago

Link give me a 404, any alternate links?

1

u/udota 16d ago

I don‘t know why the link is not working for you guys, i just use the Share Button. The Shop is called „Shop1100031060“. Its a double convex Lens With d=50 and FL = 130

2

u/AleksLevet 750K :750K:, 2 espduino + 2 uno + 1 mega + 1 uno blown up 16d ago

Damn it. I didn't think it was so cheap. It makes me want to do it haha

9

u/omnicorp_ed209 19d ago

Good idea, nice design.

But:

  • Oleds don't last, they are planned obsolesence. Maybe you could use red led segments
  • red light ensures your eyes night view abilities

7

u/udota 19d ago

Another idea is maybe to change the OLED to a 7-segment display if you only want to show numbers.

12

u/clipsracer 19d ago

Omfg stop calling everything that doesn’t last forever planned obsolescence.

Definition: the deliberate shortening of the lifespan of a product to force people to purchase functional replacements.

1

u/BlobTheOriginal 18d ago

True, but the segment idea is good

3

u/No-Reward9417 19d ago

What about tv's like samsung and lg's

3

u/omnicorp_ed209 19d ago

They all suffer from burn in effects etc. That's why e.g. LG tv's are required to be plugged into a power socket to leth them run their anti burn in programs. It's in the manual.

2

u/biomediocre_neuron 18d ago

How much did it cost u to build? Just money not time or efforts..

4

u/udota 18d ago

Lens ~4€
ESP32 C3 ~3€
1.3 OLED ~2€
PLA ~2€
Wood ~4€
________
So about 15€

2

u/AleksLevet 750K :750K:, 2 espduino + 2 uno + 1 mega + 1 uno blown up 16d ago

This is amazing

2

u/messa_learning 14d ago

Looks awesome! WIll you be releasing some files or selling a kit?

1

u/udota 12d ago

I didn‘t found the blender-project sadly.. i‘ve made it months ago

10

u/Artew3 19d ago

"Simply Led - Holding Back the Years"

7

u/Swifty52 19d ago

Love it! Simple and inspiring

4

u/marcthenarc666 19d ago

Now that's cute.🥰

1

u/AleksLevet 750K :750K:, 2 espduino + 2 uno + 1 mega + 1 uno blown up 16d ago

Do you think it will work with some 32-by-8 max7219 matrix displays? They can get really bright and they don't really fade out over time. The problem is that they are quite big. I don't know if there are smaller versions out there.

2

u/udota 16d ago

I think this would work great with a Single 8x8 Max7219 Matrix! Another idea would be to use a 8x8 ws2812 Matrix - i will try that in the future 😊

1

u/AleksLevet 750K :750K:, 2 espduino + 2 uno + 1 mega + 1 uno blown up 16d ago

The problem is that you wouldn't get enough pixels to display the time, but the 8 by 8 neopixels are a genius idea!

2

u/udota 16d ago

True, or you are fine with a creative 3x3 font - that would be my choice

1

u/AleksLevet 750K :750K:, 2 espduino + 2 uno + 1 mega + 1 uno blown up 16d ago

Haha yes

3

u/Rayzwave 19d ago

Excellent project - that worked really well, congratulations.

1

u/SomeWeirdBoor 19d ago

Really cool, but... how did you cope with OLED screen fading?

4

u/udota 19d ago

The OLED only runs nighttime to save lifetime. And if the screen really fades in the future then I would replace it.

3

u/315Concepts 19d ago

Honestly I think some kind of retainer clip in the case design, mixed with a right-angle pin header for the screen and jumper cables to the controller would be enough - still very simple and when the OLED goes out you can "unclip" the screen, pop the wires off, and reverse the whole process in a minute or two for just a couple bucks at a time.

- Andrew

7

u/Purple_Ice_6029 19d ago

Buy 5 for 10 bucks

4

u/SomeWeirdBoor 19d ago

How long does each last?

I made a thermometer/AC Remote thingy with a cheap OLED screen, and the always-on pixels faded really fast, like, in a few days the most used pixels were very noticeably dimmer, and probably too dim to project a visible image in your setup... worst part is, less "used" pixels (parts of the digit that often change) are relatively unaffected, so the digits are in part bright, and in part very dim, it's pretty ugly.

I'd suggest, if you haven't already, to have the screen to be actually lit up only in night hours; also, maybe "move" the clock around the screen every few minutes, to mitigate the continuous and uninterrupted use of some of the pixels

2

u/czaremanuel 19d ago

"through the magic of buying two of them"

It's a dirt cheap part, dude

2

u/SomeWeirdBoor 18d ago

Yes it is, but in my experience that thing ages real fast. For an always-on display, I'd expect it to need a weekly replacement or so, to keep it bright enough to actually project an image.

Might stretch that by a factor of 2 or 3 turning on the display only on night time, but still it's a significant hassle.

2

u/czaremanuel 18d ago

Per data sheet, SH1107 displays have a rated life of 10,000 hours, and “End of Life” is defined as 50% brightness reached. So in one year and 7 weeks of continuous use, this person’s projector will still work but will be half as bright. Some might say that “weekly replacement” is a crazy exaggeration with no actual data. Not me, just some people mught say that. 

Also this project relies on the OLED’s light output, not its visible display screen, so burn-in won’t matter for a project like this. You can draw dicks on it with a sharpie and it won’t matter because they won’t actually illuminate and project out. 

But the big takeaway should be “not making stuff because your part choice isn’t 100% optimal is a silly take.” Just replace the damn screen when it dies or don’t. Nothing lasts forever but tinkering and exploring are still worth it. 

1

u/SomeWeirdBoor 18d ago

My personal experience with a low cost 1306 display (low quality clone sourced from aliexpress? Maybe. But that's what a "dirt cheap part" is) used as always-on device is significantly worse than the expected 10,000 hrs, and with "significantly" I mean one hundreth of that or so. I suppose the life expectancy rating is evaluated on average use cases and not on "used to display basically the same pattern for hours".

I'm not saying something should not be done, I'm all for tinkering and experimenting (Sheet, would one have fun playing with Arduinos otherwise?), I'm just thinking about potential upcoming problems and limitations and hopefully exploring alternatives to cope with that.

And I'm not used to "make up stuff" just to post something on reddit, thankyouverymuch.

2

u/LouisXMartin 12d ago

Nice work

1

u/Live_Active_8753 19d ago

LCD screen or too dim even with backlight?

1

u/Juustege 19d ago

Hey, love what you're building here. Feel free to share it with us over at r/electronicmakers.

1

u/DavidFromArduino Arduino Staff 19d ago

this is so clever! I love it! 💙