Difference between revisions of "Panel Wiring"

From Bearhawk
Jump to navigation Jump to search
 
Line 7: Line 7:
 
== Notes ==  
 
== Notes ==  
 
Do I need to wire the power or gnd to P4601 on the g3x or just the serial to the GSU 25?
 
Do I need to wire the power or gnd to P4601 on the g3x or just the serial to the GSU 25?
−
 
−
== Docs ==
 
−
https://static.garmin.com/pumac/GTX327Transponder_InstallationManual.pdf<br>
 
−
 
−
== script ==
 
−
 
−
This makes the anchor points on the draw.io stuffs
 
−
 
−
#!/bin/bash
 
−
 
−
if [ -z "$1" ] || [ -z "$2" ]; then
 
−
  echo "usage: $0 <number of elements> <side>"
 
−
  exit
 
−
fi
 
−
 
−
if [ "$2" == "left" ]; then
 
−
  SIDE=0
 
−
else
 
−
  SIDE=1
 
−
fi
 
−
 
−
echo "points=["
 
−
 
−
POINTS=$(($1+1))
 
−
POINTS=$1
 
−
SPACING=`echo "scale=3; 1/$POINTS" | bc`
 
−
NUM=`echo "scale=3; $SPACING/2" | bc`
 
−
 
−
for (( I=1; I<=$POINTS; I++ )); do
 
−
 
−
  if [ "$I" == "$POINTS" ]; then
 
−
    echo "[${SIDE},0${NUM}]]"
 
−
  else
 
−
    echo "[${SIDE},0${NUM}],"
 
−
  fi
 
−
 
−
  TMP=`echo "scale=3; $NUM + $SPACING" | bc`
 
−
  NUM=$TMP
 
−
 
−
done
 

Latest revision as of 18:04, 17 February 2022

Link to harness building

https://vansairforce.com/community/showthread.php?t=152279

Drawing

Notes

Do I need to wire the power or gnd to P4601 on the g3x or just the serial to the GSU 25?