Git Product home page Git Product logo

fs2020_hwpanel's Introduction

FS2020-HWPanel

FS2020-HWPanel leverages Python-SimConnect and pySerial to allow two-way switches connected to an Arduino board to control switches in Microsoft Flight Simulator 2020 (MSFS2020).

This project is in the very initial and early stages of development but is in a working state (at least with the Cessna 172).

arduino.py

Listens on COM3 for data to arrive from an Arduino, then triggers Events to Microsoft Flight Simulator S2020 via Python-SimConnect based on a Dictionary which maps the data received with the Event Name. I currently have it working with some simple two-way switches connected to the Arduino. The code running on the Arduino can be found in 'single_switch.ino'

gui.py

So that testing could be done without the need for Arduino board this uses a tkinter GUI with buttons to trigger Events to Microsoft Flight Simulator S2020 via Python-SimConnect.

get_vars.py

Reads Simulator variables out of MSFS2020 (also using Python-SimConnect) and displays on console.

Notes

For Python-SimConnect, Python 64-bit is needed.

Microsoft SimConnect Documentation

Below are links to the Microsoft documentation for SimConnect

Function

Event IDs

Simulation Variables

fs2020_hwpanel's People

Contributors

nf1973 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

alb202

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.