[{"data":1,"prerenderedAt":385},["ShallowReactive",2],{"article-cessna172-stec-autopilot":3},{"id":4,"title":5,"body":6,"description":374,"downloads":375,"extension":376,"lastUpdated":377,"meta":378,"navigation":379,"path":380,"readingTime":381,"seo":382,"stem":383,"__hash__":384},"projectArticles\u002Fprojects\u002Fcessna172\u002Fstec-autopilot.md","S-TEC Autopilot",{"type":7,"value":8,"toc":365},"minimark",[9,14,23,32,36,179,186,189,193,196,340,347,351,358,362],[10,11,13],"h2",{"id":12},"overview","Overview",[15,16,17,18,22],"p",{},"Most real 172SPs with steam gauges have a Bendix\u002FKing KAP 140. X-Plane 12's default Skyhawk flies an ",[19,20,21],"strong",{},"S-TEC 55X"," instead, so that's what this panel replicates: a KAP 140 replica would have an altitude preselect and a BARO key that do nothing in the simulator.",[15,24,25,26,31],{},"The S-TEC 55X is a two-axis autopilot with heading, NAV, approach, reverse course, GPS steering, altitude hold and vertical speed modes. It sits on the glareshield; the heading bug it follows is set on the ",[27,28,30],"a",{"href":29},"\u002Fprojects\u002Fcessna172\u002Fheading-indicator","Heading Indicator",".",[10,33,35],{"id":34},"panel-layout","Panel Layout",[37,38,39,55],"table",{},[40,41,42],"thead",{},[43,44,45,49,52],"tr",{},[46,47,48],"th",{},"Control",[46,50,51],{},"Type",[46,53,54],{},"X-Plane 12",[56,57,58,73,85,97,109,121,133,150,163],"tbody",{},[43,59,60,64,67],{},[61,62,63],"td",{},"HDG",[61,65,66],{},"Push button",[61,68,69],{},[70,71,72],"code",{},"sim\u002Fautopilot\u002Fheading",[43,74,75,78,80],{},[61,76,77],{},"NAV",[61,79,66],{},[61,81,82],{},[70,83,84],{},"sim\u002Fautopilot\u002FNAV",[43,86,87,90,92],{},[61,88,89],{},"APR",[61,91,66],{},[61,93,94],{},[70,95,96],{},"sim\u002Fautopilot\u002Fapproach",[43,98,99,102,104],{},[61,100,101],{},"REV",[61,103,66],{},[61,105,106],{},[70,107,108],{},"sim\u002Fautopilot\u002Fback_course",[43,110,111,114,116],{},[61,112,113],{},"ALT",[61,115,66],{},[61,117,118],{},[70,119,120],{},"sim\u002Fautopilot\u002Faltitude_hold",[43,122,123,126,128],{},[61,124,125],{},"VS",[61,127,66],{},[61,129,130],{},[70,131,132],{},"sim\u002Fautopilot\u002Fvertical_speed",[43,134,135,138,141],{},[61,136,137],{},"VS knob",[61,139,140],{},"Rotary encoder",[61,142,143,146,147],{},[70,144,145],{},"sim\u002Fautopilot\u002Fvertical_speed_up"," \u002F ",[70,148,149],{},"_down",[43,151,152,155,158],{},[61,153,154],{},"AP disconnect",[61,156,157],{},"Push button (on the yoke)",[61,159,160],{},[70,161,162],{},"sim\u002Fautopilot\u002Fservos_off_any",[43,164,165,168,171],{},[61,166,167],{},"GPS \u002F NAV",[61,169,170],{},"Toggle switch",[61,172,173,146,176],{},[70,174,175],{},"sim\u002Fautopilot\u002Fhsi_select_gps",[70,177,178],{},"hsi_select_nav_1",[15,180,181,182,185],{},"The GPS \u002F NAV switch picks what the CDI and the autopilot follow. It is reconciled against ",[70,183,184],{},"sim\u002Fcockpit2\u002Fradios\u002Factuators\u002FHSI_source_select_pilot"," (2 for GPS, 0 for NAV1), so the switch and the simulator can't disagree for long.",[15,187,188],{},"The 55X's two-key shortcuts (HDG + NAV to intercept, ALT + VS) aren't bound: each key does its own mode.",[10,190,192],{"id":191},"annunciators","Annunciators",[15,194,195],{},"The 55X's display annunciators are LEDs. Most light when their mode is armed or captured; GPSS and RT only once captured.",[37,197,198,212],{},[40,199,200],{},[43,201,202,205],{},[46,203,204],{},"Legend",[46,206,207,208,211],{},"Dataref (",[70,209,210],{},"sim\u002Fcockpit2\u002Fautopilot\u002F",")",[56,213,214,224,234,243,252,261,270,279,288,298,309,319,330],{},[43,215,216,219],{},[61,217,218],{},"RDY",[61,220,221],{},[70,222,223],{},"otto_ready",[43,225,226,229],{},[61,227,228],{},"AP",[61,230,231],{},[70,232,233],{},"autopilot_on",[43,235,236,238],{},[61,237,63],{},[61,239,240],{},[70,241,242],{},"heading_status",[43,244,245,247],{},[61,246,77],{},[61,248,249],{},[70,250,251],{},"nav_status",[43,253,254,256],{},[61,255,89],{},[61,257,258],{},[70,259,260],{},"approach_status",[43,262,263,265],{},[61,264,101],{},[61,266,267],{},[70,268,269],{},"backcourse_status",[43,271,272,274],{},[61,273,113],{},[61,275,276],{},[70,277,278],{},"altitude_hold_status",[43,280,281,283],{},[61,282,125],{},[61,284,285],{},[70,286,287],{},"vvi_status",[43,289,290,293],{},[61,291,292],{},"GS",[61,294,295],{},[70,296,297],{},"glideslope_status",[43,299,300,303],{},[61,301,302],{},"GPSS",[61,304,305,308],{},[70,306,307],{},"gpss_status"," = 2",[43,310,311,314],{},[61,312,313],{},"RT",[61,315,316,308],{},[70,317,318],{},"rate_status",[43,320,321,324],{},[61,322,323],{},"TRIM UP",[61,325,326,329],{},[70,327,328],{},"pitch_mistrim"," = 1",[43,331,332,335],{},[61,333,334],{},"TRIM DN",[61,336,337,339],{},[70,338,328],{}," = −1",[15,341,342,343,346],{},"The selected vertical speed (",[70,344,345],{},"vvi_dial_fpm",") shows on a 5-digit seven-segment window.",[10,348,350],{"id":349},"construction","Construction",[15,352,353,354,357],{},"The bezel is 3D-printed in PLA and painted to match the glareshield. The buttons and the GPS \u002F NAV switch sit on one MCP23017 I²C expander and the 13 annunciator LEDs on a second (GPIO 21 SDA, 22 SCL). The VS knob uses GPIO 25 and 26, and the MAX7219 for the VS window data 23, clock 18 and chip select 5. One ESP32 drives the whole unit. In the app it's part of the ",[19,355,356],{},"Cessna 172 (six-pack)"," Blueprint.",[10,359,361],{"id":360},"status","Status",[15,363,364],{},"Wiring and X-Plane mapping defined. Bezel design not yet started.",{"title":366,"searchDepth":367,"depth":367,"links":368},"",2,[369,370,371,372,373],{"id":12,"depth":367,"text":13},{"id":34,"depth":367,"text":35},{"id":191,"depth":367,"text":192},{"id":349,"depth":367,"text":350},{"id":360,"depth":367,"text":361},"Physical S-TEC 55X autopilot control unit for the Six-Pack glareshield — the autopilot X-Plane 12's default Skyhawk flies, with its mode buttons, annunciators, VS knob and X-Plane mapping.",null,"md","2026-10",{},true,"\u002Fprojects\u002Fcessna172\u002Fstec-autopilot",5,{"title":5,"description":374},"projects\u002Fcessna172\u002Fstec-autopilot","YUKGB-P9uwhf5DCJ-xQRNPAIUynX-BmPQENB1dGgjV0",1793392581587]