Pippin200
Posts: 5
Joined: Tue Apr 09, 2013 12:08 pm

Car PC - Gauges

Tue Apr 09, 2013 12:16 pm

Hi
I know the topic has been discussed before but I have slightly different needs. I want to use a raspberry pi to run a touchscreen monitor and have a piece of software running which allows me to monitor the car engine parameters through the ECU and display a set of gauges (oil temp/pressure, water temp, boost etc etc ).
First question..... Is the Raspberry Pi capable of this? What OS software can the RPi run? And just out of interest can i run the pi on a constant power feed so it is always on and just have the monitor switch on and off with the ignition or would this ruin the RPi?? I just dont want to see a start up screen every time i start the engine! Any help would be awesome!!

User avatar
bltsandwich1
Posts: 60
Joined: Fri Feb 08, 2013 3:22 pm
Location: Chicago
Contact: Website

Re: Car PC - Gauges

Wed Apr 10, 2013 12:26 am

I'll start out by saying that I'm not sure if the Pi can do what you are asking of it but I can answer a few questions.
  • It runs on different forms of Linux with the main ones being rasbian, and Debian which I find most similar (in appearance) to Windows XP but are by no means compatible or even similar outside of the GUIs looking similar.

    The pi could be run in either way that you describe. If you keep it powered on it would keep running and it shouldn't suffer much from simply being on. This being said if I were doing this project, I would have the pi auto-boot when it turns on and save the battery of the car from being under a continuous 2.5W load. It would take slightly longer to boot however so I'm not sure if this would help you or not.
Hope this helps!
John
facebook.com/chicagoraspberryjam - join in the fun
Majoring in ChemE at the University of Houston.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Car PC - Gauges

Wed Apr 10, 2013 2:23 am

Pippin200 wrote:Hi
I know the topic has been discussed before but I have slightly different needs. I want to use a raspberry pi to run a touchscreen monitor and have a piece of software running which allows me to monitor the car engine parameters through the ECU and display a set of gauges (oil temp/pressure, water temp, boost etc etc ).
First question..... Is the Raspberry Pi capable of this? What OS software can the RPi run? And just out of interest can i run the pi on a constant power feed so it is always on and just have the monitor switch on and off with the ignition or would this ruin the RPi?? I just dont want to see a start up screen every time i start the engine! Any help would be awesome!!
It's possible, but you'd be better off using an Arduino as the Pi will have a slower response time than the Arduino.
I know of someone who is making exactly what you're after, boost / oil temp / + more gauges on a touch screen.
If you don't mind me asking, what car is this for ?
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Pippin200
Posts: 5
Joined: Tue Apr 09, 2013 12:08 pm

Re: Car PC - Gauges

Wed Apr 10, 2013 5:48 am

Thanks for the responses! It's for a Nissan 200sx! I am going to be doing it with a proper car pc if the pi can't handle it! Just wondered if I could save myself some money!

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Car PC - Gauges

Wed Apr 10, 2013 6:05 am

SR20DET ?
Have you considered a Nistune with an ECUTalk display ?
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Pippin200
Posts: 5
Joined: Tue Apr 09, 2013 12:08 pm

Re: Car PC - Gauges

Wed Apr 10, 2013 6:22 am

Yeah I have considered Nistune and is probably the way I will go now! Just the cost is pretty high! But needs must...

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Car PC - Gauges

Wed Apr 10, 2013 6:28 am

Cheaper than an Apexi PFC with hand controller still haha.
Nistune with CarPC or with the ECUTalk LCD display would be the easiest IMO.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Pippin200
Posts: 5
Joined: Tue Apr 09, 2013 12:08 pm

Re: Car PC - Gauges

Wed Apr 10, 2013 6:40 am

What is ecu talk? Not used it before!

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Car PC - Gauges

Wed Apr 10, 2013 7:05 am

My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Pippin200
Posts: 5
Joined: Tue Apr 09, 2013 12:08 pm

Re: Car PC - Gauges

Wed Apr 10, 2013 7:14 am

Ah ok I do know what you mean! Call me names if you want but I want a proper gauge display! Haha! Think it will be a car pc and nistune! Unless..... Do you think nistune would work with some kind of tablet? Would save the issue of it being powered down properly as it has an internal battery! And wouldn't have to find somewhere to store a pc etc etc... Will have to get in touch with nistune and see if they do software for a tablet! Might be the easiest way! Sorry it's strayed from a RPi discussion a bit!!

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Car PC - Gauges

Wed Apr 10, 2013 7:34 am

I don't think a tablet will be able to do it.
You're going to need a full CarPC for the Nistune.

OR

Build your own Arduino setup for what you want.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

funkeywoookey
Posts: 7
Joined: Fri Jun 07, 2013 5:22 am

Re: Car PC - Gauges

