Go Back   EcoModder Forum > EcoModding > Hypermiling / EcoDriver's Ed
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 01-27-2010, 11:11 AM   #11 (permalink)
Engineering first
 
bwilson4web's Avatar
 
Join Date: Mar 2009
Location: Huntsville, AL
Posts: 843

17 i3-REx - '14 BMW i3-REx
Last 3: 45.67 mpg (US)

Blue Bob's - '19 Tesla Std Rng Plus
Thanks: 94
Thanked 248 Times in 157 Posts
Quote:
Originally Posted by orange4boy View Post
. . .
I have a mac powerbookG4 but all the software based programs I have seen are on PC . . .
On the side of the Graham scanner is an RJ-11 port and a pair of pins providing RS-232 signals. If you can get an RS-232-USB adapter, the Mac can read the stream of ASCII text. I just copy the stream to a file and use a Perl program to format it into a TAB delimited text. You may need a resistor to match the Rx signal levels depending upon the serial interface. I programmed the Graham scanner for the max, 6 data items, at the fastest rate, ~1.2 seconds for all six values.

There are a couple of undocumented aspects such as some data values return two elements (aka., MG1 torque also returns rpm.) Also, it works best if group 7, 1, and 2 are programmed for the six data items so when it powers up, you get these data values from the start. If you change the display slot, it also changes the fields streaming out the port. There is only a relative time-stamp and no data field identifier in the stream.

I've been working on a Perl program to read a GPS mouse, $50, in parallel with the Graham data. This lets me use the absolute time stamp from the GPS along with the ephemeris data mixed with the Graham data. But there is one word of caution.

The Graham data points are at separate data points, ~200 ms. apart, which is way to slow to track rapidly changing mechanical metrics. So I require any calculated data point like ICE power be used only when there are a minimum of two, and preferably three data points with the same or similar values. Otherwise you can calculate some impossible values like when the torque value comes from a different time interval than the rpm.

Bob Wilson

__________________
2019 Tesla Model 3 Std. Range Plus - 215 mi EV
2017 BMW i3-REx - 106 mi EV, 88 mi mid-grade
Retired engineer, Huntsville, AL
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Reply  Post New Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
Pulse & Glide on Hills mush3gan Hypermiling / EcoDriver's Ed 7 07-13-2013 02:20 PM
Pulse and Glide on the Honda CRX SVOboy Hypermiling / EcoDriver's Ed 4 05-09-2009 01:19 AM
Other incarnations of Pulse & Glide Piwoslaw The Lounge 12 03-10-2009 09:53 AM
Old School hypermiler PULSE AND GLIDE Dragonova Hypermiling / EcoDriver's Ed 13 07-08-2008 08:26 PM
Re-attempting Pulse and Glide (with an automatic) Lazarus Hypermiling / EcoDriver's Ed 6 12-11-2007 09:06 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com