My name is Evgeniy. Born in 1987 in Soviet Russia, living in the Netherlands since 2001.
I finished Bachelor of Automotive Engineering and Master of Automotive Systems.
I was/am a fan of, among other interesting cars, the Golf MK2.
Of course with newer engine and stuff… you know
So, what is the idea:
a 1920x720 10.3" display with the needed display controller
RaspberryPi with Lineage OS (Androidy thingy)
the green USB-CAN opto-decoupled adapter from AliExpress
RealDash as the super nice dashboard app.
The Golf, with which I would try the idea, is equipped with a 1.9 TDI ALH engine, which has CAN-bus output. Now it is the EDC15V, I didn’t check the CAN-traffic yet. On the EDC15VM+, there is CAN-connection to the original instrument cluster, so there must be enough traffic to listen to.
The first step is to get the green CAN-adapter running, and this is where I get stuck. While RealDash seems to recognise it, I can’t see traffic, nor do the LEDs blink continuously. But they blink sometimes.
I have a PCAN-adapter and PCAN-Explorer for the PC to generate traffic for testing
Мне кажется, CAN - очень удобно… когда работает )))
(For the english speakers: I explain, why I chose to use CAN-Analyzer. It is because I wanted to connect with CAN, as the messages are broadcasted by the ECUs, not like K-Line with KWP2000 “request and receive” and stuff. And RealDash actually lists the green CAN-bus adapter, so I bought it to work with)
I installed PC-Software for the green adapter and tested it by sending messages from PCAN.
It works. Apparently, there is a microcontroller in the adapter which is programmable, so there are actually settings possible to be done to the adapter.
It is now set such that I can see what I am sending from PCAN. So, the settings appear to be right.
Still no success in RealDash… It keeps showing “time out”.
На компьютере можно настроить и проверить скорость соединения по серийному каналу и по шине CAN.
По серийному порту советуют 9600 кб/с. Это я установил в RealDash и в настроечной программке адаптера.
По CAN-шине я настроил 250 кб/с. Не медленно и не быстро, на работе тоже с такой скоростью работаем. Это, опять же, настроил в программке адаптера и в RealDash.
С натройками адаптера вроде всё хорошо: подключив его к компьютеру с программой CANtest, я могу видеть сообщения, которые шлю из PCAN.
(The question was whether I have the speeds/data rates set right. The serial port is set to 9600 and the CAN-bus is set to 250. This has proven to work on the PC, so the adapter seems to work.)
In PlayStore, I saw an app that can do a serial connection via a CH34x chip, which is inside the green adapter.
It can connect to the adapter. The software seems to only be capable of serial stuff, so I can’t test whether CAN-part of the adapter can be accessed.
For some reason, I think that there is a kind of “permission to access USB” needed… and RealDash doesn’t have it. I already searched for permissions and apps that could give more info, but I don’t see anything that looks like “permission for USB”.
Just to remind about the problem: RealDash tries to connect to the adapter, but fails with a time out…
While reading a lot, bit by bit, I remembered this:
With this adapter, always use baud rate of 9600. RealDash connects the adapter in configuration mode (9600 baud), and makes required settings and after that connects again with baud rate of 460800bps. The baud rate of 460800 has been verified to work on Windows and Android versions of RealDash.
And then I was like: wait a second…
I plugged the adapter into RPi, ran RealDash, then connected the adapter to PC and saw in the settings software, that indeed, the baudrate changed to 460800!!
But RealDash itself didn’t change. So then, I changed the settings as well, and now I have a steady RX-LED lighting, while I send some messages from the PC. But it seems to be unstable: I seem to need to do some sequence of actions, as it didn’t work after restart.
I wanted to monitor the traffic, but monitor window was still empty.
Does it only show traffic that is defined in the .xml, or any traffic?
The next step is to understand the CAN-protocol. It seems to differ a lot to what I am used to… I will have a look at the right threads of the forum. But if anyone could point me to the right spot, feel free
Are you sure that your CAN adapter is exactly the same ‘type 2’ adapter that RealDash supports? I was in understanding that they are no longer available from anywhere.