Title: Finding ADC Outputs and Input Requirements in ME7 Post by: Cadensdad14 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. Title: Re: Finding ADC Outputs and Input Requirements in ME7 Post by: woj on November 15, 2020, 11:01:33 AM OK, since you also asked in public, I can as well also reply in public ;)
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. Title: Re: Finding ADC Outputs and Input Requirements in ME7 Post by: fknbrkn 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 Title: Re: Finding ADC Outputs and Input Requirements in ME7 Post by: Cadensdad14 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?
Title: Re: Finding ADC Outputs and Input Requirements in ME7 Post by: Cadensdad14 on November 19, 2020, 01:48:09 PM So ive found this.
https://drive.google.com/file/d/1xFQcfUsHvv_jVrAfvW3SgA0VtntYyt1O/view?usp=drivesdk |