The Adafruit 1.3” OLED display can be used in the PS Cockpit system for several functions as described before. The number of displays is limited to 5 and, depending on the number of them and their functions, they can have a high impact in the performance of the PS Cockpit System.
They can be connected to any of the I2C channels except the Main I2C Channel. As the address of the Adafruit can be selected by hardware, (2) Adafruit displays can be connected to the same I2C channel by selecting different address in each of them.
Follow this procedure to connect the Adafruit OLED display to the PS Cockpit System:
1. Prepare the Adafruit display for I2C operation by soldering the (2) jumpers SJ1 and SJ2 located in the back of the display:
Friday, April 3, 2015
HOW TO Configure the UHF panel
For UHF Board description, options and how to configure the expander address, see PSCockpit Quick Guide V.4 – UHF PCB. You can access the Quick Guide from Help/Quick Guide menu in the PSCockpit software.
To configure the PS Cockpit UHF panel just select UHF Board from the Expander pull down list in the IOLayout page of the PS Cockpit Software at the correct I2C channel and expander configured in your UHF board:
Once the UHF panel is already configured you can modify the list of inputs/outputs as desire as well as the free I/O of the expander:
Be aware that once the configuration is saved, whenever you enter the IOLayout Page you won’t see “UHF Board” label on the expander anymore but the 40 I/O label.
UHF Frequency and Channel internal values
As BMS do not provide yet the values of the UHF Frequency and UHF Channel in the share memory area, you can choose to use the PS Cockpit Software internal values. This way, you will see the internal values of them displayed fancy in your UHF panel:
To configure the PS Cockpit UHF panel just select UHF Board from the Expander pull down list in the IOLayout page of the PS Cockpit Software at the correct I2C channel and expander configured in your UHF board:
In case of there is some data already in the selected expander, the software will prompt you for continue:
If you have the F16 Model Airplane, you will be prompted to:
- Set the standard BMS commands for the UHF board.
- Link the 7 segment displays to your Airplane model.
- Use internal values for UHF frequency and channel.
If you answer affirmative to the prompts, the UHF board will be ready to use and the F16 Model and Commands pages will show up with all the data already in the correct location:
- Set the standard BMS commands for the UHF board.
- Link the 7 segment displays to your Airplane model.
- Use internal values for UHF frequency and channel.
If you answer affirmative to the prompts, the UHF board will be ready to use and the F16 Model and Commands pages will show up with all the data already in the correct location:
Be aware that once the configuration is saved, whenever you enter the IOLayout Page you won’t see “UHF Board” label on the expander anymore but the 40 I/O label.
UHF Frequency and Channel internal values
As BMS do not provide yet the values of the UHF Frequency and UHF Channel in the share memory area, you can choose to use the PS Cockpit Software internal values. This way, you will see the internal values of them displayed fancy in your UHF panel:
This values will be modified with the encoders of the UHF panel accordingly.
To use this function open the F16 Model page, go to Special I/Os and select “Use UHF Internal Values” and fill the ID of the encoders in its location:
To use this function open the F16 Model page, go to Special I/Os and select “Use UHF Internal Values” and fill the ID of the encoders in its location:
UHF “A” segment display
By default you UHF board is shipped with the first display of the UHF frequency in normal mode. This means that you will see standard numbers in the display. If you would like to see only “2”, “3” and “A” instead, you have to change the configuration of your board as follows:
1. Move the jumper to its original position COM-NORM to ASEG-COM.
2. Wire one free output from the board (by default output 24) with the IN pin of the connector.
By default you UHF board is shipped with the first display of the UHF frequency in normal mode. This means that you will see standard numbers in the display. If you would like to see only “2”, “3” and “A” instead, you have to change the configuration of your board as follows:
1. Move the jumper to its original position COM-NORM to ASEG-COM.
2. Wire one free output from the board (by default output 24) with the IN pin of the connector.
3. In the PS Cockpit Software, select “Use UHF “A” Segment” in the Special I/Os page of the F16 Model and add the output ID in its location:
Power OFF bit
When the board is power ON, the 7 segments displays will display a value of (0). As with the 7 segment display boards, the displays can remain OFF until you energize the pit inside the simulator -as in the real life- using the Power OFF bit.
To use this function, follow the next procedure:
1. Detach the jumper from the Power OFF bit connector of the UHF board.
2. Wire a free output from the board to the left pin of the Power OFF connector (i.e. free output 20):
3. Select a Led Output for the output 20 in the IOLayout.When the board is power ON, the 7 segments displays will display a value of (0). As with the 7 segment display boards, the displays can remain OFF until you energize the pit inside the simulator -as in the real life- using the Power OFF bit.
To use this function, follow the next procedure:
1. Detach the jumper from the Power OFF bit connector of the UHF board.
2. Wire a free output from the board to the left pin of the Power OFF connector (i.e. free output 20):
4. Select “Use Power OFF bit” in the Special I/Os page of the F16 Model and add the output ID in one of the Power Off reserved locations:
Just remember the next time you power ON your cockpit that the board is not faulty but you are using the Power OFF bit!!
Regards,
Shep
Regards,
Shep
HOW TO Configure the Caution Panel
To configure the PS Cockpit Caution Panel just select CP Board from the Expander pull down list in the IOLayout page of the PS Cockpit Software at the correct I2C channel and expander configured in your Caution Panel board (see PSCockpit Quick Guide V.3 – Caution Panel PCB):
Regards,
Shep
In case of there is some data already in the selected expander, the software will prompt you for continue:
If you have the F16 Model Airplane, the software will prompt you to link the CP board to your Airplane Model:
Once the Caution Panel is already configured you can modify the list of inputs/outputs as desire as well as the free I/O of the expander:
Be aware that once the configuration is saved, whenever you enter the IOLayout Page you won’t see “CP Board” label on the expander anymore but the 40 I/O label.Regards,
Shep
Airplane Models in the PS Cockpit System
At this
stage you should be familiar with the F16 Model Airplane configuration page in
the PS Cockpit Software where you can link your switches, leds and other
devices connected to your boards with the specific functions of the F16
Airplane Model. This linkage allows the PS Cockpit Software to know where are
the different elements when running you preferred simulator.
So far, other
two Airplane models have been implemented: A10C and F104G. You can change the
airplane model by clicking the desire option in the Airplane menu of the PS
Cockpit Software main page. The software will ask for confirmation:
Once you
have selected the Airplane Model, next time you click on the Airplane icon on
the left of the main page, the new Airplane Model will be displayed:
Be aware
that although all three airplane models share some configuration data, the
function of some other data may change. Revise carefully the new
configuration!!!
When
changing the Airplane Model no data will be lost.
Regards,
Shep
HOW to Configure the Marker Beacon
The
PSCockpit allows you to program your Marker Beacon in two different ways: using
the data extracted from the sim or using the PSCockpit Marker Beacon.
Unfortunately
the state bit of this lamp can’t be extracted from the Flight Data to be used in
our cockpits.
PSCockpit Marker Beacon
The
PSCockpit Marker Beacon has been designed to use it when there is no such
information from the sim but some other data can be extracted. It can be use
for general aviation providing 3 coloured lights and 3 tones.
After
configuring 3 led outputs in the IOLayout of the PSCockpit Software, you have
to set these Ids in the F16 Model page of the PSCockpit System:
Marker Beacon in BMS
The F-16
has only one light as Marker Beacon and blinks at a different frequency according
to the marker you are overflying, but only outer (OM )
and inner marker (IM) are implemented in BMS.
In case your
favourite sim doesn’t have implemented the marker beacon, you can use the
PSCockpit Marker Beacon.
To do this,
you have to enter the parameters of the marker beacon in the Marker Beacon
option of the F16 Model page and select “Use PSCockpit Marker Beacon” checkbox.
You can
define the range of each marker from the runaway in nautical miles and the
deviation in degrees:
With the
marker ranges and the course deviation, the PSCockpit Software will activate
the marker beacon lights and the correspondent tone but only when the Tacan
Mode is set to ILS/NAV.
To tell the
PSCockpit Software that you are in ILS/NAV Tacan Mode goto Special I/Os of the
F16 Model page and select the input that will be active under the label HSI
ILS/NAV:
Regards,
Shep
Thursday, April 2, 2015
How to Interface 3 Positions Switches in the PScockpit Software
Select first the input and the 3 positions switch in the IOLayout page:
The
software will reserve 2 input for that switch.
For wiring,
review your switch data sheet. Usually, the center pin is the common and you
have to wire it to ground. The other two pins have to be wired to the inputs:
Now, go to
Commands Page of the PSCockpit Software and select 3 Pos Switches. You will see
the list of all 3 Pos. switches of the configuration. Select the desire one and
put the key combination you want to be sent to the sim. You will see 3 options:
when the position 1 is active, when the position 2 is active and when none of
them are active (Center):
Saturday, February 28, 2015
Saturday, January 31, 2015
Boards of the 4th Run
The boards of the 4th run have arrived yesterday 
CP board:
Shame on me, I forgot to order the encoders…
I still have to make some trials and software changes but shipments will start shortly.
Thanks for your patience!
Regards,
Shep
CP board:
Shame on me, I forgot to order the encoders…

