Pennock's Fiero Forum
  Technical Discussion & Questions
  Raspberry Pi 2 and OBD 2

Post New Topic  Post A Reply
Email This Page to Someone! | Printable Version


next newest topic | next oldest topic
Raspberry Pi 2 and OBD 2 by rourke_87_T-Top
Started on: 12-31-2015 05:09 AM
Replies: 22 (1187 views)
Last post by: Fieroking on 01-11-2016 02:14 AM
rourke_87_T-Top
Member
Posts: 1347
From: Toronto Ontario Canada
Registered: Jan 2009


Feedback score:    (9)
Leave feedback

Rate this member

Report this Post12-31-2015 05:09 AM Click Here to See the Profile for rourke_87_T-TopSend a Private Message to rourke_87_T-TopEdit/Delete MessageReply w/QuoteDirect Link to This Post
I just wanted to start topic in technical section regarding Raspberry Pi 2 and OBD 2 .

Has anyone installed this into a Fiero ?
IP: Logged
PFF
System Bot
dobey
Member
Posts: 11572
From:
Registered: Sep 2001


Feedback score: N/A
Leave feedback





Total ratings: 371
User Banned

Report this Post12-31-2015 09:50 AM Click Here to See the Profile for dobeySend a Private Message to dobeyEdit/Delete MessageReply w/QuoteDirect Link to This Post
Installed what exactly? One is a low end computing device and the other is a specification that manufacturers must use for vehicles made from 1996 onward in the US.

I presume you're asking about how to do something with OBD-II using a Raspberry Pi in an engine-swapped Fiero?
IP: Logged
Neils88
Member
Posts: 4057
From: Jeddore,Nova Scotia
Registered: Aug 2013


Feedback score: N/A
Leave feedback





Total ratings: 56
Rate this member

Report this Post12-31-2015 10:20 AM Click Here to See the Profile for Neils88Send a Private Message to Neils88Edit/Delete MessageReply w/QuoteDirect Link to This Post
 
quote
Originally posted by dobey:

Installed what exactly? One is a low end computing device and the other is a specification that manufacturers must use for vehicles made from 1996 onward in the US.

I presume you're asking about how to do something with OBD-II using a Raspberry Pi in an engine-swapped Fiero?


It really wasn't a big stretch to figure out what he meant....

Sparkfun makes a good UART interface that can be used for Raspberry Pi and Arduino, etc

https://learn.sparkfun.com/...ii-uart-hookup-guide
IP: Logged
dobey
Member
Posts: 11572
From:
Registered: Sep 2001


Feedback score: N/A
Leave feedback





Total ratings: 371
User Banned

Report this Post12-31-2015 10:25 AM Click Here to See the Profile for dobeySend a Private Message to dobeyEdit/Delete MessageReply w/QuoteDirect Link to This Post
 
quote
Originally posted by Neils88:
It really wasn't a big stretch to figure out what he meant....

Sparkfun makes a good UART interface that can be used for Raspberry Pi and Arduino, etc

https://learn.sparkfun.com/...ii-uart-hookup-guide


I still don't know what the meaning of the OP is. There are literally millions of things you can do with a Raspberry Pi and an OBD connection.

For all I know, the OP is asking how to install it in order to provide an OBD-II connection in a stock Fiero (which is also a possibility). Or wants a custom LCD gauge display. Or maybe he wants touch screen controls for HVAC, windows, mirrors, etc…?
IP: Logged
Neils88
Member
Posts: 4057
From: Jeddore,Nova Scotia
Registered: Aug 2013


Feedback score: N/A
Leave feedback





Total ratings: 56
Rate this member

Report this Post12-31-2015 10:38 AM Click Here to See the Profile for Neils88Send a Private Message to Neils88Edit/Delete MessageReply w/QuoteDirect Link to This Post
 
quote
Originally posted by dobey:


I still don't know what the meaning of the OP is. There are literally millions of things you can do with a Raspberry Pi and an OBD connection.

For all I know, the OP is asking how to install it in order to provide an OBD-II connection in a stock Fiero (which is also a possibility). Or wants a custom LCD gauge display. Or maybe he wants touch screen controls for HVAC, windows, mirrors, etc…?


...and there is nothing you can do unless you can interface the two. Which is why I want to keep this thread upbeat and useful...and posted the example link given. The OP wants to begin the discussion, and now all kinds of questions can be asked and answered as per the thread title.
IP: Logged
thesameguy
Member
Posts: 1536
From: California
Registered: Dec 2012


Feedback score: N/A
Leave feedback

Rate this member

