Viperpit(s).org

Simulation Software => Falcon BMS => Topic started by: VanZeb on February 22, 2021, 05:53:20 PM

Title: CPD interfacing with BMS
Post by: VanZeb on February 22, 2021, 05:53:20 PM
Hi!

I got my hands on a CPD and now I need help with hooking it up with BMS 4.35. I installed lightingtools CPD software which lights it up when I enter BMS, but no data is being extracted. Just a static screen.

I also don’t know how to hook it up to a Pokeys (other?) so that I get the buttons and backlighting functioning.

I’m a rookie on this interfacing stuff, so need help.
/Sebastian
Title: Re: CPD interfacing with BMS
Post by: Road218 on February 22, 2021, 09:55:55 PM
Some good info here:

http://www.viperpits.org/smf/index.php?topic=7382.0
Title: Re: CPD interfacing with BMS
Post by: Nomad on February 24, 2021, 03:50:50 PM
I’ve got the same thing. CPD Display working and buttons and rotaries wired to two BBI- 32 Bodnar Boards but no data being transferred or read from BMS. I’m running Lightnings F16CPD v 0_5_8_1 x86.
Title: Re: CPD interfacing with BMS
Post by: Rambowski on February 26, 2021, 10:48:14 AM
Hey @VanZeb

I have the same problem as yours. 2 years ago I have bought the CPD from one of the forum members. In the topic below  :

http://www.viperpits.org/smf/index.php?topic=7382.30

I have asked how to connect the CPD with DB37 breakout board to Leo Bodnar interface card (BU0836X)...so far I didn't succeed as I haven't got any button response...It would be great if someone could post some pictures how to connect the wires to the DB37 breakout board and Leo Bodnar and/or Pokeys.

Today I tried to connect the Pokeys 57U board (only button matrix) and still nothing..it is so frustrating and annoying when you don't know how to solve this problem anymore  :stupid:....or I just bought broken CPD...

Title: Re: CPD interfacing with BMS
Post by: Rambowski on February 26, 2021, 10:50:57 AM
some extra pics
Title: Re: CPD interfacing with BMS
Post by: jjbravo on February 26, 2021, 11:08:14 AM
I don't know much about the CPD, but maybe this pinout will help if it's the same unit Crease-Guard used to make.

  [ You are not allowed to view attachments ]  
Title: Re: CPD interfacing with BMS
Post by: tiger-31 on February 26, 2021, 11:12:49 AM
I know absolutely nothing about that CPD.

But have you tried just connecting another button to the board to establish if the board is functioning correctly? If the board is functioning then obviously that is one problem you can delete from the troubleshooting list.



Title: Re: CPD interfacing with BMS
Post by: Rambowski on February 26, 2021, 11:19:18 AM
With the help of Mr. @Romanski I have created matrix in Pokeys....so far lets say 50% of buttons are working and the other half doesn't, seems like a problem with the matrix or wiring...
Title: Re: CPD interfacing with BMS
Post by: Rambowski on February 26, 2021, 11:21:26 AM
and more pics
Title: Re: CPD interfacing with BMS
Post by: tiger-31 on February 26, 2021, 11:47:59 AM
Well there is progress then!

Title: Re: CPD interfacing with BMS
Post by: jjbravo on February 26, 2021, 12:49:44 PM
I just compiled the latest version of the CPD from Lightnings code and it seems to be working fine.
Which version of his CPD are you using and which version of BMS?

  [ You are not allowed to view attachments ]  
Title: Re: CPD interfacing with BMS
Post by: Nomad on February 26, 2021, 02:07:20 PM
I’m running Lightnings F16CPD v 0_5_8_1 x86.  BMS 4.35U1. Looks the same as your display and buttons , rotaries and toggles all function just not getting data from BMS.  Screen is froze as your picture depicts.
Title: Re: CPD interfacing with BMS
Post by: jjbravo on February 26, 2021, 02:23:54 PM
I’m running Lightnings F16CPD v 0_5_8_1 x86.  BMS 4.35U1. Looks the same as your display and buttons , rotaries and toggles all function just not getting data from BMS.  Screen is froze as your picture depicts.
The version I compiled is 0.5.9.0, looks like the setup file is not updated on his github.
Title: Re: CPD interfacing with BMS
Post by: Nomad on February 26, 2021, 03:44:34 PM
Got it downloaded thanks JJ. I just get a green screen. Get the same when BMS launched .
Title: Re: CPD interfacing with BMS
Post by: jjbravo on February 26, 2021, 03:52:01 PM
Can you post your log file from here:
C:\Users\<your user>\AppData\Local\F16CPD\
Title: Re: CPD interfacing with BMS
Post by: jjbravo on February 26, 2021, 04:01:04 PM
Here is a video of mine working in 4.35
https://www.dropbox.com/s/6gqshhmh38uwlu3/CPD.mkv?dl=0
Title: Re: CPD interfacing with BMS
Post by: Nomad on February 26, 2021, 04:41:57 PM
Ok got it running. Rebooted computer and it’s up and running in BMS. Just gotta figure out how to program
HDD TGP TAD buttons. All side buttons work.
Thanks JJ
Title: Re: CPD interfacing with BMS
Post by: lightning on February 26, 2021, 06:44:28 PM
The version I compiled is 0.5.9.0, looks like the setup file is not updated on his github.
There's always a reason for that FYI. 
Title: Re: CPD interfacing with BMS
Post by: jjbravo on February 26, 2021, 06:46:50 PM
The version I compiled is 0.5.9.0, looks like the setup file is not updated on his github.
There's always a reason for that FYI.
Ok, good to know, thanks @lightning 
Was just trying to help them out and this version was working for me. Sounds like the reboot did the trick for @Nomad so he can probably use the released version.
Title: Re: CPD interfacing with BMS
Post by: Nomad on February 26, 2021, 07:26:06 PM
Hey JJ

