Smart Suitcase

by bert_geerts in Circuits > Raspberry Pi

134 Views, 1 Favorites, 0 Comments

Smart Suitcase

20260616_222930.jpg

I’m someone who often has stress about forgetting things when i start packing for a trip. To reduce this travel anxiety I built a smart suitcase with an automated RFID tracking system. It keeps an eye on my essentials so I don’t have to. Now with this suitcase I can focus on the destination instead of worrying about what I might have forgotten. Here i will show you how to make one for yourself so you too can forget about the stress of packing.

Supplies

  1. Raspberry pi 5 4GB
  2. Raspberry PI T-cobbler
  3. Alphanumeric LCD Display
  4. PN532
  5. NFC stickers
  6. N-MOSFET to 120
  7. active buzzer
  8. 5V Electric Lock
  9. battery holder (4 batteries)
  10. 3.7V li-ion battery x4
  11. 5V DC step down Converter USB C
  12. 5V DC step down Converter
  13. 1N4007 diode
  14. jumper wires
  15. heat-shrink
  16. M4 lock nut
  17. M4 x 16mm Allen bolt
  18. M4 fender washer
  19. 4x20mm machine screw + nut
  20. wires
  21. 3d-fillament
  22. 6mm mdf plate


total cost: €185.46

Lasercutting

lasercut.jpg

The parts need to be laser cut on a 6mm sheet to make sure it's durable enough to hold all your items.

Don't forget to add holes into your plates so you won't have to do this later.

3d Printing

20260616_093126.jpg

Print the cases for the lcd and the pn532. once finished you can place the components into their cases.

Build the Compartment

20260613_141446.jpg
20260614_075513.jpg

If you forgot to add holes while laser cutting, now would be the time to add them manually.

Sand the plates and paint them a color of your choosing (or leave them as they are if you prefer it that way).

Once the parts have all dried, you can glue them together. Make sure you use the correct glue for the material you used.

Screw Parts Into the Suitcase

20260614_075636.jpg

For this step you will have to make a few holes into your suitcase.

Locate where you want to place your lock, around the part where the suitcase opens. Make 3 holes and screw the lock into the suitcase.

For the lock hinge make 2 holes and screw it onto the inside of the door.

For the compartment make 2 holes into the bottom of your suitcase and screw in the compartment.

Protect the Wires

20260615_125618.jpg

Take 13 Wires and solder Female headers to one end.

Place all the wires into a single heat shrink and shrink it over the cables.

Now the cables are protected.

Connect 1

Glue down 2 breadboards into the center of the compartment and connect all the wires to said breadboard.

this includes:

  1. lock
  2. rfid
  3. lcd
  4. mpu
  5. gps
  6. potentiometer
  7. buzzer

Be careful to keep the 5v and 3v3 components power supplies separate.

Connect 2

Glue down the battery holder and the rpi holder. Connect these to the breadboard aswell

Tape the Cable and Glue the Rfid and Lcd

20260616_173130.jpg

Once everything is connected you can fix the wire to a corner of the suitcase using ductape. After that glue the lcd and rfid to the suitcase. The top is the best place for the rfid so they won't get covered by items when you're actively packing, the rfid can be glued anywhere to the back but also preferably higher so it won't get covered wile packing. Make sure to tape them down while they dry.

Raspberry Pi Code

start up your raspberry pi and clone the github repo

Import the DataBase

inside the github repo, under data you will find the sql file. run this file to create a new database

Create Config.py

create a copy of the config_example.py and change the username, password and database name to the ones you will be using.

Install Requirements

create a venv

python3 -m venv myenv

activate the venv

source myenv/bin/activate

install requirements.txt

pip install -r requirements.txt

Set Up Apache and Autostart Python

inside the github repo under docs you will find the file 3.production.md. This file has step by step instructions to set up apache and autostart

Finished

Your suitcase is now is ready!