The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development

Reply
 
Thread Tools Display Modes
Old 07-18-2007, 09:15 PM   #1
Newbie
 
Join Date: Apr 2005
Posts: 9
My Photos: (0)
SUCCESS!!! (Writing to the BMW E46 display cluster)

I have for some time no wanted to write text to the E46 (low) cluster to advertise speedcameras (speedlimit and distance) using for example "GATSOHunter" and "RoadRunner"

My thought was to have the arrows flashing to draw your attention to the cluster, and then present the current speedlimit followed by the distance to the speedcamera (GATSO).

After some digging through the web I have understood that writing to the E46 (low) cluster is not possible... WRONG!!!

Now I have finally succeeded to do just that...

The clue is that it MIGHT not be possible to DIRECTLY write text to the alphanumeric display, but use it's pre-defined messages kind of...
There are afaik 3 different types of messages that can be displayed:

-Distances in meters or feet
-Speeds in km/h or mph
-Temperature in degrees Celsius or Farenheit

Maby it's possible to write "plain" text as well, this I don't know at the moment.

Today I logged the following _DISTANCE_ codes and tested to write them back to the cluster with success:

_HEX codes WITH checksum attached!_

7F 05 80 44 29 30 A7 <--- 300m
7F 05 80 44 29 25 B2 <--- 250m
...
7F 05 80 44 29 10 87 <--- 100m
7F 05 80 44 21 90 0F <--- 90m
7F 05 80 44 21 80 1F <--- 80m
7F 05 80 44 21 70 EF <--- 70m
7F 05 80 44 21 60 FF <--- 60m
7F 05 80 44 21 50 CF <--- 50m
...
7F 05 80 44 21 10 8F <--- 10m
7F 05 80 44 21 00 9F <--- 0m
7F 05 80 44 20 00 9E <--- CLEAR DISPLAY? (this was the last code logged from the GPS -> IKE

Here the GPS (7F) is the source and the IKE (80) is destination.
The first DATA byte, (the fourth byte in the string) seem to be the code for "distance display". That is the "m" is displayed after the data in the display.

The second DATA byte, (the fifth byte in the string) it is used to distinguish between 100's and 10's.

The third DATA byte, (the sixth byte in the string) is the actual distance data.

I have logged codes for speedlimits as well, but I have lost that log. I'm pretty sure that the format is very similar, but with another hexcode for the FIRST databyte to put the display in "speedmode" for example.

Will test "speeddata" tomorrow...



Kind regards

Marc in Norway

Last edited by Marc-X : 07-20-2007 at 04:44 AM.
Marc-X is offline   Reply With Quote
Sponsored Links
Old 07-18-2007, 10:23 PM   #2
Fusion Brain Creator
2k1Toaster's CarPC Specs
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 6,852
My Photos: (1)
I dont have a BMW, but awesome job at getting something to display!

Subscribed.
2k1Toaster is offline   Reply With Quote
Old 07-18-2007, 10:56 PM   #3
Newbie
 
Join Date: Apr 2005
Posts: 9
My Photos: (0)
... I'm in great need of some help from a VB coder now... Have to modify IBusComm a bit, but my VB skills are FAR from what is needed.

1. I want a routine that polls the GPS data from the IBus (the HEX code for this is known), and formats this for re-sending it to RR.

2. Make IBusComm Bi-Directional to send and receive messages to / from RR like: "SENDMSG;IBusComm;SPEEDLIMIT_90". I know there is a hack called IBusRR, but it has lost its ability to trigger RTS signals via the "ProcessEvents" module.

Anyone up for the job?


Kind regards

Marc in Norway
Marc-X is offline   Reply With Quote
Old 07-19-2007, 04:32 PM   #4
Newbie
 
Join Date: Apr 2005
Posts: 9
My Photos: (0)
Writing Speedlimits to the IKE on E46 (setting OBC speedlimit)

Hello World!

I have now tried to write speeds to the IKE directly. I have NOT succeded...
BUT... I have done something that's even BETTER !!! (for my goal that is...)

I can now manipulate the OBC directly to SET a speedlimit and ACTIVATE this limit if not activated before.

This means that I can, when approaching a GATSO, set the current speedlimit (stored in GATSO definition) to my OBC, and have it warn me with a PING and the current speed in the display in addition to the distance to the GATSO (from GATSOHunter / RR or similar) which can be written directly to the display. This means that you only have to send the speedlimit ONCE, send the distance continously and switch of the OBC speedlimit when GATSO Alert is canceled.

My goal now is:

FLASHING ARROWS IN CLUSTER whenever a GATSO is in close PROXIMITY -> OBC kicks in , Warning ping IF I'm over the speedlimit, -> the distance to the GATSO is diplayed and updated in the IKE.

Nice?

OK, now the codes

(REMEMBER, THESE CODES ARE FOR AN E46. THE CODES ARE TRIED ON MY 330d ONLY! EVERY OTHER CAR MIGHT DIE OR GET SOME KIND OF NASTY DISEASE IF THESE CODES ARE TRIED!!!)

Following example codes should be pretty easy to understand:

80 09 FF 24 09 00 32 31 30 20 cs SET SPEEDLIMIT TO "210"
80 09 FF 24 09 00 20 39 30 20 cs SET SPEEDLIMIT TO "90"
80 09 FF 24 09 00 20 35 30 20 cs SET SPEEDLIMIT TO "50"
80 09 FF 24 09 00 20 31 39 20 cs SET SPEEDLIMIT TO "19"
80 09 FF 24 09 00 20 31 30 20 cs SET SPEEDLIMIT TO "10"
80 09 FF 24 09 00 20 20 36 20 cs SET SPEEDLIMIT TO "6"
-----------------| speed |-----

FOURTH, FIFTH and SIXTH _DATA_ byte holds the speed.
30h = 0, 31h = 1, 32h = 2, 39h = 9 etc
20h = BLANK


3B 05 80 41 09 04 cs ACTIVATE SPEEDLIMIT in OBC
3B 05 80 41 09 08 cs DE-ACTIVITE SPEELIMIT in OBC



Kind regards

Marc in Tromsoe

Last edited by Marc-X : 07-20-2007 at 04:52 AM.
Marc-X is offline   Reply With Quote
Old 02-20-2008, 12:51 PM   #5
Newbie
 
Join Date: Feb 2008
Posts: 8
My Photos: (0)
what program are you using to send the ibus packets?
krusha is offline   Reply With Quote
Old 03-20-2008, 11:07 PM   #6
Confusion Master
Enforcer's CarPC Specs
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Vehicle: 1997 BMW E36 328I
Posts: 9,730
My Photos: (1)
bus backwards
Enforcer is online now   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between mscomm control in VB and hyperterminal jjvasi Coders Corner 1 02-25-2007 01:32 PM
BMW 325ci Cabrio (E46) install gkapog Show off your project 12 11-09-2006 12:35 AM
install LCD screen into BMW E46 sunglasses holder? bobber99 Newbie 5 10-08-2006 10:36 AM
2005 BMW E46 CarX audio hook-up question? reggs Hardware Development 0 09-24-2005 03:06 PM
BMW E46 Trim for Lilliput ? homep1 General MP3Car Discussion 3 04-03-2005 10:23 AM


All times are GMT -5. The time now is 05:13 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics