USB datalogger

A forum for discussing the MegaSquirt related (but non-B&G) board development, assembly, installation, and testing.

Moderators: jsmcortina, muythaibxr

Re: USB datalogger

Postby PARUS » Mon Dec 26, 2011 2:13 pm

deleted.
PARUS
Experienced MS/Extra'er
 
Posts: 238
Joined: Sat Jul 17, 2010 6:49 am

Re: USB datalogger

Postby Peter Florance » Fri Mar 02, 2012 6:52 pm

Having a fair amount of experience with the logger and some with MSIII SD logger, I still feel this product is relevant. I might use one with MSIII even because I am not limited by the field count
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3382
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: USB datalogger

Postby Wergilius » Fri Mar 16, 2012 6:53 am

A little upcomming bump, this weekend i'm about to start my engine after some winter work.
Will be very interesting to see how the logging of MS and Innovate AFR/EGT works in-car :D

Image
User avatar
Wergilius
Helpful MS/Extra'er
 
Posts: 147
Joined: Fri Sep 16, 2005 12:50 pm
Location: Stockholm, Sweden

Re: USB datalogger

Postby Peter Florance » Wed Apr 11, 2012 6:51 am

Huey
Are the boards still available?

Thanks!
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3382
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: USB datalogger

Postby Wergilius » Wed Apr 11, 2012 8:12 am

After test on a running engine and minor adjustment to firmware it works perfect to import the frd logg with afr and egt

Image

Will be a great tool this summer ! :yeah!:
User avatar
Wergilius
Helpful MS/Extra'er
 
Posts: 147
Joined: Fri Sep 16, 2005 12:50 pm
Location: Stockholm, Sweden

Re: USB datalogger

Postby Peter Florance » Mon Apr 16, 2012 11:28 am

Huey
Any idea as to whether this will datalog MS3?
The block size is 404; not sure if that overflows a variable or not

I tried to add the MS3 pre-1.1 beta 20 signature (MS3 Format 0233.003) to 0.1.1b but it didn't seem to log any data

Thanks
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3382
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: USB datalogger

Postby Peter Florance » Mon Apr 16, 2012 11:34 am

Peter Florance wrote:Huey
Any idea as to whether this will datalog MS3?
The block size is 404; not sure if that overflows a variable or not

I tried to add the MS3 pre-1.1 beta 20 signature (MS3 Format 0233.003) to 0.1.1b but it didn't seem to log any data

Thanks

hmm looks like it does:
Code: Select all
 byte ochBlockSize
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3382
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: USB datalogger

Postby Huey » Mon Apr 16, 2012 6:31 pm

So, I assume you got it working with MS3 ?

Huey
Dodge 2.2L MPI Turbo Power Running MSnS1/Extra.
Chevrolet 5.3 LM7 running MSnS2 /Extra
Home of the USB data logger---> http://www.msextra.com/forums/viewtopic.php?f=67&t=34901
Huey
Helpful MS/Extra'er
 
Posts: 113
Joined: Sat Feb 17, 2007 9:28 pm
Location: Stamping Ground, Ky.

Re: USB datalogger

Postby Peter Florance » Mon Apr 16, 2012 6:43 pm

Huey wrote:So, I assume you got it working with MS3 ?

Huey

no, but I'm wondering if I can make that variable 16 bit?
I'm not much of a programmer; if I could have soldered something to it, it would have been working by now. :lol:
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3382
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: USB datalogger

Postby Peter Florance » Mon Apr 16, 2012 6:48 pm

Peter Florance wrote:
Peter Florance wrote:Huey
Any idea as to whether this will datalog MS3?
The block size is 404; not sure if that overflows a variable or not

I tried to add the MS3 pre-1.1 beta 20 signature (MS3 Format 0233.003) to 0.1.1b but it didn't seem to log any data

Thanks

hmm looks like it does:
Code: Select all
 byte ochBlockSize

if I say
Code: Select all
 word ochBlockSize

will that work?
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3382
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: USB datalogger

Postby Huey » Mon Apr 16, 2012 7:20 pm

Should not be a problem just change the ochBlockSize byte to word in the VAR section. You will also need to change the buffsize constant and the databuff.byte[0] and databuff.byte[1] variables as well. If I had a MS3 sitting around I would be able to help more.

Try this:
line 76 buffsize = 504
line 103 word ochBlockSize
line 240 databuff.byte[0] := ochBlockSize.byte[0]
line 241 databuff.byte[1] := ochBlockSize.byte[1]



Huey
Dodge 2.2L MPI Turbo Power Running MSnS1/Extra.
Chevrolet 5.3 LM7 running MSnS2 /Extra
Home of the USB data logger---> http://www.msextra.com/forums/viewtopic.php?f=67&t=34901
Huey
Helpful MS/Extra'er
 
Posts: 113
Joined: Sat Feb 17, 2007 9:28 pm
Location: Stamping Ground, Ky.

Re: USB datalogger

Postby Peter Florance » Tue Apr 17, 2012 2:13 am

Huey wrote:Should not be a problem just change the ochBlockSize byte to word in the VAR section. You will also need to change the buffsize constant and the databuff.byte[0] and databuff.byte[1] variables as well. If I had a MS3 sitting around I would be able to help more.

Try this:
line 76 buffsize = 504
line 103 word ochBlockSize
line 240 databuff.byte[0] := ochBlockSize.byte[0]
line 241 databuff.byte[1] := ochBlockSize.byte[1]



Huey


Thanks!
I'll try it this morning!
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3382
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: USB datalogger