Tue Jun 11, 2013 8:02 pm

I'm very much considering the same project as you are, but on a Hyundai Tiburon.
Probably the easiest way to do this is a OBDII via BlueTooth. Simple commands sent to the BlueTooth dongle can send back precise information from your ECU. The dongle does ALL the grunt work.

When researching this project I'm running into a bit of a brick wall as far as a touch screen goes. The prices for them are rather ridiculous, all this considered. For the price of a decent double-din touch screen, you could just buy an Android tablet and run Torque. This is by FAR the cheapest and easiest way to do what you would like to do. Behold: The Nexus 7 tablet. It's the perfect size for a double-din system. Everything that needs to be done is done. All you have to do is installation, route power, and have a decent OBD dongle.

On another note, I ran across this some time ago. http://owen.brotherwood.biz/bilberry-rasp
The documentation is either really lacking, or it's just too much for me. I couldn't really make out the final design.

Quicky
Posts: 8
Joined: Wed Mar 06, 2013 12:23 am

Re: Car PC - Gauges

Fri Jun 14, 2013 2:12 am

I've been looking into something similar,
I found this video that said he used a software program called Dash-command. It's built for Android, Windows, and IOS, I'm trying to find out if it will work with the rpi. Here's a link: http://www.palmerperformance.com/products/dashcommand/

Here's the video: https://www.youtube.com/watch?v=Mjl2d8qqokI

I found these various OBDii to USB/bluetooth interface's that would be easy to use. http://www.amazon.com/s/ref=nb_sb_ss_c_ ... Caps%2C141

I possible use of a touch screen to make it easier to use.
Thoughts?

pjc123
Posts: 913
Joined: Thu Mar 29, 2012 3:37 pm
Contact: Website

Re: Car PC - Gauges

Fri Jun 14, 2013 11:09 am

funkeywoookey wrote: For the price of a decent double-din touch screen, you could just buy an Android tablet and run Torque. This is by FAR the cheapest and easiest way to do what you would like to do. Behold: The Nexus 7 tablet.
I understand that some would like to create their own program to read and display the OBDII information with the raspberry pi, and learn a bunch of things in the process. Fantastic project, but for the lazy rest of us, I must say +1 for Torque. I use it with my smartphone, but I have to agree, a tablet would be absolutely ideal.

I bought the following cheap and popular bluetooth OBDII reader:

http://www.amazon.com/BAFX-Products-PIC ... rds=elm327

Then installed the free version of Torque. More info here:

http://torque-bhp.com/wiki/Main_Page

It is absolutely incredible, and probably the single most coolest app that I have ever put on my phone. It can read and interpret every piece of data that the OBDII provides in real time (In other words, you leave the OBDII reader plugged in while you are driving and it reads sensor information and immediately sends it to your Android device via Bluetooth). It can also read and reset OBDII error codes (That was really what I got it for).

The wiki has the full list of sensors it can read (If your vehicle has the physical sensors of course), but the following list gives you an idea. You can display each one of them as dials, graphs or displays and choose how and where to display them on the screen, and even choose different background images and display styles. There are also a bunch of plug-ins with pre-formatted displays like a Racing Meter, Shift Lights, etc., as well as vehicle specific plug-ins.


0-100kph time
0-60mph time
1/4 mile time
1/8 mile time
Acceleration sensor (total)
Acceleration sensor (x axis)
Acceleration sensor (y axis)
Acceleration sensor (z axis)
Ambient air temp
Barometric pressure
Catalyst temperatire (bank 1, sensor 1)
Catalyst temperatire (bank 1, sensor 2)
Catalyst temperatire (bank 2, sensor 1)
Catalyst temperatire (bank 2, sensor 2)
EGR commanded
EGR error
Engine coolant temperature
Engine load
Engine oil temperature
Engine RPM
Fuel level
Fuel pressure
Fuel rail pressure (diesel)
Fuel trim bank 1 long term
Fuel trim bank 1 sensor 1
Fuel trim bank 1 sensor 2
Fuel trim bank 1 sensor 3
Fuel trim bank 1 sensor 4
Fuel trim bank 1 short term
Fuel trim bank 2 long term
Fuel trim bank 2 sensor 1
Fuel trim bank 2 sensor 2
Fuel trim bank 2 sensor 3
Fuel trim bank 2 sensor 4
Fuel trim bank 2 short term
GPS accuracy
GPS altitude
GPS bearing
GPS satellites
GPS vs OBD speed difference
Horsepower
Intake air temperature Intake manifold pressure
Kilometers per litre
Kilometers per litre (average)
Litres per 100 kilometer
Litres per 100 kilometer (average)
Mass air flow rate
Miles per gallon (average)
Miles per gallon (instant)
O2 volts bank 1 sensor 1
O2 volts bank 1 sensor 2
O2 volts bank 1 sensor 3
O2 volts bank 1 sensor 4
O2 volts bank 2 sensor 1
O2 volts bank 2 sensor 2
O2 volts bank 2 sensor 3
O2 volts bank 2 sensor 4
Speed (GPS)
Speed (OBD)
Throttle position
Timing advance
Torque
Transmission temperature (method 1)
Transmission temperature (method 2)
Trip distance
Turbo boost & vacuum gauge
Voltage (control module)
Voltage (OBD adapter)
My Raspberry Pi Project Page:
https://www.flaminghellmet.com/launch/

