# How to build this?

The best ways to develop this?

### Recommended For You

1. Gusfoo says:

The main ingredients are;

* A measurement unit that tells you what angle you are to the ground. For example this one https://playground.arduino.cc/Main/MPU-6050
* An [Arduino](https://en.wikipedia.org/wiki/Arduino) board to plug it in to. Which can also take a…
* … stepper motor control board and 2 stepper motors. See [here](http://www.instructables.com/id/Controlling-a-Stepper-Motor-with-an-Arduino/) for how to put things together.

Now, each time you step a motor one increment on either of the two axes, you’ll exert a specifically precise amount of force on the stick in a precise direction. Simply then *[mathematics and programming](https://img.devrant.com/devrant/rant/r_606442_yjFvn.jpg)* and you’ll be able to take the input of the attitude sensor and translate that in to the required number of steps you want each motor to move.

2. dkyguy1995 says:

If I know anything from KSP it’s that you need more reaction wheels

3. original_4degrees says:

4. Soupfortwo says:

You have to get two motors of sufficient speed and torque and then model their laplace function. You then need to be able to map the angular location of the stick and both flywheels with some sort of encoder. You need to sense the displacement of the stick and use your motor equations in a closed loop control scheme that includes the change in angle and the speed of the motor. If the angle increases the motor should spin faster. After you get enough data you can map the stick as a laplasse function for each wheel and write the final control equation.

MATLab would help you a lot with this, so would a solid understanding of linear systems. If your really good with it MATLab could simulate everything before you start and specifically tune the equations to your equipment

5. dtutunzhiu says: