Pages: [1]
Author Topic: Finding ADC Outputs and Input Requirements in ME7  (Read 3944 times)
Cadensdad14
Full Member
***

Karma: +8/-1
Offline Offline

Posts: 134


« on: November 15, 2020, 08:12:05 AM »

Ive seen on a few other threads here where there is the possibility to feed in an analog signal and use it on the other side of the ADC.  Id like to use a DAC on an arduino to input a analog signal and then be able to make adjustments.  Im absolutley an amateur with no software engineering experience, but using what ive learned here ive been able to understand the Assembly and disassembly of the file.

I know there are extra ports available that werent used on some models like the EGT sensor and the Oil Pressure Sensor.

Could someone give me some guidance on finding the ADC outputs in the RAM locations. 
Logged
woj
Hero Member
*****

Karma: +43/-3
Offline Offline

Posts: 500


« Reply #1 on: November 15, 2020, 11:01:33 AM »

OK, since you also asked in public, I can as well also reply in public Wink

There are two ways of doing this, complementing each other. First, you need to have fully and properly disassembled bin for your ECU, such that you know all memory cells are referenced properly and that you have found all the references to all cells, especially the CPU register area. Then you take the docs for the CPU, find the ADC input register addresses and do a search in the code to see if they are used. Sometimes you will see that an ADC channel is read, stored in another variable after clearing the control bits, but then that is it, the data does not travel anywhere. But then it also has to be connected on the board:

From the hardware side - you take all connector pins that are not connected on your car and/or are no described in the pinout diagrams for your car, you open the ECU and try to trace these pins down to the CPU, if they end up on the ADC ports you have likely candidates.

Then you log the suspected unused channel port addresses, apply voltages to the suspected pins and see if you trigger any changes.
Logged
fknbrkn
Hero Member
*****

Karma: +186/-24
Offline Offline

Posts: 1455


mk4 1.8T AUM


« Reply #2 on: November 15, 2020, 06:48:51 PM »

What's the point to made an analog connection between Arduino and ecu?
Better to go with Canbus
Logged
Cadensdad14
Full Member
***

Karma: +8/-1
Offline Offline

Posts: 134


« Reply #3 on: November 18, 2020, 03:56:34 AM »

I just havent been able to find anything on the CANBUS protocol but this would an absolutely ideal.  Do you have any documentation?
Logged
Cadensdad14
Full Member
***

Karma: +8/-1
Offline Offline

Posts: 134


« Reply #4 on: November 19, 2020, 01:48:09 PM »

So ive found this. 

https://drive.google.com/file/d/1xFQcfUsHvv_jVrAfvW3SgA0VtntYyt1O/view?usp=drivesdk

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.014 seconds with 17 queries. (Pretty URLs adds 0s, 0q)