Code Monkey home page Code Monkey logo

rudderpedals's Introduction

3D Printed Flight Simulator Rudder Pedals

This is a set of flight simulator rudder pedals that I built from scratch. My copy is currently functional and being used in Microsoft Flight Simulator. This is a fairly crude design and is provided as-is with no support. Expect to iterate and improve the design.

https://www.thingiverse.com/thing:4824134

https://youtu.be/vinw3yeDGUQ

Materials

Construction Notes

  • Reference the youtube video for additional notes
  • Reference the included images
  • The arms are 300mm long and will dictate the minimum size printer (but they can be printed diaganoally)
  • The shafts must be cut to size and their diameter must be ground down to fit in the bearings. I put the cut shafts into a drill press and ground them with sand paper.
  • There are 8 shafts total:
    • 61mm rail shaft X4
    • 57mm pedal shaft X2
    • 72mm center shaft X2
  • Some pieces are glued together with super thin cyanoacrolate (superglue). For best adhesion, sand the mating surfaces down to a very fine grain - 1000 git or more, and apply a thin and even layer of glue.
    • Pedal is glued to Pedal Hinge
    • Rail Top is glued to Rail Bottom
    • Hall Sensor Mount is glued to Frame
    • Magnet Mount is glued to one of the Arms
  • The hall sensor I chose may not be the best candidate. I get less resolution than I would really want. One of the parameters in the datasheet is "Magnetic Range", which for the SS49E is +/- 1000 Gauss. If I were to do it again, I would choose a smaller magnetic range for higher resolution.
  • The magnets interact with the sensor in a way that requires a specific orientation and distances. Experiment with a simple test setup to familiarize yourself with the behavior.
  • The circuit is very simple. It is powered by the usb port. The hall sensors require 5V, ground, and output a 0-5v signal that is read with analogRead().
  • Pay special attention to how the springs are mounted in the video - they are latching and will self center.
  • The assembled product was mounted to a board with screws. The Spring Posts are hot glued to the board.

Programming Notes

  • This project uses Arduino Joystick Library https://github.com/MHeironimus/ArduinoJoystickLibrary
  • ArduinoJoystickLibrary requires an arduino or clone that uses the ATmega32u4, although I expect that the library could be ported if you have more programming skill than ATmega32u4 buying skills.
  • There is a physical calibration step that is independent of Windows joystick calibration. I printed values from within the microcontroller over serial and tuned these values for each axis:
    • top - the highest raw ADC value
    • bottom - the lowest raw ADC value
    • expoV - exponential curve coefficient, 1 is linear, see source for my values. You may find a more formal way of finding this value but I just used trial and error.

rudderpedals's People

Contributors

darknrgy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.