Step-by-step tutorials for accomplishing specific hardware tasks with CockpitOS. These guides cover the practical details that are not immediately obvious from the hardware reference alone.
| Guide | Description | When You Need It |
|---|---|---|
| Wire Analog Gauges | Drive physical needles with servo motors | You want a real needle gauge (fuel, oil pressure, RPM) that moves in response to DCS data |
| Wire TFT Gauges | Render graphical instruments on TFT displays | You want a round or rectangular LCD showing a rendered gauge face with animated needles |
| Wire Stepper Motors | Drive physical needles with stepper motors | You want a real needle gauge using X27.168 or 28BYJ-48 steppers with precise angle control |
| Wire Solenoid Switches | Actuate toggle switches with solenoids | You want your physical toggles to snap to the correct position when DCS state changes |
| Guide | Description | When You Need It |
|---|---|---|
| Wire RS485 Network | Connect multiple panels on a shared bus | You have more than one ESP32 panel and want them all on one DCS-BIOS connection |
| Wire Matrix Switches | Read multi-position rotary switches efficiently | You have rotary selectors with many positions and not enough GPIO pins to wire each one directly |
| Wire Segment Displays | Drive HT1622 segment LCD panels | You are building an IFEI, UFC, or other panel that uses multiplexed segment LCDs |
| Guide | Description | When You Need It |
|---|---|---|
| Create Custom Panels | Write your own panel logic in C++ | The standard input/output model does not cover your use case and you need custom state machines or special hardware drivers |
| Use Multiple Aircraft | Manage label sets for different aircraft | You fly more than one aircraft module and want the same physical panel to work with each one |
All How-To guides assume you have:
- Completed the Getting Started environment setup
- Run the Setup Tool at least once
- A working Quick Start panel (recommended)
Config.hsettings are shown as#define FLAG_NAME valueCustomPins.hsettings are per-label-set (insrc/LABELS/LABEL_SET_YOURPANEL/)- Pin references use the
PIN(x)macro for S2/S3 portability - Label Creator refers to
LabelCreator-START.py - Compiler Tool refers to
CockpitOS-START.py - ASCII wiring diagrams show logical connections, not physical layout
See also: Hardware Reference | Config Reference | Tools Overview