P1LOT One manual

P1LOT One manual

Connections, protocol, console and settings. What the board drives, what it reads and how it is configured.

Connections

A 12 V input, a USB-C socket to the computer and a DB15 connector for everything else. Everything on the DB15 runs from the 12 V supply, never from USB.

  • Two CAN connectionsFor car modules: instrument clusters, gear selectors and rotary controllers today, with more added as each is decoded. Two independent buses, so parts that cannot share one run on separate buses. Each bus runs at the rate of the parts on it.
  • One LIN connectionCarries one LIN part: the steering-wheel buttons, a G-series console's switch panel or the light switch. The board is the master. It polls the part and the part answers.
  • Switched power out12 V for the connected parts and 5 V for smaller accessories, both switched by the board and protected against short circuits. Powers the cluster, with no second supply required.
  • USB-C to the computerOne cable, no driver. The PC sees a serial port and two game controllers of its own, so their buttons never collide with those of a wheel.
  • Two analog inputsFor any potentiometer control: a pedal, a throttle body, a handbrake lever or a joystick. Both appear on the PC as gamepad axes. Calibrated by holding the control at each end, and at the centre for a two-way control, and pressing a button. A reversed potentiometer needs no rewiring. A joystick uses the full axis, centred at rest. An input can instead carry up to five buttons on one wire, each through its own resistor, taught by holding each one. They reach the PC as gamepad buttons 18 to 27.
  • A gauge and an LED displayTwo signal outputs drive servo or PWM gauges from telemetry. The addressable LED output, up to 64 LEDs, shows either a bar (a shift light from the revs, or any gauge the signal outputs can follow) or the current gear on an 8×8 matrix, at a brightness you set. Both run on the board from the telemetry already sent. Gauges and LED strips are not supplied. Pins are in the map below.
Specifications
Processor
STM32G474CEU6, 512 K flashUpdated over USB from a signed file. A file that fails its check is refused before anything is written, and an interrupted copy brings the update drive back.
Power in
12 V DC, 3 A, barrel jackReverse-protected. Powers the board and everything on the DB15. USB carries data only.
USB
USB-C, data onlyEnumerates as one virtual COM port and two controllers, a game pad and a second one for the automotive controls. All three are always present, on the board's own identity.
CAN
2 × classic CAN, built-in termination on eachTwo independent buses, each at the rate of the parts on it. A bus with no parts selected stays silent. Parts that use different message sets or speeds, such as a BMW E60 cluster and F- or G-series parts, run on separate buses. Termination is set automatically.
LIN
1 × master19 200 baud, set by the driver of the fitted module, with nothing to configure. The transceiver is switched by the firmware. Carries one LIN part, polled by the board: the steering-wheel buttons, a G-series console's switch panel or the light switch.
Analog inputs
2 × 0…5 V, 2 kHz hardware scanRead continuously in hardware against the chip's calibrated internal reference, so readings do not drift with the supply. Each input is calibrated by holding the control at each end and pressing a button, then set as a pedal, resting at one end, or a stick, resting at the centre and reading negative one way and positive the other. A stick takes an optional deadband. Potentiometer polarity does not matter. Or set as up to five buttons on one wire. Rest is taken with nothing pressed and each button by holding it, levels twice the deadband apart (25 to 500 mV, 50 by default), and the board reads them only when the voltage moves.
Signal outputs
2 × servo, or plain PWMEach channel can be mapped to a telemetry value on the board, so a gauge needle needs no host code. As a servo, the pulse width is the signal: a 20 ms frame and 1000 to 2000 µs by default, for hobby servos and most aftermarket movements. As PWM, the duty cycle is the signal, for a movement driven through an RC filter and an amplifier. Both are 0 to 5 V logic, and 12 V on either pin damages the board. Each output has its own frame, from 25 µs (40 kHz) to 65 500 µs, set to the nanosecond. A table of up to 21 points fits a gauge that does not move in proportion. Gauges are not supplied.
Serial LED
1 × WS2812 chain, up to 64 (a strip or an 8×8 matrix)A bar from the revs or another gauge, or the gear on an 8×8 matrix, from the telemetry already sent. Set the number of LEDs, what it shows and how bright. The gear comes in bold segments or a classic face, coloured by gear or in one colour, white, blue, ice blue, red, green, amber or purple.
Switched 12 V
DB15 pins 11 and 12High-side switch with current sense. Above 2.5 A, or on a fault report from the switch, the rail switches off for 5 s. Three consecutive trips latch it off until it is re-enabled, or until the rig has switched off and the next session starts. Start-up inrush does not trip it.
Switched 5 V
DB15 pin 13, ≤ 1.8 AThrough an eFuse. A trip is retried three times, two seconds apart, then held off until re-enabled, or until the rig has switched off and the next session starts.
Internal measurements
Reference, die temperature, VBAT, 12 V inputOn the same scan as the external inputs, readable over the protocol. The 12 V input from board revision 1.3.

