User Tools

Site Tools


Sidebar

Dan's Wiki

DokuWiki Instructions (local) DokuWiki Manual
Site Checker (Orphans Wanted)

Edit Sidebar

projects:a4sim:troubleshooting

This is an old revision of the document!


Troubleshooting, Miscellaneous

Speedbrake control not working properly in X-Plane

Frustrating couple of days, because the Speedbrake control wasn't work. Turns out there were multiple problems.

  1. I was setting the value for speedbrake_ratio as an integer. Apparently this doesn't work, started working when I changed to float. The Raspberry Pi converts the boolean on/off from the switch to float properly. As long as the plugin copy of the a4SimConfig.json shows the simulation to need float.
  2. I'm using Arduino Mega from the throttle quadrant. I connected the Speedbrake Open input to Arduino Digital channel 26, and for some reason the internal pullup resister either doesn't work, or is inadequate. Had to add another pullup resistor to +5.
  3. The logic to respond to inNonZero was not properly working. As of this writing, this part seems to be configured correctly.
projects/a4sim/troubleshooting.1579067418.txt.gz · Last modified: 2020/01/15 05:50 by dwheele