Home  |  Contents 
Microcontroller and PC projects
  Forum Index : Microcontroller and PC projects         Section
Subject Topic: Auto CAN Bus Interface via MM? Post ReplyPost New Topic
<< Prev Page of 2
Author
Message << Prev Topic | Next Topic >>
CaptainBoing
Guru
Guru
Avatar

Joined: 07 September 2016
Location: United Kingdom
Online Status: Offline
Posts: 338
Posted: 04 October 2017 at 8:41am | IP Logged Quote CaptainBoing

thanks for that code - very interesting

__________________

all you need is duct tape and WD40 (if it moves and shouldn't, use duct tape; if it doesn't move and should, use WD40)


Back to Top View CaptainBoing's Profile Search for other posts by CaptainBoing
 
JohnS
Guru
Guru


Joined: 18 November 2011
Location: United Kingdom
Online Status: Offline
Posts: 1544
Posted: 04 October 2017 at 11:40am | IP Logged Quote JohnS

Andrew_G wrote:
Hi again, it is NOT a big deal as I only spent less than $20, and the beast is running well, but:

The Elm327 (USB) device arrived a few days ago and has some drivers and software "ScanTool.net v1.21" on a CD. I can't get it to fire up and configure the comm port (it locks in the main menu). At that price the seller is likely to stick to their fine print "all care and no responsibility . . ." for the s/w.

The only Torque s/w I can see is for phones etc. (rather than an old laptop running XP).
I've tried Hyperterminal (which I'm comfortable with) but can't get any response to AT commands.
If I could crack hyperterminal I'd have a chance of reading speed etc.

Any comments/suggestions? (as I say above NOT a big deal)

Cheers, Andrew


You don't say which kind you bought (USB? BT? WiFi?).

Either way, commonly they default to 38400 or 9600 and if relevant 8N1.

I use Linux but have encountered HyperTerminal - not enough to know about setting baud rates etc.

scantool should work but of course requires the com port # and settings.

My feeling is your problem is Windows.

However, the car won't normally provide power unless the engine is running (or the ign pos before that).

John

Edited by JohnS on 04 October 2017 at 11:42am
Back to Top View JohnS's Profile Search for other posts by JohnS
 
Andrew_G
Senior Member
Senior Member


Joined: 18 October 2016
Location: Australia
Online Status: Offline
Posts: 127
Posted: 05 October 2017 at 4:48am | IP Logged Quote Andrew_G

retepsnikrep - WOW & thanks! I'm a fair way off yet but as I get closer your code will help as a real example of how to do it

John - it is the USB version.

After two half-days in the car I can confirm that the only s/w to offer any hope is Tera Term (at 38400 on my port #29). I can talk to the Elm but have no evidence of talking to the car yet. I'm not sure how best to confirm that?

The following AT commands seem to work (based on the Elm manual):
AT I - outputs "ELM327 v1.5"
AT Z - flashes the LEDs and outputs "ELM327 v1.5"
AT L1 - turns linefeeds on, L0 = off
AT @1
AT RV - gave successive readings of 3, 3.5 and 4V (each with the engine running!)

I hope to try again this weekend.

Cheers, Andrew

Back to Top View Andrew_G's Profile Search for other posts by Andrew_G
 
JohnS
Guru
Guru


Joined: 18 November 2011
Location: United Kingdom
Online Status: Offline
Posts: 1544
Posted: 05 October 2017 at 6:22am | IP Logged Quote JohnS

You're just fighting Windows then.

My ATRV is 10 or so volts higher. I'm puzzled how yours can be so low.

Stick with the elm datasheet. It shows how to get data from PCM, how to choose the interface it talks on, etc.

If your car is definitely CAN there are not many variants to tell the elm to use.

John

Edited by JohnS on 05 October 2017 at 6:23am
Back to Top View JohnS's Profile Search for other posts by JohnS
 
Andrew_G
Senior Member
Senior Member


Joined: 18 October 2016
Location: Australia
Online Status: Offline
Posts: 127
Posted: 05 October 2017 at 10:19am | IP Logged Quote Andrew_G

Thanks John. I'll report back when I have more success. Cheers, Andrew
Back to Top View Andrew_G's Profile Search for other posts by Andrew_G
 
JohnS
Guru
Guru


Joined: 18 November 2011
Location: United Kingdom
Online Status: Offline
Posts: 1544
Posted: 06 October 2017 at 8:06am | IP Logged Quote JohnS

If you just want to get codes etc - using Windows - then just run any of the many Windows apps that work with an elm327. You just have to fight Windows a bit like with so many other things.

If you want to get involved with your car at a lower level - from a 'mite maybe - you can either go the whole way with CAN chips etc or buy the elm327 as a device (or I suppose remove it from the housing & disconnect its USB-serial port chip).

You might want to use a meter on your DLC (car's OBD port) and at least check voltages for sanity.

John

Edited by JohnS on 06 October 2017 at 8:07am
Back to Top View JohnS's Profile Search for other posts by JohnS
 
Andrew_G
Senior Member
Senior Member


Joined: 18 October 2016
Location: Australia
Online Status: Offline
Posts: 127
Posted: 13 October 2017 at 1:32am | IP Logged Quote Andrew_G

Thanks all for your patience.
Yes John it is (partially) a Windows issue but also the car may not be OBDII compliant.

I managed to prise my wife's Windows10 machine away from her long enough to plug it in. The software worked (it just hangs on my XP laptop). I could easily set the port but it reported back that the connection was not OBDII compliant (if you recall my car is NOT on the list of compatible vehicles). This with the engine running.
I'll chalk this up to experience.

Cheers, Andrew
Back to Top View Andrew_G's Profile Search for other posts by Andrew_G
 


If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Search the forums using Google.
<< Prev Page of 2
In the news...
 
Post ReplyPost New Topic
Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.8
Copyright ©2001-2004 Web Wiz Guide

This page was generated in 0.1094 seconds.
Privacy Policy     Process times : 0, 0.02, 0, 0.09