Making Raspberry Pi Gauges - The Blog

Non-repair car talk
bill25
Posts: 2583
Joined: Thu Oct 31, 2013 2:20 pm

Re: Making Raspberry Pi Gauges - The Blog

Post by bill25 »

This is the base I am going to try to get working in the Debian VM:

https://github.com/peterh/pyobd


This is the one I actually had running on the Pi:
https://github.com/Pbartek/pyobd-pi

This looks to be the newest, with more options, still for the pi:
https://pypi.python.org/pypi/obd/0.2.0

I think I am going to look into this last one more since I just found it. I think it does added commands, and it looks like it should be easy to include this to my gui app file.
Adam
Posts: 2273
Joined: Wed Oct 23, 2013 9:50 pm

Re: Making Raspberry Pi Gauges - The Blog

Post by Adam »

billgiacheri wrote:...but am having issues connecting to the USB -> OBD2 USB interface. I think it is a VM thing... I try to use the USB controller for the VM to enable the USB->OBD interface and it keeps hanging.
What hypervisor are you using? I have had issues in USB devices being initialized correctly using Virtual Box on Windows to pass USB devices through to VMs. I believe this is due to Windows initializing the device but not properly doing the unplug event before handing it over to the VM. This seems to be more of an issue with non-simple USB devices, like a USB to CAN adaptor or some types of storage devices.
Adam
Posts: 2273
Joined: Wed Oct 23, 2013 9:50 pm

Re: Making Raspberry Pi Gauges - The Blog

Post by Adam »

You can also try abandoning Windows on your laptop.
bill25
Posts: 2583
Joined: Thu Oct 31, 2013 2:20 pm

Re: Making Raspberry Pi Gauges - The Blog

Post by bill25 »

I am using VirtualBox... That seems to be the issue. I will know if it is the VM/Hypervisor if the same code loaded on the Pi works... Then I might look into other options for the laptop or something cheap running Linux with a display. It would be cool to get an OBD2 Sim so I don't have to troubleshoot with a car running...
Post Reply