Close

python prototype

A project log for VEVOR diesel heater protocol

reverse engineering the serial protocol

alexander-krauseAlexander Krause 03/12/2024 at 15:190 Comments

Today I started to connect the bus to my PC.


A USB/USART adapter from FTDI was my choice since I got tons and various PCB's laying around.

The FTDI can be configured for RS485 to enable a IO when you're sending data. I tried the interface with the two transistors which was mentioned at the afterburner project but that didn't work for me. (I used mun2214 and mun2112 transistors).

I think a normal RS485 would do when you're using A against GND, so that's what I did next.

The 3k resistor is for protecting purposes.

So anyway, using a simple hexdump with 4800 baud gave me the bytes I saw in my analyser yesterday. So I decided to have a better look at the frame structure.

It seems so be a quite simple structure but I'll have to find out what each byte stands for though.

I spent some minutes to write a little parser to check if my assumption for the link-layer structure is correct.

So far so good. There seem to be a runtime counter which increases with every frame once the heater is running. The remote sends 06 and 02 commands. The first 06 is for turning on, the second for turning off the heater.

I've uploaded the current version of the script to the files section.

Discussions