OK, so long term solution will be to add wiring for both O2's to ground at their respective PCM pins. In the meantime, will this code prevent the car from going into closed loop?
Type: Posts; User: Quaraxkad
OK, so long term solution will be to add wiring for both O2's to ground at their respective PCM pins. In the meantime, will this code prevent the car from going into closed loop?
I'm diagnosing an O2 sensor issue on my 92 Cutlass 3800 L67 swap, and have found something I either didn't notice when I initially did the wiring or thought it didn't matter and/or forgot about it....
It works!
Using this code:
volatile int iSparkCounter = 0;
const int SPARK_PULSE_IN_PIN = 2;
const int UPDATE_INTERVAL = 200;
unsigned long lLastUpdate = 0;
It seems I have completely forgotten how to get even my initial test working! I have no idea what pins are supposed to be connected to what...
Time to resume this project! I moved, and am now settled into the new house. After some thought, I realized that the stock cluster already has a "regular" tachometer signal, so I've already got the...
I feel like using a full-fledged OBD protocol is a bit overkill... Seems like a short term diagnostic thing rather than something that's supposed to be in use all the time. But... I don't really know...
I wasn't sure if sizeof(barray) was working, so I found that with a google search... Most of this code is copy/pasted from google searches. I don't really understand c-like syntax, I'm a VB.net...
Something is weird here... I had the cluster out of the car because I was tired of walking back and forth to the garage for every tiny code change... That's when I got the smooth sweep. The gauge...
Success! I changed my code to this and got a smooth sweep from 500 up...
byte msb = 0;
byte lsb = 0;
void setup() {
Serial.begin(8192);
}
I tried manually setting numbers for all three values after 0x58 one at a time, and the second one is the only one that causes the gauge to respond. Even if my MSB and LSB calculation is correct, the...
VPW, that's the Class 2 stream, right? I was looking into that as a possible source of input to get the RPM signal.
But first, I think I may have a math problem in the code above... I attached a...
Got the Arduino this morning, uploaded the code, plugged it in:
https://s3.amazonaws.com/Quaraxkad/Cutlass/aldl/20191210_162010.jpg
It's a 2004 PCM. The service number is 12583827
The tachometer is the only part of the panel that is controlled by the ALDL stream. All other gauges and lights on the panel are handled by the "traditional" method. That's why I made my initial test...
You shouldn't be that wary of taking one apart. They are not all that delicate. It's just a few screws to remove the cover, a few more screws securing the board and I believe the entire internals all...
Adding a little math to convert an integer RPM into MSB and LSB...
void setup() {
Serial.begin(8192);
}
void loop() {
if (Serial.availableForWrite() > 5) {
int rpm = 3200;
Ah yes, I had completely forgotten about the checksum! Adding in your checksum function, this is pretty much the entirety of the initial test! I'm leaving out all of the other bytes because I expect...
I've ordered an Arduino Uno, it will be here tomorrow. I believe it's C++, not C. First step is basically just the example code shown here:...
A little more experimentation and research, I think I found what I need...
I don't have any method of generating a crank signal. The crank sensor signal goes to the ICM, and the ICM outputs a...
On further inspection, I think that both of those logs appear to be the same repeating pattern with only a few bytes changing. I think they might both be ALDL diag or idle chatter, I have no idea...
I set up a test bench, wired up the PCM and my ALDL adapter. I was able to get some datalogging going in TunerPro so I know it's working.
I grounded terminals A and B of the ALDL DLC, and used a...
Great, thanks for the support!
It sounds like you think a Pi would be the easier than Arduino. I have seen that the Arduino also has an FTDI addon available, so that might level the playing field?...
I've got a project I need to get started on now that my car is running thanks to the help provided here in a previous thread! I have a 92 Cutlass with an L67 swapped in. I also have a gauge cluster...
IT RUNS!!
12588500v1.0a.bin was the ticket, thank you so much!! I don't know if it's the updated program version or that my software doesn't disable VATS correctly, but it's running! As an...
It is supported. It's OBD2_28. 2004 Chevy 3.8.