For any add-on boards such as VR conditioners, optos and OEM interface boards
#47911
Ok so it does output the right voltages when i stick a lighter to it, after a few secs it goes down to ~.5 volts and then after you take it away it goes up to ~4.5. Ive included the last part of the serial i got for reference to what i see.


Screen Shot 2021-01-30 at 12.35.51 PM.png
Screen Shot 2021-01-30 at 12.35.51 PM.png (83.81 KiB) Viewed 5723 times
#47930
Hi guys,
the serial output has some room for improvements. But CJ state 2 means that the controller is running and measuring.
You can change the line 72 in LambdaCtrl.h to get a little bit more information on the serial interface:
Code: Select all
#define DEBUG					1	// Define debug mode 0 = off, 1 = Minimum, 2= all
Best regards,
Chris
#47931
but you are right, there should be the lambda value on the serial output in debug 1
Code: Select all
#if (DEBUG > 1)
		Serial.print("UR:");
		Serial.println(In.UR);		
		Serial.print("UA:");
		Serial.println(In.UA);
		Serial.print("IP:");
		Serial.println(Cj.IP);	
#endif
#if (DEBUG > 0)
		Serial.print("Mode:");
		Serial.println(ModeName[Abl.Mode]);	
		Serial.print("Supply:");
		Serial.println(Abl.SupplyVoltage / 1000.0);	
		if ((Abl.CjState & CJ125_DIAG_REG_STATUS_OK) == CJ125_DIAG_REG_STATUS_OK)
		{
			Serial.print("Lambda:");
			Serial.println(Abl.Lambda / 100.0);					
		}
		else
		{
			Serial.print("Cj:");
			Serial.println(Abl.CjState, HEX);
		}
will have a look on this later
#47941
Awesome, thanks. I guess I'll modify the debug serial section of code so I get a lambda value on the output, going to be making a custom gauge for it probable and ill just use the serial out for communication to it.
#47942
Hello,

can you make a small change in the code and upload it again.
Then you should see lambda even in debug mode 1.

(Add the lambda value output also if cj state is not okay)
Code: Select all
#if (DEBUG > 1)
		Serial.print("UR:");
		Serial.println(In.UR);		
		Serial.print("UA:");
		Serial.println(In.UA);
		Serial.print("IP:");
		Serial.println(Cj.IP);	
#endif
#if (DEBUG > 0)
		Serial.print("Mode:");
		Serial.println(ModeName[Abl.Mode]);	
		Serial.print("Supply:");
		Serial.println(Abl.SupplyVoltage / 1000.0);	
		if ((Abl.CjState & CJ125_DIAG_REG_STATUS_OK) == CJ125_DIAG_REG_STATUS_OK)
		{
			Serial.print("Lambda:");
			Serial.println(Abl.Lambda / 100.0);					
		}
		else
		{
			Serial.print("Cj:");
			Serial.println(Abl.CjState, HEX);
                        Serial.println(Abl.Lambda / 100.0);
		}

#47999
chaoschris wrote: Tue Jan 26, 2021 11:04 am Hi,
MP2451 could be a replacement and is also a basic part at JLC. But we have to do a deeper look into it because this is not a one-to-one replacement....
Best regards,
Chris
Hi,
Did you have take time to change this part on your PCB with an other not in end of life ?
thanks
#48008
Hi flat4power,
Version 0.0.3 will be uploaded soon to GitHub.
It will have some minor changes and also two pins more for a small internal OLED-Display. The used MP2451 is also EOL, but there are 23184 pieces available for assembly at the factory (02.02.2021).
Best regards,
Chris
  • 1
  • 17
  • 18
  • 19
  • 20
  • 21
  • 31
Vr Conditioner Noise when cranking

you could set 'skip revolutions' to 3, then it wo[…]

I uploaded logs and last tune and dyno plots look[…]

Hi, I am trying to assign Signed values to the x-a[…]

blitzbox

I've finally figured out why MAP and Lambda weren'[…]

Still can't find what you're looking for?