I still have to make some trials and software changes but shipments will start shortly.
Thanks for your patience!
Regards,
Shep
Sunday, January 18, 2015
Adafruit OLED video
This video shows 2 Adafruits working in the PSCockpit System:
- Speed Brake indicator
- Total fuel indicator
Also the stepper X40 in the Fuel Indicator, althoug the needles were not well attached.
The result in the Fuel Flow indicator is not as good as the Uri one (great job! and thanks for the fonts) but it will do the trick. That's the back side of a single system taking all the job!!
Regards,
Shep
Monday, January 12, 2015
Adafruit Oled 1.3” Display With PSCockpit System
The PSCockpit System can drive up to 5 OLED displays and they can be connected directly to any of the 0 to 7 I2C channels of the system. As the Adafruit OLED has two selectable I2C addresses, only 2 displays can be connected in one of the I2C channels.
You will be able to select the following parameters in the PSCockpit Software:
- Horizontal and vertical initial positions
- Vertical distance between digits
- Total display area
- Two digits sets: 12x16 and 14x20 pixels
- Reverse display mode
- Inverse display position
To use the Oled display in different parts of our cockpits, you can select one of the following display modes:
Horizontal digits mode:
We can use this option to display digits in the display with or without vertical digit strip. The vertical strip can be of 1 or 3 digits.
* Total fuel indicator (horizontal digits + 1 digit vertical strip)
* Fuelflow indicator (horizontal digits + 3 digits vertical strip + 2 added zeros)
To display time in 4 or 6 digits:
Tacan channel mode
To display tacan channels:
ILS Frequency mode (for A10C supporters): 
To display ILS Frequencies channels:
Bar level mode:
To display fill levels indicators
Picture mode:
This functionality can be used to load strip pictures and use them as indicators. In this mode, the reaction time will depend on the display area.
Some examples:
* Speed brake indicator:
* Vertical Speed Indicator:
* Angle of attack indicator:
* Compass
One last installation recommendation:
Be aware that the Adafruit OLED display vertical display pitch is 7 pixels. You have to find the correct position of the display behind the instruments to display the digits correctly like in the Fuel Indicator. Otherwise, part of the numbers can be hidden and it can’t be corrected by software.
Next to come: Video of the Fuel Indicator with the X40 stepper motor and the Adafruit OLED display
Regards,
Shep
You will be able to select the following parameters in the PSCockpit Software:
- Horizontal and vertical initial positions
- Vertical distance between digits
- Total display area
- Two digits sets: 12x16 and 14x20 pixels
- Reverse display mode
- Inverse display position
To use the Oled display in different parts of our cockpits, you can select one of the following display modes:
Horizontal digits mode:
We can use this option to display digits in the display with or without vertical digit strip. The vertical strip can be of 1 or 3 digits.
* Total fuel indicator (horizontal digits + 1 digit vertical strip)
* Fuelflow indicator (horizontal digits + 3 digits vertical strip + 2 added zeros)
Digital watch mode:
To display time in 4 or 6 digits:
Tacan channel mode
To display tacan channels:

