CANBUS RE analysis - Page 4 - LotusTalk - The Lotus Cars Community
Reply
 
LinkBack Thread Tools Display Modes
post #61 of 72 (permalink) Old 01-01-2006, 07:55 PM
OSX Black hat
 
charliex's Avatar
 
Join Date: Feb 2005
Location: Las Vegas , NV
Posts: 10,000
havent seen any other messages in day to day use yet
charliex is offline  
Sponsored Links
Advertisement
 
post #62 of 72 (permalink) Old 01-23-2006, 01:43 PM
purveyor of lightness
 
darkSol's Avatar
 
Join Date: Feb 2004
Location: Leawood, KS
Posts: 4,054
Garage
Any updates? Any circuits? Any more information regarding odometer vs. speedo? Inquiring minds want to know!

.
d.a..v...i....d

David Thomas Stewart - [email protected]
2005 Midnight Silver Lotus Elise (www.darksol.com)
388hp (342whp) BOE RevX 1736lbs.
darkSol is online now  
post #63 of 72 (permalink) Old 05-27-2006, 06:42 AM
Registered User
 
cbracer's Avatar
 
Join Date: Apr 2006
Posts: 49
I've seen and used many OBD, GPS and professional data loggers on the market. There's one things missing.... a cheap data logger that's easy to use and has software that provides good information for track use and coaching. Look at the OBD market alone, there's tons of companies producing cheap products, but none of them are really great.

With people on this board interested in making one, who is going to produce something for all of us to use?

My only issue with doing all this freeware stuff... those who program it will find other interested and stop development. So maybe a community project should be setup so that new people can continue where others left off?
cbracer is offline  
 
post #64 of 72 (permalink) Old 05-27-2006, 08:50 AM
OSX Black hat
 
charliex's Avatar
 
Join Date: Feb 2005
Location: Las Vegas , NV
Posts: 10,000
Fast, cheap , good you only get two.

I have my own OBD II logger, but there are a few problems, namely the update rate is so slow that it doesn't really seem worthwhile, you really need to add external sensors or tap into the existing sensors.

A couple of people have talked about making a free one, why not go ahead and start one and see who joins in.

Black Exige S / Elan M100. Don't run a smaller pulley without an upgraded fuel pump! http://www.goth.am ecu stuff.. New reflash box coming soon!
charliex is offline  
post #65 of 72 (permalink) Old 05-27-2006, 04:45 PM
Registered User
 
TimMullen's Avatar
 
Join Date: Jun 2003
Location: Chantilly, VA
Posts: 12,374
Quote:
Originally Posted by charliex
Fast, cheap , good you only get two.
And you usually don't even get two...




Tim Mullen --- There is no such thing as Touring suspension or Touring wheels.

I love being married. It's so great to find that one person that you want to annoy for the rest of your life. - Rita Rudner


Chantilly, VA http://members.cox.net/elans4/
05 Lotus Elise - Chrome Orange - No Touring - No LSS - No Hardtop - Lotus Driving Lights - Lotus "Chin Guards" - plain and simple.
94 Miata R Package - Black
72 Lotus Elan Sprint - Colorado Orange/Cirrus White
TimMullen is offline  
post #66 of 72 (permalink) Old 12-06-2007, 06:45 AM
Registered User
 
imoz's Avatar
 
Join Date: May 2006
Location: Philly 'burbs
Posts: 490
Does the Lotus ECU implementation of CANbus implement a CAN Application Layer like CANopen, or is it a proprietary protocol? I'm looking at the OSI diagram on this page:

CAN Application Layers

If I buy a CANbus->USB connector and want to write some custom software can I get raw access to the data stream without using proprietary driver API? From reading through various posts it seems as if others have been parsing the raw packets.

2009 BMW 135i
Alpine White, M Sport
imoz is offline  
post #67 of 72 (permalink) Old 12-08-2007, 07:20 AM Thread Starter
Registered User
 
rob13572468's Avatar
 
Join Date: Feb 2005
Location: chicago
Posts: 1,122
Quote:
Originally Posted by imoz View Post
Does the Lotus ECU implementation of CANbus implement a CAN Application Layer like CANopen, or is it a proprietary protocol? I'm looking at the OSI diagram on this page:

CAN Application Layers

If I buy a CANbus->USB connector and want to write some custom software can I get raw access to the data stream without using proprietary driver API? From reading through various posts it seems as if others have been parsing the raw packets.
go back to the beginning of this thread and read the first page: There is no application layer at all: Its literally just one message with all of the speedo data stuffed into the 8 bytes. I guess you could say its proprietary but its so simple that it doesnt really matter: just one frame sent from the ECU to the cluster.

I do alot of mercedes CAN work and by comparison you will see an application layer used on each of the *six* seperate CAN networks that are built into the newer models. In fact there is a seperate application layer actually exists across all of the networks since they are interconnected via gateway translators that relay specific messages from one network to the next. The mercedes application layer is proprietary as are most automaker vehicle networks; they arent really interested in open networks. The only exception is MOST fiber networks which uses common standards but even then non of the manufacturers adhere to the standards enough to make components interchangeable.

