When I run obdgui all I get is greyed out gauges and they don't seem to update or have valid data. Any ideas?
is there a way to configure what device I'm using vs always having to search for it?
Printable View
When I run obdgui all I get is greyed out gauges and they don't seem to update or have valid data. Any ideas?
is there a way to configure what device I'm using vs always having to search for it?
Great new stuff in the code! I will start keeping up with your code regularly.
I read your code today. I mostly understand what the whole program is doing. I made one modification to the code in main() in the loop that reads the OBD stuff, and I thought that would cause the data to be written to the database, but I didn't do it right. It almost worked, it started a trip, but the trip only lasted a couple seconds into the drive, I later found out. Anyway, it sounds like your modifications today will obviate that problem.
Here are my supported PIDs
Although OBD code 10 should be for mass airflow, check out the output I was getting on my trip today:Code:Opening serial port /dev/rfcomm1, this can take a while
Successfully connected to serial port. Will log obd data
Your OBD Device claims to support PIDs:
01: Monitor status since DTCs cleared
03: Fuel system 1 and 2 status
04: Calculated LOAD Value
05: Engine Coolant Temperature
06: Short Term Fuel Trim - Bank 1
07: Long Term Fuel Trim - Bank 1
08: Short Term Fuel Trim - Bank 2
09: Long Term Fuel Trim - Bank 2
0B: Intake Manifold Absolute Pressure
0C: Engine RPM
0D: Vehicle Speed Sensor
0E: Ignition Timing Advance for #1 Cylinder
0F: Intake Air Temperature
11: Absolute Throttle Position
13: Location of Oxygen Sensors
14: Bank 1 - Sensor 1/Bank 1 - Sensor 1 Oxygen Sensor Output Voltage / Short Term Fuel Trim
15: Bank 1 - Sensor 2/Bank 1 - Sensor 2 Oxygen Sensor Output Voltage / Short Term Fuel Trim
18: Bank 2 - Sensor 1/Bank 3 - Sensor 1 Oxygen Sensor Output Voltage / Short Term Fuel Trim
19: Bank 2 - Sensor 2/Bank 3 - Sensor 2 Oxygen Sensor Output Voltage / Short Term Fuel Trim
1C: OBD requirements to which vehicle is designed
20: PIDs supported 21-40
21: Distance Travelled While MIL is Activated
That is two consecutive rows which were typical of what I got on my trip. So in the first line it reports the maf reading, and on the last line it says it can't read command 10.Code:maf=5.000000
throttlepos=19.607843
gpspos=58.303665,-134.409302,50.500000
temp=95.000000
rpm=1530.000000
vss=8.000000
OBD reported NO DATA for cmd 10: NO DATA
>
maf=8.000000
throttlepos=22.745098
gpspos=58.303696,-134.409241,50.200001
temp=95.000000
rpm=1796.000000
vss=13.000000
OBD reported NO DATA for cmd 10: NO DATA
Currently, it's all configurable via compile-time options [just open ccmake and take a look].
Perhaps you could start another thread if you need more specific help? This thread's turning into a pretty huge mess :-)
Gary (-;
Well, that's kinda odd. Can you enabling serial logging and attach it to this forum?Quote:
Although OBD code 10 should be for mass airflow, check out the output I was getting on my trip today
--serial-log=obdcomms.txt
For that matter, I think we've cross into "new topic material", everything going into this single thread is a pain for me to keep mental track of; please could you start a new thread specifically trying to solve that MAF problem?
Thanks,
Gary (-;
longfeltwant: New thread for your MAF problem here: http://www.mp3car.com/vbulletin/obdi...a-problem.html
Gary (-;
Hi tb30, yeah the GUI isn't the best place to start. If you have it built, the best place to start is with obdgpslogger on the command line. But before you get to that, there is some work to configure and connect your GPS and OBD devices, then to start GPSD, then to start obdgpslogger. Have you set up your GPS and OBD devices?