In this project, I demonstrate three different use cases for single-axis joysticks with an Arduino Nano microcontroller.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Single Axis Joystick Demo Wiring Diagram.pdfAdobe Portable Document Format - 3.56 MB - 03/25/2024 at 07:35 |
|
|
Top Panel Laser Cut Drawing.dxfAutoCAD DXF - 5.54 kB - 03/25/2024 at 07:35 |
|
|
Bottom Panel Laser Cut Drawing.dxfAutoCAD DXF - 3.15 kB - 03/25/2024 at 07:35 |
|
In this project, I demonstrate three different use cases for single-axis joysticks with an Arduino Nano microcontroller. The joysticks used in this project can be found here!
Single-axis joysticks have historically been out of reach for hobbyists due to their large size and high cost, and while dual-axis joysticks are ubiquitous and commonly available, sometimes a user just wants to control a single axis. For example:
In this article, I share a demo unit that utilizes 3 x single-axis joystick module breakout boards to demonstrate these three applications!
Disclosure: Some of the links in this article are affiliate links. This means that, at zero cost to you, I will earn an affiliate commission if you click through the link and finalize a purchase.
Solder the 22 AWG hookup wire to provide power (VCC, 5V) and GND to each of the three single-axis joysticks in parallel. Run one wire to each of the signal pads on each single-axis joystick board, and solder all 5 x wires to the aviation connector mounted on the side wall of the demo enclosure.
Build the breadboard circuit for the Arduino Nano clone board as shown in the image. The pin connections leading to the Arduino are as follows:
The Arduino Nano receives its 5V power from its USB port, which you can connect to a 5VDC external power supply, or to a typical PC/laptop USB port. The stepper motor is run off an external 12VDC power supply, and controlled using the TMC2208 stepper motor driver. Take care not to connect 12V positive power to any of the Arduino pins, or you risk damaging the Arduino!
The demo unit was created by laser-cutting sheets of 1/8" thick black acrylic. The DXF file used to create the laser cutting files was made using Autodesk Fusion 360. The side wall of the demo enclosure was 3D printed using black PLA filament, and then M3 threaded inserted were installed around the top and bottom rims using a standard soldering iron. Some screw caps were also printed using black PLA filament for the demo unit to rest on. The top 3 x joystick caps were designed in Autodesk Fusion 360 and printed using the same PLA filament, and they were designed to be press-fit onto the joystick handles.
The three styles of joystick I demonstrate here are:
The top and bottom laser-cut acrylic sheets are fastened to the 3D-printed enclosure wall using M3 screws, and M2 standoffs + screws and nuts secure the 3 x joysticks to the underside of the top face of the demo unit. A 5-pin aviation connector is mounted to the side of the demo's printed enclosure wall.
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates