• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
paragliding sim controller 3D Printer File Image 1
paragliding sim controller 3D Printer File Image 2
paragliding sim controller 3D Printer File Image 3
paragliding sim controller 3D Printer File Image 4
paragliding sim controller 3D Printer File Image 5
paragliding sim controller 3D Printer File Image 6
paragliding sim controller 3D Printer File Image 7
paragliding sim controller 3D Printer File Thumbnail 1
paragliding sim controller 3D Printer File Thumbnail 2
paragliding sim controller 3D Printer File Thumbnail 3
paragliding sim controller 3D Printer File Thumbnail 4
paragliding sim controller 3D Printer File Thumbnail 5
paragliding sim controller 3D Printer File Thumbnail 6
paragliding sim controller 3D Printer File Thumbnail 7

paragliding sim controller

victor_frncy avatarvictor_frncy

August 24, 2024

printables-icon
DescriptionCommentsTags

Description

This simple controller consists of two linear potentiometers that can simulate the brakes of a paraglider in a simulator like the one made by Evan Burrows :

https://evan-burrows.itch.io/paragliding-sim

 

hardware :

  • 1x Arduino Leonardo
  • 1x printed base
  • 2x printed sticks
  • 2x rubber bands
  • (Arduino Leonardo case https://www.printables.com/model/962844-arduino-leonardo-case )
  • 2x linear potentiometers :

         Resistance: 10 kOhms
         Length: 60mm
         Width: 9 mm
         Height: 6.5 mm
         Model used: PTA4553-2010CIB103 (datasheet available in downloads)
         (https://www.mouser.ch/ProductDetail/Bourns/PTA4553-2010CIB103?qs=U%2FacTlguYxYYXugcmg9%252Bcg%3D%3D)
 

electrical diagram :

 

code (project file available for download in the "other files" section) :

#include <Arduino.h>
#include <Joystick.h>

#define LeftPotentiometer A0
#define RightPotentiometer A1

// Initialize the joystick object with specific parameters
Joystick_ Joystick(JOYSTICK_DEFAULT_REPORT_ID, JOYSTICK_TYPE_JOYSTICK,
  0, 0,                  // No buttons, no hat switches
  true, true, false,     // X and Y axes enabled, no Z axis
  false, false, false,   // No Rx, Ry, or Rz axes
  false, false,          // No rudder or throttle controls
  false, false, false);  // No accelerator, brake, or steering controls

// Variables to store the X and Y axis values
int xAxisValue = 0;
int yAxisValue = 0; 

void setup() 
{
  Joystick.begin();
}

void loop() 
{
  xAxisValue = analogRead(LeftPotentiometer);
  
  // Optional: Map the X axis value to a different range if needed
  // xAxisValue = map(value, realMinimum, realMaximum, actualMinimum, actualMaximum);

  Joystick.setXAxis(xAxisValue);

  yAxisValue = analogRead(RightPotentiometer);
  
  // Optional: Map the Y axis value to a different range if needed
  // yAxisValue = map(value, realMinimum, realMaximum, actualMinimum, actualMaximum);

  Joystick.setYAxis(yAxisValue);

  delay(10);
}

 

in-game configuration :

 1) in the main menu, go to Controller Binding

2) identify and select the potentiometers axis as brakes

3) start flying, press escape and go to Controls > Steering ans select Joystick

4) fly and ajust your settings as you want 

 

License:

Creative Commons — Attribution

Related Models

Thor Mjolnir Hammer Bic Pen preview image

Thor Mjolnir Hammer Bic Pen

effektz profile image

effektz

9,091

Diverse Schilder / various labels  for hobby & makers preview image

Diverse Schilder / various labels for hobby & makers

RPK profile image

RPK

2

Cute Fluffy Puppy Figurine to Print preview image

Cute Fluffy Puppy Figurine to Print

bonowski. profile image

bonowski.

3

Vorpal The Hexapod Walking Robot preview image

Vorpal The Hexapod Walking Robot

vorpal profile image

vorpal

4,986

MakerZ – Open Source 1/28 RC Drift Chassis by Fails & Makes | Açık Kaynak 1/28 RC Drift Şasisi preview image

MakerZ – Open Source 1/28 RC Drift Chassis by Fails & Makes | Açık Kaynak 1/28 RC Drift Şasisi

Fails&Makes profile image

Fails&Makes

Customizable EU License Plate Keychain preview image

Customizable EU License Plate Keychain

John_M profile image

John_M

43

Snap-Together Mini Minecraft Jack-O-Lantern with integrated LED preview image

Snap-Together Mini Minecraft Jack-O-Lantern with integrated LED

scottrlindsey profile image

scottrlindsey

4,453

Small Parts Storage Drawers - Organizer preview image

Small Parts Storage Drawers - Organizer

GT 3D Makers profile image

GT 3D Makers

29

9