Page 1 of 12 1234567891011 ... LastLast
Results 1 to 10 of 116

Thread: BMW IBus-Heads

  1. #1
    Low Bitrate DarthTater's Avatar
    Join Date
    Feb 2006
    Location
    Join me and together we shall rule the galaxy as father and spud.
    Posts
    78

    BMW IBus-Heads

    This is more for myself, but I figured I would share in case someone wanted to do something similar.

    ** Edit: See the bottom of the last post for the new version **

    After seeing what CDRSkull had done with IbusComM, I've made some modifications myself. I've removed my CD changer from my BMW which removes it from the mode menu as an option. To get it back so I can use the DSP's digital input, I've set an option in the .ini for CD Emulation. Usage is simply CDEmulation=true/false. If you still have your CD changer, you will want to set it to false so IbusComM doesn't fight with your radio over the bus.

    Using RR's SDK, I've also implemented native RR commands. Simply place the following line in the appropriate section - RRCommand = "RRNEXT" (or "RRPREV", etc.). The default KeyboardMap="xx" operates independent of the RR commands, so in theory, you could have a single button perform two separate functions such as sending a keyboard shortcut to one application and sending a native RR command to RR.

    And lastly, I've set up IbusComm to send track names and xm channel names to the textbar in the instrument cluster. You will need the high cluster for this to work, but the source could be modified to send the text to the mid. Also, the xm channel names will only appear if xm.skin is currently selected, otherwise it will display artist/track. This one's a work in progress. I hard coded the behavior for testing but will eventually provide some options in the config file. This is my first VB project so it's slow going for me (The last programming language I learned was a bit of Fortran in the early 90's). That being said, my additions to the code are pretty ugly so I'm including the source in the distribution for those who want to change things.

    Here's a couple pictures (please ignore the dust!):






    See my install here:
    540i / 320i Mods

    Get a free and lightweight blog here

    iPhone Hacks

    Thought Soup

  2. #2
    Newbie
    Join Date
    Sep 2005
    Posts
    39
    That is so sweeet. It makes me want to put a computer in my 540i.

    Jon

    P.S. Do you have a V1 with the StealthOne unit?

  3. #3
    Newbie
    Join Date
    Jan 2004
    Posts
    52
    does it work for an e46? I have read that e46 cluster is not able to display text. Is that true? I have installed de IBUS software from CDR and it is integrated with my steering wheel controls.
    Thanks for your help

  4. #4
    Low Bitrate DarthTater's Avatar
    Join Date
    Feb 2006
    Location
    Join me and together we shall rule the galaxy as father and spud.
    Posts
    78
    Quote Originally Posted by thestoogeo
    That is so sweeet. It makes me want to put a computer in my 540i.

    Jon

    P.S. Do you have a V1 with the StealthOne unit?
    Thanks! No StealthOne in the car. I tend to take the long way lately - just to enjoy the mods. The arrows don't normally appear with the text, but I've got a burned out foglight that I haven't replaced yet.

    Quote Originally Posted by aal2000
    does it work for an e46? I have read that e46 cluster is not able to display text. Is that true?
    I don't see any reason why it wouldn't work *provided* that you have the high cluster installed in your E46 - not the one with the outline of the vehicle (low cluster). It should look similar to mine in the photos. Most likely, it's only an option on the 3 in conjunction with factory navigation. I know the 5's and 7's can get it without the nav, but I don't think the 3's can. It won't hurt anything to try it, though. The other modules on the ibus will simply ignore the data packet as the ones I'm sending are specifically addressed to the cluster.
    See my install here:
    540i / 320i Mods

    Get a free and lightweight blog here

    iPhone Hacks

    Thought Soup

  5. #5
    Low Bitrate DarthTater's Avatar
    Join Date
    Feb 2006
    Location
    Join me and together we shall rule the galaxy as father and spud.
    Posts
    78
    I've attached a revision - v1.0.60. I used a single apostrophe to mark the beginning and end of the track name text. As you can guess, when an apostrophe appears in a song title, the subroutine stops processing, builds the packet, and sends the name cut off.

    Oops!



    Now this is a little better!

    See my install here:
    540i / 320i Mods

    Get a free and lightweight blog here

    iPhone Hacks

    Thought Soup

  6. #6
    FLAC sama's Avatar
    Join Date
    Feb 2006
    Location
    London, UK
    Posts
    1,375
    hey darth

    big thumbs up for doing the song names, love it how did you get rr to communicate with ibuscomm?

    I've got a couple of questions for you, since youv'e been at this thing.

    Like you, I've got an E39 but I haver a touch screen replacing my MID/TAPE combo. I've currently got the mid hanging off the side which is very annoying to my leg, and aesthetically. I'd like to remove it completely, but the MID has an important function. It sends a command every 10 seconds to the radio to make sure the radio stays on. This is different to other E39's that have an AMP in the back. My AMP is in the tape headunit

    Anyway, I've got the command that is required and have tested sending it using ibuscomm. I modified the ini file in your rar file to send a configured msgID of AMP_EMULATION, insteal of CD_POLL. This turns the AMP on when the MID's connected so I'm half way there. I now need a way of sending that every 10 seconds (or sooner). Any ideas how I can do that? It would be good if I could send two messages together when the CD is being polled. I tried to just put another entry to do that, but the second entry is ignored.

    I'm also thinking of how to emulate a scan forward/back on mp3's. I can see that the steering wheel's next/prev events are different for pressing, and releasing. I've been thinking of writing an app that would listen to these from ibuscomm and would diffrentiate between double clicks, single clicks, and holds. The reason I'd like this is because I only have vol+- and track+- on my wheel, so reusing them would be good.

    Finally, do you know how a button click on RR can be mapped to an ibuscommand through ibuscomm? i'd like to get RR to also control the volume, bass/treble, fader etc, and an OBC emulator would be cool too.

    Thanks a load!

  7. #7
    Low Bitrate DarthTater's Avatar
    Join Date
    Feb 2006
    Location
    Join me and together we shall rule the galaxy as father and spud.
    Posts
    78
    sama, is your CD changer still installed? If so, then your solution is easy and can be done with just a simple mod of the .ini. Under the CD message ID section just change the poll respond message to your mid message like so:

    Instead of:
    [ID:CD_POLLRESP]
    MsgTemplate="1804FF0200E1"
    Label="CD Poll Resp"

    make it:
    [ID:CD_POLLRESP]
    MsgTemplate=" insert your amp message here"
    Label="Amp emulate"

    The radio automatically broadcasts the CD poll every ten seconds whether or not you are currently using it. If your changer is still installed, it will respond on it's own so you can alter the response message in ibuscomm to send your amp message. The reason you don't see the message in the log file twice is because ibuscomm doesn't parse the CD_POLLRESP message that the CD changer sends back - you only see ibuscomm's response.

    If it's not installed, then you will need to add a timer subroutine to ibuscomm.frm in the source and recompile. If you send me your amp message template, I can add it for you with a toggle in the .ini.

    As for communication, I used the modules in the SDK example that Guino provides with RR (Thanks Guino!). I did very little more than just cut and paste them into the ibuscomm source and use a timer to monitor the current state of the trackname. Whenever it changes for any reason, ibuscomm builds the appropriate packet and sends it to the cluster.

    I've actually been thinking about how to send a command to Ibuscomm from an RR event (click or otherwise). RR can use sendkeys or sendmessage in the same way that Ibuscomm can so it would be a matter of keying ibuscomm on those events. Seems doable to me. I don't know that my knowledge of VB is up to the challenge, but I'm sure there are others around here who could whip it out pretty quick.

    IBuscomm can already differentiate between clicks and holds, just add a new message template to the .ini under the steering wheel section for the hold event and specify the action you want to send to RR.

    Let me know how the amp thing goes.
    See my install here:
    540i / 320i Mods

    Get a free and lightweight blog here

    iPhone Hacks

    Thought Soup

  8. #8
    FLAC sama's Avatar
    Join Date
    Feb 2006
    Location
    London, UK
    Posts
    1,375
    hey darth

    thanks for the super prompt reply and the good idea. I got it working at once with the CD changer thing. I don't actualy have a CD changer, but I do have a soundlinx adaptor that uses the ibus to emulate a cd changer to allow an RCA AUX input. So allowing the adaptor to do the cd emulation, and ibuscomm to do the amp emulation worked a treat....

    however...

    the track names are now displayed for a fraction of a second, before the adaptor takes over and displays "CD 01-" or similar. I would acutally like to remove the ibus capability of that adaptor and just let it do the aux input (it balances the input so I'm keeping it for that). I would rather the ibus is completely managed by the computer as it's more flexibility.

    the msg template is

    [ID:AMP_EMULATE]
    MsgTemplate="C0036801AA"
    Label="AMP Emulation"

    If you could put in a timer subrouting I would love you forever!

    about the display... have you tried to animate it? like scroll the title in or simliar. some track names are a tad too long and are truncated. it would be nice if it scrolled them. I'm actually a programmer and can do this if I'm to learn a bit about VB (I plan to at some point... but then I've planned to for a couple of years now ). It would be super cool to have it also say:

    "Camera in 50m"
    ...
    "Camera in 40m"
    ...
    "Camera in 30m"

    I'm sure the GPS SDK guys can help out with this. the lon/lat can be retreived via the ibus.

  9. #9
    Variable Bitrate Hark's Avatar
    Join Date
    Feb 2005
    Location
    Atlanta, GA USA
    Posts
    440
    Incredible work - I'm going to try to get this to work in my E46. I too would like to try to get it to scroll the text if too wide.

  10. #10
    Low Bitrate DarthTater's Avatar
    Join Date
    Feb 2006
    Location
    Join me and together we shall rule the galaxy as father and spud.
    Posts
    78
    hey sama, give this version a whirl. the toggle is in the .ini - AMPEmulation=true/false.

    Hark, I've got an idea or two for scrolling the text - should have something together in the next few days.
    See my install here:
    540i / 320i Mods

    Get a free and lightweight blog here

    iPhone Hacks

    Thought Soup

Page 1 of 12 1234567891011 ... LastLast

Similar Threads

  1. BMW IBus control for Centrafuse?
    By Hark in forum Centrafuse
    Replies: 22
    Last Post: 02-17-2013, 12:32 PM
  2. BMW multiple IBUS connectors
    By mudilik in forum General Hardware Discussion
    Replies: 6
    Last Post: 03-27-2006, 01:22 AM
  3. BMW iBus interface not working anymore
    By aiml27 in forum RR Bug Tracker
    Replies: 1
    Last Post: 02-21-2006, 11:24 PM
  4. BMW iBus - Any Other Use Other Than Steering Wheel Controls?
    By jmciver in forum General MP3Car Discussion
    Replies: 1
    Last Post: 02-12-2006, 10:26 PM
  5. BMW iBus Users needed!
    By Stevo759 in forum Newbie
    Replies: 12
    Last Post: 02-07-2006, 12:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •