Finally, here is the last post about KnockBox project. Today I am going to create the box that will contain the whole system, and take the pieces together. Make sure to follow all the steps: you can find them in the menu on the top of page under the voice “Projects > KnockBox”.
Let’s start: first of all find a box large enough to contain Arduino and every other component – you can reduce the needed space programming a chip (like ATMega328P) and soldering everything on a protoboard, creating a standalone (for further information, see here).
I bought my box from Leroy Merlin for the price of €2.50.
Pay attention: the box’s lid must not be totally straight, but it needs a vertical component, as mine does.
Make three holes for LEDs, three for push buttons and one for the switch. See the pictures. Now, make another hole on the, and then smooth the area next to it inside the box, so the servo’s flap has enough space to move. The servo motor will move in there and prevent the box from opening. While making holes, try to be more precise than me. It was the first time I had a drill in my hands.
Here are some photos taken during the making of the project:
Finally, insert Arduino (or chip) and components inside the box. Fix the piezo sensor at the centre of the lid and the servo motor in correspondence of the last hole.
Congratulations, your KnockBox is ready to take care of your secrets!