Introduction: Interactive Useless Box
Box will open after you will touch it.
Step 1: Materials
Servo motor, Electronic Brick - Touch (Sensor/Button Brick), Breadboard, wires, cable, Arduino Leonardo.
Step 2: Laser Cut
Plan could be done in any graphic program. Stroke 0,02pt. slot papa-should be bigger than slot mama on 0,04 pt. Elements which are inside, should be another color. File should be in .pdf format.
Step 3: Сonnection
Connect Sensor Brick and Servo motor with Arduino. For this you have to use Breadboard, because for all two devices you will need to use Power slot.
1. To connect Servo motor with Arduino you need to connect black wire with GND (Power) on Arduino,yellow wire with Digital slot (i did with number 9), red with Breadboard. With one extra wire connect Breadboard with Power 5V.
2. To connect Sensor Brick with Arduino you need to connect Slot G with GRD (Digital), slot V with Breadboard, which connected with Power 5V, slot S with slot (for example number 2, Digital).
3. Connect Arduino to computer with cable.
Step 4: Coding Arduino
For Servo motor you have to write angle of pushing lid and also time, for how long box will be open.
Step 5: Fasten Components Inside the Box
Fasten Servo motor and Sensor Brick inside the box.
Step 6: Enjoy the Result
This is how it looks when everything done.