Driver Control Unit - Steering Wheel in the Formula Student

Development of a Driver Control Unit PCB for Formula Student

Hello AISLER community,

we are StarkStrom Augsburg e.V., the Formula Student team of Augsburg University of Applied Sciences in Germany. Every season we design and build a new electric race car. The Driver Control Unit (DCU) in the steering wheel is the only place where the driver can see the internal state of the vehicle and influence it. For our current car we developed a new DCU board with a color display, an LED strip and additional controls.

Why a new DCU board?
Our previous DCU had a monochrome OLED and just three buttons. The new board adds a 3.5″ color display, 28 addressable LEDs, two encoders and four buttons. At the same time it had to fit the existing steering wheel, so the outline of the old PCB was fixed. It runs on the 20–30 V low-voltage supply of the car.

Two boards: processor board + DCU board
The DCU board carries no microcontroller of its own. It plugs onto our standard StarkStrom processor board (STM32F405RG, two CAN transceivers, voltage regulator) through an M.2 Key-B connector. That gives all vehicle components the same MCU platform, and the DCU board only has to provide the interface to the driver.

Pin assignment first
We fixed the pin assignment of the microcontroller before the schematic existed. The order was: components already on the processor board, then USB OTG, SPI for flash, display and LED strip, USART, I2C and timers for the encoders, and last the PWM and GPIO pins, which are the most flexible. The finished pin list went to our electronics team, so schematic work could start in parallel.

Interfaces on the board

  • Display: 3.5″ SPI display, driven through Zephyr’s MIPI DBI API
  • LED strip: 28 APA102 LEDs on SPI. They are daisy-chained, so more LEDs need no extra pins, and the SPI clock makes the data robust against interrupted transfers.
  • Controls: two quadrature encoders (timer inputs) and four push buttons
  • Audio and lighting: piezo buzzer and LEDs on PWM channels
  • Extras: USB OTG, UART for a shell and I2C for future extensions

One footprint, two displays
At first it was unclear which display a sponsor could supply, the 2.8″ or the 3.5″ one. Both use the same connector and are almost pin-compatible, except that the SPI clock and the data/command pin are swapped. We chose a D/C pin that can also serve as the SPI2 clock. Now both displays work with identical wiring and are selected only in software.

Our biggest fail: the SD card
We planned a micro SD card for extra storage. It needs a file system, and the card can lose contact under the vibrations of the car. We replaced it with a soldered 1 MB NOR flash (AT25DF081A) on the same SPI pins, so the layout stayed the same. The flash holds our persistent settings and the second image slot of the bootloader for future firmware updates.

Prepared for the future
The board already has three conventional LEDs for the rulebook indicators (TS off, AMS, IMD), a PWM-capable buzzer, I2C and USB. We do not use them yet. The indicators stay in the car because the steering wheel is detachable and these safety signals must not depend on a plug. Using the other features later needs only a software change, not a new PCB.

Result
The board is now in the steering wheel (revision 1.4). With Zephyr and LVGL, the first image appears about 0.8 s after power-on.

A big thank you to the AISLER team for supporting StarkStrom Augsburg. Professional PCB manufacturing makes it much easier for a student team to turn designs into hardware that runs in the car.