Report this Post12-31-2015 01:57 PM Click Here to See the Profile for thesameguySend a Private Message to thesameguyEdit/Delete MessageReply w/QuoteDirect Link to This Post
 
quote
Originally posted by Neils88:


It really wasn't a big stretch to figure out what he meant....

Sparkfun makes a good UART interface that can be used for Raspberry Pi and Arduino, etc

https://learn.sparkfun.com/...ii-uart-hookup-guide


Could be more specific than that. There is a lot of prefab hardware and software for doing OBDII stuff on Rasp Pi... eg, OBDPI and Picard.
IP: Logged
rourke_87_T-Top
Member
Posts: 1347
From: Toronto Ontario Canada
Registered: Jan 2009


Feedback score:    (9)
Leave feedback

Rate this member

Report this Post12-31-2015 05:10 PM Click Here to See the Profile for rourke_87_T-TopSend a Private Message to rourke_87_T-TopEdit/Delete MessageReply w/QuoteDirect Link to This Post
My question is in the original post.

IP: Logged
dobey
Member
Posts: 11572
From:
Registered: Sep 2001


Feedback score: N/A
Leave feedback





Total ratings: 371
User Banned

Report this Post12-31-2015 05:18 PM Click Here to See the Profile for dobeySend a Private Message to dobeyEdit/Delete MessageReply w/QuoteDirect Link to This Post
 
quote
Originally posted by rourke_87_T-Top:

My question is in the original post.


If that's really the extent of what you want to know from this thread, then the answer is no, I don't think anyone has installed a Raspberry Pi 2 into a Fiero in any capacity.

Lots of people however, have done engine swaps which require use of OBD-II engine management systems. Very few people have installed systems beyond the minimum required to get an engine swap running, as pertains to further OBD-II systems integration, though. I only really know of two or three so far that have done so; and they are all LS4 swapped cars.
IP: Logged
rourke_87_T-Top
Member
Posts: 1347
From: Toronto Ontario Canada
Registered: Jan 2009


Feedback score:    (9)
Leave feedback

Rate this member

Report this Post12-31-2015 06:04 PM Click Here to See the Profile for rourke_87_T-TopSend a Private Message to rourke_87_T-TopEdit/Delete MessageReply w/QuoteDirect Link to This Post
Here's a good page for reference, http://gersic.com/connectin...ooth-obd-ii-adapter/


http://speeduino.com/forum/...f7cfecfdc40101286304
I'm hoping to prompt a more technical, constructive discussion for DIY.

[This message has been edited by rourke_87_T-Top (edited 01-01-2016).]

IP: Logged
Blacktree
Member
Posts: 20770
From: Central Florida
Registered: Dec 2001


Feedback score:    (12)
Leave feedback





Total ratings: 350
Rate this member

Report this Post01-02-2016 09:39 AM Click Here to See the Profile for BlacktreeClick Here to visit Blacktree's HomePageSend a Private Message to BlacktreeEdit/Delete MessageReply w/QuoteDirect Link to This Post
I think it would be neat to use a Raspberry Pi or Arduino as a replacement ECM. But I haven't done any research into it yet. I'm pretty sure either one will have much more processing power than a Fiero ECM.
IP: Logged
rourke_87_T-Top
Member
Posts: 1347
From: Toronto Ontario Canada
Registered: Jan 2009


Feedback score:    (9)
Leave feedback

Rate this member

Report this Post01-02-2016 01:00 PM Click Here to See the Profile for rourke_87_T-TopSend a Private Message to rourke_87_T-TopEdit/Delete MessageReply w/QuoteDirect Link to This Post
I used my entire monthly bandwidth looking over this combination, watching video's on YouTube, Josh Stewart's channel. I think there is a lot of potential to use this as a platform to not only run an engine but also support many other additional projects. I posted a technical thread in my local Toronto area forum, hoping to get a core of people together to try a couple examples.

It's a very affordable option, one of the things Josh Stewart outlined in his aim for the EMS. I'm an engineer by trade but I only break **** or worse.
IP: Logged
PFF
System Bot
Neils88
Member
Posts: 4057
From: Jeddore,Nova Scotia
Registered: Aug 2013


Feedback score: N/A
Leave feedback





Total ratings: 56
Rate this member

Report this Post01-02-2016 03:06 PM Click Here to See the Profile for Neils88Send a Private Message to Neils88Edit/Delete MessageReply w/QuoteDirect Link to This Post
 
quote
Originally posted by rourke_87_T-Top:

