How to Make a Safety Box

by Jaychouu in Circuits > Arduino

4231 Views, 31 Favorites, 0 Comments

How to Make a Safety Box

Make A Safe to Keep Your Drinks With FireBeetle ESP32
image003.jpg
image005.jpg

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

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 Cardboard

*Click here to download software code in need.

Make Mounting Location of Digital Push Button, Numerating Tube and Rotary Encoder

image007.png
image010.jpg
image011.png

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:

Keep Digital Push Button, Numerating Tube and Rotary Encoder

image013.png
image015.png
image016.png
image017.png

Keep all modules with hot melt adhesive.

Please put another pad when fix the rotary encoder.

The fixed one is as below:

Make a Latch

image019.png
image021.png

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.

Install the Micro Servo

image023.png
image025.png
image027.png

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.

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).

Fix the FireBeetle ESP32

image029.png
image031.png

Fix the firebeetle esp32 board to the lower left of door and plug in Gravity I/O Expansion Shield.

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

Add a Small Box to the Door

image034.jpg
image036.jpg
image037.png
image039.png
image041.png

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!

Install Door to the Safe

image043.png
image045.jpg
image046.png

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.

Done!