Main Menu

HE351 code for me78569

Started by me78569, June 11, 2015, 09:38:57 AM

Rx7man

in your code
error = VarA - VarB then do a if (error > 2 || error < -2)

if the sign of the error isn't relevant, I find readability improves if you take the absolute value, and then only have to do one test on it.. and the more conditions you check the error against the more of a difference it makes

error = abs(VarA-VarB);
if (error >= errorthreshold1){
  do something
}
if (error >= errorthreshold2){
  do something else
}


Gotta ask though.. what is this warning doing? Is there a reason for concern here?
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

hakcenter

Probably just looking for sticking vane positions, I'm going to do the same thing except not toss an error lol.

Just add a * to the output page once vane position falls out of spec for 2 reads.
TS2009 Deḇarim 8:2
"And you shall remember that יהוה your Elohim led you all the way these forty years in the wilderness, to humble you, prove you, to know what is in your heart, whether you guard His commands or not.

Rx7man

Thankfully the importance of this is minor compared to Ford/Garrett models
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

me78569

Just doing because I can.  I was curious how fast the vanes match the position. Requested,  figuredo I might as well put a warning in place since most of the code was already there.
2000 Dodge 2500 quad-cab 5.9 Cummins slt, homebuilt 47re revmax 3.5 messed with vb, Quad adr iquad, 4" tbe , pureflow 150 gph. he351ve in the works 100hp DFI inj

me78569

Alright,

Well the time has come to setup to the arduino mega.  I have one coming, should be here tomorrow.  Hopefully he changes go smooth, not sure how I am going to "move" the pins for the canbus yet, but I will figure it out.


Then I found $5 ( just because it is a boring post)


I need to start watching Engine RPM and I am going to add in a APPS buffer that can slow down throttle input to help pass emissions. 
2000 Dodge 2500 quad-cab 5.9 Cummins slt, homebuilt 47re revmax 3.5 messed with vb, Quad adr iquad, 4" tbe , pureflow 150 gph. he351ve in the works 100hp DFI inj

Bdubb'z

Nice, excited to see how it turns out.

I'll be the stupid one here, what's $5 post? 

me78569

that's how you end a stupid story " and then I found $5" 
2000 Dodge 2500 quad-cab 5.9 Cummins slt, homebuilt 47re revmax 3.5 messed with vb, Quad adr iquad, 4" tbe , pureflow 150 gph. he351ve in the works 100hp DFI inj

Bdubb'z

   mmmmmmm...... free money ......... :-X

me78569

2000 Dodge 2500 quad-cab 5.9 Cummins slt, homebuilt 47re revmax 3.5 messed with vb, Quad adr iquad, 4" tbe , pureflow 150 gph. he351ve in the works 100hp DFI inj

me78569

#354
Well the Mega is install and everything is working except my lcd screen.  I gotta take a look and see what the pin changes are for that.


I am really considering creating a shield for the mega that allows you nice right hand connectors for sensor output, kinda like the lilbb, but with more plugs. 



Question I have for you guys is, Since the vgt is using 250 kb couldn't I use the same can channel to talk to the truck pcm also?   The truck uses 250 also. 
2000 Dodge 2500 quad-cab 5.9 Cummins slt, homebuilt 47re revmax 3.5 messed with vb, Quad adr iquad, 4" tbe , pureflow 150 gph. he351ve in the works 100hp DFI inj

hakcenter

I think you can talk to both ?
TS2009 Deḇarim 8:2
"And you shall remember that יהוה your Elohim led you all the way these forty years in the wilderness, to humble you, prove you, to know what is in your heart, whether you guard His commands or not.

me78569

I think so too,  I am reviewing some example code from sparkfun that deals with talking to the ecm.  I am gonna throw it on the old unit I have with a spare canbus shield and see if I can't get it to talk.   Then I will try to move it into my turbo controller and go from there.
2000 Dodge 2500 quad-cab 5.9 Cummins slt, homebuilt 47re revmax 3.5 messed with vb, Quad adr iquad, 4" tbe , pureflow 150 gph. he351ve in the works 100hp DFI inj

Rx7man

Should be able to talk to both if the addresses are different (they ought to be)
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

me78569

#358
I am pretty sure they are,  I have a obdlink reader coming that will allow me to do some canbus sniffing on the computer using tera term rather than having to work through the arduino.  This will speed up the process a good bit since I am unsure what protocol is used for what on my truck.  There are 3 different canbus type networks haha.

have some mountain pass towing time this weekend.  Turbo continued to work great.  3rd gear 2300 rpm %50-%60 TPS held shaft speeds right at 110,000 rpm at 15-20 psi without any trouble.   I really had to push it to see over 120,000 rpm.  Just took it and kept asking for more.  I am sure I could have held higher boost, but I have no need to pull up the pass at 65 mph haha. 
2000 Dodge 2500 quad-cab 5.9 Cummins slt, homebuilt 47re revmax 3.5 messed with vb, Quad adr iquad, 4" tbe , pureflow 150 gph. he351ve in the works 100hp DFI inj

Rx7man

You have no NEED to go up the pass at 65, but it's FUN!  I can't wait to put the 6 speed and 3.55's in my truck so I can do 85 up the passes.. Might have some fun with some fords too :P
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles