I will create a simulation of an airplane wing, how it works, how the air controls it, and how the wing moves up and down.
The wing of the aircraft is primarily responsible for the rise and fall of the aircraft, which is a practical application of Bernoulli's principle. The purpose of this model is to explain and teach this effect.
link : How Does A Plane Wing Work?
Fusion 360
Upper part
Top inside details
Base
Base inside details
There is a middle surface at the base.
to fix the components at the bottom without showing the screws.
Aluminum bar fixing piece
Limit switch mounting piece
A hole was made to pass the excess lead screw.
Holes are made in the base and top to attach the wing.
( 3D printing )
[1] I used Cura to determine the appropriate parameters for printing.
Braket 1 for Ultra Sonic
Braket 2 for limit switch
[2] I printed the parts on the printer " PRUSA i3 MK2 3D Printer "
Braket 1 for Ultra Sonic
Braket 1 for Ultra Sonic
1st I opened it on Cura, and changed the settings. 2nd I saved the file as "braket 1 _1G_9min_black_g_code''
3rd I printed it and it was great to see the pattern printed on the machine
Resolution : 0.2mm support type : none Infill : 20%
4th I made the same thing with " Bracket 2 for Limit switch "
( Laser Cutting )
[2] I used RDworks to determine the appropriate parameters for laser cutting.
Using RDWorks software to prepare the shape for manufacturing on the laser machine.
cut ( speed : 40 , power : 45 ) and saved the file as "ai".
The magic begins after that.
How I used it?
1) Make sure that the file you're printing is yours. 2) Put your plywood sheet.
3) Put the magical tool that holds your sheet. 4) Adjust the focal length.
5) Choose the place you want to print by using arrows. 6) Make it the origin point.
7) Click on "frame" to detect the size. 8) Click on "start" to cut.
Ultra Sonic
treg --> Arduino pin 9
eco --> Arduino pin 10
Limit switch
signal pin --> Arduino pin 2
Stepper motor
4 pin --> driver a4988
driver A4988
stip pin --> Arduino pin 3
dir pin --> Arduino pin 4
9v to power Arduino, ultra sonic and limit switch
Reduce the load on the 12v adapter
12v to power 4 turbo fans and stepper motor
here I define all Arduino pins that going to be used, define the instances for the steppers, as well as some variables need for the program below.
In the setup section we set the initial speed values for the steppers, define some pin modes, as well as add the serial begin to show the input data
In the loop section we start by checking
if the ultra sonic sensor is working by printing the distance in serial monitor , then we use the if function to activate the limit switch ,and if the result is 1, the motor operates.
Then we used the if function to connect the ultrasonic sensor to the motor.
First I put the wooden parts and basic components together.
i connected the turbo fans and test it.
Then I connected the all electrical circuit.
including the limit switch part
test the circuit
i used flaxible coupling to protect the turbo fan wire
final result
final result "video"
I didn't know what would happen if the user kept putting his hand in front of the sensor and the motor kept running.
Until Menna elbadry suggested to me to add a limit switch to stop the motor at the end, and also return it to the starting point.
I'll add a limit button at the bottom, with code that makes the fans go back to the middle when that button is touched.
Limit switch test
challenge
It was a challenge for me to install the aluminum extrusion.
solution
I printed laser cut part to fix it.
solution upgrade
I have used so many layers of this part
I'll add a limit switch at the bottom, with code that makes the fans go back to the middle when that switches is touched.