Giftduino - The Perfect Arduino Gift Box

Giftduino - The Perfect Arduino Gift Box 

COMPONENTS AND SUPPLIES :

1. Arduino UNO & Genuino UNO
2. Hall effect sensor - A1302
3. SparkFun Mini Speaker - PC Mount 12mm 2.048kHz
4. SparkFun Graphic LCD 84x48 - Nokia 5110

APPS AND ONLINE SERVICES :


About This Project 


The electronics

For this project, we used two relatively new components on circuito.io:


The hall effect sensor reacts to a magnetic field. In order to activate it, there needs to be a change the magnetic field around it. So as you’ve probably guessed we used a magnet. The magnet is placed on the lid of the gift box.



Each time the top is opened, the lobby impact sensor is enacted, and gives out a flag for the screen and the piezo speaker to play their turn. Here's a pleasant clarification about Hall effect sensors and how they function

Initial step - Gather the parts 

In this enchantment circuito connect we pre-chosen the segments we utilized as a part of the venture. In the wake of clicking produce, you'll see every one of the parts you require, including peripherals, for example, resistors, capacitors, and so on. 

Take note of that with circuito.io you make a wide range of blends for this venture with the parts you have accessible. 

Here are only a couple of different blends we considered for this venture: 

# Supplant the piezo speaker with a Drove 

# Supplant the lobby impact sensor with a Ultrasonic range discoverer 

# Supplant the divider control connector with a 9V battery 

# Supplant the Nokia screen with a LCD 16x2 

Second step - wiring 

In the event that you clicked Produce on the enchantment connect above and looked down in the answer, you'll achieve the wiring plan. Take after the well ordered guide that will demonstrate to you precisely best practices to assemble your hardware. It might look convoluted, yet in the event that you take after the guide slowly and carefully, it's truly basic!



Third step - Code 

In the event that you look down at the end of the day in the circuito.io answer, you'll achieve the code area. In this area you'll need to download the code from circuito.io and concentrate it to your PC. 

A while later, you'll have to open the code with Arduino IDE and transfer it to your Arduino. 

the code from circuito.io is a specimen code. It incorporates every one of the parts and their libraries. This code will help you test that you're wiring is right. 

Once you're finished with this part, you can duplicate glue the code toward the finish of this instructional exercise into the firmware.ino tab in the code you got from circuito.io. 

Inside the code you'll see remarks that clarify each part and capacity of it, so you can roll out improvements to the qualities for instance, you can change the tune that plays when the container opens, or the pixel-craftsmanship that shows up. Bear in mind to transfer the new code to your Arduino once you're finished. 

You're doing extraordinary! Presently we'll proceed onward to making the blessing box 

Making the crate 

The crate we made is a blend of 3D printed parts and PVC cardboard however you can truly go wild here and utilize distinctive materials to give it an entirely unexpected look.




For instance you can utilize wood and glass, 

you can make the case greater or littler, 

enhance it, 

make it round, 

make it in any shading you need. It's truly up to you. 

In the event that you need to make a case like our own, you have the .STL documents appropriate here for download

Get together - assembling everything 

When you have every one of the parts prepared, it's an ideal opportunity to assemble everything. 

Put the Arduino with the shield inside the case.



Glue the magnet onto the box lid.

Thread a flexible steel wire to connect the lid and the body of the box



Congratulations! You’ve built yourself the perfect Gift box. 

Download Source Code

Previous
Next Post »