Put the two hinge pieces together, the hinge with only one block on it should be on top and the angled part of both the print should be facing upwards too.
Insert 2 pieces of unused 1. I used a different colour, but you can use the same colour as the chest if you prefer. Using a soldering iron you then want to melt one side of each pieces of filament, we'll do the other side later. You want to melt it so it's now wide enough that it won't fit through the hole. You basically only need to tap it off your iron.
Now it's time to put the chest together. Starting with the base of the chest, put a small bit of super glue around the inside of the chest and stick the popsicle sticks down. Keep some pressure on the wood til the glue sets which is really fast with super glue.
Repeat the same steps for the 4 sides. I used some blu-tack to hold the walls up while it was drying. I also added a layer of glue at the top of the wood at the chest to give it some extra strength.
Again I used some blu-tack to hold these in place while the glue was drying. Then we want to glue the hinges to the chest. Start by gluing the piece to the base of the chest. It is the same length as the chest so it should fit flush with the top and the two sides.
Again, you just need to use a small amount of glue for this. You then want to put the lid on top and hold it in places again, I used blu-tack! You then want to stick the other part of the hinge to the lid of the chest so that it fits in between the pieces of the base hinge. Take the filament hinges we cut earlier and slot them through the hinge, they should go through easily.
When the glue dries you should now have a functional hinge. Next we want to make up a small piece for the front of the chest, there is two reasons we want this, I'll explain one in a moment and the other while talking about the electronics. Take two 1 cm pieces of popsicle stick and one 2cm piece and use super glue to stick them together. When this is dry we want to put some hot glue on the longer piece and embed a screw into it It should be sticking up the opposite side of where the smaller pieces are.
User super glue on the smaller side of this piece to stick it to the inside of the chest, on the opposite side of the hinges. For extra strength i also put some hot glue on this after it was stuck on. I used some blu-tack to hold the magnet to the lid so it would be positioned above the screw, adjust this til the chest almost snaps closed and stays closed unless it is purposefully opened.
When happy with the position replace the blu-tack with hot glue. Now you can seal up the other side of the filament hinge with your soldering iron. And that's the physical build of the chest done! The chip that we are using is an Attiny85, which is a tiny arduino board that is really power efficient so it is perfect for small projects that run on batteries. The sound is coming from a passive speaker module, which is driven by one of the pins of the the Attiny85The LEDs are not connected to the Attiny, just directly to the power lines of the circuit, so when the circuit is receiving power, the leds will turn on.
I used Ohm current limiting resistors for these. I used a Nintendo DS Lite battery as i used to repair DS when I was younger and I had a good few batteries left over and I thought it would be pretty fitting given the project. You can of course use any other type of Lithium-ion battery, or even use any other type of power source the project will require around mA at 4V. I included a TP Charging module in the circuit to allow the recipient of the chest recharge it when it runs out of battery.
This was also useful when using the lithium-ion battery as you can get modules that have protection circuits built in to stop the cell dropping below 2. Normally you want to do some regulation of the voltage that comes out of a battery since as its capacity drops, so does it's voltage. But the Attiny is very flexible to what voltage ranges is accepts 2. Reed switches are switches that change state when a magnet is held near them.
The most common form of a reed switch is known as a Normally Open NO , this means in normal circumstances no magnet held near it , its switch is open so no current can flow through it. When you bring a magnet near it, the switch will close and the current can flow. The NC works the opposite way as the NO, when there is no magnet near it the circuit will be closed and then when you put a magnet near it the circuit will be open.
We want to use the Normally Closed reed switch, as we are going to use the magnet in the lid of the chest to control when we want the circuit to turn on. When the lid is opened it will move the magnet away from the reed switch and close the circuit. The reed switch is breaking the connection for the entire circuit to ground, so while the magnet is near it the lid is closed the circuit is not making a complete loop and should use no power, so the battery should last a very long time!
We will now need to program the Attiny with the sketch that tells it to play the melody on the passive speaker when it turns on. I got really lucky and found a sketch on Github by a user called ianklatzco that played the melody when a button was pressed. I made some minor changes to the sketch so it would just play the sketch once on startup, you can find that sketch on my Github.
Before we load up this program we first need a way of programming the attiny. In the following video I show you how to make a shield that fits on top of your Uno or Mega for programming your Attiny. You also can build the programming circuit in a breadboard as shown here, you can use the same steps as described in the video for loading the Arduino as ISP sketch etc. Load the sketch from my github onto your Attiny85 and test that the buzzer is behaving as expected on a breadboard wire it up as per the circuit diagram in the earlier step.
First thing that we need to do is cut the perfboard down so it fits in side the chest, remember that you need to cut out a piece so it will fit around the small piece with the screw on it. Follow 10 days. Shaffreezer13 Shaffreezer Follow 14 days. Song "Morning". Follow 13 days. Project Z. Follow 16 days.
Just basic synth and drums. Nothing to fancy. Darkman Darkman The cover version was written on March 9, in ModPlug Tracker. Original Theme MyaMoon MyaCheng. Follow 18 days. Unnamed beat Read article. DylPckl DylPckl. Friday Night Funkin vs.
Matt - Sudden Death Fanmade. Give the wooden treasure chest a quick once-over with the sandpaper to get rid of any splinters and knock down any rough patches. Add a dab of brown acrylic paint to a small container and add approximately the same amount of water to thin it out. Use the watered down paint to stain the wooden chest. Watering the paint down still allows the wood grain to show through.
Use the hot glue to attach them around the back side and top of the treasure chest, then use a separate piece on the front so the chest can still open and close. Reattach the metal accent pieces and studs, gently hammering them back into place through the black foam strips. Record your sound effect on the recordable card! We found a Zelda treasure chest opening sound effect online and recorded the card by holding it close to the computer speakers.
Line the inside surfaces of the box with yellow cardstock, cut to size and attached with double-sided tape, but stop when you get to the back of the box…. Use a few dots of hot glue to attach the back of the greeting card to the back panel of the box, with the pull tab facing up.
Attach the tab to the top of the box with another dab of hot glue.
0コメント