Giter Site home page Giter Site logo

flightpanel's Introduction

FlightPanel

MSFS2020 client to read data from SimConnect and send data to Arduino via serial ports. Also receives serial input from Arduino and send data to game via SimConnect API.

Inspired by the instrument project by Scott Vincent, mostly reused the SimConnect data defs and communications code.

I mainly added Serial communication code to talk to the Arduinos, as well as Arduino input handling. (for customized trim up/down).

Arduino files are in the Arduino folder. I used two boards:

  • Arduino Pro micro as a joystick, for the button/axis/encoder input.
    • A button matrix was used for push button/toggle switches
    • 3 Encoders and 3 analog in channels
    • Identified as a joystick by the system
    • I used a custom hardware definition when writing the board, following this guide
    • I created a breakout PCB for the "button" input for easier wiring.
  • Arduino Uno, for driving the two servos and LEDs.

flightpanel's People

Contributors

yanghu avatar

Stargazers

kei avatar  avatar

Watchers

James Cloos avatar  avatar

flightpanel's Issues

Erratic Data on Arduino

Hello! Thanks for the great work. I am on a learning curve on this but wondered if you could guide me a bit with my problem.

Your codes works just fine until I begin to add more flight parameters such as air speed, VS, etc. to experience data received are no longer correct but very strange numbers. Even those parameters if I limit upto 3, things work great. I suspect data buffer issue happening? But not sure.

To test the communication I attach a 20x4 character display driven by Arduino Nano, and nothing else.

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.