Total resistance of the circuit is approx 60 ohm (measured)īoth the CAN SHIELD and CON unit are sharing a ground.ĬAN SHIELD is powered via USB (Does this need to share the 12VIN?) The CON unit is getting 12V across the VIN & GND, voltage from CANH to GND is 0.9 volt, CANL to GND is 0.9 volt. I have created a new breadboard circuit with 120 Ohm at each end of a loop, cut the 60 odd ohm resistor line on the CAN-SHIELD & tried again. The CON unit had no resistor fitted across CANH & CANL, thus must be fitted OEM as a stub from the CANBUS. This would all suggest that the controller is sending something out, but the monitor can't see it.Īny ideas or help would be greatly appreciatedĪnybody? please. Also, If I setup the iDrive controller and run a LED back to ground via CANH, the LED lights up for 9 seconds when any button is pressed (Except for CW, CCW, Left, Right, Up or Down which don't light up). If I setup an analog read sketch and run the CANH wires via A0, I do pick up voltage ups & downs when buttons are pressed. The CAN Shield and Arduino register nothing. However I am not getting any data at all via the serial monitor. With that said, and the Arduino UNO plugged into my mac via USB, the serial logger registers "8}" followed by the "CAN BUS Shield init ok!" message expected from the program, although I'm not sure what the "8}" is all about. I then have two additional cables connecting CANH & CANL from the iDrive controller to the D-Sub port. Wiring wise, I have a 12v 1A power supply feeding a breadboards +/- rails, with the iDrive controller taking a VIN & GND, swell as the D-Sub Pins taking a VIN & GND. I have installed the libraries from github and uploaded the CAN receive check sketch. I also have the Seeedstudio CAN Shield v1.0. The vehicle is obviously CAN enabled and from my research that I have gathered so far that the module is "CON", it is on the K-CAN which runs 100 kbps and potentially, the node is 4E7 or 5E7 All it needs to do is give out its 14 signals to do something (Media, Menu, Tel, Nav, Radio, Knob depress, Left, right, up, down, clockwise, anti clockwise, back and option) I have a 2013 BMW 3 series iDrive controller (the one with Media, Nav, Menu, Radio & Tel on the front face) which will fit in the proper recess in my centre console that I would like to use as the controller for the tablet. Stumbling block is my desired method for input. Also have the Arduino (have Leonardo, Uno & HC-05) able to send key codes to the tablet to do what I want them to do using external push buttons. Ive got a tablet sorted, got Tasker & all of its commands sorted. My current project (I'm a mechanical engineer by trade, and enjoy this kinda stuff) is to replace the dash storage bin with a 7" Android tablet as a media centre. I purchased a new 2014 E89 BMW Z4 recently without iDrive. Ive only been playing with these for a week now.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |