IMG_7107.JPG

IMG_8397.HEIC

Description

A “book nook” is a shadow box meant to fit into a bookshelf and depicts any scene from civilization to nature or fantasy. Our project is a series of three interactive book nooks combined to create an escape room experience. The user acts as the fated hero meant to restore light and beauty to a cursed land. In the first book nook, a portal, the user has to decode the riddle provided by a Processing program to open the door to the next book nook, a magical forest scene. Here, the user must interact with the box in order to restore life to the land. Once all touch sensors are triggered, the final box will light up and the hero has saved the land.

Components & Enclosure

Each book nook was created first within a cardboard box, then was enclosed within a custom shell and surrounded with books.

book nook 1: the portal

book nook 2: the forest

book nook 3: the infinite flower field

Code

The code for the hardware was done in the Arduino IDE. We used two ESP32s total - the first was used for the riddle buttons + servo motor, and the second was used for all the touch sensors and LEDs in the second and third box.

The interface, where the user was shown the riddles and received feedback about their interactions, was programmed in Processing.

The hardware + software interfaced via serial ports, as we weren’t sure about the reliability of the wifi in AKW. There was one-way communication, so the ESP32s sent data to Processing, but Processing never had to send data to the ESP32s. Most of the data parsing was done in Processing, where we took the basic information relayed from the ESP32s and displayed it to the user (eg. have they pressed the right button? if so, can they move on from stage 1 to stage 2 - thus displaying a different riddle?)

link to the github: https://github.com/maliakuo/book_nook/tree/main