Recent Posts

Pages: [1] 2 3 ... 10
1
General Discussion / Re: Starting a new build
« Last post by hakcenter on May 22, 2018, 09:00:21 PM »
Ya uh, I don't like using some of those identifiers, cause raisens
2
General Discussion / Re: Starting a new build
« Last post by Rx7man on May 22, 2018, 12:23:41 AM »
I've made plenty of those mistakes that have cost me hours of aggravation.. glad you got it figured out
3
General Discussion / Re: Starting a new build
« Last post by Chewy1576 on May 21, 2018, 09:46:23 PM »
K another dumb mistake...

As soon as I changed "sizeof(rcv_data.data))" in the MEMCPY to "rcv_data.length", it started working!
4
General Discussion / Re: Starting a new build
« Last post by Chewy1576 on May 21, 2018, 09:39:03 PM »
So I haven't given up... Been a busy month or so and I haven't had much time to tinker. I had some time tonight to work on moving the received data around, and figured out I had the destination and source in the MEMCPY backwards  ;D. Now it receives one message and the program seems to hang, it doesn't pull in any more messages.

Code: [Select]
void MCP2515_ISR()
{
  data_rcvd = true;
}

void C_CANBUS()
{
  data_rcvd = false;
 
  CAN_Frame rcv_data;

  if (CAN.available() == true)
    {
    rcv_data = CAN.read();
    }

  if (rcv_data.id == 300000000)
    {
    memcpy(turbo_speed.b,rcv_data.data,sizeof(rcv_data.data));
    }

  if (rcv_data.id == 305000000)
    {
    memcpy(vane_pos.b,rcv_data.data,sizeof(rcv_data.data));
    }

  if (rcv_data.id == 310000000)
    {
    memcpy(boost_pressure.b,rcv_data.data,sizeof(rcv_data.data));
    }

  if (rcv_data.id == 315000000)
    {
    memcpy(egt.b,rcv_data.data,sizeof(rcv_data.data));
    }
}

void D_LCDWrite()
{
  long disp_turbospeed = 0;
  int disp_egt = 0;

  disp_turbospeed = (long) turbo_speed.f;
  disp_egt = (int) egt.f;
 
    //lcd.setCursor(0,0);
    //lcd.("TurboSpd:          ");
   
    //lcd.setCursor(0,0);
    Serial.println(String("TurboSpd:") + String(disp_turbospeed) + String(" RPM"));
   
    //lcd.setCursor(0,1);
    //lcd.print("TurboPos:         ");
       
    //lcd.setCursor(0,1);
    Serial.println(String("VanePos:") + String(vane_pos.f,2) + String (" cm2"));

    //lcd.setCursor(0,3);
    //lcd.print("Boost:  ");
   
    //lcd.setCursor(0,3);
    Serial.println(String("Boost:") + String(boost_pressure.f,2));

    //lcd.setCursor(12,3);
    //lcd.print("EGT:    ");

    //lcd.setCursor(12,3);
    Serial.println(String("EGT:") + String(disp_egt));

    //delay(100);
}

void loop()
{
   
  if (data_rcvd = true)
  {
    C_CANBUS();
  }

  D_LCDWrite();
 
}
5
Installation / Re: 2002 cummins lilbb install
« Last post by hakcenter on May 21, 2018, 07:32:42 AM »
Don't know how you would calculate load, but you certainly can integrate as much 5v stuff as you want.

Just remember the common code doesn't have any extra processing in it besides just showing you how count on the ISR spare pin. Adding the sensors to the code will be task :)
6
Installation / Re: 2002 cummins lilbb install
« Last post by Off-road on May 19, 2018, 09:18:34 PM »
Can I use the I/o’s to monitor and use the boost and load of the engine to determine vane position and adjust it accordingly or is that over rated?
7
Installation / Re: 2002 cummins lilbb install
« Last post by hakcenter on May 19, 2018, 09:54:18 AM »
At the bare minimum, you need a 12v key on power source for the lbb, and a suitable ground.

To the turbo you need a relay with a 15A fuse. When key on, relay kicks power over to the turbo. The LBB is not a suitable power source for the turbo.

You'll need the canbus wires from the turbo to the LBB connected correctly (canH to canH / canL to canL) and the VR sensor on the turbo will need to be connected. Everything else is gingerbread depending on what you want to do.
8
Installation / 2002 cummins lilbb install
« Last post by Off-road on May 19, 2018, 08:53:42 AM »
Gents-  trying to install the lilbb on my 24v cummins, and I have questions. 

Is there a how to anywhere on what the different I/o’s are supposed to hook into? 

I get a few of these like power ground, etc.  but, what all do I need to install to what? 
9
General Discussion / Re: Compression Check
« Last post by Rx7man on May 14, 2018, 04:21:49 PM »
Just did a compression check on my truck... all cylinders were 440PSI +/- 5 except for #2 cylinder, that was at 390.. so I know where my blowby is coming from now.. hopefully it's just a bad ring and the cylinder is OK still.. it's the same cylinder that had the bad injector last fall, but it ran fine after I replaced that injector.. still an odd coincidence.. Bear in mind my truck is 18:1 compression so that's why it has higher numbers all around.
10
General Discussion / Re: He431ve pinout
« Last post by hakcenter on May 08, 2018, 03:53:51 PM »
I am unfamiliar with a 431, can you post a picture of the actuator ?
Pages: [1] 2 3 ... 10