Enigma Box

by juanestevezus in Circuits > Electronics

18 Views, 0 Favorites, 0 Comments

Enigma Box

Picture 1.png

The Enigma Box is a project designed as a gift for a friend. But is no ordinary gift, no easy removable wrap. In order to open the box and unveil it's secrets, first all the enigmas should be solved. Meanwhile, the box will be locked.

Each enigma consist on solving a riddle, whose answer is a number between 1 and 4 digits. The clue to solve that riddle can be obtained via the bluetooth terminal app, and when all the riddles are solved, the box will open. The riddles can be then changed via a web server and the box can be locked again, so you can challenge other people!

Supplies

  1. ESP32
  2. 9g servo
  3. Switch
  4. KY040 encoder
  5. Boost converter/lipo battery charger
  6. LiPo battery
  7. OLED I2C SSD1306 display
  8. Switch
  9. Perfboard
  10. Some cables

Creating the Box

Print all the files with a 3D printer

PCB

Esquematico.png

Create a PCB or perfboard with the components listed above, connected like shown in the schematic

Program the ESP

Clone the GitHub repo and upload the program to the ESP32 using platformio


https://github.com/00Juan/EnigmaBox

Assembly

IMG20240421130809.jpg
IMG20240421130753.jpg

Connect the LCD, encoder and switch to the perfboard. Glue the perfboard to the box and join the top of the box to the body using 1.75mm PLA filament as the hinge axis

Testing

Enigma Box

Test that all work as intended

Change the Riddles With Your Own Ones

webapp.png

Connect to the EnigmaBox WiFi network and in your browser type: 192.168.4.1. Then configure the riddles as you wish!!

Aknowledgements

Thank you to all teachers of this subject for showing their support and encouraging me to do more creative projects like this one


This project is part of the collection: Creative Electronics Student Projects