I used my entire monthly bandwidth looking over this combination, watching video's on YouTube, Josh Stewart's channel. I think there is a lot of potential to use this as a platform to not only run an engine but also support many other additional projects. I posted a technical thread in my local Toronto area forum, hoping to get a core of people together to try a couple examples.

It's a very affordable option, one of the things Josh Stewart outlined in his aim for the EMS. I'm an engineer by trade but I only break **** or worse.


My current project is using 4 Arduinos (3 Unos and 1 Mega) and a mini-ITX to monitor and run everything in the car. This includes everything from the LCD dash ( https://www.youtube.com/watch?v=LsExvLuZAes ), active spoiler & vents, lights, wipers, steering wheel controls, door sensors, etc, etc....basically if it has a signal or sensor, I'm attaching it. lol. I won't be trying to use it for an ECM though...I don't see any real advantage over what is already available other than being easier to modify once it is set up. Having said that, I may interface the ECM data directly to the mini-ITX since there is some data that I'll want to display that may be easier to get from the ECM than directly from the raw sensor data.
IP: Logged
rourke_87_T-Top
Member
Posts: 1347
From: Toronto Ontario Canada
Registered: Jan 2009


Feedback score:    (9)
Leave feedback

Rate this member

Report this Post01-02-2016 04:06 PM Click Here to See the Profile for rourke_87_T-TopSend a Private Message to rourke_87_T-TopEdit/Delete MessageReply w/QuoteDirect Link to This Post
your project is very unique, I think most people on here would be satisfied with an affordable computer that would run the basics with the ability for tuning, even remote capability. More along the line of race inspired telemetry. The cost being the largest benefit, I don't think the high dollar units appeal to the larger audience, This isn't my area of expertise, I understand the basics but I do see it as writing on the wall.

I already have an old unused Sony Erickson Data modem that I thought about using, https://blog.adafruit.com/2...aspberry_pi-iluvpi2/

My field of employment already utilizes remote tuning for motive power.

[This message has been edited by rourke_87_T-Top (edited 01-02-2016).]

IP: Logged
Fiervette
Member
Posts: 62
From: Huntsville, AL
Registered: Feb 2014


Feedback score: (1)
Leave feedback

Rate this member

Report this Post01-02-2016 05:03 PM Click Here to See the Profile for FiervetteSend a Private Message to FiervetteEdit/Delete MessageReply w/QuoteDirect Link to This Post
rourke_87T-Top, This sounds like you are looking for data logging and not wishing to control the engine or body. You are wishing to remotely capture data? Have realtime telemetry? Sorry, but it is not clear to me what you are trying to do. Perhaps if you could share some details there might be more to discuss.

I am working on something similar to Neils88. I too would like to have a discussion on this. I too would appreciate it if there are no more irrelevent and negative postings. In the original post you ask about Raspberry Pi and OBD II. In your references you include using Raspberry Pi with ODB II and another concerning Arduino as an ECM. I am doing something different. I plan to use the Arduino Mega as a Body controller in the Fiero. My plans are probably not as ambitious as Neils88. I don't plan on replacing the ECM, just interfacing with it. I haven't posted anything yet because it is still in prototype stage. So far I have mocked up a tach, which I since disassembled. I have also built a prototype OBD II interface using a cheap Ebay ELM327 interface, an Arduino Mega and an Adafruit display. Here is it working -



As you can see, I have 4 parameters I am reading from the LS1 PCM, oil pressure, water temp, intake air temp, and tachometer. As stated earlier, I used an Ebay OBDII interface. I purchased a USB type and converted to RS232 UART. I traced the circuit and determined that there were 2 pads on the current circuit board for the serial interface bypassing the USB chip. Here are the connections -



The oil pressure was the trickiest as it is a proprietary protocol and not part of the OBDII standard. I plan on using a realtime tach reading derived directly from the tach output of the engine so this parameter will not be used. The update rate is too slow without overloading the bus. The LS1 has uses an older bus called J1850 and not a CANBUS like a newer car.

I am using a Arduino as some of the functions I need are real time plus the tach and push button start will be interrupt driven. Raspberry Pi uses a Modified version of Desktop Linux and is not controllable by interrupts. I am not aware of any realtime extensions available for this device. If any one has knowledge otherwise, please post references complete with links to information.

My plans are still somewhat ambitious. This will perform several functions in my Fiero. With the engine swap, I have redundant oil pressure and water temp sensors. I will use the OBDII inputs to drive a PWM (Pulse Width Modulation) output to the Fiero gauges. This will eliminate the dual sensors. The new features I plan to add are:
Passive Keyless Entry via bluetooth from iPhone
Theater lighting
Alarm
VATS
Push button start
Control of Door ajar Notifications
Lights on alarm
IP: Logged
rourke_87_T-Top
Member
Posts: 1347
From: Toronto Ontario Canada
Registered: Jan 2009


Feedback score:    (9)
Leave feedback

Rate this member

Report this Post01-02-2016 05:29 PM Click Here to See the Profile for rourke_87_T-TopSend a Private Message to rourke_87_T-TopEdit/Delete MessageReply w/QuoteDirect Link to This Post
IP: Logged
rourke_87_T-Top
Member
Posts: 1347
From: Toronto Ontario Canada
Registered: Jan 2009


Feedback score:    (9)
Leave feedback

Rate this member

Report this Post01-02-2016 05:42 PM Click Here to See the Profile for rourke_87_T-TopSend a Private Message to rourke_87_T-TopEdit/Delete MessageReply w/QuoteDirect Link to This Post

rourke_87_T-Top

1347 posts
Member since Jan 2009
When I first started the topic it was unclear to me what direction I was looking to go with it. I did have a few things in mind, I've been researching different EMS. Haltech, Megasquirt, Holley, MSD universal aftermarket VR crank wheel etc. Or having my factory OBD 2 tuned at a later time, the swap I'm working on will require it to be tuned. Taking a car to Dyno is also expensive and not real world driving.

I would like to play with the tuning myself down the road and have the ability to refine the parameters. Having someone sitting beside me trying to tune the car while driving is less than ideal. My field of employment utilizes remote tuning, that's why I was thinking about the possibility, I originally thought that it would only be logged or viewed in real time, as this has progressed I'm starting to ask if this could be tuned by remote ?

I started the topic without a definite and clear direction, more as an exercise in the discovery process, throw it out there and see what sticks.

[This message has been edited by rourke_87_T-Top (edited 01-02-2016).]

IP: Logged
Fieroking
Member
Posts: 2150
From: Coeur D Alene Idaho USA
Registered: Jun 2002


Feedback score:    (11)
Leave feedback





Total ratings: 78
Rate this member

Report this Post01-03-2016 05:42 PM Click Here to See the Profile for FierokingClick Here to visit Fieroking's HomePageSend a Private Message to FierokingEdit/Delete MessageReply w/QuoteDirect Link to This Post
I have built several Arudino Mega computers used to control a push button transmission selector. I also use it to control the lights on a Fiero. There are a lot of things that can be controlled with the Arudino or a Raspberry Pi.

Joe Sokol

------------------
85 SE Daily driver with a 3.4 DOHC OBD II
88 Formula/GT 4.9 Allante Intake (My Baby)
www.fieroking.com

IP: Logged
fierojsr
Member
Posts: 44
From: forney, tx
Registered: Jul 2003


Feedback score: N/A
Leave feedback

Rate this member

Report this Post01-09-2016 02:25 PM Click Here to See the Profile for fierojsrSend a Private Message to fierojsrEdit/Delete MessageReply w/QuoteDirect Link to This Post
My interest in the use of Raspberry Pi 2 and Arduino is similar to this discussion but I plan to not use the ODB 2 but measure the sensors with the Arduino and using Bluetooth to send the data to Raspberry. I have replaced my 84 Fiero 4 cyl with a V8 and would prefer to bypass the ODB all together. Then as Neils88 has listed, display those values on a 7 in touch screen display. In addition I have found discussions where the the use of the Raspberry Pi was used for a navigation system, backup camer, as well as a FM radio receiver. All of these make for a nice media system for my Fiero. So as we all know the devil is in the details. Example for the Raspberry, what programming language to use, my experience is with Java but Python appears to be the dominate choice. So I look forward to this discussion to openly discuss these details and learn for each others experiences.
IP: Logged
Fieroking
Member
Posts: 2150
From: Coeur D Alene Idaho USA
Registered: Jun 2002


Feedback score:    (11)
Leave feedback





Total ratings: 78
Rate this member

Report this Post01-10-2016 02:36 AM Click Here to See the Profile for FierokingClick Here to visit Fieroking's HomePageSend a Private Message to FierokingEdit/Delete MessageReply w/QuoteDirect Link to This Post
There are 2 ways to look at the Raspberry/Ardunio ODB II guestion. First the standard wiring and ECM in the Fiero DOES NOT support ODB II. You can install micro computer to do a number of functions in a Fiero, I have used them to control lights, turn signals and control a linear actuator selecting the transmission range. I have also tied in a small display to display the current trans range and act as the check engine light. But to install one to read ODB II data that isn't there makes not sense.
For those that have swapped a newer engine that supports ODB II, all the data for all engine functions is available to run gauges or a LCD display. I am using a Intel based computer to run my dual display instrument cluster in a Lambroghini Reventon kit. There is software available from Palmer Performance to design a cluster and read data from the ODB II bus

Joe Sokol

------------------
85 SE Daily driver with a 3.4 DOHC OBD II
88 Formula/GT 4.9 Allante Intake (My Baby)
www.fieroking.com

IP: Logged
ltlfrari
Member
Posts: 5356
From: Wake Forest,NC,USA
Registered: Jan 2002


Feedback score: (4)
Leave feedback





Total ratings: 127
Rate this member

Report this Post01-10-2016 09:53 AM Click Here to See the Profile for ltlfrariClick Here to visit ltlfrari's HomePageSend a Private Message to ltlfrariEdit/Delete MessageReply w/QuoteDirect Link to This Post
 
quote
Originally posted by fierojsr:

My interest in the use of Raspberry Pi 2 and Arduino is similar to this discussion but I plan to not use the ODB 2 but measure the sensors with the Arduino and using Bluetooth to send the data to Raspberry. I have replaced my 84 Fiero 4 cyl with a V8 and would prefer to bypass the ODB all together. Then as Neils88 has listed, display those values on a 7 in touch screen display. .


My only concern would be that you must ensure that you do not affect the sensor readings going to the existing ECM by hooking up a second output (to the Arduino inputs) to them.
Nothing wrong with what you are planning that I can see although other than some basic stuff (like temp etc) I am not sure what you could do with the information from most of the sensors.
If the ECM for the v8 supports ODB II then I think I'd look into tapping that though before going the direct route to the sensors because you could see what the ECM sees plus stuff like trouble codes.. However I have no knowledge of any ODB II software for either the Adrduino or the PI but I am sure there is probably some out there.

------------------
Anything I might say is probably worth what you paid for it, so treat it accordingly!

Dave

www.ltlfrari.com

IP: Logged
ltlfrari
Member
Posts: 5356
From: Wake Forest,NC,USA
Registered: Jan 2002


Feedback score: (4)
Leave feedback





Total ratings: 127
Rate this member

Report this Post01-10-2016 11:46 AM Click Here to See the Profile for ltlfrariClick Here to visit ltlfrari's HomePageSend a Private Message to ltlfrariEdit/Delete MessageReply w/QuoteDirect Link to This Post

ltlfrari

5356 posts
Member since Jan 2002
just did a quick search of Arduino ODB II and it looks lie there's lots of stuff out there already.

EG

http://arduinodev.com/hardware/obd-kit/

------------------
Anything I might say is probably worth what you paid for it, so treat it accordingly!

Dave

www.ltlfrari.com

IP: Logged
PFF
System Bot
rourke_87_T-Top
Member
Posts: 1347
From: Toronto Ontario Canada
Registered: Jan 2009


Feedback score:    (9)
Leave feedback

Rate this member

Report this Post01-10-2016 11:57 AM Click Here to See the Profile for rourke_87_T-TopSend a Private Message to rourke_87_T-TopEdit/Delete MessageReply w/QuoteDirect Link to This Post
IP: Logged
Fieroking
Member
Posts: 2150
From: Coeur D Alene Idaho USA
Registered: Jun 2002


Feedback score:    (11)
Leave feedback





Total ratings: 78
Rate this member

Report this Post01-11-2016 02:14 AM Click Here to See the Profile for FierokingClick Here to visit Fieroking's HomePageSend a Private Message to FierokingEdit/Delete MessageReply w/QuoteDirect Link to This Post
I think people are missing a basic issue with the Arduino/raspberry, they don't generate the signals that are on the ODB II or Canbus. The ECM has the base transmitter for those buses. Without the ECM to read data from the sensors on the engine you would have to run the wires from each sensor to the Aurdino/Raspberry and then program them to translate the sensor information into what is needed to drive gauges as an example. This is way more complex than using a ELM translator that plugs into the ODB II port in a car to read data that is already programmed to a international standard.

Joe Sokol

------------------
85 SE Daily driver with a 3.4 DOHC OBD II
88 Formula/GT 4.9 Allante Intake (My Baby)
www.fieroking.com

IP: Logged

next newest topic | next oldest topic

All times are ET (US)

Post New Topic  Post A Reply
Hop to:

Contact Us | Back To Main Page

Advertizing on PFF | Fiero Parts Vendors
PFF Merchandise | Fiero Gallery
Real-Time Chat | Fiero Related Auctions on eBay



Copyright (c) 1999, C. Pennock