Saturday, November 5, 2011

PS Cockpit System - Example

Ok. One example.

I have a new panel. It is the Test panel:



It has the following elements:
INPUTS:
- (2) pushbuttons: Fire & OHeat Detect and Mal & Ind Lts
- (2) switches: Oxy Qty and Epu/Gen
- (2) 3 position switches: Probe Heat and Test
The total inputs for these elements are: 1 per pushbutton + 1 per switch + 2 per 3posSwitch = 1 x 2 + 1 x 2 + 2 x 2 = 8 inputs
OUTPUTS:
- (4) leds: Flcs Pwr A, B, C, D

The total IO is 8 inputs + 4 outputs = 12 IO so I select the one expander of 16 IO and give it an unused address:

Now I wire all the elements of the panel…


… and connect them to the selected expander:


Now I connect the expander in daisy chain:


Next step: configure the expander in the software…


… and the types of outputs and inputs according the wiring…


…for all the elements:


Now it’s time to test our new panel:


That’s all. Let’s see the results:




If we establish one fixed address of the expanders per panel then we all can use the same configuration and more important, if someone can supply individual panels with the elements already wired to the expander the end user could buy the ones he wants and they will be “plug and play” with no need of knowledge of electricity, electronics, program skills, nor configuration skills. Doesn’t seem exciting? Clapping hands

SIM INTERFACE

We have defined and tested the Test panel. Now we have to tell the software what to do with the inputs and what to do with the outputs.

Inputs
Inputs are interfaced with the flight simulator through keystrokes. Every time the software detects any change of any of the inputs the system search the database to find the keystroke to be sent to the defined window.

We do that on the Command window following the next steps:
1. Select the type of input clicking on Pushbuttons
2. Find the desired input.
3. Select one of the 3 joystick DX buttons if you want the key combination be used in combination with the joystick. Select the window to send that key combination.
4. Select the desire input action.
5. Select the key combination.
6. Click on the Replace button and the key combination will be assigned.



Each type of input has the following actions to define a keystroke combination:
- Pushbuttons and Switches: ON/OFF.
- 3 Position Switches: POS1/CENTRE/POS2
- Encoders: CW/ CCW
- BCD: Matrix of all the available options for each type

Ok. Time to test!!!

Open the IO Layout window and:
1. Click on Test Commands. PS Commands window will appear and the commands will be sent to it.
2. Activate the Epu/Gen switch
3. The key combination will appear on the PS Commands window.


Outputs

As described above PSCockpit uses models to link the hardware with the software so you can use your cockpit with the different flight simulators as the software always knows where the outputs are.

All the lights, 7 segments displays, servos and steppers you can use have been defined in each model although they aren?t used by the flight simulator. This allows cockpit builders to wire and interface their entire cockpit so it can be used in the future whenever the functionality should be developed.

Only the F16 model has been developed so far but models can be defined by the users to be added on later versions.

In our Test panel we have 4 lights outputs, so we open the F16 model and:
1. Click on the Lights button
2. Select the switch and the expander the outputs have been wired to.
3. Click on the desire light and a drop down box will appear with all the outputs defined as leds in the IO Layout window.
4. Select the desire one.


Repeat the process for the 4 leds and check if everything is correct.

You've got it!!! :clap:

Go to the main screen and run PSCockpit, run your preferred flight simulator and enjoy!!! PS Cockpit will extract the flight data from the flight simulator and will activate the corresponding outputs.

The flight simulators that PSCockpit works with, up to now, are the following:
- OpenFalcon
- Falcon AF
- Falcon BMS
- Microsoft Flight Simulator Series
- Lock On FC series

Other flight simulators on demand?.. :whistle:

Regards,
Shep

Tuesday, November 1, 2011

PS Cockpit PCB system - General overview

Are you tired trying to fit all the electric wires in your cockpit?
Do you have too many different systems to run your cockpit?
Do you want a plug & play system?
If your answer of these questions is YES, PSCockpit System is your final solution:





 Description

The system uses a main PCB with a PIC4550 processor connected to the USB port of the PC and control all other expanders and hardware connected.

Digital and analog inputs/outputs are distributed along the cockpit trough several types of satellite PCBs. These satellites PCBs are connected to the main PCB with only 2 wires (I2C protocol). They are connected to each other in daisy chain so you have to run only these 2 wires once per I2C channel in your cockpit.

