Not joined yet? Register for free and enjoy features such as alerts, private messaging and viewing latest posts and topics.

Anyone interested in an iDrive Arduino project I'm working on?

Discuss anything non Z4 related here
User avatar
IAmOrion
Senior Member
Senior Member
Posts: 1611
Joined: Mon May 22, 2017 8:29 pm
Location: Cambridge, UK

Anyone interested in an iDrive Arduino project I'm working on?

Post by IAmOrion » Mon Jul 30, 2018 5:37 pm

As per title, anyone interested in an iDrive Arduino project I'm working on? (By interested, I mean, has an interest in it, would like to share info or learn - not a sales pitch to sell anything lol) Long story short, I'm thinking of different things I can have in my Z4, or potentially other vehicle. I started the project more out of curiosity but am now thinking how I could incorporate it into my E85. Although at the same time, I may not use it in the Z because no idea where it would go (Plus I'd need to design and 3D Print a frame/surround for it)

Anyways, currently I have it working as Bluetooth HID module, by combining an Adafruit Feather Bluefruit 32u4, and a custom Can-Bus shield
IMG_0086.jpg
IMG_0086.jpg (199.44 KiB) Viewed 4965 times
IMG_0087.jpg
IMG_0087.jpg (149.8 KiB) Viewed 4965 times
The can-bus shield uses a TJA1055 SOIC (currently on a SOIC 14 to 2.54mm Adapter) and an MCP2515 I/P

I still have some work left to do on it - the iDrive that only goes left/right (Only has 5 buttons) works PERFECTLY.

The other 2 I'm still working on... they *almost* work perfectly. The non-touch one doesn't recognise rotation yet but everything else works. I do however have my suspicions atm that something is broken and that's why the rotary isn't working.

The touch controller also *almost* works perfectly. All buttons and joystick movements work. I haven't decoded touch can ids etc yet, and also rotary doesn't work - but some inits changed I think...I'm still looking into it.

5 button version uses 100KBPS Can
The other 2 use 500KBPS

There's no section really for this kind of projects on this forum (although it's pretty niche I guess)
NO LONGER OWN A Z4 SO NOT AS ACTIVE HERE ANYMORE (IF AT ALL).
I STILL OFFER FREE CARLY CODING & EWS KEY/TRANSPONDER CODING AT MY HOME
IN CAMBRIDGE CB22

Facebook: https://www.facebook.com/groups/Z4DIYCustomMods/

firebobby
Lifer
Lifer
Posts: 9537
Joined: Sat Jun 13, 2015 9:09 am
Location: South west Buckinghamshire

Anyone interested in an iDrive Arduino project I'm working on?

Post by firebobby » Mon Jul 30, 2018 6:01 pm

I have no idea what your on about, but it's great that we have people like you on the forum who tinker with bits and bobs. Good on you and I hope it works out...what ever it is that your trying to do :wink:
BMW Z4 30i 2003 auto 107's Whippy Toledo Blue
Beige M sport seats, wood dash
Toyota MR2 NA 1995
Triumph GT6 1972 (project)
Land Rover Discovery 1994 TDI (Tow car)
Mini 1000 1981

User avatar
IAmOrion
Senior Member
Senior Member
Posts: 1611
Joined: Mon May 22, 2017 8:29 pm
Location: Cambridge, UK

Anyone interested in an iDrive Arduino project I'm working on?

Post by IAmOrion » Mon Jul 30, 2018 6:07 pm

firebobby wrote: Mon Jul 30, 2018 6:01 pm I have no idea what your on about, but it's great that we have people like you on the forum who tinker with bits and bobs. Good on you and I hope it works out...what ever it is that your trying to do :wink:
haha, thanks :)

I'll make a little video at some point so it makes sense. But basically, it's using an iDrive controller as seen on the pic, as a bluetooth keyboard / mouse for Android/iPhone etc etc :)
NO LONGER OWN A Z4 SO NOT AS ACTIVE HERE ANYMORE (IF AT ALL).
I STILL OFFER FREE CARLY CODING & EWS KEY/TRANSPONDER CODING AT MY HOME
IN CAMBRIDGE CB22

Facebook: https://www.facebook.com/groups/Z4DIYCustomMods/

firebobby
Lifer
Lifer
Posts: 9537
Joined: Sat Jun 13, 2015 9:09 am
Location: South west Buckinghamshire

Anyone interested in an iDrive Arduino project I'm working on?

Post by firebobby » Mon Jul 30, 2018 8:31 pm

IAmOrion wrote: Mon Jul 30, 2018 6:07 pm
firebobby wrote: Mon Jul 30, 2018 6:01 pm I have no idea what your on about, but it's great that we have people like you on the forum who tinker with bits and bobs. Good on you and I hope it works out...what ever it is that your trying to do :wink:
haha, thanks :)

I'll make a little video at some point so it makes sense. But basically, it's using an iDrive controller as seen on the pic, as a bluetooth keyboard / mouse for Android/iPhone etc etc :)
Nah, still none the wiser :rofl:
BMW Z4 30i 2003 auto 107's Whippy Toledo Blue
Beige M sport seats, wood dash
Toyota MR2 NA 1995
Triumph GT6 1972 (project)
Land Rover Discovery 1994 TDI (Tow car)
Mini 1000 1981

john-e89
Lifer
Lifer
Posts: 11057
Joined: Tue Feb 10, 2015 10:27 pm

Anyone interested in an iDrive Arduino project I'm working on?

Post by john-e89 » Mon Jul 30, 2018 8:37 pm

firebobby wrote: Mon Jul 30, 2018 6:01 pm I have no idea what your on about, but it's great that we have people like you on the forum who tinker with bits and bobs. Good on you and I hope it works out...what ever it is that your trying to do :wink:
I’m with you Fred, he may as well write in Japanese..... :oops:
M roady...OEM CSL’s, strut brace, Remus back boxes, ZHP
MR2 MK 2
E89 35i project car...mapped 365bhp, M4 stoppers & wheels, KWV3’s, H&R front ARB, M3 front arms, strut brace Eisenmann cat back race exhaust, VRSF downpipes inbound
E89 35is
G29

User avatar
IAmOrion
Senior Member
Senior Member
Posts: 1611
Joined: Mon May 22, 2017 8:29 pm
Location: Cambridge, UK

Anyone interested in an iDrive Arduino project I'm working on?

Post by IAmOrion » Mon Aug 06, 2018 12:28 am

Video finally uploaded

NO LONGER OWN A Z4 SO NOT AS ACTIVE HERE ANYMORE (IF AT ALL).
I STILL OFFER FREE CARLY CODING & EWS KEY/TRANSPONDER CODING AT MY HOME
IN CAMBRIDGE CB22

Facebook: https://www.facebook.com/groups/Z4DIYCustomMods/

dazq
Newbie
Newbie
Posts: 1
Joined: Thu Oct 25, 2018 1:15 am

Anyone interested in an iDrive Arduino project I'm working on?

Post by dazq » Thu Oct 25, 2018 1:18 am

Hi, I am working on s similar project with the same idrive knob unit,

I have all accept the rotary working , would you mind sharing the code you wrote that you used?

Much thanks in advance

User avatar
IAmOrion
Senior Member
Senior Member
Posts: 1611
Joined: Mon May 22, 2017 8:29 pm
Location: Cambridge, UK

Anyone interested in an iDrive Arduino project I'm working on?

Post by IAmOrion » Thu Oct 25, 2018 1:22 am

dazq wrote: Thu Oct 25, 2018 1:18 am Hi, I am working on s similar project with the same idrive knob unit,

I have all accept the rotary working , would you mind sharing the code you wrote that you used?

Much thanks in advance
You need to send a 0x273 command to Init the rotary. It should respond with 0x277

What are you using with yours? What’s your hardware setup out of curiosity?
NO LONGER OWN A Z4 SO NOT AS ACTIVE HERE ANYMORE (IF AT ALL).
I STILL OFFER FREE CARLY CODING & EWS KEY/TRANSPONDER CODING AT MY HOME
IN CAMBRIDGE CB22

Facebook: https://www.facebook.com/groups/Z4DIYCustomMods/

Z35is
Newbie
Newbie
Posts: 2
Joined: Mon Oct 29, 2018 12:00 am

Anyone interested in an iDrive Arduino project I'm working on?

Post by Z35is » Mon Oct 29, 2018 12:16 am

I am interested - just starting a project on BMW communications and came over your tread while googling for shields using the 1055 or 1054 chips since there are too many pins to close to each other to solder by hand :o .... I need to improve my KCAN reading capability as I am just playing on the PT-CAN and FCAN at this time.....
I have a question ... who - module - sends 0x273? and as a result of what preceding action?
And, is there anything I can help with ?

