Introduction: Making a MeArm Joystick Pad

Picture of Making a MeArm Joystick Pad

**Note: This instructable assumes that you already have a working MeArm. If you want to build a MeArm, there are many instructables that could help you with that. That's how I built mine. :) The code that I'm using in the video is a slightly modified version of https://www.instructables.com/id/MeArmJoystick-recording/**

The purpose of this project is to make a joystick controller pad for MeArm - an open source robotic arm designed by Ben Gray (mearm.com). This joystick pad will be part of the MeArm prototype for my upcoming robotics workshop where students will be building a MeArm and I thought kids will probably feel more comfortable controlling the robot arm using a joystick pad rather than buttons. Although various Arduino joystick shields are available on-line, they all have one joystick on the left and 4 buttons on the right; I want joysticks on both sides. Also, I think making their own joystick pad would add extra fun to the workshop as well.

Step 1: Tools and Parts

Picture of Tools and Parts

You will need following parts:

  • A paper to draw your joystick pad that fits your hand
  • A piece of cardboard big enough to make 2 cutouts
  • 2 x Arduino joystick modules
  • 1 x 10pcs 400mm MF dupont cables (I'm using 400mm long cable but it could be longer.)
  • 8 x M3 10mm screws and 8 x M3 nuts
  • Wire tie

Tools needed:

  • Pencil/pen
  • Utility knife
  • Screw driver
  • Cutter or scissors
  • Glue
  • Label maker (optional)

Step 2: Draw Your Joystick Pad Template

Picture of Draw Your Joystick Pad Template

Draw your joystick pad template on a graphic paper. Make sure it is ergonomically designed and fits your hand. Make sure it has enough space to mount 2 joystick modules.

Use the template to make two cutouts. The 2nd cutout should be rotated in 90 degree to form criss-cross layers.

Step 3: Glue Two Cutouts Together and Punch Holes for Screws and Cables

Picture of Glue Two Cutouts Together and Punch Holes for Screws and Cables

Glue two cutouts together to make it stiffer. Wait until glue dries up before making holes for screws and wire. I used a small screw driver to punch holes for M3 screws.

Step 4: ​Mount Joystick Modules and Wire Pins

Picture of ​Mount Joystick Modules and Wire Pins

Run 10pcs dupont cables through the wire slot. Mount two joystick modules on the board with pins pointing up. In this position, the X and Y pins are switched so you have to remember that when you're connecting wires to the Arduino board. Loop the wire tie around the cable for additional protection.

Optionally, you may want to use a label maker to clearly label MeArm joints controlled by joysticks.

Step 5: Connect Joystick Wires to Arduino

Picture of Connect Joystick Wires to Arduino

Connect your joystick wires to Arduino based on your code. In my code, I'm using A0-A5 pins:

  • A0-A3: X & Y pins from both joystick modules
  • A4-A5: button pins from both joystick modules

Two GND and two VCC wires are connected to the power source.

Power-on your MeArm and test your joystick controller. It works! (See the intro video.)

Comments

jsiwek1 (author)2017-03-21

It's a great project, but you didn't include the code to actually test the joystick modules. Where could I find the code to test? Thanks

DenisB51 (author)2016-04-23

nice projects , where can i get the code ?

About This Instructable

3,522views

39favorites

License:

Bio: My goal is to captivate, inspire and engage young engineers through intriguing robotics projects. I use Arduino at my robotics workshops since it is the ... More »
More by botdemy:MicroPython IoT Rover Based on WEMOS D1 (ESP-8266EX)Pet Bot (no Coding)Billboard Bot
Add instructable to: