Magic Glyph Tracing Puzzle using ESP32 (Patreon)
Content
Hi!
I think many folk who first learned to program on "Arduinos" (Nano, UNO, or Mega) have now migrated onto their more powerful cousin: the ESP32. I use them myself as the controller in most of my new ER builds, mainly because they're more powerful and have more storage space.
But, besides the simple performance increase, they also pack in a load of additional features, and in this project I'm going to try to demonstrate some of them, namely:
Dual Core processing (on certain models of ESP32!)
LittleFS file storage system
I2S audio interface
Built-in touch input
The project I'm using to demonstrate these features is a "Trace out the shape of a glyph between a set of nodes" puzzle (you know those, right?!) - appropriate for a wizard, hi-tech, or even ancient mystical themed room.
Now, if you still prefer to use an Arduino, you can still apply much of the logic of this project, but you'll have to replace the touch input (either with, e.g. an external CAP1188 sensor board, or a completely different sort of input like pushbuttons) and also use an alternative means to play the audio, such as a DYPlayer of DFPlayer Mini board.
Fair warning: it is a relatively complex project, but I've tried to explain the elements as best I can - please do ask if I didn't make anything clear. I've also commented the code thoroughly, and I'll be uploading that, together with wiring resource etc. for Patreons to download shortly.
Enjoy!