DB15 pinout

A standard DB15 high-density connector, with widely available cables and hoods. CAN2 is the default pair for the BMW F- and G-series parts, CAN1 for the Porsche Panamera and Boxster and BMW E60 and E90 clusters. The remaining pins carry the LIN line, analog inputs, signal outputs, the LED output and the switched supplies.

FEMALE PORT TOWARD YOU, PINS MIRRORED55 — CAN 2 low, green44 — LIN, dark blue33 — CAN 1 high, cyan / white22 — Signal out 2, violet / white11 — Analog in 2, yellow / white1010 — CAN 2 high, green / orange99 — CAN 1 low, cyan88 — Serial LED, grey77 — Signal out 1, violet66 — Analog in 1, yellow1515 — Ground, brown1414 — Ground, brown1313 — +5 V fused, orange1212 — +12 V switched, red1111 — +12 V switched, red

The colours are the wires. Both halves of a pair share a base colour. Solid is low, striped is high, and the two CAN pairs are twisted. CAN 2 is green and green/orange because that is what the cluster bus is in the car, and ground is brown for the same reason.

  • 1Analog in 2yellow / white
  • 2Signal out 2violet / white
  • 3CAN 1 highcyan / white · twisted with its CAN 1 partner
  • 4LINdark blue
  • 5CAN 2 lowgreen · twisted with its CAN 2 partner
  • 6Analog in 1yellow
  • 7Signal out 1violet
  • 8Serial LEDgrey
  • 9CAN 1 lowcyan · twisted with its CAN 1 partner
  • 10CAN 2 highgreen / orange · twisted with its CAN 2 partner
  • 11+12 V switchedred
  • 12+12 V switchedred
  • 13+5 V fusedorange
  • 14Groundbrown
  • 15Groundbrown

Pin functions

  • 1Analog in 20…5 V at the connector, halved by a 1 k / 1 k divider. Not 12 V tolerantyellow / white
  • 2Signal out 2servo: 20 ms frame, 1000–2000 µs by default, any width up to the frame · PWM: the duty, on a frame you setviolet / white
  • 3CAN 1 highthe Porsche Panamera and Boxster and BMW E60 and E90 clusters' pair by defaultcyan / white
  • 4LINmaster, 19 200 baud. One LIN part: the steering-wheel buttons, a G-series console's switch panel or the light switchdark blue
  • 5CAN 2 lowthe BMW F- and G-series parts' pair by defaultgreen
  • 6Analog in 10…5 V at the connector, halved by a 1 k / 1 k divider. Not 12 V tolerantyellow
  • 7Signal out 1servo: 20 ms frame, 1000–2000 µs by default, any width up to the frame · PWM: the duty, on a frame you setviolet
  • 8Serial LEDWS2812, up to 64grey
  • 9CAN 1 lowthe Porsche Panamera and Boxster and BMW E60 and E90 clusters' pair by defaultcyan
  • 10CAN 2 highthe BMW F- and G-series parts' pair by defaultgreen / orange
  • 11+12 V switchedhigh-side switch, current sensedred
  • 12+12 V switchedsame rail as pin 11red
  • 13+5 V fusedeFuse, ≤ 1.8 A, retried three times then held offorange
  • 14GNDbrown
  • 15GNDbrown

Before wiring

