he351ve can
Moderators: jsmcortina, muythaibxr
-
- Helpful MS/Extra'er
- Posts: 109
- Joined: Sat Oct 13, 2012 11:17 pm
- Location: Quincy CA. USA
Re: he351ve can
getting around 1 volt out of the ms3 .75 out of vgt both on voltage climbs to around 1.2
I followed wires from processor js6 js8 (been a few days not positive i remember numbers correctly) through spare 1,2 to vgt made sure can high low were not reversed.
I did not see where the 120 ohm termination resistor is on the 3.0 board.
I did not add a termination resistor to arduino can shield.
Then i rechecked high low with DMM.
I have arduino teed in through can shields db9.
I followed wires from processor js6 js8 (been a few days not positive i remember numbers correctly) through spare 1,2 to vgt made sure can high low were not reversed.
I did not see where the 120 ohm termination resistor is on the 3.0 board.
I did not add a termination resistor to arduino can shield.
Then i rechecked high low with DMM.
I have arduino teed in through can shields db9.
33 psi boost on lpg
-
- Helpful MS/Extra'er
- Posts: 109
- Joined: Sat Oct 13, 2012 11:17 pm
- Location: Quincy CA. USA
Re: he351ve can
i keep thinking the problem is in the code. since I'm not the only one who couldn't get them to talk.
Maybe i should try to read can signal from ms3 with arduino?
Maybe i should try to read can signal from ms3 with arduino?
33 psi boost on lpg
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: he351ve can
Really?fpvmustang wrote:I'm not the only one who couldn't get them to talk.
This feature like many others seems to have suffered from a "drive by feature request." Someone asks for something, it gets added, then silence.
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Helpful MS/Extra'er
- Posts: 109
- Joined: Sat Oct 13, 2012 11:17 pm
- Location: Quincy CA. USA
Re: he351ve can
fpvmustang wrote:http://www.msextra.com/forums/viewtopic ... ve#p457335
mikey antonakakis wrote:Well, after a few more hours of messing around, I have confirmed that the VGT actuator on my turbo works well. I used an Arduino and CAN-bus Shield with some simple code using a potentiometer to command position, and it works great. These vanes move really fast if you want them to!! They'll snap full open to full close in a fraction of a second!
So I know the issue is somewhere in the Megasquirt at least. With it currently working on the Arduino, worst case (i.e. I can't get MS to send the CAN signal) it will be very simple to use MSExtra boost control as a PWM input to the Arduino, which I can then send through the CAN-bus shield to the turbo. I might actually like that idea better, because I can set up a bunch of different algorithms that way. For example, set up a shaft speed control algorithm on the Arduino, but leave the PWM from MS hooked up, and switch between the two. Lots of possibilities now!
I need to look into CAN sensors to Arduino.
33 psi boost on lpg
-
- Helpful MS/Extra'er
- Posts: 109
- Joined: Sat Oct 13, 2012 11:17 pm
- Location: Quincy CA. USA
Re: he351ve can
I think everyone just gave up. without really trying. Some went to lil blackbox.
I know of 5 2.3 lima's running mega squirt with a he351ve but using pneumatic control. not to mention all the other engines out there.
The turbo's are still relatively cheap used on ebay.
I really think this will take off once we get it working.
I have 2 he351ve 1 he5?1ve all 3 have a home. once this works.
I know of 5 2.3 lima's running mega squirt with a he351ve but using pneumatic control. not to mention all the other engines out there.
The turbo's are still relatively cheap used on ebay.
I really think this will take off once we get it working.
I have 2 he351ve 1 he5?1ve all 3 have a home. once this works.
33 psi boost on lpg
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: he351ve can
So what exactly is different between the CAN messages sent from the MS3 and the Arduino code?
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Helpful MS/Extra'er
- Posts: 109
- Joined: Sat Oct 13, 2012 11:17 pm
- Location: Quincy CA. USA
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: he351ve can
Use a CAN scanner/sniffer and find out.
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Helpful MS/Extra'er
- Posts: 109
- Joined: Sat Oct 13, 2012 11:17 pm
- Location: Quincy CA. USA
Re: he351ve can
ok I tomorrow off i'll do that.
the below code works good on arduino commanding 0-1000
the below code works good on arduino commanding 0-1000
Code: Select all
byte lo_byte = lowByte(Position);
byte hi_byte = highByte(Position);
byte data[] = { lo_byte, hi_byte, 0x01, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; // data message with an added counter
//byte data[2] = {0x02, 0x00}; //for recalibrating gearbox
// Load message and send
CAN1.send (0x0CFFC600, extID, 8, data);
}
33 psi boost on lpg
Re: he351ve can
Maybe the cabus speed is your problem??
At the arduino code you start the canbus with 250 kbs, but ms runs with 500 kbs.
BR
At the arduino code you start the canbus with 250 kbs, but ms runs with 500 kbs.
BR
Alfa 156 GTA
Alfa 75 Race Car MS III -- alway latest FW
Alfa 164 V6 Turbo
Alfa 155 2,5TD RIP
Test MS II --always latest FW
Tunerstudio V2.6.11 Registered
MegaLog Viewer V3.4.04 Registered
Alfa 75 Race Car MS III -- alway latest FW
Alfa 164 V6 Turbo
Alfa 155 2,5TD RIP
Test MS II --always latest FW
Tunerstudio V2.6.11 Registered
MegaLog Viewer V3.4.04 Registered
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: he351ve can
That would certainly break it!!Alfagta wrote:Maybe the cabus speed is your problem??
At the arduino code you start the canbus with 250 kbs, but ms runs with 500 kbs.
BR
Running the Megasquirt CANbus at 250k is possible, but would prevent communication with any Megasquirt compatible devices.
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Helpful MS/Extra'er
- Posts: 109
- Joined: Sat Oct 13, 2012 11:17 pm
- Location: Quincy CA. USA
Re: he351ve can
well that would explain why ms3 kills my signal from the turbo to can sniffer.
33 psi boost on lpg
-
- Helpful MS/Extra'er
- Posts: 109
- Joined: Sat Oct 13, 2012 11:17 pm
- Location: Quincy CA. USA
Re: he351ve can
What's going on with using the other CAN ports on the ms3 processor?
What do i do to change the can bus speed to test this?
What do i do to change the can bus speed to test this?
33 psi boost on lpg
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: he351ve can
They aren't easily available. Even if they were, you'd need to write new CAN config and interrupt handlers to deal with them.fpvmustang wrote:What's going on with using the other CAN ports on the ms3 processor?
Try changingWhat do i do to change the can bus speed to test this?
Code: Select all
CAN0CTL1 = 0xc0; /* BUSCLK (50MHz) */
CAN0BTR0 = 0xc4; /* SJW=4, prescaler = 5 */
CAN0BTR1 = 0x5c; /* Segment2 = 6, Segment1 = 13 */
Code: Select all
CAN0CTL1 = 0xc0; /* BUSCLK (50MHz) */
CAN0BTR0 = 0xc9; /* SJW=4, prescaler = 10 */
CAN0BTR1 = 0x5c; /* Segment2 = 6, Segment1 = 13 */
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Helpful MS/Extra'er
- Posts: 109
- Joined: Sat Oct 13, 2012 11:17 pm
- Location: Quincy CA. USA
Re: he351ve can
Never tested slowing can bus speed. Went to Arduino control using boost duty.
http://www.msextra.com/forums/viewtopic ... 7&start=20
http://www.msextra.com/forums/viewtopic ... 7&start=20
33 psi boost on lpg
-
- Site Admin
- Posts: 39621
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: he351ve can
I've re-added this for the next pre-1.5 firmware with support for 250k baud and the boost duty being sent in the first two bytes little endian.
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Helpful MS/Extra'er
- Posts: 109
- Joined: Sat Oct 13, 2012 11:17 pm
- Location: Quincy CA. USA
Re: he351ve can
OK I'll test it when the alpha code is released.
something to think about currently I use a generic output to control vgt out of boost. To reduce lag.
In setup mode boost duty is sent all the time. I didn't need the generic output.
maybe a box to set turn on out put in kpa. Looks like now it's about 10 kpa below barometer.
probably guys will want a rolling anti lag input someday also. You know how these things snowball in to bigger projects.
something to think about currently I use a generic output to control vgt out of boost. To reduce lag.
In setup mode boost duty is sent all the time. I didn't need the generic output.
maybe a box to set turn on out put in kpa. Looks like now it's about 10 kpa below barometer.
probably guys will want a rolling anti lag input someday also. You know how these things snowball in to bigger projects.
33 psi boost on lpg
Re: he351ve can
For the guys using can bus. How did you tune the boost tables for cruise?
Wondering how to keep the vgt open if we cant set the closed loop boost target to a negative value?
Wondering how to keep the vgt open if we cant set the closed loop boost target to a negative value?
-
- Helpful MS/Extra'er
- Posts: 109
- Joined: Sat Oct 13, 2012 11:17 pm
- Location: Quincy CA. USA
Re: he351ve can
http://www.msextra.com/forums/viewtopic ... 01&t=60247
In closed loop out of boost the boost duty is zero full open vgt
I prefer for cruise around 550 vgt position
In closed loop out of boost the boost duty is zero full open vgt
I prefer for cruise around 550 vgt position
33 psi boost on lpg