Assemble Joystick

Line up the analog joystick with the breakout board so the terminals fit in the "through-holes". Solder the joystick to the PCB. Place the rubber thumb piece on top of the joystick nub part and firmly press it down to secure it into place.

Wire Joystick PCB

Measure and cut four pieces of 30AWG wire to about 8cm long. Secure the joystick PCB to a panavise and solder four pieces of wire to the Yout, Xout, VCC and GND

Wire Joystick PCB to Cupcade PCB

Secure the cupcade PCB to a panavise Jr. and solder the four wires to Yout, Xout, VCC and GND with the wires going into the pins with cupcade logo facing up.

Mount Joystick PCB to Enclosure

Place the joystick breakout board on the bottom enclosure part and line up the mounting holes with the stand-offs. Hold PCB to enclosure and fasten four #4-40 3/8 flat Phillips machine screws. PCB will be loose - Use #4-40 hex nuts to secure the PCB to the enclosure.

Mount Cupcade PCB to Enclosure

Position the cupcade PCB over the bottom enclosure part with the wires facing down. Line up mounting holes on the PCB with stand-offs on the part. Mount in place with two #4-40 3/8 flat Phillips machine screws.

Prep Jumper Cables

Use five female jumper cables to connect the cupcade PCB to the Pi GPIO header. Start by removing the plastic covers with a sharp tool to expose the female connector. Use a pair of flat pliers to bend the female connector so it's right angled - This allows us to make it a 'thin' as possible.

Add a piece of heat shrink tubing to insulate the exposed female connector. Cut off the other end of the cable and strip the ends with wire cutters. Tin the stranded wire to make connecting to the pin on the PCB easier.

Cupcade Adapter PCB

The Cupcade PCB was designed to fit onto a PiTFT header via socket connector, but in this project we're free wiring the PCB using jumper cables - This allows us to easily rewire connections if things need to change.

Wire Cupcade to Pi

Follow the wire diagram to reference which pins need to connect the cupcade PCB to the Pi GPIO. Down, Up, Left, and Right are being connected here.

Solder Wires to Cupcade Adapter PCB

Double-check wiring, cross referening the diagram and sodler the jumper cables to the appropriate pins on the Cupcade PCB.

Connect Cupcade Jumpers to Pi GPIO

Plug in the female jumper cables wired from the cupcade PCB to the GPIO header Raspberry Pi.

Follow the legend below to connect the cupcade to the Raspberry Pi GPIO.

USE THE PI GPIO DIAGRAM BELOW, NOT THE PHOTOS ABOVE — the photos show a prototype and the connections changed.

This guide was first published on Jan 14, 2015. It was last updated on Mar 08, 2024.

This page (Analog Joystick) was last updated on Jan 02, 2015.

Text editor powered by tinymce.