The 12 V pins are a switched rail under firmware control. It is on with telemetry and off 30 seconds after it stops. With Power set to Auto, a fitted control keeps it on while a computer is connected. They are not a permanent bench supply.

The analog inputs accept 0…5 V. The signal outputs are 0…5 V logic pins, not drivers, so a load that draws current needs its own driver stage. Never connect them to anything that carries 12 V, a cluster's fuel input included. 12 V on a signal output damages the board. A fuel gauge goes through our fuel-gauge adapter board, available on request. They idle low and pulse high on each output's own frame, 20 ms for a servo by default, so a 1500 µs width is 1500 µs of pulse at the pin. Each harness belongs to the part named on its label. See the warning on the product page.

The status word

The status bits are hex, 0 to 17, one event per bit. P1 column 8 carries b0 and b1, P3 column 11 every other bit. Each cluster shows an event as a warning light or as a message on its display. Several lights can be lit at once, and messages rotate.

  • b00x00001Handbrake
  • b10x00002Traction control intervening
  • b20x00004Check engine
  • b30x00008Stability control off
  • b40x00010Low tyre pressure
  • b50x00020Seat belt
  • b60x00040Steering malfunction
  • b70x00080Transmission malfunction
  • b80x00100Brake malfunction
  • b90x00200ABS malfunction
  • b100x00400Speed warning
  • b110x00800Damage to the car
  • b120x01000Engine overheating
  • b130x02000Oil pressure low
  • b140x04000Launch control
  • b150x08000Gearbox over temperature
  • b160x10000Clutch
  • b170x20000Warning chime. A sound, held for as long as the bit is set

The two fuel lamps, reserve and below reserve, are lit by the board from the fuel level in P3 column 8.

Which events a cluster can show depends on the cluster. A signal with no effect is either not yet decoded, which an update can add, or has no display on that cluster, which no update can add. Contact support for the details of a specific cluster.

The lights

P1 column 7 is a bitfield of the exterior lamps, indicators included, and the console's start-stop, Auto Hold, PDC and exhaust-flap lamps. Every lamp shows what the host sends. The board passes the switches to the game and lights nothing from a press. Both indicator bits together are a hazard flash.

  • b00x01Low beam
  • b10x02High beam
  • b20x04Front fog
  • b30x08Side lights
  • b40x10Automatic-light switch
  • b50x20Left indicator
  • b60x40Right indicator
  • b70x80Start-stop OFF lamp on the console
  • b80x100Auto Hold lamp on the console, and on the G30 panel
  • b90x200Parking assistant (PDC) lamp on the console
  • b100x400Exhaust flap lamp on the console
  • b110x800Rear fog

The dashboard's own buttons

P1 column 10 is an index and not a bitfield. One button at a time, the way a stalk can only be in one place. Send it on every P1 line, as a state, and send 0 when nothing is held.

ValueButtonWhat it is
0—Nothing held
1menuThe board-computer stalk press
2selectEnter
3up—
4down—
5left—
6right—
7back—
8prevAccepted, arrives as up
9nextAccepted, arrives as down

A host and a hand on the rotary controller press these together, and the board merges them. The hand wins while it is holding something. The host restates its field on every line, so a finger on the knob would otherwise be cancelled within 16 ms.

Only the buttons a fitted dashboard has a documented message for do anything. The rest are accepted and dropped rather than guessed at.

DashboardTakes from a host
BMW F30 (6WA), BMW G30 (6WB)menu
Porsche Panamera 970, Porsche Boxster (981)up, down, left, right, select, back
BMW E60, E90menu, from a host only

Service console

Everything a rig is made of and does is set up in P1LOT Link. The console is for service only: the build, the hardware revision, the updater. In P1LOT Link it is hidden. Five clicks on the version under the logo open it. From any terminal, send G1VE_ME_CLI on the port. Commands are lowercase.

G1VE_ME_CLI
help · uname [-a] · echo · clr
The commands, the build and identity of the board, and two shell helpers
rev
The hardware revision: list it, or set it. Auto, the default, reads it from the factory record and is correct on every board shipped
save
Keep the whole configuration across a reset
dfu · reset
Reboot into the updater, or just reboot

The status light

