

eFortune Cookie - I Just Put an ESP32 Inside a Fortune Cookie
I wondered if a fortune cookie could actually hold an ESP32 and an e-ink screen. This playful idea inspired the eFortune Cookie, a tiny interactive gadget with an e-paper display. When you shake it, a random fortune pops up on the screen. It works completely offline and stores over 3,000 fortunes, so you do not need Wi-Fi.
I also added two fun mini apps, a dice roller and a coin flipper. You can switch between these features with a side button and then shake the device to get your result. It is a simple, entertaining little gadget that fits right on a keychain.
The challenge was putting everything in a small package because I am building this, not with a custom PCB. I am using some modules, so I had to cleverly place the sensor and battery behind the driver board.I had to spend some time on Fusion 360, but the result was a cute 3D-printable enclosure.
For this project, I used the XIAO ePaper Display Board, the EE05, paired with a 1.54 inch ePaper screen. A GY521 gyro sensor detects the shaking, and a small LiPo battery powers the whole thing. The EE05 is a great choice because it features an XIAO ESP32S3 plus with plenty of pins to connect the sensor, battery system, and buttons.
I also included the schematics for this project in this post
I hope you like my build. You can all the code, 3d files, and the build details on my Instructables page, link on the comments .so go ahead and build one yourself.