To display ILS Frequencies channels:
To display fill levels indicators
This functionality can be used to load strip pictures and use them as indicators. In this mode, the reaction time will depend on the display area.
Some examples:
* Speed brake indicator:
* Vertical Speed Indicator:
One last installation recommendation:
Be aware that the Adafruit OLED display vertical display pitch is 7 pixels. You have to find the correct position of the display behind the instruments to display the digits correctly like in the Fuel Indicator. Otherwise, part of the numbers can be hidden and it can’t be corrected by software.
Next to come: Video of the Fuel Indicator with the X40 stepper motor and the Adafruit OLED display
Regards,
Shep
Saturday, November 22, 2014
Stepper Board for X27 stepper motor
I’ve been working on the X27 168 stepper controllers to find that there is no need to make a board for these steppers.
They can be connected directly to an I/O board with the following two limitations:
- It won’t be valid for high speed gauges (i.e Altimeter). This is because the motor has a 1:180 gear ratio and needs 6 steps for one motor turn. That gives us 1080 steps for a 360º dial.
- It will only valid for gauges with equally distributed scale.
Good thing is that we can use them for Cabin Press, EPU Fuel and Hyd Press gauges and even Clock and Fuel Gauge using the X40.879 which comes with a double coaxial independent shafts.
Regards,
Shep
They can be connected directly to an I/O board with the following two limitations:
- It won’t be valid for high speed gauges (i.e Altimeter). This is because the motor has a 1:180 gear ratio and needs 6 steps for one motor turn. That gives us 1080 steps for a 360º dial.
- It will only valid for gauges with equally distributed scale.
Good thing is that we can use them for Cabin Press, EPU Fuel and Hyd Press gauges and even Clock and Fuel Gauge using the X40.879 which comes with a double coaxial independent shafts.
Regards,
Shep
UHF Pcb for the PSCockpit System
The new UHF board has been designed with (1) 40 I/O chip that can be connected to the digital I/O I2C channel of the PSCockpit system. It comes with corresponding elements (resistors, connectors …) to work with 5V and one selectable mini-switch to select the desire I2C address.
Also included are the following components:
- (2) Mini pushbuttons.
- (2) Rotary switches
- (7) Incremental encoders for digit selection, channel selection and volume.
- (9) 7 segment displays for frequency (6) and channel (3)
- (2) Mini toggle switches 3 positions
- SMD leds for lettering backlight.
You will find the following elements in the backside:
- (1) Connector for backlight illumination.
- (2) Connector for digital I/O I2C channel,
- (1) Miniswitch to select digital I2C channel address
- (1) Connector for free digital I/O of the 40 I/O board. You can use them to connect other switches.
To complete the UHF you will have to add by yourself the front UHF panel.
You can check the following dimensions of the UHF panel at
http://www.mediafire.com/view/u1924z4u3fj65el/UHFPanelFinal.PDF
Regards,
Shep
Thursday, November 6, 2014
PSCockpit A10C distribution file
For A10C supporters,
You can download the A10C Cockpit distribution file at:
http://www.mediafire.com/download/9c1olf99c9z7c8b/PSCockpitDist_A10C.rar
Regards,
Shep
You can download the A10C Cockpit distribution file at:
http://www.mediafire.com/download/9c1olf99c9z7c8b/PSCockpitDist_A10C.rar
Regards,
Shep
Tuesday, November 4, 2014
PSCockpit Caution Panel PCB and Caution Panel Extension PCB
The PSCockpit Caution Panel PCB is ready to be connected to the PSCockpit system as an extension board in any of the I2C channels. It comes with its own 40 I/O chip and the selectable I2C address switch.
The Caution Panel Extension has been designed to extend the Caution Panel to be used in the A10 cockpit. It is connected to the Caution Panel and no more cables are required. It comes with its own 16 I/O chip and the selectable I2C address switch.
Just remember that you can only connect 8 extension boards per I2C channel.
Main Features:
- SMD leds in two colours -green and yellow- selectable by a rear switch.
- 8 free I/O in the Caution Panel.
- All connections in the back side.
Dimensions:
- Caution Panel pcb: 115,5 x 104 mm
- Caution Panel Extension pcb: 115,5 x 47 mm
Regards,
Shep
Sunday, November 2, 2014
PSCockpit System Fourth Run!!!
New run to adquire boards of the PSCockpit System.
Follow this link: http://www.viperpits.org/smf/index.php?topic=9774.msg133644#msg133644
Regards,
Shep
Follow this link: http://www.viperpits.org/smf/index.php?topic=9774.msg133644#msg133644
Regards,
Shep
Subscribe to:
Posts (Atom)
































.. this is what you will get...