As far as using a USB adapter to access the CAN data you dont need to even worry about any sort of API except for the CAN adapter itself (e.g. to handle the actual data transfer over USB). most USB-CAN adapters have their own API and software examples so that you can write your own code; PCAN-USB by PEAK is a good example. As far as the data itself you get back 8 bytes and then just parse it.
rob13572468 is offline  
post #68 of 72 (permalink) Old 01-01-2009, 04:05 PM
purveyor of lightness
 
darkSol's Avatar
 
Join Date: Feb 2004
Location: Leawood, KS
Posts: 4,054
Garage
I love annual post resurrections

Rob you wouldn't happen to have a little black box that would take the following inputs and drive the stock cluster would you?

- rpm (via a low voltage coil line) also trips shift light when required (adjustable)
- speed (via stock wheelspeed sensor tap)
- temp (via stock sensor tap)
- fuel level (via stock sensor tap)
- oil pressure light (via stock sensor tap)
- miscellaneous input for mil light

I just remembered that you were working on this and wondered if anything had progressed further as mentioned in this post...

https://www.lotustalk.com/forums/894574-post4.html

Thanks!

.
d.a..v...i....d

David Thomas Stewart - [email protected]
2005 Midnight Silver Lotus Elise (www.darksol.com)
388hp (342whp) BOE RevX 1736lbs.
darkSol is online now  
post #69 of 72 (permalink) Old 05-30-2009, 01:35 AM
Registered User
 
holmz's Avatar
 
Join Date: Sep 2006
Location: Antipodes
Posts: 2,309
I am trying to get the OBD data into a datalogger.
This is an interesting thread...
holmz is offline  
post #70 of 72 (permalink) Old 08-24-2012, 06:30 PM
Registered User
 
Tang0_au's Avatar
 
Join Date: Jun 2007
Posts: 159
i've been using this thread to work on my own ECU to lotus dash conversion box - i'm running a standalone ECU - thought some might be able to use what additional info i found.

working on the awesome work of the OP, Rob, above ....

frame data: aa bb cc dd ee ff gg hh

aa = dash understands speed in kilometers per hour (good as i live in Australia and we are metric)

bb = unused

cc = first part of rpm. take rpm from ecu output eg. 4000rpm and divide by 256 = 15 (dont care about the decimal left overs(.625)) now convert 15 to hex (0F) and send to the dash.

dd = second part of rpm. take the second two digits of rpm eg 4090, now just use 90 and convert to hex (5A) and send to the dash.

ee = fuel - all depends on your ECU calibration. as Rob states - 00 - FF

ff = engine temp. dash needs to understand engine temp in deg F for some reason. and has an offset of -14. so for 90 deg C engine temp use the following: ((tempin * 9.0 / 5.0)+32)+14 where tempin variable is 90

gg = various dash lights:
send the following to the dash - all in hex. tc = traction control light.
00 = off. 01 = shift light. 02 = MIL. 03 = Mil&Shift. 04 = oil. 05 = oil&shift.
06 = oil&mil. 07 = oil&mil&shift. 08 = tc. 09 = tc&shift. 0a = tc&mil.
0b = tc&mil&shift. 0c = tc&oil. 0d = tc&oil&shift. 0e = tc&oil&mil.
0f = tc&oil&mil&shift

hh = unused by dash.

Hope this helps some people, i spent a while working it out as i dont have lotus ecu connected up any more - just a dash on my workbench with a couple of arduino boards - 1 sending CAN and one listening and resending to dash. my ecu outputs CANBUS, but it is not able to modify the values....

'13 Exige V6
Tang0_au is offline  
post #71 of 72 (permalink) Old 03-14-2013, 08:45 AM
Illegal Alien
 
Julian73's Avatar
 
Join Date: Oct 2011
Location: Longview, TX
Posts: 4,517
Garage
Digging into the past; but has any hardware s/w come of this for us not programming geeks? Wanting to dump info to datalogger and Valentine 1 display to dash. Also where does steering angle and TPS and MAF data go onto CAN bus of newer cars? FYI, the speed conversion of x*o.68 = mph works out to be the conversion factor from feet/sec to miles/hr 60*60/5280= 0.681818 Also any knowledge as the CANbus protocol used in the Evora?

'17 Evora Sport 410 GP (No. 1 of 9) Lotus MS alloy pan, SSC harness bar
'12 Evora S GP (No. 1 of 14) BOE Prototype Stage 2 - 420+bHp **SOLD**
Julian73 is offline  
post #72 of 72 (permalink) Old 08-02-2019, 07:32 AM
Registered User
 
Join Date: Aug 2013
Posts: 3
Thanks for your hard work rob13572468 and Tang0_au. I'm running a Haltech Elite and am working on converting its CAN output to something the Lotus dash can understand. Thanks to your efforts I've gotten to the point where I'm doing 100km/h in my garage with the handbrake on.
Attached Images
 
Gradenko is offline  
Sponsored Links
Advertisement
 
Reply

  LotusTalk - The Lotus Cars Community > Lotus Discussions > Electrical

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the LotusTalk - The Lotus Cars Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in











Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome