Volkswagen Golf MK2 | onboard computer | Part 1

So, let’s start with the “on-board computer” for the Volkswagen Golf 2. So far I have the majority of the materials needed for the basic functions, RPm, oil, cooling water and interior/exterior temperature. First, the Raspberry PI is set up, which means we need Node-RED and active I2C/1-Wire.

"Bordcomputer" CarComputer for the Volkswagen Golf 2 as a concept drawing with Raspberry PI
Car computer concept. My attempt to build an onboard computer for a Volkswagen Golf 2.

Here is the complete material list

And the software list:

Preparation for the Volkswagen Golf MK2 “CarComputer”

For our RPi I use Raspbian Buster and flash with the Raspberry Pi Imager.

Raspbian Buster offers us everything we need. If you are familiar with Linux Bash, you can choose the Lite version, which comes without a desktop and therefore uses fewer resources.

And don’t worry, Node-RED builds its own user interface, that’s quite sufficient 😉

Here I looked up a link for the Raspberry Pi Imager.

Installation of NodeRed on the Raspberry PI

Basically you can install Node-RED on all RPi’s. I use an RPi 3. Now open the shell on your Raspberry either directly or via ssh. If you use PuTTY then log in there with the hostname or the IP of the PI. If you haven’t changed the password and user, then the user is “pi” and the default password is “raspberry”

Among other things, we need Node.js and npm. Luckily it’s all in one package. Simply enter the following command in your shell:

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

If everything went through without errors (if Linux doesn’t say anything, it’s usually fine :D) we start Node-RED with the command:

node-red-start

Afterwards we want to bring Node-RED into the autostart. This has the advantage that we don’t have to start the service manually every time the system starts:

sudo systemctl enable nodered.service

To disable autostart, just type:

sudo systemctl disable nodered.service

Access via web browser

To access Node-RED simply open your browser using the IP or hostname of your PI and port 1880.

http://<IP eures PI>:1880
http://<Hostname eures PI>:1880

MQTT Brokers | Mosquito on the Raspberry

I would like to use MQTT to save all measured values in a database at home and to be able to evaluate them later. I find it interesting for me to see how the temperatures behave and to plan maintenance early if necessary.

For all those who also want to use MQTT, here are the instructions.



Comments

3 responses to “Volkswagen Golf MK2 | onboard computer | Part 1”

  1. du weißt schon wer Avatar
    du weißt schon wer

    Sehr coole Sache! Wird es dann auch eine Ausbaustufe geben, welche eventuell per GPS die Geschwindigkeit und die zurückgelegte strecke misst?
    eventuell sogar mit einem FlowMeter in Kombination um den aktuellen verbrauch zu dokumentieren?

    Weiter so, cooles Projekt

    Gruß aus Vordorf

    1. Hey,

      ja es sind noch weitere Updates geplant. Ich würde gerne nach den Grundfunktionen noch das Boardnetz überwachen, damit ich eine Anzeige bekomme wenn z.B. ein Leuchtmittel defekt ist (Vorbehaltlich der Unbedenklichkeit vom TÜV natürlich!) Eine Aufzeichnung von GPS Daten (Strecke, Höhe, Geschwindigkeit) ist auch in Planung. Der Flowmeter ist ne gute Ergänzung 😀

      Grüße zurück aus Müden

  2. bookmarked!!, I like your website!

Leave a Reply

Your email address will not be published. Required fields are marked *