Virtual Vehicle Bus is a working model of the part of a car most people never see — the network that carries every button press, sensor reading and warning between the car's computers and the screens in front of the driver. You sit in the driver's seat with two displays I designed, a driver display behind the steering wheel and a center touchscreen, and the Pipeline panel slides in with the live data underneath them, so you can press a pedal or flip the turn signal and watch the message travel through the car and come back as what the screen shows.
I built it as a portfolio piece for automotive HMI work (HMI, or human–machine interface, is the industry's name for everything a driver sees, touches and hears). Designing a car screen means designing for data that can arrive late, go missing or be wrong, and I wanted a prototype where those conditions actually happen instead of being mocked up in a static design.
How a button press reaches the screen
A modern car has dozens of small computers, and none of them can see each other's data directly. This is the path a gear change takes, from the moment you ask for Drive to the moment the D lights up on the driver display.
- You ask for a gear. With your foot on the brake (hold B), you press D or the D button on the center console. In a real car the shifter would send this request, and here the infotainment system plays that part so you can watch the whole round trip.
- The request goes to a module. Each job in a car belongs to an electronic control unit, or ECU — a small computer dedicated to one system, like the drive unit that runs the motor and gears, the ABS module that measures wheel speed, or the body module that flashes the turn signals. The prototype simulates the modules the two displays depend on.
- It travels over a CAN bus. ECUs talk over a CAN bus (Controller Area Network), a shared pair of wires where every module broadcasts short messages called frames. A frame has no sender or recipient, just an ID that says what it is and up to eight bytes of data, and any module that cares about that ID picks it up. Like many cars, the prototype has three buses: powertrain (motor, brakes, battery), body (lights, climate, restraints) and infotainment.
- A gateway decides what crosses. A gateway module sits between the buses and forwards only the messages on its list, which keeps the infotainment system — the part connected to phones and the internet — from talking freely to the brakes. Everything the screens know has to come through it.
- The bits get decoded. A frame is just ones and zeros until something says what they mean. Carmakers keep that meaning in a signal database (a DBC file), which says, for example, which bits of the ABS module's message hold the vehicle speed and what each step of them is worth. Turning raw bits into a named value like that is decoding, and each named value is a signal.
- Signals become vehicle properties. The screens don't read signals directly. They run on Android Automotive, the version of Android built into a car's own hardware, where a layer called the Vehicle HAL turns signals into vehicle properties — standard names like
GEAR_SELECTION or PERF_VEHICLE_SPEED that any app can follow. Each property also carries a status that says whether its value is available, unavailable or in error. - The screen waits for the car to confirm. While the request is out, the D shows as pending (outlined with a dashed line), and it only lights once the drive unit's answer comes back over the bus. If you weren't on the brake, the answer is a rejection and the display tells you why, so the screen never shows a gear the car hasn't actually selected.
Warning lights take a shorter, separate path. A real instrument cluster has its own computer that listens to the powertrain and body buses directly and lights the warnings itself, so a frozen or rebooting infotainment system can never hide a brake warning. The prototype works the same way, which is why the warnings stay on screen when you take the gateway offline in the Faults tab.
What's real and what's invented
The message layouts are real Ford layouts as documented in opendbc, an open-source collection of signal databases maintained by comma.ai. Its Ford files were worked out by people reverse-engineering the CAN traffic of Ford and Lincoln vehicles — Ford didn't publish them and has nothing to do with this project. The prototype uses seventeen of those messages with their real IDs, names, bit layouts, units and timings, and an automated test checks every one of them against the original file.
The vehicle properties are real too, with the IDs and meanings Android Automotive defines, and the warning behavior follows the US safety standards described below.
Some things had to be invented because no public source covers them, like Ford's checksum math (a short code that lets a module detect a garbled frame), the messages for the climate, defrost and regenerative braking settings, timings the database leaves out, and the physics of the car itself. Anything invented carries a pink illustrative tag in the pipeline panels, so you can always tell which is which.
It's also simpler than a real car in a few ways. It uses only classic CAN (newer cars mix in faster CAN FD and automotive Ethernet), the road is always flat, the battery never charges, and everything runs in one web page, where a real car would put the warning lights on separate, safety-certified software.
The safety rules it follows
In the US, what a car has to show the driver is set by the Federal Motor Vehicle Safety Standards (FMVSS), written by the National Highway Traffic Safety Administration. Where a standard applies, the prototype follows it — it's a design model rather than a certified product, but building to the rules shaped many of its decisions.
- FMVSS 101 covers controls and displays, including which warning lights (telltales) exist, their symbols and their colors. At start-up every warning lights for a few seconds so the driver knows they work, which the industry calls the bulb check.
- FMVSS 126 covers electronic stability control (ESC), which brakes individual wheels to stop a skid. Its warning has to be a skidding car or the letters ESC.
- FMVSS 135 covers brakes, including the red brake warning, which here lights for low brake fluid.
- FMVSS 138 covers tire pressure monitoring. The light stays on steadily for a low tire, and for a fault in the system itself it flashes for 60 to 90 seconds first, then stays on.
- FMVSS 208 covers seat belts, including the reminder chime of 4 to 8 seconds and the warning light that stays on for at least a minute.
- FMVSS 111 covers rear visibility, which is why the rear camera has to show its picture within 2.0 seconds of shifting into reverse. The Trace tool times every attempt against that deadline.
Things to try
- Start the car. Hold B and press I (or click the brake pedal, then the Start/Stop button beside the wheel), and watch the modules wake one at a time, with the warning lights doing their bulb check before the rest of the screen appears.
- Shift without the brake. Press D on its own and the display says Press brake to shift, then hold B and try again to see the request go out and the answer come back.
- Trace anything. Press T and click the speed, a warning light or the climate setting, and the Pipeline panel follows it all the way down to the individual bits on the bus.
- Break something. Open Faults and silence the ABS module. The speed goes blank instead of showing zero, because a car should never display a number it can't vouch for.
- Back up. Hold B and press R to bring up the rear camera, then trace it to see how long it took against the 2.0-second rule.
Glossary
- CAN bus
- Controller Area Network, the shared wiring most of a car's modules use to broadcast messages to each other.
- ECU (module)
- Electronic control unit, a small computer that runs one system, like the motor, the brakes or the lights.
- Frame
- One message on a CAN bus, made of an ID and up to eight bytes of data.
- Message ID (0x415)
- The label on a frame. The
0x means the number is written in hexadecimal (base 16), the usual way engineers write these IDs. - Gateway
- The module that connects the buses and forwards only the messages each one is allowed to see.
- DBC file
- A signal database that says which bits of each message mean what, and how to turn them into real units.
- Signal
- One named value decoded from a frame, like vehicle speed or turn signal state.
- Vehicle property
- Android Automotive's standard name for a piece of car data that apps can read, follow or ask to change, like
GEAR_SELECTION. - Vehicle HAL
- Vehicle Hardware Abstraction Layer, the part of Android Automotive that turns the car's signals into vehicle properties.
- Head unit (IVI)
- The infotainment computer behind the center screen. IVI stands for in-vehicle infotainment.
- Instrument cluster
- The driver display behind the steering wheel, and the computer that runs it.
- Telltale
- A warning or indicator light on the driver display, like the seat belt or high beam symbol.
- Regenerative braking (regen)
- Slowing an electric car with its motor, which turns the motion back into charge for the battery.
- FMVSS
- Federal Motor Vehicle Safety Standards, the US safety rules every new car has to meet.
- HMI
- Human–machine interface, everything the driver sees, touches and hears.
Credits
- Message layouts from opendbc by comma.ai (MIT license).
- Vehicle property names and IDs from Android Automotive (Apache 2.0).
- Telltale and defrost icons from the Vehicle Tell Tale Icon Pack by Jatin Khanna, licensed under CC BY 4.0, recolored, with the windshield defrost icon adapted.
- The name is set in Michroma by Vernon Adams (SIL Open Font License).
- Live weather from Open-Meteo (data under CC BY 4.0), located by city from your connection, with nothing stored.
- Map data © OpenStreetMap contributors, via OpenMapTiles and OpenFreeMap, drawn with MapLibre; the route from OSRM. They see the same city-level location, nothing more.
- Safety standards from the US Code of Federal Regulations, 49 CFR 571.
Not affiliated with or endorsed by Ford.
Designed and built by Derek Collins with Claude Code.