Are there key file callbacks for the secondary pages.  I got the HDG CRS , ALOW, BARO callbacks but dont have callbacks for any of the top or bottom row buttons IE: HDD, TGP, TAD, Fuel, Charts, Checklist, Map?
Title: Re: CPD interfacing with BMS
Post by: jjbravo on February 26, 2021, 07:57:03 PM
Hey JJ

Are there key file callbacks for the secondary pages.  I got the HDG CRS , ALOW, BARO callbacks but dont have callbacks for any of the top or bottom row buttons IE: HDD, TGP, TAD, Fuel, Charts, Checklist, Map?

To be honest, I have no clue. I have never looked at or used the CPD except for just running it to get a screenshot for you. I don't even know what the secondary pages you are referring to are or how to get to them :)
Title: Re: CPD interfacing with BMS
Post by: lightning on February 27, 2021, 03:23:06 PM
The version I compiled is 0.5.9.0, looks like the setup file is not updated on his github.
There's always a reason for that FYI.
Ok, good to know, thanks @lightning 
Was just trying to help them out and this version was working for me. Sounds like the reboot did the trick for @Nomad so he can probably use the released version.
If it works, it works :) I've not tested it with other dependent code library changes. 
Title: Re: CPD interfacing with BMS
Post by: Nomad on February 27, 2021, 09:08:46 PM
I’m just trying to get the map and fuel chart working.
Title: Re: CPD interfacing with BMS
Post by: VanZeb on April 27, 2021, 05:46:35 AM
Does anyone have an explanation for how to program the matrix in the correct way in the pokeys software?

/Seb
Title: Re: CPD interfacing with BMS
Post by: jjbravo on April 27, 2021, 11:14:19 AM
Enable Matrix Keyboard under peripherals and set you rows and columns.

  [ You are not allowed to view attachments ]  

Then set your pins to Digital Input for Columns and Digital Output for Rows. Click the Matrix Keyboard check and select which Colum or Row.

  [ You are not allowed to view attachments ]  

Then just wire it up and select your action in the Keyboard Matrix.

  [ You are not allowed to view attachments ]  
Title: Re: CPD interfacing with BMS
Post by: 64Driver on December 28, 2022, 12:38:13 PM
Anyone using the CPD software that works, I cannot for the life of me figure out why the screen comes up, but no data...
Title: Re: CPD interfacing with BMS
Post by: jjbravo on December 28, 2022, 05:32:04 PM
Did you run it as Administrator?
Title: Re: CPD interfacing with BMS
Post by: 64Driver on December 28, 2022, 05:42:52 PM
I did... not sure what is up!
Title: Re: CPD interfacing with BMS
Post by: jjbravo on December 28, 2022, 07:40:00 PM
Are you using this version?

https://github.com/lightningviper/lightningstools/tree/master/releases/End%20User%20Applications/F16%20Center%20Pedestal%20Display/Version%200.5.8.1 (https://github.com/lightningviper/lightningstools/tree/master/releases/End%20User%20Applications/F16%20Center%20Pedestal%20Display/Version%200.5.8.1)
Title: Re: CPD interfacing with BMS
Post by: 64Driver on December 28, 2022, 07:50:56 PM
Yep, does yours come start when Bms starts? Sometimes the gauges come up and other times it stays off… seems random. Do you have the display plugged straight into the video card?
Title: Re: CPD interfacing with BMS
Post by: jjbravo on December 29, 2022, 01:42:57 AM
I'm just testing on my computer. I don't have a display. I couldn't get it to work until I ran as Administrator, but I haven't tested extensively as I'm not planning on using a CPD.
Title: Re: CPD interfacing with BMS
Post by: Rufus on December 29, 2022, 02:03:30 AM
... :notes: .
Title: Re: CPD interfacing with BMS
Post by: 64Driver on December 29, 2022, 07:41:22 AM
Thanks for trying… it could be windows, hardware…etc

Helios works great, so I might need to get my software buddy to look at it.
SimplePortal 2.3.5 © 2008-2012, SimplePortal