User avatar
IAmOrion
Senior Member
Senior Member
Posts: 1611
Joined: Mon May 22, 2017 8:29 pm
Location: Cambridge, UK

Anyone interested in an iDrive Arduino project I'm working on?

Post by IAmOrion » Mon Oct 29, 2018 12:29 am

Z35is wrote: Mon Oct 29, 2018 12:16 am I have a question ... who - module - sends 0x273? and as a result of what preceding action?
And, is there anything I can help with ?
Help with.... no, I've completed my project now :lol: I made my own CANBus shield for the Adafruit Feather M0 BLE
IMG_0162.jpeg
IMG_0162.jpeg (210.37 KiB) Viewed 4717 times
IMG_0215.jpeg
IMG_0215.jpeg (145.26 KiB) Viewed 4717 times
The TJA1050 is no good as you need the circuit to be fault tolerant, and like you say the TJA1054/1055 are TSOP only, but you can actually do what you need with MCP2515 and MCP2551. You can see from my PCB that I designed it to use THT (Through Hole) instead of SMD mainly because it's so much easier to solder and there was enough room to do so anyways.

My reference regarding 0x273 is for the can controller to send that CAN ID to the iDrive unit to initialise the rotary. The unit will respond with 0x277
NO LONGER OWN A Z4 SO NOT AS ACTIVE HERE ANYMORE (IF AT ALL).
I STILL OFFER FREE CARLY CODING & EWS KEY/TRANSPONDER CODING AT MY HOME
IN CAMBRIDGE CB22

Facebook: https://www.facebook.com/groups/Z4DIYCustomMods/

Z35is
Newbie
Newbie
Posts: 2
Joined: Mon Oct 29, 2018 12:00 am

Anyone interested in an iDrive Arduino project I'm working on?

Post by Z35is » Mon Oct 29, 2018 3:34 pm

Thanks - interesting... One only makes a PCB when one has is a product on the go so hopefully you are on a good path :)
MPC2551 only does ISO 11898-2 High Speed ... that's PT and F-CAN in the E89 series cars. I am after the K-CAN and that's ISO 11898-3 Low Speed. Dominant and Recessive voltages don't quite align between the standards....slowly I am getting there ! Today at least I was able to find some of those ARIES TSOP to DIP adapters like you used.

warmasice
Member
Member
Posts: 877
Joined: Sun Apr 26, 2015 7:16 pm

Anyone interested in an iDrive Arduino project I'm working on?

Post by warmasice » Mon Oct 29, 2018 3:47 pm

Does anyone have a clue what's going on? :rofl:
Image

User avatar
IAmOrion
Senior Member
Senior Member
Posts: 1611
Joined: Mon May 22, 2017 8:29 pm
Location: Cambridge, UK

Anyone interested in an iDrive Arduino project I'm working on?

Post by IAmOrion » Mon Oct 29, 2018 3:51 pm

warmasice wrote: Mon Oct 29, 2018 3:47 pm Does anyone have a clue what's going on? :rofl:
I do! :P :D :wink:
NO LONGER OWN A Z4 SO NOT AS ACTIVE HERE ANYMORE (IF AT ALL).
I STILL OFFER FREE CARLY CODING & EWS KEY/TRANSPONDER CODING AT MY HOME
IN CAMBRIDGE CB22

Facebook: https://www.facebook.com/groups/Z4DIYCustomMods/

User avatar
ronk
Lifer
Lifer
Posts: 14221
Joined: Tue Feb 24, 2009 11:50 am
Location: Durham

Anyone interested in an iDrive Arduino project I'm working on?

Post by ronk » Mon Oct 29, 2018 11:08 pm

This is black magic / voodoo to me!
Clever stuff :thumbsup:
You don't stop playing when you get old - You get old when you stop playing!
So I bought a 35is with all the toys to play with. :thumbsup:

User avatar
shawna
Senior Member
Senior Member
Posts: 1242
Joined: Tue Oct 23, 2012 7:22 am
Location: Cambridgeshire

Anyone interested in an iDrive Arduino project I'm working on?

Post by shawna » Tue Oct 30, 2018 7:01 am

So can we now buy it, rip out the sh***y screen and install a proper LED screen with full control? :D

Post Reply