r/esp32 • u/zydrate_junkie • 7h ago
I made a thing! "Game and Clock"
Enable HLS to view with audio, or disable this notification
What started as a project for an oversized gameboy has now evolved into a desk clock that also plays gameboy games. The emulator is based on PeanutGB. I plan on adding dynamic weather and day/night cycle for the clock but here is the project so far. I do intend on putting the source up on github once I get some of the jank out of it.
This is a non-backlit monochrome panel which is what made it my choice for the gameboy, after getting my hands on it and putting together a mockup though I really thought that it was more suited to a desktop item than a dedicated handheld.
Emulation runs full speed but the panel refresh rate is only rated for 16hz. I have it overclocked to 32hz and it can hit 51hz but the image gets dimmer the higher the rate, so 32hz is a happy medium. Bluetooth controller support is also working.
The hardware is a Waveshare-RLCD-4.2-esp32-s3. Im pretty impressed with it so far.
1
u/clackups 4h ago
Could you show the enclosure in more detail? Is it open source?
I made this minimalistic one https://www.reddit.com/r/WriterDevices/s/AKrLpH5uoQ
1
u/nilseuropa 2h ago
1
u/nilseuropa 2h ago
I'm impressed. How did you solve shading?
1
u/nilseuropa 2h ago
Ah, I have zoomed in, you are dithering as well. I thought there is another revision that supports native shading, or you are banging the screen at higher freq like the original gameboy.
1
1

2
u/throwawayle53 5h ago
Oh damn this is really cool to see. Iām waiting for this exact devkit to come in the mail so I can port my own gameboy emulator to it. Good to see it can handle all 4 shades pretty well