Notices
ECU Flash

Pocket PC logging now working

Thread Tools
 
Search this Thread
 
Old Jun 12, 2007 | 06:27 PM
  #16  
chmodlf's Avatar
Evolved Member
iTrader: (19)
 
Joined: Oct 2004
Posts: 885
Likes: 0
From: CT
Originally Posted by donour
Are you using it for maxQdata collection? VB.net might be a little fasters, but libmut is just stupid fast and was written with these kind of devices in mind. If I can get a cable working I could probably convince Ed to incorporate it into 'flight'.
No I have not taken the MaxQData plunge yet.. I have started to use this freeware app written by some French dude http://sebastien.guchet.free.fr/ChronoGPS/ChronoGPS.htm

I have a racing school this Sat. I will put it through it's paces.
Reply
Old Jun 12, 2007 | 07:01 PM
  #17  
Slava's Avatar
Newbie
iTrader: (24)
 
Joined: Feb 2007
Posts: 92
Likes: 1
From: Canada
Good work guys. I also have few PPC so i am really interested.
Reply
Old Jun 12, 2007 | 07:11 PM
  #18  
donour's Avatar
Evolved Member
iTrader: (6)
 
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Originally Posted by chmodlf
No I have not taken the MaxQData plunge yet.. I have started to use this freeware app written by some French dude http://sebastien.guchet.free.fr/ChronoGPS/ChronoGPS.htm

I have a racing school this Sat. I will put it through it's paces.
Yeah, I've seen that. What GPS sensor are you using. What's really great about the maxqdata unit is the sample rate. It's really worth ponying up the 300 bucks. At least it was for me...
Reply
Old Jun 13, 2007 | 02:13 AM
  #19  
JoeBee's Avatar
Evolving Member
 
Joined: Sep 2006
Posts: 152
Likes: 0
From: Germany
Originally Posted by jcsbanks
I have already done this with 4 resistors and 2 Bipolar NPN Transistors, as an interface between my Atmel and the PC. And this with 115200 Baut.
Reply
Old Jun 13, 2007 | 02:59 AM
  #20  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
donour,

The scantool cable is just straight through with no electronics. ELM323 is slow, OBD only and outputs as ASCII on RS232.

TTL is +5 and 0V.

RS232 is -V and +V (INVERTED).

OBD is +12V and 0V.

JoeBee's circuit interfaces TTL to OBD directly as does the other circuit I posted (2 less components, but uses MOSFET instead of bipolar). Sorry JoeBee, I wasn't trying to take anything away from the circuit you posted, I'm just trying to collate all information

I am using RS232 devices since by AVR and PPC have RS232 ports. So I couldn't use JoeBee's circuit because that was TTL to OBD. You might be able to with the Dell Axim, but you have to make something. I wanted an off the shelf solution of standard cables.

So onto software...
The method I have used changes the ECU baud rate to 19200, if you don't want to do this you have to use an FTDI chip (back to the USB host problem again) or work out how to make your serial port talk at 15625. For me it would be easier to add logic to the ECU to make it switch than go there! For you it may be different

Regarding using VB, it is just easier for me at this stage. I'd be delighted to look at something someone else produces on the PPC platform in C, but I'm nowhere near the stage where I could produce that. The microcontroller was the nicest of all - it just worked with BASCOM AVR, the PPC with eVB was a pain to get the break signals and timers etc going, but now I know how I hope it will be easier in VB.net. I do think the main PPC CPU overhead will be drawing the screen.
Reply
Old Jun 13, 2007 | 06:00 AM
  #21  
chmodlf's Avatar
Evolved Member
iTrader: (19)
 
Joined: Oct 2004
Posts: 885
Likes: 0
From: CT
Originally Posted by donour
Yeah, I've seen that. What GPS sensor are you using. What's really great about the maxqdata unit is the sample rate. It's really worth ponying up the 300 bucks. At least it was for me...
I am using this one. Not that great of a sample rate but this thing is tiny

http://www.holux.com/product/search....el=grandsonson

Sorry to be off topic for the thread.
Reply
Old Jun 13, 2007 | 07:05 AM
  #22  
JoeBee's Avatar
Evolving Member
 
Joined: Sep 2006
Posts: 152
Likes: 0
From: Germany
Sorry JoeBee, I wasn't trying to take anything away from the circuit you posted, I'm just trying to collate all information
No, no. Thats was not what I mean, sorry.
I mean the circuit that I use for my actual project (logging with Atmege256) as a connector between the Atmel UART and the PC RS232 I have not posted any schematics (the are not ready). The function is exactly the same but with bipolar transistors. This circuit wirks for the most +12V/-12V Uarts, but it is not guaranteed. (Because it works with +5V/0V and is only invers as AVR)
Attached Thumbnails Pocket PC logging now working-screen-00000.jpg  
Reply
Old Jun 13, 2007 | 07:18 AM
  #23  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
I'm struggling with this .net hell!

VS 2005 eval image has a faulty file, which after a few hours of messing about with I managed to replace.

Now it says my Pocket PC 2003 doesn't have the Common language runtime installed, and when I try to install .net 2.0 compact to the device it gives errors. I'll try a Pocket PC 2003 SE image instead.
Reply
Old Jun 13, 2007 | 07:41 AM
  #24  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
JoeBee

Got VS2005 Eval working with the device - had to downgrade to PPC2002 then up to PPC2003SE! 2003SE has a landscape mode that might be interesting for logging.
Reply
Old Jun 13, 2007 | 08:17 AM
  #25  
donour's Avatar
Evolved Member
iTrader: (6)
 
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Ok. I just picked up one of the rs232 vagcom cables and I'll order a an axim <-> serial cable shortly. This is pretty exciting actually...

d
Reply
Old Jun 13, 2007 | 10:08 AM
  #26  
donour's Avatar
Evolved Member
iTrader: (6)
 
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Does anybody actually HAVE eVC? it seems to have been pulled from the market. There are NO free development tools for windows mobile 5. ****ing microsoft. This is why I try not to use their products.

d

EDIT: Ok. I found an old link buried down in some documentation. evc 4.0 downloading.

Last edited by donour; Jun 13, 2007 at 10:35 AM.
Reply
Old Jun 13, 2007 | 01:34 PM
  #27  
jcsbanks's Avatar
Thread Starter
Evolved Member
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
Just got it working nicely on Pocket PC 2003SE with VS2005 90 day evaluation It logs very fast indeed, about 180 samples per second from the counter I set running. Again little error checking, but it runs more robustly than it did on eVB 3.0 and about 10 times faster It should be capable of doing some decent graphing I think, but for now I've just got the boxes changing colour if octane<100% or knock>3.
Reply
Old Jun 13, 2007 | 03:42 PM
  #28  
donour's Avatar
Evolved Member
iTrader: (6)
 
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Ok. I have little test C programs running on my dell axim. There's no way I'm ever going to buy visual studio 2005.

*waiting on the cable now*

d
Reply
Old Jun 13, 2007 | 06:54 PM
  #29  
chrisw's Avatar
Evolved Member
iTrader: (2)
 
Joined: Mar 2003
Posts: 2,217
Likes: 0
From: Santa Cruz
Originally Posted by donour
Ok. I have little test C programs running on my dell axim. There's no way I'm ever going to buy visual studio 2005.

*waiting on the cable now*

d

you don't have too.

http://msdn.microsoft.com/vstudio/express/

it's free. Doesn't come will all the MSFT platform SDK, you can download that seperatly.
Reply
Old Jun 13, 2007 | 09:09 PM
  #30  
donour's Avatar
Evolved Member
iTrader: (6)
 
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Originally Posted by chrisw
you don't have too.

http://msdn.microsoft.com/vstudio/express/

it's free. Doesn't come will all the MSFT platform SDK, you can download that seperatly.
Unfortunately, the windows mobile SDK doesn't support the express edition. Sons of *****es.

d
Reply



All times are GMT -7. The time now is 06:32 PM.