I've spent the past two/three months working on a project just like this and have made some good progress on the code for it, however I've gotten stuck at one part. Do you know of a way to limit how far the servos are able to turn? Rather than having the sensor make the servos turn 90 degrees whenever it rotates 90 degrees, is there a way to make the servos only rotate +/- 15 degrees until the rocket is stable again?
int sensorValue = // your input value from -90 to 90; // Map the sensor value from -90 to 90 to -15 to 15 int outputValue = map(sensorValue, -90, 90, -15, 15); // Now 'outputValue' is the mapped value within the range of -15 to 15
Yes it should be 0 at 90 degree. But the small difference is caused by the random spikes in data, calibration and the gyroscope is not parallel to the breadboard.
Very nice project. I'm trying to replicate it, I'm not familiar with Arduino yet. I have a question about the Bluetooth module and the SD card module. When are they used? Because in the finished model in the video I don't see them inserted in the breadboard. Thank you very much!
Can this system be modified so that the stabilizer will keep the rocket at a 45-degree angle instead of straight up? I want to make a rocket that acts more like a missile and want it to stabilize the rocket in a more level flight. Thanks.
I did one similar.... a great wxplosion happened... so I could not test it well...... My concern by that momen was if the gyro may be affected by the acceleration..... Have you onsidered it in your Project ?
Watch out for itar, also this is similar to arsenio dev. Very cool. Would like to learn about trials making the control loop. I can see some derivative on the rapid movements 👀
@@endurance2076 you could find some simulations from some free PDFs of scientific journals or maybe some dtic links on google. There is also a couple people who do this already. I think the pretty much proportional thing can cut it with a small I and D value just for stabilization. Some hard angle limits in the code to stop a stall and drag related aero instability could help. Maybe 45 degrees top? This is just my guessing though. Good luck, it’s some awesome stuff :D. Thanks about the lego thing by the way, I got a 3D printer in the meantime and make rockets instead of guns and tanks too.
@@ArsenioDev true, Any recommendations for the roll control fin dimensions ? I know the surface area will affect the pid loop. But what are the optimal dimensions for roll control. Which formula is your designs are based on? A sub and a fan btw.
Hello,you really really help me,i am trying to make rocket and this help me a lot,can i ask in code there is something writed about led,when i want make project just gyro and 4 servos then i can use this code on it yeah?
If you don’t mind me asking, what was the power source you plugged into the breadboard power supply module? I tried using a 9 volt battery for my own project, but it won’t even power two of my servos. Thanks 🙏
Hello, i loved the design! I am trying to desgin a rocket model as well. I wonder where did you get these servo models or did you make them on your own? Thanks in advance :>
Finally I got some code.from so long I am working on this but dude to bad coding skills I was not able to complete this project.thanks mate for sharing code this will help me.
@@endurance2076 I was originally going to make a control system like this but it is nearly impossible to find servos with the necessary torque. So I instead created a reaction control system that uses compressed air from a 4500psi carbon fibre firefighting air tank and 6 solenoid valves to eject compressed air at high speeds along the x, y, and roll axis. My rcs system is still in development but it is coming along well. You can uses a system like yours if you use smaller control surfaces, higher torque servos, and maintain an airspeed less than 250 m/s.
@@endurance2076 Is it free? if not how to download it for free I am new to this so where should I get starting from and give a roadmap Please and love your video
Oh sorry for the confusion its for another future video. I am upgrading the flight computer. But for this video, you just need a Microcontroller (Arduino nano) and a gyroscope (MPU6050), and servos.
@@DR-in9ls Try with a "100V-240V Converter Adapter DC 9V 1A Power Supply Plug" see if it works then try with a battery. Or you can dissemble and reassemble it again(it might work if you did not notice a small mistake). If not, I can't say anything without looking at your setup. Maybe you can send me a picture if you really need this to work.
Take my word with a grain of salt, but read ITAR part 121.1. My interpretation was that code from this project falls under the guided missile section and is thus illegal to share with non-US citizens. I once started a similar project but never really finished because I got busy, but be careful. Most of the video is fine but don’t provide code or CAD files. Again, I could be wrong but better to be safe than in federal prison. Honestly if you just cut out the code section of this video and remove links to CAD and code you should be fine. You’ve done great work here, just be careful with sharing it on the internet. On a side note you should probably cut the scale of the fins down by a factor of three. Drag and lift scale up exponentially with velocity, so small fins with a very small angle of attack can make a large difference in flight path. Additionally, use mechanical linkages instead of direct mount, it could save your servos. Could also cut out that fourth servo and place them in thirds. A little more math to do but you’ve got the spirit to do it. Cheers, Michael Cuthbertson II
@@serdarcicekdag9088 Well mate, the video was supposed to be up earlier but the parts that I ordered hasn't arrived on time and that delays the videos but if urgent I can share the undebugged/ unfinished code with you?
Hey dude nice job. Can't wait to see the progress and eventual rocket.
Nice one dude. Can you explain your system from next video. It would be nice if you can explain codes and layout. For this video, big thumbs up 👍
In the next video, I will try to pay more attention to the explanation part.
Thanks for the constructive feedback.
Wow....great work. I can't wait to see it in action !
I'm interested in how you connected all the parts (modules) and then put them in the rocket as far as I can see it's not a PCB.
That's awesome man! I would love to work on this as my personal project. Would love if I could get help in coding.
Good mate.Just ask I will try to help you.
Amazing
Please also explain aerodynamics of Rocket , Missle
Love from india
Looks awesome, will be using this.
I've spent the past two/three months working on a project just like this and have made some good progress on the code for it, however I've gotten stuck at one part. Do you know of a way to limit how far the servos are able to turn? Rather than having the sensor make the servos turn 90 degrees whenever it rotates 90 degrees, is there a way to make the servos only rotate +/- 15 degrees until the rocket is stable again?
int sensorValue = // your input value from -90 to 90;
// Map the sensor value from -90 to 90 to -15 to 15
int outputValue = map(sensorValue, -90, 90, -15, 15);
// Now 'outputValue' is the mapped value within the range of -15 to 15
Can you please guide us through the step by step connection of electronics
HC-05 is not designed to handle high-speed displacement communication, how do you solve it?
connecting the fin directly is simple, but strong enough? plus you have a huge fin
You are correct it is not strong enough. This was just for proofing the concept "prototype" let's say.
Finally GOD made me to see the perfect video❤❤❤. Can you give the coding
And can we use this part with trusht vector control 2.0
In theory if i was to build a air to air missle theoriticaly would this be the sytem to use or.
Just a theory
Cool however I like the way the bps space youtube channel does it more, nerveless amazing work
how you deisge 3D print things
shouldn't it be zeroed at vertical position?
Yes it should be 0 at 90 degree. But the small difference is caused by the random spikes in data, calibration and the gyroscope is not parallel to the breadboard.
and is it possible to program so that the missile hits the target?
the servo does not fit with out cuting it
Where did you use the microSD and Bluetooth module I can’t see them
I see this is 2 years old. Will you ever make a follow-up video? Have you tried putting this on a real rocket to see how it flies?
what is the minimum diameter of body ?
It is around 68mm but this model was just for proof of concept. In the next video I will share one with 75mm out 72.6mm in diameter.
Sorry for the delay!
What is the Bluetooth and as card reader for.
jo, i have a big Problem, when I copy your code and try to start it there only stand no mpu6050, what should I do?
Very nice project. I'm trying to replicate it, I'm not familiar with Arduino yet. I have a question about the Bluetooth module and the SD card module. When are they used? Because in the finished model in the video I don't see them inserted in the breadboard. Thank you very much!
how we make sure that it works without ARDUINO NANO being connected to the pc
You are awasome ....
Bro do video tutorials on rocket science if you can...
Decated e gpu
Can this system be modified so that the stabilizer will keep the rocket at a 45-degree angle instead of straight up? I want to make a rocket that acts more like a missile and want it to stabilize the rocket in a more level flight. Thanks.
Papers please music ayy
and can you spread the system diagram
code : github.com/endurance-sss/flight-computer-0.1-fin-.git
How about GPS guided system to this rocket? 😀
I did one similar.... a great wxplosion happened... so I could not test it well......
My concern by that momen was if the gyro may be affected by the acceleration.....
Have you onsidered it in your Project ?
Watch out for itar, also this is similar to arsenio dev. Very cool. Would like to learn about trials making the control loop. I can see some derivative on the rapid movements 👀
Very pog
I would love to hear your advice on the control loop. By the way, I like your "Lego Subtractor Tank" it looks awesome.
@@endurance2076 you could find some simulations from some free PDFs of scientific journals or maybe some dtic links on google. There is also a couple people who do this already. I think the pretty much proportional thing can cut it with a small I and D value just for stabilization. Some hard angle limits in the code to stop a stall and drag related aero instability could help. Maybe 45 degrees top? This is just my guessing though. Good luck, it’s some awesome stuff :D. Thanks about the lego thing by the way, I got a 3D printer in the meantime and make rockets instead of guns and tanks too.
Yo, I was summoned.
Yeaaaahhhh this design is gonna have a LOT of shortfalls and BE VERY CAREFUL OF ITAR, State Dept is NOT merciful.
@@ArsenioDev true, Any recommendations for the roll control fin dimensions ? I know the surface area will affect the pid loop. But what are the optimal dimensions for roll control. Which formula is your designs are based on? A sub and a fan btw.
its really good and how did you connected those can u make a vedio
I did not see but did you program in roll control?
This is awesome mate!...I wanna do this as my open lab project. Would love if i could get the circuit diagram and connections...😁
Hello,you really really help me,i am trying to make rocket and this help me a lot,can i ask in code there is something writed about led,when i want make project just gyro and 4 servos then i can use this code on it yeah?
If you don’t mind me asking, what was the power source you plugged into the breadboard power supply module? I tried using a 9 volt battery for my own project, but it won’t even power two of my servos. Thanks 🙏
Universal Breadboard Power Supply 3.3v and 5v Output AC to DC but if you want to use a battery I will recommend LiPo Battery or 4-AAA Battery Holder.
nice project
Which application you use for designing??
Very nice job my bro ....... I would like to know what is your 3D Software please
Nice video when is the next video
Thanks .
the new video will be up soon with new modules and new code.
Awesomeness bro
Hello, i loved the design!
I am trying to desgin a rocket model as well. I wonder where did you get these servo models or did you make them on your own? Thanks in advance :>
me from future: these models are available on grabCAD mostly
Where I can get these?
Hi, your subscriber wants to ask a question:- what was the software you opened at 4:20? please answer. Thumbs up 👍
arduino
@@bb-bricks3040 Thanks
That is so good! But can you give information about electronics connection please
Hi, I wanted to ask if it was possible to create this with only two wings, and not four like you did. What would I need to change in the arduino code?
Delete half of it
That's a amazing project! i tried to make it but sadly can't power the servo
Do you have a parts list for this build?
like amazon links?
Finally I got some code.from so long I am working on this but dude to bad coding skills I was not able to complete this project.thanks mate for sharing code this will help me.
Thanks mate, good to hear the video helped you.
Plz send code
انا مهتم بهذا الشيء هل لديكم معلومات عن مكونات الكترونيا لدي امنية ان اكون مصنع صواريخ فضائية 😢
What is the library used for the mpu6050 in your code?
#include
@@endurance2076 no I mean like the .zip library you downloaded and added to your ide, thanks
I am using VScode, platformio if you search for "MPU6050_tockn by tockn" you can find it.
what library (for MPu6050) did you use?
doesn't compile me
Will this hold under aerodynamic stress
Nope, it's just for proof of concept.
@@endurance2076 I was originally going to make a control system like this but it is nearly impossible to find servos with the necessary torque. So I instead created a reaction control system that uses compressed air from a 4500psi carbon fibre firefighting air tank and 6 solenoid valves to eject compressed air at high speeds along the x, y, and roll axis. My rcs system is still in development but it is coming along well. You can uses a system like yours if you use smaller control surfaces, higher torque servos, and maintain an airspeed less than 250 m/s.
@@endurance2076 making a PID controller for a rcs system was a pain in the ass tho
Bro next video wen
Soon, sorry for the delay.
What program do yiu used to make the 3d model?
fusion 360
@@endurance2076 Is it free?
if not how to download it for free
I am new to this so where should I get starting from and give a roadmap
Please and love your video
Nice work! I'm working on a similar project for my final year project in school would like to get more help from you... Thanks
We will provide a contact email in description of the next video. We will try to help as best as we can.
Thanks alot
Hey, I am doing similar project. i will appreciate if you share papers or any manual with me.
what program is this made from? i cant see the top part of the screen
if you are talking about the text editor I am using Visual Studio Code and platform io ied.
@@endurance2076 ok cool yeah it looked like something like solid works
@@adomtatam I think you are talking about fusion 360. if not give me a time stamp.
Thank you
How to clear
Can you please suggest which Calculation have you done for this system, If possible then please refer some guide to study about this more
Reduce the sensitivity or it will over correct itself, or use a PID controller
PID is the way to do.
@@endurance2076 yup and also nice project
This is excellent, have you tested it in flight?
Code comes error
Hey dude could you share ardiuno codes pls
Yes buro
Bro codes please.
Can i have the schematic ?
I don't have the schematic for this one but it's relatively easy.
Maybe this can help 1:05 .
@@endurance2076 I have one more question. Why do we need HC-05 Bluetooth module ?
Oh sorry for the confusion its for another future video. I am upgrading the flight computer. But for this video, you just need a Microcontroller (Arduino nano) and a gyroscope (MPU6050), and servos.
@@endurance2076 bruh, I've already bought it. :(((
@@endurance2076 And about the micro sd, why do we need that.
Elon musk would like to know your location 🚀🚀
system diagram
Next video h_at s__ker that can command this stabilizer
It does not work for me everything is on but the servo won't move. pls help
Edited : It works. Thanks you really helped me.
Did you connect gnd of the breadboard power supply with the microcontroller gnd?
Yes,I did. I connected both of them from the breadboard gnd to Nano board gnd
Is the breadboard power supply connected to wall plug or you are using a 9v battery?
Im using 6 x 1.5v batteries
@@DR-in9ls Try with a "100V-240V Converter Adapter DC 9V 1A Power Supply Plug" see if it works then try with a battery. Or you can dissemble and reassemble it again(it might work if you did not notice a small mistake). If not, I can't say anything without looking at your setup. Maybe you can send me a picture if you really need this to work.
Code tentyu
Take my word with a grain of salt, but read ITAR part 121.1. My interpretation was that code from this project falls under the guided missile section and is thus illegal to share with non-US citizens. I once started a similar project but never really finished because I got busy, but be careful. Most of the video is fine but don’t provide code or CAD files. Again, I could be wrong but better to be safe than in federal prison.
Honestly if you just cut out the code section of this video and remove links to CAD and code you should be fine.
You’ve done great work here, just be careful with sharing it on the internet.
On a side note you should probably cut the scale of the fins down by a factor of three. Drag and lift scale up exponentially with velocity, so small fins with a very small angle of attack can make a large difference in flight path. Additionally, use mechanical linkages instead of direct mount, it could save your servos. Could also cut out that fourth servo and place them in thirds. A little more math to do but you’ve got the spirit to do it. Cheers,
Michael Cuthbertson II
Code
Staplizer integrated graphics card
HI
Thank you code and explain
You want me to explain the code?
Code
I will share the code in the next video because I will add new features and improve the code.
@@endurance2076 Well I'm waiting as soon as possible and when will the video arrive?
@@serdarcicekdag9088 Well mate, the video was supposed to be up earlier but the parts that I ordered hasn't arrived on time and that delays the videos but if urgent I can share the undebugged/ unfinished code with you?
okay man, you don't have another code
@@serdarcicekdag9088 Give me 24 hours i will upload the code