The Main Board has eight I2C channels. Each of this I2C channels can handle 8 satellite PCBs expanders. You can choose the expander of 8, 16 or 40 digital IO or analog IO to fit your needs.

The PSCockpit system has been developed with the following objectives:
- One stop hardware and software for cockpit systems. Once the cockpit is connected you can configure the software individually for each sim.
- Easy configuration and setup for people without electronic knowledge.
- Avoid excessive wiring runs along the cockpit: The system uses small satellite PCB’s that can be distributed along the cockpit. The communication between these satellite PCB’s and the Main PCB is done with only 2 wires (I2C protocol) plus the power cables. These wires can be connected in daisy chain. The idea is to wire each of the cockpit panels to only one
satellite PCB.


Main Features

- User friendly hardware management. You will be able to manage all your hardware in the IOLayout.
Read more…

- Sim data extracted automatically from Falcon (BMS and other versions), DCS, Flaming Cliffs and MSX.   

- With the Airplanes Models you will be able to relation your hardware and software in a graphical view. Airplanes Models developed: F16, A10C and F104G.
Read more…

- With the Launcher you will be able to launch all your applications before and after you run your favourite sim. Even more, you will be able to send any key stroke combination from your cockpit to any of these applications.
Read more…

- And much more…

Hardware supported

- Digital inputs: pushbuttons, switches and encoders
- Digital input matrix: BCD and 8x4
- Digital outputs: leds, 7 segment displays, 5x7 alphanumeric displays and magnets
- Analogue inputs and outputs
- Motors: vibration motors, unipolar steppers, X-27 and X40 steppers
- Servos: (1) x Lynxmotion SSC-32 channels or (2) x Adafruit 16 channels servo driver
- Aircores: Simco 2022-705
- Displays: (2) x OLED (SSD1322) or (2) x LCD (KS0108) and (4) x Adafruit 1.3” OLED (SSD1306)


Software

The software is designed to retrieve the needed data from the simulator and communicates with the main PCB. It has the following features:

- I/O system layout detection, configuration and testing:



- Supports these types of digital outputs: leds, flash leds, 3, 4, 5 and 6 digits of 7 segment displays, vibrator motors and steppers motors,
- Supports these types of digital inputs: pushbuttons, switches, 3 position switches, rotaries switches, encoders and matrixes of 8 inputs to 3 BCD, 16 inputs to 4 BCD and 32 inputs to 5 BCD.
- Commands assignation for all the above different types of inputs plus different commands for 3 selectable DirectX joystick input.


- Commands can be sent to different running applications.
- Based on models for different cockpits: F16, A-10, F-18….:



- Independent configurations to use several simulators: Falcon, A-10, MSFlight,…
- Configurable launcher to run applications before and after simulator: Track IR, Hotas Cougar configuration, TS3, VAC,…..
- TCP protocol to run the cockpit in other computer.
- FreeTrack and TNGames Vest built-in functionality:




Regards,
Shep

Sunday, October 30, 2011

PS Keys for Falcon



This simple application reads a .key file and makes a keyboard layout of it just like the keymap you find in the falcon directory.


Regards,

Shep

Saturday, October 15, 2011

PS UDP Falcon Server for Android 2.2 (v0.8)(Beta)


This application extracts the flight data from Open Falcon, Falcon AF and Falcon BMS flight simulators acting like a server and send this data to an android mobile device running the client application PS Gauges trough the TCP/UDP net protocol.

PS UDP Falcon supports 5 clients connected at the same time so you can use five different android devices. Three of them are used for flight data, one for the left MFD, one for the right MFD and one for the HUD.

PS Gauges client application needs Android 2.2

PS Gauges can display in your mobile device the following instruments: RPM, RWR, HSI, DED, PFL, ADI, VVI, AOA, ASI, ALT, CMPSS, CP, FFI, FI, ICP, LMFD, HUD and RMFD.

Download

Installation notes:
- Unrar the file
- Install PS UDP in your computer with PSUdpSetUp.exe
- Install PSGauges.apk in all your favorite android devices

Enjoy it!!!

Please post your comments and suggestions to keep improving the application.

Regards,
Shep