RS232 Output to Datalogger?

This forum is for discussion of MicroSquirt (TM) from Bowling and Grippo. The MicroSquirt information site is at www.usEasyDocs.com
Forum rules
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
Post Reply
kmrobinson
MegaSquirt Newbie
Posts: 6
Joined: Thu Sep 20, 2007 12:02 pm
Location: College Station, TX

RS232 Output to Datalogger?

Post by kmrobinson »

Hi, I'm currently trying to decide whether μSquirt is appropriate for a Formula SAE project and the only hitch I've found is the RS232 apparently doesn't play nice with dataloggers. Has anyone tried to hook up μSquirt to a datalogger via the serial connection?

Thanks in advance!
2008 Texas A&M FSAE
Bruce Bowling
Site Admin
Posts: 285
Joined: Mon Feb 16, 2004 4:25 pm
Location: Baltimore, MD

Re: RS232 Output to Datalogger?

Post by Bruce Bowling »

kmrobinson wrote:Hi, I'm currently trying to decide whether μSquirt is appropriate for a Formula SAE project and the only hitch I've found is the RS232 apparently doesn't play nice with dataloggers. Has anyone tried to hook up μSquirt to a datalogger via the serial connection?

Thanks in advance!
The serial connection is the same as used in MS, so if the datalogger works for MS it should work for the datalogger.

Is this a noise issue, a protocol issue, a wiring issue, etc?

- Bruce
kmrobinson
MegaSquirt Newbie
Posts: 6
Joined: Thu Sep 20, 2007 12:02 pm
Location: College Station, TX

Post by kmrobinson »

Well, right now it's just conceptual design. Our team has a Race-Technology DL-2 unit which takes RS232 RX/TX signals from some types of ECU (MoTeC M4, etc) but doesn't have a standard 9-pin serial port. So plugging directly in to the datalogger isn't going to happen, but that's fine.

I guess my question is if the serial output from the μSquirt is similar to that of the M4. That way, it'd be easier to connect to. If not, I don't think it'd be a deal-breaker, since we can probably figure out some way to twin signals.

This is the data sheet on the particular device in question

We're hoping to use μSquirt because it offers all the features of the MoTeC units but at a fraction of the cost.
2008 Texas A&M FSAE
Bill Shurvinton
MegaSquirt Newbie
Posts: 23
Joined: Fri May 07, 2004 1:20 pm
Location: My Hampshire Hill

Post by Bill Shurvinton »

Your problem is that most dataloggers, including the race technology one expect a continuous datastream where as MS only outputs when requested.

It would not be hard to mod the code so that you have a logger mode, but at the moment it won't work.

Bill
kmrobinson
MegaSquirt Newbie
Posts: 6
Joined: Thu Sep 20, 2007 12:02 pm
Location: College Station, TX

Post by kmrobinson »

If that's the case, we'll take a look at the code. We're all mechanical engineers but we can probably get a computer science-y type to take a look and see what it would take.

That would be the best solution, since having to signal twin wouldn't be the best solution (Which unit's +5Vref do you use? MS or DL-2? Noise? etc.)

Hopefully we can get that to work, it'd give a wealth of information we can use to make vehicle tuning decisions. Just using the basic feedback from the DL-2 gives a ton of information about suspension setup, and as we have it currently envisioned, we'd take even more data and tie it into engine performance. Probably, there wouldn't be anything, but we've noticed that vehicle dynamics and engine performance can be a closely coupled system. Having the data from both systems synchonized would make tuning (troubleshooting) much easier.
2008 Texas A&M FSAE
kmrobinson
MegaSquirt Newbie
Posts: 6
Joined: Thu Sep 20, 2007 12:02 pm
Location: College Station, TX

Post by kmrobinson »

Does uS output to CAN continuously? We might be able communicate with the datalogger via that method if possible.

We're planning on getting it (Aprilia SXV 550) running by the end of December.
2008 Texas A&M FSAE
Bruce Bowling
Site Admin
Posts: 285
Joined: Mon Feb 16, 2004 4:25 pm
Location: Baltimore, MD

Post by Bruce Bowling »

kmrobinson wrote:Does uS output to CAN continuously? We might be able communicate with the datalogger via that method if possible.

We're planning on getting it (Aprilia SXV 550) running by the end of December.
The CAN comms are triggered by a request CAN packet. If you send this over you can retrieve CAN messages.

- Bruce
Post Reply