%HTTP_EQUIV_ON_VIEW%
PGMFI Logo
Library> HowToLogExternalDataSuchAsAnEgtSensor (r1.2 vs. r1.3) Destinations: Home | Library | Change Log | Index
Search | Go

 <<O>>  Difference Topic HowToLogExternalDataSuchAsAnEgtSensor (r1.3 - 02 Jan 2006 - Home.markolson)
Added:
>
>

  • josevar700's D12 ADC Schematics:
    USDMD12adc.jpg
Changed:
<
<

Bottom line is, you can put any 0 to 5V signal on a USDM P30 D12 pin, and log it by reading RAM location 0067h. That RAM location contains a byte that gives you the input voltage in 0.02V increments from 0V at 00h to 5V at 0FFh. Keep in mind that there is about a 1% drop in voltage from pin D12 to Pin 57 on the 66207 chip (AI3 analog input port), although that is probably negligent. If you want to get really accurate, you can also read RAM location 0066h to get the least significant two bits of the 10 bit A/D converter data, but that seems like overkill for EGT logging. Note that in the USDM P30, the AI5 analog input pin is grounded.

>
>

Bottom line is, you can put any 0 to 5V signal on a USDM P30 D12 pin, and log it by reading RAM location 0067h. That RAM location contains a byte that gives you the input voltage in 0.02V increments from 0V at 00h to 5V at 0FFh. Keep in mind that there is about a 1% drop in voltage from pin D12 to Pin 57 on the 66207 chip (AI3 analog input port), although that is probably negligent. If you want to get really accurate, you can also read RAM location 0066h to get the least significant two bits of the 10 bit A/D converter data, but that seems like overkill for EGT logging.

C42 is unstuffed in a stock USDM ECU, so it is a really good idea to put a 1uF 35V tantalum cap in C42. This provides a nice filter to smooth the ADC analog input. Make sure you install the cap with the plus side the same as all of the other caps in that row, away from the 66207.

Note that in the USDM P30, the AI5 analog input pin is grounded.

Changed:
<
<

Another application for this input could be for a kill switch input. A clever person could use this feature to make a plugin for the ECU software to read a kill switch with a pullup resistor to disable the ECU if the switch is set to disable the ECU or enable the ECU if the switch is the other way. Of course, that would make it so you couldn't log EGTs or anything else, but not everyone is into logging. There are probably a lot of other applications that D12 could be used for. We just need clever programmers.

-- markolson - 20 Nov 2005

>
>

You could use this input as a 0-5V input for a wideband O2 data, leaving the stock O2 sensor input for the narrow band O2 data. Another application for this input could be for a kill switch input. A clever person could use this feature to make a plugin for the ECU software to read a kill switch with a pullup resistor to disable the ECU if the switch is set to disable the ECU or enable the ECU if the switch is the other way. Of course, that would make it so you couldn't log EGTs or anything else, but not everyone is into logging. There are probably a lot of other applications that D12 could be used for. We just need clever programmers.

Added:
>
>

-- markolson - 20 Nov 2005, Edited -- markolson - 02 Jan 2006

Added:
>
>

%META:FILEATTACHMENT{name="adc.jpg" attr="h" comment="josecar700's ADC schematics" date="1136170944" path="C:\Documents and Settings\mwolson\My Documents\Chron\HondaProject\P30Schematics\adc.jpg" size="134133" user="markolson" version="1.1"}% %META:FILEATTACHMENT{name="USDMD12adc.jpg" attr="h" comment="josevar700's D12 ADC Schematics" date="1136171536" path="C:\Documents and Settings\mwolson\My Documents\Chron\HondaProject\P30Schematics\USDMD12adc.jpg" size="5920" user="markolson" version="1.1"}%


{ View | Diffs | r1.4 | > | r1.3 | > | r1.2 | More }
Copyright © 2002-present by the contributing authors. All material on this collaboration platform is the property of the
contributing authors, and is covered by the Non-Commercial Share-Alike License unless explicitly stated otherwise.
Ideas, requests, problems regarding the PGMFI TWiki?? E-Mail the WikiAdmin
Site Designed By: Digital Fusion   Need a website?

Revision r1.2 - 20 Nov 2005 - 07:43 GMT - Home.markolson
Revision r1.3 - 02 Jan 2006 - 02:59 GMT - Home.markolson
%WEBCOPYRIGHT%