I always go to bed and forget to turn off the lights so I have to get out of my bed and turn off the switch.
so my project is about turning off the switch remotely from mobile phone
using fusion 360 :
1- a mechanism of two parts is designed then extruded then assembled with servo motor to check the mechanism
using fusion 360 :
2- the main part that will be mounted to the wall is also designed using fusion 360 ( this part is done by drawing a rectangle then drawing 1 circle and mirroring it many times until we reach the opposite figure )
3- the two cases will also be designed using fusion 360 ( body 1 and 2 was extruded from the shape shown and then circles are cut using cut tool)
body 1&2
body1 before extruding
assembly:
first as in figure 1 i assembled the motor with the back part using (joint)
while in fig 2 i assembled the motor head with the front part using (joint)
while in fig 3 i jointed the back part with the component i made to simulate the switch
fig 2
fig 1
fig 3
using the laser cutter :
I used 1 wooden plate to cut the file it took 9 minutes
using 3d printer :
body1&2 are printed using 3d printer
body 1 took 2hours48 minutes
body 2 took 1houre 38 minutes
I used grey PLA
the device is controlled using Arduino Uno
for the input components :
Bluetooth module is used to take input from user
for the action components :
servo motor to mobilize the mechanism and the switch
tinker CAD :
note that the ultrasonic sensor is the Bluetooth module as it is not available in tinker cad
the motor is connected to pin 12 while the bluetooth module is connected to 0 1 pins ( tx rx )
the power source was 5v adaptor as the device will not be portable
i used 5 volt because the motor is weak and only applicable on 5 volt
when i used it on 9 volts it got burnt sadly
defining servo pins , angle and state
a loop to take input from Bluetooth module and apply it to servo motor whe 1 angle = 0 , when 2 angle = 180 , when 3 angle = 90 ( default)
as shown in video it takes input from the smartphone by Bluetooth module and moves the servo motor to move the mechanism to move the switch
the problem that faced me is servo motor burnt in the last hour before preview
I had to change the motor in the last minutes lucky for me I had extra motor in the kit but it had a problem where the fitting places for bolts where too tight so I had to mount it with glue and sellotape as a quick solution
the motor was burned because I used 9 volt adaptor at first so I changed it to 5 volts I knew this was the reason because there is literally no other reason
to use sound sensor to open and close the switch