EMSN-auto
A home-built box in the back of the Volkswagen Golf GTE measures what the car does on every trip, and tells afterwards in plain words how it went.
A plug-in hybrid drives on electricity first and on petrol after that. How far you get on electricity depends on the cold, your speed, the hills and the condition of the battery. The box reads the car’s computer every second and gives each battery a traffic light after the trip.
- Brain
- LilyGO T-Beam V1.2 with GPS
- Car
- Vgate iCar Pro 2S over Bluetooth
- Sensors
- BME680, SCD41 (CO2), MPU-6050, INA226
- Box
- version 9, on a perfboard
- GPS
- active antenna at the rear window
How it was built
20 chapters- 01
Measure first, then build
Every part got its own test program first.
the bare board on the table - 02
The car talks back
The 96 cell voltages of the main battery appear.
- 03
Server, database, Grafana
At home it all comes together: a receiver, a database and the first dashboards.
- 04
The first trip report
After the trip, a message in plain words.
the trip report on the phone - 05
The hunt for the odometer
Five weeks of searching; it was just lying there.
- 06
Eighteen control units
Every computer in the car identified by name.
- 07
Updating over the air
From now on new firmware travels through the air to the box.
the box next to the laptop - 08
Traffic lights for the batteries
The main battery and the 12V battery get a verdict after every trip: green, yellow or red. And a daily card.
the daily card: the three batteries and the kilometres per day - 09
Sleeping more frugally
The power supply looked at again: sleep power from 0.31 down to 0.06 watts. A CO2 meter and a 5V meter added.
the measuring setup - 10
To the NAS
The server moves to the NAS, in Docker.
- 11
Box version 9
The board upside down on a base plate, LEDs in the lid.
box version 9 from the inside - 12
A trial with LoRa
A short message every minute over The Things Network, without a SIM card. Dropped again in early November; at home the data goes to the server wirelessly.
the antenna on the box - 13
A Telegram bot of its own
Trip report, daily card, weekly report and prices in one place.
the bot’s daily message on the phone - 14
The big scan
All 23 control units of the car searched: two days at the laptop, in rounds, with a drive in between to recharge the 12V battery.
- 15
The button test
Press a button and see which value jumps. That is how climate, seat heating, doors, lock and windows were found.
- 16
A trip card with every trip report
One picture per trip: speed, power, battery and temperatures side by side.
- 17
Preheating recognised
The power meter at the charger shows which part is charging and which part is preheating. That is now listed separately with the trip.
- 18
What a real trip is
One rule for the whole system. Tests on the workbench no longer count anywhere.
- 19
A new GPS antenna
At the rear window. There is now a fix within half a minute, with a much stronger signal.
- 20
An app for the phone
The latest trip, the three batteries with their traffic light, all trips and the charging, as an icon on the home screen.
- Measuring every second, uploading wirelessly at home.
- Trip report with a trip card, daily card and weekly report in plain words.
- Climate and seat heating are read during the trip.
- Preheating is measured separately from charging.
- An app on the phone, sixteen dashboards and firmware over the air.
- Reading the lock and windows just after the ignition is switched off.
- Watching whether the new GPS antenna also holds up in frost.
- The battery: in autumn it holds a little less than in summer. Whether that is cold or wear, spring will tell.
- The second board has a broken GPS.