Postby Peter Florance » Wed Apr 18, 2012 1:42 pm

Huey wrote:Should not be a problem just change the ochBlockSize byte to word in the VAR section. You will also need to change the buffsize constant and the databuff.byte[0] and databuff.byte[1] variables as well. If I had a MS3 sitting around I would be able to help more.

Try this:
line 76 buffsize = 504
line 103 word ochBlockSize
line 240 databuff.byte[0] := ochBlockSize.byte[0]
line 241 databuff.byte[1] := ochBlockSize.byte[1]



Huey

I tried that but there must be a user input variable that I haven't fixed
When I review the signatures I get this:

MS1/Extra format 029y3 *********R39
MSnS-extra format 029q *********R39
MS/Extra format hr_10 **********R39
MS/Extra format hr_11b *********R39
MS2Extra Ser GSv24 A174
MSII Rev 2.88500 A112
MSII Rev 2.88600 A112
MSII Rev 2.88900 A112
MSII Rev 2.89000 A112
MSII Rev 2.89100 A112
MS2Extra Rev 1.0.2 A114
MS2Extra Rel 2.0.0 A153
MS2Extra Rel 2.1.0pA145
MS2Extra Rel 3.0.3rA169
MS2Extra Serial330bA172
MS2Extra Rel 3.0.3sA169
MS2Extra Serial321 A169
MS3 Format 0233.003A148

The MS3 should have been MS3 Format 0233.003A404 and it differs by 256 (byte)
Any ideas?
Thanks!
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3382
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: USB datalogger

Postby Huey » Wed Apr 18, 2012 6:58 pm

Are you hard coding the new signature string at the end of the source code or entering it as a user signature string with the "E" command? I see a problem with the "E" command on line 776 and 808 where it says EEPROM.readByte and EEPROM.writeByte.

Huey
Dodge 2.2L MPI Turbo Power Running MSnS1/Extra.
Chevrolet 5.3 LM7 running MSnS2 /Extra
Home of the USB data logger---> http://www.msextra.com/forums/viewtopic.php?f=67&t=34901
Huey
Helpful MS/Extra'er
 
Posts: 113
Joined: Sat Feb 17, 2007 9:28 pm
Location: Stamping Ground, Ky.

Re: USB datalogger

Postby Huey » Wed Apr 18, 2012 7:03 pm

Oh, I see bigger problem the signature table is defined as "byte". I'll see if I can come up with a fix.

Huey
Dodge 2.2L MPI Turbo Power Running MSnS1/Extra.
Chevrolet 5.3 LM7 running MSnS2 /Extra
Home of the USB data logger---> http://www.msextra.com/forums/viewtopic.php?f=67&t=34901
Huey
Helpful MS/Extra'er
 
Posts: 113
Joined: Sat Feb 17, 2007 9:28 pm
Location: Stamping Ground, Ky.

Re: USB datalogger

Postby Peter Florance » Thu Apr 19, 2012 1:01 am

Huey wrote:Oh, I see bigger problem the signature table is defined as "byte". I'll see if I can come up with a fix.

Huey

Yes hard coding.
Thanks; this will come in very handy with MS3!
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3382
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: USB datalogger

Postby Peter Florance » Wed May 02, 2012 9:38 am

Huey wrote:Oh, I see bigger problem the signature table is defined as "byte". I'll see if I can come up with a fix.

Huey

Is it something I can change?
I don't mind looking and compiling

Thanks!
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3382
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: USB datalogger

Postby Huey » Wed May 02, 2012 4:36 pm

Sure, you have the source code. It would probably be best to split up the signature table and use the ID to offset into a new table defined as word that contains the byte count. By doing this I think it would require less reprogramming and save memory space because you are not defining the entire table as word. I have been meaning to work on it however, spring is here and I have so much to do. You can also change the ID numbering to something that makes more sense as a offset. Hope this helps.
Huey
Dodge 2.2L MPI Turbo Power Running MSnS1/Extra.
Chevrolet 5.3 LM7 running MSnS2 /Extra
Home of the USB data logger---> http://www.msextra.com/forums/viewtopic.php?f=67&t=34901
Huey
Helpful MS/Extra'er
 
Posts: 113
Joined: Sat Feb 17, 2007 9:28 pm
Location: Stamping Ground, Ky.

Re: USB datalogger

Postby Vanhoe » Thu Nov 29, 2012 11:23 am

Hello

Glad to see this is still going on.
Are there any units sold to the vendors of MS in Europe?

Is it possible to change from RS232 connector to usb connection with the MS unit?
Does a a usb to RS232 cable work both way's?

Ivan
Vanhoe
Experienced MS/Extra'er
 
Posts: 172
Joined: Wed Oct 05, 2005 1:04 pm
Location: Belgium

Re: USB datalogger

Postby Huey » Sun Dec 02, 2012 7:30 pm

There are no vendors. You can buy them direct from me and I have sold several units out of the country. Just send me a private message with your address and I will give you the shipping cost.


The USB port only works in one direction.


Thanks, Huey
Dodge 2.2L MPI Turbo Power Running MSnS1/Extra.
Chevrolet 5.3 LM7 running MSnS2 /Extra
Home of the USB data logger---> http://www.msextra.com/forums/viewtopic.php?f=67&t=34901
Huey
Helpful MS/Extra'er
 
Posts: 113
Joined: Sat Feb 17, 2007 9:28 pm
Location: Stamping Ground, Ky.

PreviousNext

Return to Expansion boards

Who is online

Users browsing this forum: No registered users and 0 guests