Author Topic: A2A C172 Transponder question  (Read 2237 times)

kaha

  • Hero Member
  • *****
  • Posts: 1,443
A2A C172 Transponder question
« on: February 26, 2021, 02:08:10 PM »
Hello, does any of you control the Transponder in the C172 by external buttons for entering the code? It doesn't work here. The L-Values

L:xpdr_0_button  up to   L:xpdr_7_button

move in, but nothing happens. Clicking them with the mouse works of course. Other equipment in the C172 like the KR87 ADF works when controlled externally.

Any ideas are appreciated greatly!

Thx,
Karl
i9-9900K@5.0 | RTX 3080TI | 55" 4K | MSFS2020

stiletto2

  • Misty Moorings Team
  • Hero Member
  • *
  • Posts: 2,342
Re: A2A C172 Transponder question
« Reply #1 on: February 26, 2021, 10:48:02 PM »
Using MSFS, I control XPDR using GoFlight GF-46 which is programmed using the GoFlight Interface Tool (GIT) which requires FSUIPC7.   I suspect this may be a whole different external method of control than you are talking about.

Rod

kaha

  • Hero Member
  • *****
  • Posts: 1,443
Re: A2A C172 Transponder question
« Reply #2 on: February 27, 2021, 03:19:34 AM »
Thank you Rod. I don't know how Goflight handles this.

Here's what I am doing: I use an Arduino (I use the Teensy 3.6, it can control a lot of rotary encoders and buttons simultaneously) to control some buttons and rotary encoders. This goes via serial communication to a lua script in FSUIPC 7. This also allows bidirectional communication in order to show frequencies on 7-segment displays externally (future project). My aim is to build some analog equipment like ADF, Transponder, Autopilot or radios. Everything is still in test, though.

Here is an example how I control the ADF by changing the standby frequency with external rotary encoders and controlling the frequency swap button:

https://vimeo.com/517452261

This is another example controlling the transponder solely by rotary encoders (on/off switch, change code):

https://vimeo.com/517452163

And here is a video of how the transponder buttons work in the sim and how they don't work externally controlled. The buttons move, but the code doesn't change.

https://vimeo.com/517452077

Karl
i9-9900K@5.0 | RTX 3080TI | 55" 4K | MSFS2020

kaha

  • Hero Member
  • *****
  • Posts: 1,443
Re: A2A C172 Transponder question
« Reply #3 on: February 27, 2021, 05:23:21 AM »
Using mouse macros is probably the only solution here.

Karl
i9-9900K@5.0 | RTX 3080TI | 55" 4K | MSFS2020

stiletto2

  • Misty Moorings Team
  • Hero Member
  • *
  • Posts: 2,342
Re: A2A C172 Transponder question
« Reply #4 on: February 27, 2021, 09:59:47 AM »
Hi Karl,

After watching your videos, I realize that I should have told you that the only thing I control in the XPDR is the digits by rotary encoder as you did in one of your videos.  Sorry, I missed that your original post talked about programming the XPDR by pushing the 8 buttons.  I am not aware of how that would be done. 

Arduinos looks like a lot of fun to play with but that level of engineering is too heavy duty for me.

Have fun,

Rod