Simply its batman secret box....its a box open with a button hide in a batman figure
and I add a bat key ..
If the bat key is in the box while open when the swith butoon is on .
If the bat key is not there it will release the alarm .
I found the original idea in hackster.
what i really loved in the maker diploma is that its giving me the tools to create my Ideas. Turn them from just being an idea in my head into a real thing .
It enables me to get a glimpse or even touch the imaginary world of the superheroes and of course my fav one was batman.
1-Softwares :-
Fusion 360 : designing, editing the 3d parts and the DXF files.
: Ultimaker Cura : for slicing the 3D parts
Laserwork : for editing the DXF files and laser cutting and adding the graphics to the dxf
Convertio : website to convert Images into DXF
Tinkercad : for circuit design and simulation
Arduino IDE : for the code
For 3D printing: PRUSA
2-PLA black & white
1.Batman base edit
3- 4 openings at the base to guide the screws which will be in a wooden base attached to the 3d printed part.
4-shell command : to use less PLA in the 3d printed part
by dividing the body into 2 bodies and dealing with each part .
2-opening for the wires
2.Batman base top edit
3-Editing the opening to fit the button size
getting the dimensions of a ready hinges and applying the dimensions into the 3d part .
2.Batman statue edit
1-Editing the space to fit the button .
and finally
1.Box design
editing the top with the hinge openings and openings for the gear that will help in the opening mechanism
editing the side and the face
preparing the base and creating the divider to make a space for the breadboard and the components mount .
Creating the base with the openings for the hinge
editing the design so it will be closed using t-slots
And finally
2.Hinges mount
The back
The top
3.Breadboard mount
Creating the divider to make the space for the components and the breadboard
4.IR sensor mount
creating holes for
1-servo mount
2-IR sensor mount with 10 cm away from the other side so that it will be inactive in normal condition.
3-a place for the bat key to activate the IR sensor so that the box will open
1.Servo mount
I searched the internet and found the servo mount for mini servo and edited it to be more stable .you can find the stl file here
2.Servo gears
making the holes in the top and the side for the gears and servo mount .
I got the gears from the original project and i edited it to fit the mini servo I have .
3D printing
1.Geras and mount
Machine : Prusa
Materials : Black PLA
Software : Ultimaker Cura : for slicing the 3D parts
Printing parameters : as shown in the pic
but the instructor Noha advised me to remove the support
Servo Mount
Prusa 3d printer
3D printing
1.Batman stand
Machine : Prusa
Materials : White PLA
Software : Ultimaker Cura : for slicing the 3D parts
Printing parameters : as shown in the pic
edited and sliced with the help of Omar the Fablab specialist .
Laser cutting
1.Box parts
Machine : Morn
Materials : Plywood 3mm
Software : Laser work for editing the dxf files and inserting the DXF of the Drawings .
Printing parameters :
with the help of instructor Maha in the design .
and the Fablab specialist Amany in the
the drawing (speed cutting ):
speed : 300
power : 15
Cutting :
speed : 25
power : 65
Project Electronics & Power Management
1.components
Software : tinkercad to simulate the circuit.
Inputs :-
1.IR sensor : to sense the bat key is in or out
2.switch button : open / close the box
Action :-
1.servo motor : open the box and close
2.buzzer : alarm if the batkey is not there
Brain :-
1.Arduino UNO
Connection :-
1.small breadboard
2.wires
Project Electronics & Power Management
2.circuit
Buzzer :
GND in breadboard
pin8 Arduino
Switch :-
+ve breadboard
-ve breadboard
Pin11 Arduino
Servo :-
+ve breadboard
-ve breadboard
Pin10 Arduino
IR sensor
+ve breadboard
-ve breadboard
Pin9 Arduino
9v adapter
because the
Servo : 5v
the buzzer is : 1.5v up to 12v
Arduino Uno : 5v
IR sensor : 3-5 v
I used Arduino IDE to write the code .
#include <Servo.h>
including the arduino library into the code
Servo servo_10;
defining the servo servo_10
void setup()
pinMode(11, INPUT_PULLUP);
switch pin ..... defining it as an input
pinMode(9, INPUT);
IR sensor pin ..... defining it as an input
servo_10.attach(10, 500, 2500);
Servo pin .... defining it as an output
pinMode(8, OUTPUT);
buzzer pin ... defining it as an output
if (digitalRead(11) == HIGH) {
if (digitalRead(9) == LOW) {
if the IR sensor is on (in real its on although its low here in the code) and the switch is on
servo_10.write(180);
noTone(8);
open the servo 180 degree and turn off the alarm .
} else {
servo_10.write(0);
tone(8, 523, 5000); // play tone 60 (C5 = 523 Hz)
if else ( the switch is on and the IR is off )
close the servo to 0 degree and turn on the alarm
} else {
noTone(8);
servo_10.write(0);
if the switch is off ...do nothing .
I did the wiring as described in the implementation process and made a prototype in week 7 assignment .
The last part will be the divider.
first the box will be attached through finger joints and t screws .
1st : the servo mount and the servo itself attached to side 1 using screws
IR sensor : using screw
and finally the large gear attached to its place the top of the box
The Arduino will be attached to the base with 4 screws .
the batman base will be anchored and the top of the base will be next after attaching the wires to the switch button .
And finall the hinge by its two parts will be attached to its place .
Final part will be the bread board attached to the box in its place.
1.Maha : our instructor helped me with the box shape to add a unique design to it and we had some more ideas but the time was not enough and there was no glue allowed
2.M.abdelfatah : helped me with the coding
3.Omar : fablab specialist helped me with the 3D printing
4.after my servo ear didn't work my friend Amr helped me with another design he got .
....................
How did i help my peers ?
1.helped someone with turning the images into dxf files .
2.sharing on slack to help some friend with a project similar to mine the way to extract a DXF and also creating the box .
1.T-slots : first i made the box with no t-slots. i was depending o the joint between the woods and it didn't work because the laser cutter will make some difference during the cut about 1mm.
Maha helped me with that part.
2.The opening mechanism : it took me about 9 hours of trial and error the next time i will use some help from an experienced person .
3.designing the gear : i found a video on You Tube that helped me.
4.editing the STL files : You tube .
5.graphics were alittle burned so the plywood should be straight not taking a curve and putting on some tape will reduce the effect .
6.the wiring : make sure the wiring is right even if you did it so many times before .
The non functioning box .
1.make the box open wireless with no wires it would be more cool.
2.paint the box .