Read by its rhythm as much as its colour. A fault lights at full brightness whatever the setting.

Red, fast hard blink
The supply is over 17 V or under 8 V and the 12 V and 5 V rails are off. They come back after three seconds under 16 V, or at 9 V or more. USB and P1LOT Link keep working. From board revision 1.3
Orange, slow hard blink
The board passed its heat limit, 60 °C on P1LOT One and 55 °C on P1LOT Nano, and the rails are off, for at least five minutes and until it is 5 °C under the limit
Red, fast breath
A rail tripped, a bus is off, or a pair was left closed because the parts on it disagree
Slow rainbow
Telemetry is flowing
Pink, 2 s breath
A gap in the telemetry. The cluster holds its last picture
Cyan, 4 s breath
Powered and waiting, rails on
Green, 8 s breath
Asleep, rails off. The next telemetry line wakes it
Blue pulse
The firmware updater

Settings in P1LOT Link

Every value is a word from the list the setting shows, never a number. Settings that belong to a part, such as the three gearbox settings of the gear selector, are shown under that part. The CAN terminators are not settings, because the board switches them to suit the parts on each bus.

cluster units metric · imperial
Speed and temperature units on the cluster. Imperial also gives the F30 and G30 panels a 12-hour clock. Offered while a cluster with the option is fitted
lights backlight off · on
Backlight from the dimmer wheel in P1LOT Link. On: the light switch's dimmer wheel or knob sets the brightness of the cluster and every lit part, in place of the game's value. Off: the game sets it. Shown as a tick box under the light switch
lights pulse off · on
Short press for each move of the switch in P1LOT Link. Off: a position's button stays down for as long as the switch sits there. On: each move sends one press of 200 ms and lets go, for games that do not react to a held button. Shown as a tick box under the light switch
cluster backlight off · on
Backlight from the dashboard's knob in P1LOT Link. On: the dimmer knob on the dashboard sets the brightness of the cluster and every lit part, in place of the game's value. Off: the game sets it. If the dashboard stops reporting the knob, the game has it back. Offered while the Porsche Boxster cluster is fitted
controls mode default · game
Default assigns each control to the first function that can use it: cluster menus, volume, mute, track, play/pause. Remaining controls reach the game. Game sends every control to the game, for binding. Switched from the rotary controller: a press of MEDIA enters game, MEDIA held 2 s returns. This is the stored value
led brightness off · low · medium · high · full
Status light in P1LOT Link. Brightness of the status light on the board. Faults always light at full brightness, so a fault is never hidden
power mode auto · eco · always
Eco, the default: the rails follow telemetry only and switch off 30 seconds after it stops, or after five minutes with the ignition off in a game left running. Auto: while a control is fitted (any control: rotary controller, gear selector or console, steering wheel, light switch or analog input) and a computer is connected, the rails stay on between sessions, for up to a day after the telemetry stops and no longer than 12 hours after a control was last touched. Always: the board never sleeps and needs no telemetry, the rails stay on and every control goes to the game, for playing with no SimHub running. Not for a rig left unattended. Parts from used cars can carry hidden corrosion or damage, so P1LOT Link asks you to confirm and recommends switching the power supply off when you leave. The current limits apply in every mode, and the rails come up with the first telemetry line
link report off · 1hz · 5hz · 10hz · 20hz · 50hz
The board's own readings sent back as status lines while a game drives it, for a tool of your own. Off by default. P1LOT Link reads the board without it
gearbox mode hold · pulse
Gear buttons in P1LOT Link. Whether an emulated gear is sent as a held button or a single press. Hold suits games that read button state. Pulse suits games that read presses only. Offered while a gear selector is fitted
gearbox sync none · neutral · all
Gear sync in P1LOT Link. Which gears the game may take from the emulated gearbox. None: the selector alone. Neutral: a Neutral the game reports without a break for the timeout. All: any gear the game reports without a break for the timeout, while the selector's own shifts stand at once. Drive always starts in first, as in the car. Offered while a gear selector is fitted
gearbox timeout 1s · 2s · 3s · 5s
Gear sync delay in P1LOT Link. How long the game must report a different gear, counted from the last shift, before it is accepted. One delay for both modes: Neutral under sync neutral, any gear under sync all. Offered while a gear selector is fitted

