Toyota GR Yaris Forum banner
21 - 40 of 150 Posts
I got tired of adding multiple small boards to get CAN + ESP32 + 12V and auto shutdown for my car projects so I sat down in EasyEDA and made a board to my liking and ordered five boards (assembled) from JLCPCB. I'm using one as a CAN sniffer interface with www.savvycan.com and another one for over rev warning. Will use one to get live telemetrics from Racechrono and push live data up to a web server when on track (not using CAN there but 12V and BLE + Wifi)

 
I will be watching this, great work.

Would be great to have little ESP32 with a one push button to disable stop/start, switch mode and turn off lane assist, presuming thats possible over CAN.
be interested to see if that's possible, but at least in the wiring diagram, the switches for those seem to connect directly to ECU pins, not over CAN
 
Log from driving.

- I begin driving with Torque running a normal pid scan on regular OBD2-data
- Then I turn off Torque and continue driving to see what is broadcast - if anything - on the OBD2 connector (it does but only two pids)
- My own ESP32 asks for oil pressure once every five seconds the whole journey (that's the "SENT" and matching replies you see)
 

Attachments

Discussion starter · #33 ·
Toyota CAN PIDS picked up in various places on the net. For a number of different models (Camry 2018 being one, Yaris another but probably previous generations) but you do see patterns emerging
I tried ten or so CAN PIDs from the attachment to try and get some information in RaceChrono using OBDLink in CAN Bus mode. But with every PID I tried I did not see any values. It could be my setup fault, as I have not yet seen RaceChrono give me any values in CAN Bus mode. Do you have some CAN PID that you see any values on GR Yaris?

I think oil pressure is this calculation or are the values maybe a bit off you think?

( a + b/256 ) / 4
I compared the value I get using this formula with what I see in OBDLink, and yea the value seems to be a bit too high.

However then I also tried this formula (((A*256)+B) * 10) / 128 and that seems to produce values very similar to the ones I see in OBDLink. This is the formula that is used for a standard OBD PID 0122 for Fuel Rail Pressure. The value is in kPA.
 
@dvim Broadcast packets are not visible on the OBD2 connector in the GRY (apart from two that I've seen). So not much to pick up by just listening there. There you can only run requests that the car will reply to. When hooking up to the different CAN buses you can see tons of broadcasts.

It's always a bit confusing with some things being actual CAN pids and some being ids within the data packets sent with CAN pids like 0x700 in the way the basic collection of OBD2 data works. And what CAN pids you can request to get a reply to and which are only broadcast. I get confused with which is which when it isn't clearly spelled out on different web pages.... Its all pretty new to me so I'm learning as I go along. Which is fun!
 
I compared the value I get using this formula with what I see in OBDLink, and yea the value seems to be a bit too high.

However then I also tried this formula (((A*256)+B) * 10) / 128 and that seems to produce values very similar to the ones I see in OBDLink. This is the formula that is used for a standard OBD PID 0122 for Fuel Rail Pressure. The value is in kPA.
I'll run Techstream and compare it's values to the calculations (y)

1635191644459.png
 
Had a small €10 touch screen laying around, hooked it up to my DIY CAN board and will take it down to the car tomorrow and check that the calculation looks right (y)

Image


Printed a small housing for it. Didn't like the code library to write stuff on the screen very much but that's probably my fault not finding the smarter ways of using it yet. It supports different fonts and so on which, as you can see, I didn't get to ?

Image
 
Out of my depth here, but just wondering if the instrument cluster CAN(?)has some interesting communication as it displays oil temp and pressure at what seems a pretty ok update frequency?
 
Out of my depth here, but just wondering if the instrument cluster CAN(?)has some interesting communication as it displays oil temp and pressure at what seems a pretty ok update frequency?
On my BMW I hooked up to the CAN bus that the cluster is on and yes, tons of stuff being broadcast there. I was looking at the Toyota tech site materials trying to find a good place in the car to connect to some of the CAN buses. But plugging in the OBD2 connector is easy and will do for starters :) (y)
 
Discussion starter · #39 ·
I was looking at the Toyota tech site materials trying to find a good place in the car to connect to some of the CAN buses
Were you able to find any documentation that would mention any other places where different CAN buses can be accessed? I have a generic CAN Bus reader on the way so currently looking to different places in GRY which exposes connectors to different CAN busses.
 
The electric schematic shows a couple of CAN junction points and CAN gateway. Where it's best physically to connect is still not entirely clear. The drawings of what is where is okay but I need to tear off some panels to see what it really looks like.
 
21 - 40 of 150 Posts