DIY Surprise Gift Box Using Smartphone

Surprise-Gift-Box-Using-Smartphone
About This Project

This project will show you how to make a surprise message gift box for your loved ones with a touch of tech.

Project Info

Introduction

Once there was an engineer who fell in love with a writer. So much head over heels he was that he decided to make her his forever. And being the engineer he was, he wanted to pop the question in an unusual, innovative way keeping it romantic all the same. He looked for here and there and everywhere when he stumbled across our DIY surprise gift box using a Smartphone. Just one look and he knew this was it. And after that, the two had their happily ever after!

The End.

D’you want your love story to be as romantically modern as this one? Then hop on board and make this project with us! 😉

Components Required

ImageComponentQuantityAvailable in Kit
Arduino Nano1
Dabble1
IR Sensor1
HC05 Bluetooth Module1
Samsung 3.7V 2600 mAh Lithium Ion Battery1
Male to Female Jumper Cable 20cmFew

Building Guide

Step 1: Making

Let’s start by making the gift box.

Take a readymade box or make one of the required size using cardboard. Once you have the box, cover it with a gift-wrapping paper of your choice.
Make sure that you wrap the lid and the base of the box separately.

We need to hide the circuit into the box. Connect the IR Sensor and Bluetooth to Arduino Nano according to the instructions given in the next step. Once done with the connections, place the entire circuit in the box.Placing the circuit in the box

Record your message in your Smartphone and connect it to the Bluetooth Module.

Place your phone in the box and cover it using the gift-wrapping paper such that the phone and the entire circuit remains hidden.Surprise-Gift-Box-Using-Smartphone

Place your gift above the paper.

Finally, decorate it the way you want.

final gift

Step 2: Connection

Make the connections to the Arduino Nano as given below:

IR sensor:

  • OUT: digital pin 2 of nano
  • VCC: 5V of nano
  • GND: GND of nano

Bluetooth:

  • 5v: 5v of nano
  • GND: GND of nano
  • Rx: Digital pin 4 of nano
  • Tx: Digital pin 5 of nano

Battery:

  • Positive: VIN of nano
  • Negative: GND of nano

gift box fritzing diagram

Also, you can use evive instead of Arduino Nano.

Step 3: Logic

The purpose of the box is to surprise the recipient when they open the box. The surprise can be both loving or it can be a prank.

All you have to do is record a message on your phone or download your favorite song. Write the code as shown. Pair Dabble with the Bluetooth Module. Select the Music Module.

When the IR sensor triggers HIGH, it will send a command via Bluetooth to play the music or the pre-recorded message selected by you.

Step 4: Code

Upload the following Arduino Code to evive:

Step 5: Conclusion

With this, your DIY surprise gift box using a Smartphone is ready to make your better half’s day!

Circuit Diagram

DescriptionCircuit Diagram

Make the connections as given:

IR sensor:

  • OUT: digital pin 2 of nano
  • VCC: 5V of nano
  • GND: GND of nano

Bluetooth:

  • 5v: 5v of nano
  • GND: GND of nano
  • Rx: Digital pin 4 of nano
  • Tx: Digital pin 5 of nano

Battery:

  • Positive: VIN of nano
  • Negative: GND of nano

Code

DescriptionDownload Code
Arduino CodeDownload
evive LibraryDownload
Dabble LibraryDownload
Share this Project
Share on facebook
Facebook
Share on twitter
Twitter
Share on google
Google+
Share on pinterest
Pinterest
Share on reddit
Reddit
Share on print
Print
Featured Projects
All articles loaded
No more articles to load
Close Menu
×

Cart

Every New Project
is an exciting
Adventure!

Subscribe to our newsletter and go on an exciting project-making adventure with us every week.