save, and what survives

Changes take effect at once and last until the next reset. save writes the complete configuration: parts, gauge mappings, the LED output, control settings, analog calibration and the rails.

Each store reports its result on its own line, so a failed write is visible. Saved settings live in flash the updater does not touch and survive power cycles and firmware updates, apart from the move from firmware 1 to 2, which starts them fresh. A saved change to the fitted parts applies after a restart.

Gauge outputs

Two signal outputs: Signal out 1 on pin 7 and Signal out 2 on pin 2. Each can be mapped to a telemetry value on the board, so a needle needs no host code. A mapping takes a source and, optionally, an input range and an on-time range. Swapping the ends reverses the sweep. Ends are signed, so a boost gauge can map from below atmosphere.

In P1LOT Link, a servo output is set as a pulse width in microseconds on a 20 ms frame by default, shorter for a digital servo, and a PWM output as a duty cycle in percent on its own frame, 1 to 40 kHz. Each output has its own timer and frame. A servo channel without its own range uses 1000 to 2000 µs. A gauge that does not move in proportion takes a table of points between the two ends, set in Calibrate against the needle. When off, the output is not driven. The sources:

rpm
Defaults to 0…7000rev/min
speed
Defaults to 0…300km/h
gear
Defaults to −3…9P −3, R −2, N −1, then 1 to 9
boost
Defaults to −100…300hundredths of a bar, negative is vacuum
coolant
Defaults to 40…130°C
oil
Defaults to 40…150°C
oilp
Defaults to 0…50tenths of a bar
fuel
Defaults to 0…100%
fuelrate
Defaults to 0…600tenths of a litre per hour
cruise
Defaults to 0…250km/h
limit
Defaults to 0…250km/h
tyre_lf · tyre_rf · tyre_lr · tyre_rr
Defaults to 0…40tenths of a bar, one corner each
bright
Defaults to 0…255the backlight value
ignition
Defaults to 0…100% lit, 100 while the engine runs, a slow 2 s breath in every other state, with no game too. For a lit start button
off
Defaults to —nothing drives the channel

An on-time can be anything from 0 to the frame. An unmapped channel is not driven. When telemetry stops, every mapped output parks at the first value of its range.

Beyond games

Capabilities of every unit, running the standard P1LOT firmware.

  • On every unit

    Self-test without a computer

    Disconnect USB, keep the 12 V supply connected and hold the button on the board for three seconds. The cluster wakes, both needles sweep their full scale and return to zero, and the ignition switches off. About fifteen seconds. Separates a hardware fault from a PC-side fault. The same hold with USB connected enters update mode.

  • On every unit

    Cluster, rotary controller, gear selector, and one LIN part (steering wheel, light switch or G-series console) together

    Two CAN buses and a LIN line on one connector. Parts are selected in P1LOT Link. Boards ship unconfigured and drive nothing until their parts are selected.

  • On every unit

    Driven by any program

    The board takes two short lines of plain text, from any program that can open a serial port: a test rig, a replayed log, a custom script or an automated test.

Integration rules

Rules for any program that drives the board.

  • Keep sendingAt least 2 Hz. After 0.6 s without a line the cluster holds its last values. After 5 s it shuts down and every output parks.
  • Rails follow telemetryOn with telemetry, off 30 seconds after it stops, and switched off on a fault. On P1LOT One with Power set to Auto, a fitted control keeps them on. Read the state back from the status line.
  • The 5 V fault flag pulsesAn edge, not a level. A single zero reading proves nothing. The rail staying off does.
  • Ignore columns you do not knowBoth lines grow to the right only. Split on the semicolon and read the columns needed, without expecting an exact count.
  • Nothing saves itselfA change takes effect at once and lasts until the next reset unless saved with save. P1LOT Link saves for you. Saved settings survive power cycles and firmware updates.

Questions

Why is there only one COM port?

One port avoids two identical ports that cannot be told apart. The console is a mode of that port. Send G1VE_ME_CLI on its own line to open the shell. Any line starting with P1 returns the port to telemetry. SimHub sends one with every update, so the link recovers automatically. Closing the port also ends the session.

