General Miata Chat A place to talk about anything Miata

Serial logger

Thread Tools
 
Search this Thread
 
Old 02-12-2008, 06:09 PM
  #1  
Junior Member
Thread Starter
 
slowmx5's Avatar
 
Join Date: Jul 2006
Location: UK
Posts: 157
Total Cats: 0
Default Serial logger

All,

Been putting together a serial logger so that I can do away with having to lug around a laptop with me and to augment the TECgt's OBD'ing.

I opted for the 'forced power option' OEM version of this serial logger, it is small, automatically starts a new logging session each time the engine is started and uses an SD card of up to 4gb so logging is almost unlimited.

However, having put it together and got it logging OK, I have hit a problem I wasn't expecting. It turns out, like most ECUs, that the TECgt outputs raw data which needs to be converted (by wintec4 in this case) to the readable data seen in datalogs. Tomorrow I am going to try 're-playing' in real time the recorded serial output to see if I can get winTEC4 to convert the raw data into a readable datalog - if this doesn't work (and I can think of at least two reasons why it might not) does anyone here have any other ideas of how to convert the recorded logs? Any readily available software out there to do this? Would be a right PITA if I can't get this working after all this......
slowmx5 is offline  
Old 02-13-2008, 11:23 AM
  #2  
Junior Member
Thread Starter
 
slowmx5's Avatar
 
Join Date: Jul 2006
Location: UK
Posts: 157
Total Cats: 0
Default

Well I'm not having any luck with this at the moment - so if anyone out there is a wiz with raw byte data or can suggest a way forward I'd appreciate it. I'm sure others would find a logger like this very useful if it can be made to work. This afternoon I've tried to get it to play back the data it records at real time to wintec4 so that wintec4 can then do the conversion of the raw data into a readable format as it normally does. So far I have not had any luck doing this, to my mind there may be a couple of reasons why this may be:
1) I am using a Null modem cable as per antilog instructions (so that the antilog looks like a data source) and the TECgt ECU usually connects to the laptop via a normal serial cable. I only have serial cables with one male and one female connection - so I will need to buy a female to male converter.
2) Wintec4 will be 'polling' what it thinks is the TECgt ECU at 20 times per second to trigger the TECgt to send a packed of data - this polling will not be in phase with the data being sent by the antilog.

For information I have setup the antilog to 'poll' the TECgt at the same rate when it is in record mode.
slowmx5 is offline  
Old 02-13-2008, 11:32 AM
  #3  
Elite Member
iTrader: (2)
 
BenR's Avatar
 
Join Date: Jun 2006
Location: ABQ, NM
Posts: 1,838
Total Cats: -7
Default

What's the raw data look like?
BenR is offline  
Old 02-13-2008, 11:53 AM
  #4  
Junior Member
Thread Starter
 
slowmx5's Avatar
 
Join Date: Jul 2006
Location: UK
Posts: 157
Total Cats: 0
Default

Originally Posted by BenR
What's the raw data look like?
Hieroglyphics to me.... in reality it is raw byte data.
slowmx5 is offline  
Old 02-13-2008, 12:49 PM
  #5  
Elite Member
iTrader: (2)
 
BenR's Avatar
 
Join Date: Jun 2006
Location: ABQ, NM
Posts: 1,838
Total Cats: -7
Default

Why not use ascii enstead of raw binary?
BenR is offline  
Old 02-13-2008, 12:54 PM
  #6  
Junior Member
Thread Starter
 
slowmx5's Avatar
 
Join Date: Jul 2006
Location: UK
Posts: 157
Total Cats: 0
Default

Originally Posted by BenR
Why not use ascii enstead of raw binary?
From what I gather all ECUs that output serial (TECgt also outputs CANbus) output raw data files, due to band width restrictions, which are then post processed to a readable format by software.

From my limited knowledge I assume this means that I have no choice in format output and can not use ascii?
slowmx5 is offline  
Old 02-13-2008, 01:19 PM
  #7  
Elite Member
iTrader: (2)
 
BenR's Avatar
 
Join Date: Jun 2006
Location: ABQ, NM
Posts: 1,838
Total Cats: -7
Default

Do you have a place you can upload the file to?
BenR is offline  
Old 02-13-2008, 01:22 PM
  #8  
Junior Member
Thread Starter
 
slowmx5's Avatar
 
Join Date: Jul 2006
Location: UK
Posts: 157
Total Cats: 0
Default

Originally Posted by BenR
Do you have a place you can upload the file to?
I could upload a file to a space on my website. I'll need to retrieve one from the antilog first though - that is not to hand right now, would be able to do that on Friday.
slowmx5 is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Jike Spingleton
Cars for sale/trade
3
09-20-2016 04:33 PM
Asx
MEGAsquirt
5
12-15-2015 11:14 AM
nick470
MEGAsquirt
1
09-30-2015 10:32 PM
EErockMiata
MEGAsquirt
6
09-24-2015 09:49 AM
MechE
Race Prep
70
09-12-2015 03:20 PM



Quick Reply: Serial logger



All times are GMT -4. The time now is 07:02 PM.