How to make a safe box?

It is so hot! I am surprised to find that my beers are gone! To avoid this situation happens again, I decided to DIY a private safe to keep my drinks.

Come on! Chocho shows an ultimate skill now~

:slight_smile: :slight_smile:

Watch Video Here

Hardware in need:
FireBeetle ESP32 board ร—1
FireBeetle Covers-Gravity I/O Expansion Shield ร—1
Gravity: Digital Push Button ร—1
3-Wire LED Module 8 Digital (Arduino Compatible) ร—1
Rotary Encoder ร—1
Crash sensor ร—1
9g micro servo ร—1
Dupont wires
*Click here to download software code in need.

Operating process

  1. Make mounting location of digital push button, numerating tube and rotary encoder.
    Find a cardboard (about30cmร—20cm) and make a space according to the numerating tube, shown as below.

    Tip1: Marking first and cut with a small knife, a tape can help you keep the right direction.

The cutting result is as below:

2. Keep digital push button, numerating tube and rotary encoder.

Keep all modules with hot melt adhesive.
Please put another pad when fix the rotary encoder.

3. Make a latch.
Put a cardboard (about 10cmร—3cm) which function as a latch between two small cardboards and fix it to the โ€˜doorโ€™. The latch is moveable.

Then fix another cardboard to these cardboards to stable the latch.

  1. Install the micro servo.
    The micro servo controls the latch, pulls to open the door or close it.
    A stretched spring connects servo to latch.

    The spring connects to latch at one end and to servo at the other end.

Then, fix the servo to the door appropriately, shown as below.

  1. Fix the crash sensor.
    Install the crash sensor above the latch to check whether the door is closed. Once the door is closed, the latch will slip to the right (to close the safe).

  2. Fix the FireBeetle ESP32
    Fix the board to the lower left of door and plug in Gravity I/O Expansion Shield.

  3. Connect control wires.
    There is no circuit diagram, no need for soldering here, you can connect with dupont wires directly.
    Order of connection is as below:
    For rotary encoder:
    A to D0
    B to D1
    C to D7

For numerating tube:
LatchPin to D2
ClockPin to D3
DataPin to D4

Micro servo to D6
Digital push button to D9
Crash sensor to D8

  1. Add a small box to the door.
    To make the door more beautiful, we need to put a box to hide wheels. Cut 4 cardboards of 5cm height to cover the electronic components.

    Letโ€™s make a cardboard lid!

  2. Install door to the safe.
    Firstly, make a window in the safe to install the door.

    Secondly, fix a small cardboard to the safe at one end and to the door at the other end as a moveable curtain.

WTH is this post about? Do you need help with the code or something? There is a different section on the forum for showing off your project.

A cardboard safe?