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~
Hardware in need:
FireBeetle ESP32 board×1
Crash sensor ×1
Dupont wires Cardboard
*Click here to download software code in need.
Step 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 picture:
Step 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.
The fixed one is as below:
Step 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 movable.
Then fix another cardboard to these cardboards to stable the latch.
*It is so hard to explain the actions by words and you can refer to the video.
Step 4: 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 picture.
Step 5: 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).
Step 6: Fix the FireBeetle ESP32
Fix the firebeetle esp32 board to the lower left of door and plug in Gravity I/O Expansion Shield.
Step 7: 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
Step 8: 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!
Step 9: 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.