THE PROJECT IDEA is a movalble unit react to the moving of people infront ofit with open and close according to them by servo motor and ultra sonic sensor or using manual mode using reostat
THE INSPIRATION and THE SOURCE OF THE IDEA
Becuase I am architect i am very interest in the interactive building
and bring the units of the building to life
for increasing the function and range of using any architecture product
by changing the amount of opening in the building (in ceiling or in the wall ) it can be used for decoration in the wall of the space
it can be used for opening and closing window ass people move beside it for adding dimanizm to the building
using fusion to model the 2 and 3 D models
-using prusa to slice the 3d model and export it in G.code using PLA
-using laserwork to add all parts of *.dxf together in one sheet and export as *.rld file using MDF 3mm
IN 3D PRINTER using PLA
after save the G.Code in prusa
and checking the suppert and amount grams used and layers thickness
adding it in the memory of the 3dprinter
preheatthe nozzle and bed to remove the used color
then select the G.code to print
IN THE LAZER CUTTER using MDF 3MM
after saving the file in the lazer worker
switch on the machine from the side two witch in of the screen and other before the process of he cutting
move the nozzle to the point and select orgin to make it the orgin of the machine
open the file in the lazerwork and chech the lines and the overlabing
select download then in the machine select the downloaded file
A- the INPUT component are reostat , two buttoms and ultra sonic sensor
the function of 1- buttom 1 is to turn on the device
2 -buttom 2 is to turn fro the manual to the automatic mode
3 -the reostat is the manual mode used to open and close the unit manually
4 -the ultrasonic sensor is the automatic mode used to open and close the unit automaticlly
B- the OUTPUT (action)component are two servo motore
the two motor rotate opposite to each other used to open and close the movable unit
C- using arduino to connect them to gether to controll it by progamming to form smart system
the two servo need only the supply from the 5 volt in the arduino (parallel)
and the ultra sonic sesnor power source is the 5 volt in arduino
so
the power supply is the 6volt adaptor and all component get power from the 5 volt pin
define the ultrasonic for sending and receiving ultrasonics
define varriables and servo motor
define the pins of the servo motor
the void loop using if condition for the (manual and automatic )modes
to move the servo moter in opposite direction anticlock and clock wise
the first code this from tinkercade doesnot work good and accurate
so
THE CODE USED FROM TINKERCAD
first and check the mechanizm of this movement in the project
then i add the other parts
the main part connect the all part together
connection the other part with it with the component
the connection of the push buttom was not working and i asked for the reseon and tell me the problem is in the connection
after knowing that the problem was in the connection of the push buttom i search for the connection in google and found it
adding three unit
and changing the servo motor with roller shutter motor