Notices


Reply
Thread Tools
Posts: 77 | Thanked: 76 times | Joined on Feb 2010
#41
Seems to work well. I gave it a thumbs up and it should be possible to move to extras now.

Suggestion for possible enhancement: It would be nice if the ECU connection could happen automatically upon connection to the bluetooth device.
 

The Following 2 Users Say Thank You to rfeese For This Useful Post:
m750's Avatar
Posts: 249 | Thanked: 345 times | Joined on Aug 2010 @ Italy
#42
The original version of pyOBD reads only the first 32 sensors (PIDs), from 0100h to 0120h.
I understand how to ask him to ECU of other groups of sensors and how to decode it. I referred to wikipedia to find the decoding, but i'm not sure which is correct, so I don't put this version in maemo repository, but I put it here.
If any of you can make a comparison between the values ​​provided by this version of pyOBD with other OBD-II analyzers and can give me a feedback of the data, then I'll put it in the repository.
Thanks.

[EDIT] link removed, while new version in extras-devel
__________________
maxcpu : change cpu's clock with a TAP!
savecpu : overheating control for overclocked n900.
shaketowake2 : Enable/Disable wake up/rest by shaking.
tilt2control : control mediaplayer by tilting your n900.
gpstracker-c : easy handle your gpstracker tk102.
pyOBD for maemo (OBD-II cars diagnostic)

Last edited by m750; 2012-02-11 at 11:03. Reason: link rimevoed
 

The Following 4 Users Say Thank You to m750 For This Useful Post:
Posts: 569 | Thanked: 462 times | Joined on Jul 2010 @ USA
#43
I don't think I can help much.

My OBD-2 car is a 1999 with a smaller number of sensors, & my other scan tool reads out in SAE measurements, not metric.

I get MAP in psi not inches of Hg, temperature measurements are in F not C, etc. Things like the absolute throttle position seem to correspond, though. Somebody with a scan tool that has metric measurements & with a car with a wider range of sensors will probably be of more help.
 

The Following User Says Thank You to rotoflex For This Useful Post:
m750's Avatar
Posts: 249 | Thanked: 345 times | Joined on Aug 2010 @ Italy
#44
Different languages ​​and different measurement units, but we are all on the same world
I uploaded a new version in extras-devel:

pyOBD-II 0.9.2-10 (beta version).

changelog:
* Added 64 sensor
* Added dobule Units of measurement (metric # Imperial / U.S.)
* Changed some UI elements
Let me know please.
__________________
maxcpu : change cpu's clock with a TAP!
savecpu : overheating control for overclocked n900.
shaketowake2 : Enable/Disable wake up/rest by shaking.
tilt2control : control mediaplayer by tilting your n900.
gpstracker-c : easy handle your gpstracker tk102.
pyOBD for maemo (OBD-II cars diagnostic)
 

The Following 3 Users Say Thank You to m750 For This Useful Post:
Posts: 38 | Thanked: 7 times | Joined on Aug 2011
#45
Great! Up until now I've been using my laptop with OT-2 or the other halfs iPhone to read.

Will give this a good go on Monday.
 
Posts: 11 | Thanked: 13 times | Joined on Feb 2012
#46
First of all, thanks for porting pyobd to N900!

I've been using Vag-com with homemade adapter and some other free OBD programs with ELM bluetooth adapter. Finally I have something for my N900 also.

I have tried Pyobd with Toyota Avensis (2001) and VW Golf(2000). Latest Pyobd shows with Avensis that some PIDS after 32 first ones are also supported, but I guess that this Golf only supports some of the first 32 PIDs.

I have been wondering, why my Pyobd sometimes stops working after checking DTC. It seems, that if car ECU doesn't have any DTCs active, then Pyobd stops working properly. I think that the problem is in the code, where it tries to print the codes to stdout. Because DTCCodes is empty, you will get index error with print function in the following place in pobd.py:
Code:
                  if prevstate!=3: 
                    wx.PostEvent(self._notify_window, DTCEvent(0)) #clear list
                    DTCCodes=self.port.get_dtc()

                    print DTCCodes
                    print DTCCodes[0][0]
                    print DTCCodes[0][1]
I like Vag-com ability to show a lot of sensor information with VAG cars. If I have time, I'll try to debug their serial protocol to find out, how they are getting all the extra information. I'm newvie with Python, but it would be nice to implement some new features to pyobd.

//Wictor
 
m750's Avatar
Posts: 249 | Thanked: 345 times | Joined on Aug 2010 @ Italy
#47
Could you write the last message you see in the panel "Trace" when pyobd stop working?
Or, better, run pyobd from x-terminal:
python /home/opt/pyobd/pyobd.py
And then post or send me the result.
__________________
maxcpu : change cpu's clock with a TAP!
savecpu : overheating control for overclocked n900.
shaketowake2 : Enable/Disable wake up/rest by shaking.
tilt2control : control mediaplayer by tilting your n900.
gpstracker-c : easy handle your gpstracker tk102.
pyOBD for maemo (OBD-II cars diagnostic)
 
Posts: 11 | Thanked: 13 times | Joined on Feb 2012
#48
Originally Posted by m750 View Post
Could you write the last message you see in the panel "Trace" when pyobd stop working?
Or, better, run pyobd from x-terminal:
python /home/opt/pyobd/pyobd.py
And then post or send me the result.
If I recall correctly, last items in trace window are:
Send: 07
result: NO DATA

I'll run the pyobd from terminal tomorrow to get more information.
 

The Following User Says Thank You to wictor For This Useful Post:
m750's Avatar
Posts: 249 | Thanked: 345 times | Joined on Aug 2010 @ Italy
#49
Yep, the error was the third print (I use this prints as monitor).
Sorry.
New version in extras-devel.
__________________
maxcpu : change cpu's clock with a TAP!
savecpu : overheating control for overclocked n900.
shaketowake2 : Enable/Disable wake up/rest by shaking.
tilt2control : control mediaplayer by tilting your n900.
gpstracker-c : easy handle your gpstracker tk102.
pyOBD for maemo (OBD-II cars diagnostic)
 

The Following 3 Users Say Thank You to m750 For This Useful Post:
Posts: 11 | Thanked: 13 times | Joined on Feb 2012
#50
OK, now it works also when there is no DTC. Thanks for quick fix!
 

The Following User Says Thank You to wictor For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 06:33.