Can I use the console and stream telemetry at the same time?

No. The console takes the raw byte stream, which makes it a full terminal: characters echo as typed, backspace works, the arrow keys recall history and Tab completes commands. Telemetry resumes when the session closes.

I set the 12 V rail on and it turned itself off. Why?

The rails follow telemetry. They switch on with the first telemetry line and off 30 seconds after the last, once the cluster has shut down, and in power saving also after five minutes of telemetry with the ignition off. On P1LOT One, in the auto power mode a fitted control, such as a rotary controller or gear selector, keeps them on while a computer is connected, for up to a day and no longer than 12 hours after a control was last touched, and in the always mode they never switch off. On P1LOT One, P1LOT Link also holds them on for as long as it is connected. P1LOT Nano is always in power saving. Their state is in the status line’s flags, sent while the link report setting is on.

What happens if the supply is too high?

A P1LOT One from board revision 1.3 measures its input. At 17 V it switches the 12 V and 5 V rails off at once, the status light blinks red fast, and P1LOT Link says so on the General page. The rails come back once the input has stayed under 16 V for three seconds. Under 8 V for half a second it switches them off the same way, and they come back after three seconds at 9 V or more. USB and P1LOT Link keep working throughout.

What happens if the board gets too hot?

Both boards read their own temperature. P1LOT One switches the rails off at 60 °C held for two seconds, P1LOT Nano at 55 °C. They stay off for at least five minutes and until the board is 5 °C under its limit, and the status light blinks orange.

The 5 V fault input reads zero, so nothing is wrong. Right?

No. The eFuse responds to a short by cycling: limit, overheat, shut down, cool, retry, so a single read usually lands between pulses. The board latches the edge in hardware. The reliable indicator is the 5 V rail switching off and staying off, shown in the status line.

Why does the fuel gauge move slowly when everything else is instant?

A real cluster rejects a fuel level that changes in one jump. The board ramps the level in steps the cluster accepts, so a full sweep takes about two seconds. The level is held when telemetry stops, as in a parked car. Until a host sends a level, the gauge shows half.

Why are the gamepad axes centred when nothing is wired to them?

An unconnected input reads zero, which is one end of an axis and could be bound by a game. An input with nothing set up reports the centre, the neutral value. The controller enumerates the same either way, so nothing is re-detected when an input is wired.

Are the analog readings in volts at the connector?

No. Status-line readings are millivolts at the processor pin, against the chip's factory-calibrated reference, so they do not drift with the supply. The DB15 inputs sit behind a 1 k / 1 k divider, so double the value for volts at the connector. Calibration values are already at the connector. The 12 V current is in milliamps.

The divider scales the input and is not a protection. The pins accept the connector's 5 V. 12 V on either pin reaches the processor as 6 V and damages the board.

Do my settings survive a firmware update?

Yes, and power cycles. Parts, gauge mappings, control settings and rail defaults are stored in flash the updater does not touch. P1LOT Link keeps every change on the board as it is made. A program driving the protocol saves with save, and until then a change lasts until the next reset. The one exception is the move from firmware 1 to firmware 2, which starts the settings fresh apart from the board revision. Set the rig up again in P1LOT Link 2.

How much do I have to send, and how often?

P1 at least five times a second and P3 at least once a second. SimHub sends them 60 and 10 times a second. After 0.6 s without a line the board holds the last values. After 5 s it goes offline, so the cluster shuts down, the needles park and the LED strip blanks. Send every field each time or only those that changed. An empty column keeps the last value.

Can I add support for a part you do not drive?

New parts are added by BrainIOStream. The firmware holds clusters, selectors, consoles, controllers, steering wheels and light switches in one registry, so a new part is one driver and one entry, picked up by the conflict rules, P1LOT Link and the saved setup. The work is in decoding the frames, counters and checksums each part requires. Requests for new parts are welcome through the contact page.

Integration support

The SimHub template is on the downloads page, and the protocol reference is supplied with the board. P1LOT Link is a working implementation of it. Integration questions are answered by the engineers who wrote the firmware.