I have one of these (similar) missile rocket launcher which I don't use anymore, after all how much will you use it.
It's time to recycle!
The plan is to place the missile launcher on the Smart Car and control it via the PlayStation joystick - now that will make a nice toy for my kid.
Let's dissect and see what's inside shall we?
Nothing much in the upper part of the launcher, but there are a few things to notice here. The motors are regular DC motors and not servo or stepper motors therefore controlling the angle of the head is not something predetermined. The first thing to watch out is when tilting the head of the launcher it needs to stop at a certain point so that it won't simply break the gears or burn the motors. The way they do it for this launcher is by a trigger switch which you can see in the following picture:
When the head tilts as low as it can a trigger switch will be pressed that will cause the motors to stop. This is also done for the turning of the head left and right. This is something that needs to be handled via the PCB that I need to build to make the launcher work properly and not break after a few shots.
The trigger switches for the head turning left and right (horizontal turns) are connected to the two yellow lines and the second one is connected to the two orange lines.
I have marked with RED the lines that go to the motors and in BLUE the trigger lines that indicate that the head of the missile launcher reached the end of the horizontal or vertical turn. This is important so that when triggered the motor should not be moved any more in that direction so that the missile motors and gear won't get damaged.
I disassembled the head to understand what I'm dealing with here. The missile are loaded and shot from a single motor. The motor turns the missile holder to load the next missile, then it pulls back a missile shooter which is placed on a spring and then releases it. When the missile is released, there is a trigger that is pressed when the missile is released, this is to know when to stop the motor.
This made me think a little, if the motor stops when the missile release trigger is pressed, then the next missile shooting should start when someone presses the fire button, this will require the missile launcher to load the next missile, pull back on the missile shooter and then release. This can take some time, well, 3-4 seconds.
I have a better plan for this. I'm sure I can make a piece of code that can measure how much time it took for the missile to get released and calculate the time it requires to simply load the next missile, pull back on the missile shooter, but stop just before the release making the shoot time when pressing the fire button as short as possible.
The green wire is connected to the trigger and the orange-red wire is the motor power line.
Just to give you an idea, I did the schematics for the motors and it's very similar to the first schematics which are for the wheels of the Toy Car as they both use regular DC motors. The difference here are the trigger points that must be connected to the PCB to trigger when reaching the limits of the head turning.