📜 ⬆️ ⬇️

The control unit preheater Webasto (Arduino + Webasto = Ardubasto)

I installed on the car before the starting heater Webasto. After installation, it turned out that it was not controlled by a discrete signal (as in my previous car), but only via the W-bus digital bus. The electrical parameters of the W-bus bus are analogous to the K-line bus and there is an integrated K-line converter - RS232TTL for it - this is a L9637D chip. On this chip, based on the Arduino, and it was decided to make the heater control. The task was complicated by the fact that Arduino only supports the transmission protocol on the serial port without parity, and the W-bus protocol works with the settings of the port 2400/8-E-1. To circumvent this, waveforms of the Webasto start command were taken and commands for the Webasto were implemented with timing delays.

Functions of the control unit:

1) When power is supplied to the control unit through the normally open alarm output contacts (with remote control via SMS), the unit continuously sends a command to the W-bus to warm up.

2) When connecting the Arduino to a computer via USB and using Webasto diagnostic software, you can diagnose, control and erase heater errors. To do this, you need to load an empty sketch.
')
Scheme of the device in the format of AutoCad.
Appearance
Sketch

It was the first fully functional implementation of the control unit.

A further development, while not fully realized, is the performance of the following functions and characteristics of the device:

1) To control the inclusion of SMS from the signaling unit Webasto - in the short-term contact of the contact signaling Arduino should stand on self-pickup for power during the operation of Webasto.
2) Supplement the device with a monochrome display like Nokia 5110.
3) Display the coolant temperature and voltage of the car battery received from Webasto via W-bus on the display.
4) Display the status of the work Webasto
5) Webasto shutdown should occur either at a sufficient coolant temperature or low voltage car battery.
6) Sound alarm (melody) on / off Webasto, pressing a button, etc.
7) Turn on / off Webasto from the button on the device.
8) Running lights control - when a supply voltage of consumers of group 2 appears - switching on and when switching on dimensions or voltage drop of a car battery below 13.5 volts (polite light) - shutdown.

All this is in principle implemented and described in the control algorithm e (the program format is yED).

Scheme in AutoCad format
Signet

The device itself is front view and rear view.
implemented, but not fully debugged and there are problems with the display - the first one refused to work, the second one is also buggy. Perhaps go to the OLED display.

Thanks for attention.

Source: https://habr.com/ru/post/371575/


All Articles