maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] pyOBD for Maemo/n900 (https://talk.maemo.org/showthread.php?t=81129)

m750 2012-01-07 07:16

Re: [Announce] pyOBD for Maemo/n900
 
of course: link

woody14619 2012-01-09 19:57

Re: [Announce] pyOBD for Maemo/n900
 
Played with this over the weekend, and it appears to work quite well. The BT seek/lock feature is really nice, and while the interface is basic, that's probably good for what it's doing. If you want a fancy interface, use CarMan. This one is more about functionality. (And yes, it can even view/reset codes... )

Nice app, and thanks for making it available. Off to vote for it now. :)

iproute 2012-01-10 15:05

Re: [Announce] pyOBD for Maemo/n900
 
Glad people are having success with this much needed app. Unfortunately I wasn't able to get it to communicate with the ECU. The bluetooth pairs fine and the app detects and connects to the the BT device. The bluetooth dongle initially shows activity (blinking lights for a few seconds) but afterwards there is no activity and the app is stuck at "Connecting..."

Here's what I have under the trace tab:

1 Application started
1 Opening interface (serial port)
1 Interface successfully /dev/rfcomm0 opened
1 Connecting to ECU...
3 Send command:atz
3 Get result:atz
3 Get result:
2 atz response:atz
3 Send command:ate0
3 Get result:ate0
3 Get result:OK
2 ate0 response:OK
3 Send command:0100
3 Get result:41 00 BE 3F B8 13
2 0100 response1:41 00 BE 3F B8 13
2 0100 response2:41 00 BE 3F B8 13
3 Send command:0100

Any help would be appreciated.

iproute 2012-01-10 16:41

Re: [Announce] pyOBD for Maemo/n900
 
To add to my previous post - I wanted to rule out the OBD II connector as a culprit so I used my laptop and OBD 2007 lite software to connect.
The connection was successful and the software was able to communicate and read all the pids.

m750 2012-01-10 18:01

Re: [Announce] pyOBD for Maemo/n900
 
I have simulated all commands and responses, but without troubles.
Please, run pyobd from x-terminal and post all the printouts.

Code:

root
python /home/opt/pyobd/pyobd.py


iproute 2012-01-10 19:49

Re: [Announce] pyOBD for Maemo/n900
 
Update:

I was able to successfully connect to the ECU. I simply disconnected the application from the BT device, closed out of it, re-enabled bluetooth and went through the connecting process 3-4 times. Each time it seems the app was able to go further and pull more and more data. At first it was only able to connect, then it was able to collect what information was supported, and finally the information under the sensor tab was gradually populated. The lights on the OBD II connector were blinking and data was transferred in real time (or near real time as there was some lag).

I didn't have any codes to clear but when I issued the command to collect that information it stopped the active data transfer.

If I get a chance this evening I'll try it on another vehicle that has codes.

By the way this is the OBD II connector that I purchased - BAFX Brand from amazon.

don_falcone 2012-01-10 20:16

Re: [Announce] pyOBD for Maemo/n900
 
Question@package maintainer: Without being able to test myself (car still not available *grrrr*), which codes are contained? (I specifically ask for Mitsubishi Galant 8th generation)

woody14619 2012-01-10 21:41

Re: [Announce] pyOBD for Maemo/n900
 
Quote:

Originally Posted by iproute (Post 1148539)
Update:

I was able to successfully connect to the ECU.

One thing to note, some cars do better when the engine is on vs off. My smart car, for example, will only allow limited data through when the engine is off. When on, it connects/pairs and works much better. On a side note, some won't let you do certain things while on. Clearing codes being a key example. Some won't let you do that with the engine on. :)

Estel 2012-01-10 22:48

Re: [Announce] pyOBD for Maemo/n900
 
Does anyone have experience with using pyOBD with USB (not bluetooth) OBD interfaces? Are required modules shipped with kernel-power?

/Estel

rotoflex 2012-01-11 06:30

Re: [Announce] pyOBD for Maemo/n900
 
1 Attachment(s)
Quote:

Originally Posted by iproute (Post 1148539)
By the way this is the OBD II connector that I purchased - BAFX Brand from amazon.

I am using one of the black adapters with orange sticker available from many sellers on eBay, & it works well.


All times are GMT. The time now is 23:53.

vBulletin® Version 3.8.8