This project show one how to connect a series of generic electronic hardware with their Quantum platform. In this case, this project will combine two joysticks and a button to create a joystick controller. It’s an easy project that can be utilized to control numerous motor driven projects.
To get started, gather all of the parts listed above.
Take your two joysticks and connect a male to female jumper wire to every terminal on them. Like so:
***Be careful to connect both Joysticks to 3.3V and not 5V! If you don’t your readings will be wrong.
Build the Firmware
Navigate to the Firmware Builder and create a new Firmware file. We named ours Joystick.
Now you can upload your firmware to the Build Base.
Build the Application
Navigate to the Applications page and click the “+ Create New Button”, name your application, and click create.
You will now be directed to the App Builder Canvas.
Using the search bar in the left hand tool-bar search for the Joystick code object and drag it onto the canvas.
At this point you should name and label all of your interface objects (The Switches and the Analog Sliders), as this will make them easier to identify on the dashboard.
We’ll show you how to do the first one. Select the object you wish to change the name of by clicking on it. The properties panel on the right will pop open. Here you can change the “Object Name” and the “Label”.
For this first object we will change both the Label and the Object Name to “X-Axis Left Joystick”. Remember to hit the “Save Properties” tab for each object that you rename, otherwise your changes will be lost.
Your application is now complete! Save it and return to the Applications page.