Skip to content

LIN bus demo using VW Golf VII / Audi A3 8V wiper actuator and STM32/HAL.

License

Notifications You must be signed in to change notification settings

ufnalski/lin_bus_golf7_wiper_actuator_g474re

Repository files navigation

LIN bus demo using VW Golf VII / Audi A3 8V wiper actuator (STM32G474RE)

My strong inclination towards electric drives made me knock together a sequel to the Toyota RAV4 climate control panel. We are going to communicate over the LIN bus with a wiper actuator. There is almost endless selection of such actuators on the market. However, my goal here is not to spend time on hacking one. The exercise is supposed to be a datasheet-based one. Searching for wiper actuator/motor protocol gave me Wiper Direct Actuator (WDA) from Bosch Motorsport. A quite pricey item. Let's experiment with something cheaper - a similarly looking actuator being used in VW Golf VII, Audi A3 8V, and probably many other popular models. The used part can be easily bought for under $10.

LIN bus wiper actuator in action

WDA purchasing options

Missing files?

Don't worry 🙂 Just hit Alt-K to generate /Drivers/CMCIS/ and /Drivers/STM32G4xx_HAL_Driver/ based on the .ioc file. After a couple of seconds your project will be ready for building.

Libraries

Exemplary LIN transceivers

Readings

Important

The WDA for motorsport has visibly different casing but it uses an almost identical communication protocol. "Almost" makes a difference between being able to communicate and not being able to communicate at all. It took me a lot of guessing and checking to figure out that the "civilian" version has a longer data field. They've probably shortened the frame for motorsport to make it faster 😉 Follow the datasheet and then just add two zero bytes to the payload.

Exemplary sniffers/decoders

LIN bus decoder LIN bus interface/sniffer

For ESP32 (Arduino IDE) aficionados

What's inside?

  • brushed DC motor
  • H-bridge converter (four 90N04 N-Channel MOSFETs)
  • magnetic field sensor (KMZ43T from NXP)
  • uC (D1923BA from Bosch)
  • LIN transceiver (TJA1021 from NXP)

Bosch WDA PCB top

Bosch WDA PCB bottom

Bosch WDA uC

Bosch WDA magnet

Bosch WDA cover 2

Call for action

Create your own home laboratory/workshop/garage! Get inspired by ControllersTech, DroneBot Workshop, Andreas Spiess, GreatScott!, ElectroBOOM, Phil's Lab, atomic14, That Project, Paul McWhorter, Max Imagination, Nikodem Bartnik, and many other professional hobbyists sharing their awesome projects and tutorials! Shout-out/kudos to all of them!

Warning

Control engineering - do try this at home 😎

190+ challenges to start from: Control Engineering for Hobbyists at the Warsaw University of Technology.

Stay tuned!

Footnotes

  1. The QR code will take you to the wiper direct actuator (WDA) purchasing options.

Releases

No releases published

Packages

No packages published