Quicky
Posts: 8
Joined: Wed Mar 06, 2013 12:23 am

Re: Car PC - Gauges

Fri Jun 14, 2013 2:09 pm

Wow, this is great, I only wish i could dedicate some sort of cheap touch screen capable device!
I'm considering moding the dash to house a Pi that does the same thing.

Quicky
Posts: 8
Joined: Wed Mar 06, 2013 12:23 am

Re: Car PC - Gauges

Thu Jun 20, 2013 6:42 pm

Scratch all that,
I want to use a mini projector and display all of this info on my windshield.
Similar solutions can cost upwards to $2k, and probably would be more ideal, but this would be an excellent project for the Raspberry.

jfornango
Posts: 113
Joined: Fri Sep 14, 2012 7:46 pm
Location: St. Louis, MO USA
Contact: Yahoo Messenger

Re: Car PC - Gauges

Mon Jul 08, 2013 6:25 pm

Excellent lists of parts.

I was planning on doing up one of these on my RPi for use as a portable diagnostic/performance platform. My motivation was to build a unit for less $$ than a commercial unit. (most of the ones I was looking at ran well over 200 USD)

Along the way, I was planning to design my own interface that could be ported to any big screen I hang on the garage wall. (this is why I'm not looking at an Arduino)

If I can ever get the time freed up, I may have to start a thread with all the OBD-II interface coding, databases, and display setup.
I'm only wearing black until they find something darker.

funkeywoookey
Posts: 7
Joined: Fri Jun 07, 2013 5:22 am

Re: Car PC - Gauges

Tue Jul 23, 2013 11:28 pm

I've been working on this project for quite some time now. Sometimes I hit a brick wall and move onto another problem and then I come back to the original.
Where I am now:
Touchscreen: 7" Chalk-Elec Open Frame design. It's a tad smaller than a double-din car stereo. The extra space I plan to use to build a button plate for real tactile buttons to interface with the GPIO pins. I missed the pre-order a few months ago, but they recalled and refunded everyone's money. They're doing another pre-order as of yesterday. Screen is HDMI compatible, capacitive touch, 7" display for $124. Native res is 1280x800p and is capable of downscaling up to 1080p.
note:shipping to the states is $30

Talking to the car: I haven't been able to successfully establish a Bluetooth connection via Python. However, I can do it through the GUI provided with BlueMan. Once this is done, I am able to poll any of the sensors Torque uses.
I've created a small "library" (a dictionary) to be able to pull the sensors from the car by name, along with the necessary equations and have embedded options for conversions (degrees F or C, MPH or KPM, etc).

Torque uses some "calculated" sensors. In other words, they're not true data. MPG is a calculated sensor. It works by polling many other sensors and estimating the MPG. The slower the connection bus on your car, the less accurate these estimations become. This is because you can only ask for one sensor at a time, and that sensor may take a whole second to respond. So if you have sensors A, B and C required for a calculated value, the data from sensor A is 3 seconds old by the time the calculation is made.

Replacing the FM Radio: Since I plan on replacing my current car stereo with the RPi, and I don't want to drive around in silence, I need a replacement FM radio. The Si4703 seems to be a workable replacement. But as of now, this is the hardest part of the project. With so little documentation for programming this for the Pi, I'm just using trial and error and this point. I've come across one snippet of code here and it seems to fail in all directions for me.

GUI: Just kinda playing around in TKinter for a while. I've created a customisable dial which can be used for any size dial. Other than that, I'm working on a display to incorporate the FM radio as well as a "dashboard" showing MPG, throttle, coolant, MAF, fuel flow, and a check engine light button which will read the codes off the computer But like I said, I'm just kinda playing around with this when I hit a brick wall with some other problem on the Pi.

If you would like any of the code, just email me. [email protected]

CrazePanda
Posts: 4
Joined: Tue Dec 20, 2016 4:34 am

Re: Car PC - Gauges

Tue Dec 20, 2016 4:45 am

Does anyone still working on OBD-II to Raspberry PI project?

is it possible to make Raspberry Pi Auto Detect and connect to OBD-II Bluetooth plugin?

Return to “General discussion”

Who is online

Users browsing this forum: anif zarus, texy and 31 guests