BMW E46 CAN: Difference between revisions
No edit summary |
|||
(50 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
* http://www. | =Installation= | ||
Integrating with the E46 requires just one cable, tapping into the CAN bus data of the E46's instrument cluster. | |||
==Required parts== | |||
[[file:E46_integration_cable.jpg]] | |||
==DIY Cable== | |||
To make your own cable, you'll need the following: | |||
* Crimp tool | |||
* Wire cutter | |||
* Wire stripper | |||
* Philipps screwdriver | |||
* Multimeter | |||
* 22-26 gauge wire | |||
* RJ 45 (Ethernet) cable, ~6ft | |||
* Shrink tubing (optional, electrical tape will work too, but not look as nice) | |||
* [http://www.amazon.com/Posi-tap-Connectors-20-22-Gauge-Wire/dp/B004D0C2RC/ref=sr_1_1?ie=UTF8&qid=1423755810&sr=8-1&keywords=positaps| Posi-tap connectors] (2) - Do *not* cut the CAN wires during this installation, use wire taps (Posi-taps work very well) | |||
* Butt connectors (2) for 22 gauge wire | |||
* Flashlight | |||
* RaceCapture/Pro with Bluetooth | |||
* Android tablet | |||
* An E46 ;) | |||
==Estimated Time== | |||
2-3 hours, depending on level of wiring experience. The most time consuming part is splicing the CAN, power and ground wires into the RJ45 cable. | |||
===RaceCapture/Pro installation (Race / Spec E46)=== | |||
We recommend installing RaceCapture/Pro on the transmission tunnel to the right of the driver's seat. This is near the center of rotation to get the best effect from the on-board IMU (Accelerometer + Gyro) | |||
[[Image:RCP_install_E46.jpg]] | |||
==CAN wires== | |||
The CAN+/CAN- wires are located in 2 places: under the driver's side dash above the footrest or in the DME panel. For these instructions it is assumed you are using the wires under the dash. | |||
CAN wire colors are as follows: | |||
* Yellow/Red = CAN+ (high) | |||
* Yellow/Brown = CAN- (low) | |||
They are a twisted pair in or attached to the main wiring harness under the driver's side dash above the dead pedal. | |||
===Remove bottom of dash=== | |||
You will have to remove the panel below the steering wheel via 3 philipps screws, a plastic thumb screw (turn 90 degrees and pull) behind the pedals and a press fit plastic screw on the transmission tunnel (pull the tiny center pin out first, then the larger screw). | |||
Once you have removed the panel you should see a large wiring harness above the dead pedal. | |||
===Locate CAN wires=== | |||
Look for a twisted pair of wires that are Yellow/Brown and Yellow/Red like so: | |||
[[File:Canwires.jpg|700px]] | |||
Those are the 2 wires you need to *tap* into, not cut. | |||
===Tapping CAN wires=== | |||
To tap into the wires, you'll first need to tease them apart because they are very tightly wound. Peel back some of the black cloth tape wrapping the harness and gently pull the wires apart. This may take some time. You'll want to have enough room for 2 fingers in between the wires. | |||
Tapping the wires via Posi-taps (recommended) is easy. Pull the top off the Positap, place the wire in it and tighten. Verify you've tapped the wire by loosening and checking for a hole in the wire. | |||
[[File:Positaps.png]] | |||
Once you've tapped both it will most likely look like this: | |||
[[File:Can-tapped.jpg|700px]] | |||
===Create CAN wiring for RaceCapture/Pro=== | |||
Now that you've tapped the CAN wires, cut two 6 foot lengths of solid wire, strip both ends and attach one to CAN+ and CAN-. Make sure to label them or you'll have to keep looking under the dash. Yellow/Brown is CAN- and Yellow/Red is CAN+. | |||
Where you run these two wires is dependent on where RaceCapture/Pro is. You can either run them down the driver's side of the car, next to the dead pedal or find a way to route them into the center dash and out below the CD player/HVAC controls. For these instructions we routed them next to the dead pedal, under the floor mat and taped them onto the transmission tunnel next to the driver hidden away. (Our RaceCapture/Pro was installed on the center rear seat) | |||
==Power and ground wiring== | |||
Note: You can skip this section if you already have power wired to RaceCapture/Pro and don't want to change it. | |||
'''RaceCapture/Pro MK1 owners''': do not wire in power or ground via CANx module; connect power via terminal block only. | |||
===Option #1: OBD-II port power=== | |||
Using the same cable used for the CAN bus connection you can tap into power on the OBD-II port, for a clean 4 wire connection: | |||
[[Image:E46_CAN_OBD2_power.png]] | |||
{| class="wikitable" style="text-align:center; width:700px; height:200px;" | |||
|+ BMW E46 power, ground and CAN bus connections to RaceCapture/Pro | |||
|- | |||
! Connection | |||
! BMW | |||
! RaceCapture/Pro (RJ45 cable) | |||
|- | |||
| +12v | |||
| Yellow-Red (OBD-II connector) | |||
| Brown | |||
|- | |||
| Ground | |||
| Brown (OBD-II connector) | |||
| Orange/White | |||
|- | |||
| CAN High | |||
| Yellow/Red | |||
| Orange | |||
|- | |||
| CAN Low | |||
| Yellow/Brown | |||
| Green/White | |||
|} | |||
'''Note:''' These color codes assume EIA-T568B RJ45 cable (check printing on the cable to confirm) | |||
===Option #2: Center arm-rest power=== | |||
An easy and convenient source for power is under the coin holder in the center armrest. Pull the cup holder and coin holder out. Beneath them will be a cloth/foam wrapper containing a cellular phone connector. It contains 12v switched power and ground. Pull it gently towards the back of the car, then up to get more slack. Pull apart the foam to get to the wires. | |||
The 12v wire is purple/white, ground is brown. *Note*: there is also a tan wire that looks very similar to brown. Compare the two and pick the darker one. | |||
===Splice power and ground wires=== | |||
You can tap these wires if needed, for these instructions we cut them. | |||
Cut 2 pieces of solid wire about 3ft long or appropriate length needed. Cut the 12v and ground wires and connect them to the wires you just made. Tape or add shrink tubing as necessary. Label the wires 12v and ground. | |||
[[File:E46powerground.jpg|700px]] | |||
==CAN Bus connection== | |||
In order for RaceCapture/Pro to read CAN data you need to connect the CAN+/CAN- wires to a RJ45 (ethernet cable). | |||
Cut one end off the RJ45 cable and pull apart all the wires. | |||
Identify and label the CAN1 High, CAN1 Low, 12v and ground wires via a multimeter. | |||
For a standard RJ45 cable (EIA T568B) the colors are: | |||
* Orange: CAN1 High | |||
* Green/white: CAN1 Low | |||
* Brown: Power | |||
* Orange/white: Ground | |||
Use the following diagram: | |||
[[File:Canrj45.png]] | |||
You will end up with something that looks like this: | |||
[[File:Rj45labeled.jpg|700px]] | |||
Once you have identified and labeled the wires, strip them and attach to the CAN wires and power/ground wires from the car. RJ45 wires are very thin, you will want to loop them around the thicker wires and add tape or shrink tubing. | |||
==Configure RaceCapture/Pro== | |||
===Set Baud Rate=== | |||
Ensure CAN1 baud rate is set to 500K | |||
[[file:Setup_CAN1_500K_baud.png]] | |||
===E46 CAN bus Preset=== | |||
After wiring is complete, load the E46 CAN preset under Setup / CAN Mapping: | |||
[[file:E46_CAN_preset.png]] | |||
After loading the preset, write the configuration back to RaceCapture. | |||
==Verifying real-time data== | |||
Start the engine, and then navigate to Dashboard / Raw Channels View to verify you are receiving data. | |||
==Additional resources== | |||
* http://aimsportsystems.com.au/download/ecu/stock/bmw/BMW_Mini_100_eng.pdf - AIM docs for e46 M3 CAN codes | |||
* http://www.diyelectriccar.com/forums/showthread.php/my-can-bus-gauge-solution-bmw-84882.html | * http://www.diyelectriccar.com/forums/showthread.php/my-can-bus-gauge-solution-bmw-84882.html | ||
* http://www.beisansystems.com/misc/SEIMENS_MS_420_ENGINE_CONTROL_SYSTEM.pdf | * http://www.beisansystems.com/misc/SEIMENS_MS_420_ENGINE_CONTROL_SYSTEM.pdf | ||
Line 5: | Line 169: | ||
* http://www.gadgetgangster.com/news/54-new-projects/556-the-car-kracker.html | * http://www.gadgetgangster.com/news/54-new-projects/556-the-car-kracker.html | ||
* http://www.reslers.de/IBUS/index.html | * http://www.reslers.de/IBUS/index.html | ||
* http://www.bimmerforums.com/forum/showthread.php?1887229-E46-Can-bus-project | |||
* http://forum.e46fanatics.com/showpost.php?p=15754605&postcount=5 |
Latest revision as of 16:03, 31 August 2022
Installation
Integrating with the E46 requires just one cable, tapping into the CAN bus data of the E46's instrument cluster.
Required parts
DIY Cable
To make your own cable, you'll need the following:
- Crimp tool
- Wire cutter
- Wire stripper
- Philipps screwdriver
- Multimeter
- 22-26 gauge wire
- RJ 45 (Ethernet) cable, ~6ft
- Shrink tubing (optional, electrical tape will work too, but not look as nice)
- Posi-tap connectors (2) - Do *not* cut the CAN wires during this installation, use wire taps (Posi-taps work very well)
- Butt connectors (2) for 22 gauge wire
- Flashlight
- RaceCapture/Pro with Bluetooth
- Android tablet
- An E46 ;)
Estimated Time
2-3 hours, depending on level of wiring experience. The most time consuming part is splicing the CAN, power and ground wires into the RJ45 cable.
RaceCapture/Pro installation (Race / Spec E46)
We recommend installing RaceCapture/Pro on the transmission tunnel to the right of the driver's seat. This is near the center of rotation to get the best effect from the on-board IMU (Accelerometer + Gyro)
CAN wires
The CAN+/CAN- wires are located in 2 places: under the driver's side dash above the footrest or in the DME panel. For these instructions it is assumed you are using the wires under the dash.
CAN wire colors are as follows:
- Yellow/Red = CAN+ (high)
- Yellow/Brown = CAN- (low)
They are a twisted pair in or attached to the main wiring harness under the driver's side dash above the dead pedal.
Remove bottom of dash
You will have to remove the panel below the steering wheel via 3 philipps screws, a plastic thumb screw (turn 90 degrees and pull) behind the pedals and a press fit plastic screw on the transmission tunnel (pull the tiny center pin out first, then the larger screw).
Once you have removed the panel you should see a large wiring harness above the dead pedal.
Locate CAN wires
Look for a twisted pair of wires that are Yellow/Brown and Yellow/Red like so:
Those are the 2 wires you need to *tap* into, not cut.
Tapping CAN wires
To tap into the wires, you'll first need to tease them apart because they are very tightly wound. Peel back some of the black cloth tape wrapping the harness and gently pull the wires apart. This may take some time. You'll want to have enough room for 2 fingers in between the wires.
Tapping the wires via Posi-taps (recommended) is easy. Pull the top off the Positap, place the wire in it and tighten. Verify you've tapped the wire by loosening and checking for a hole in the wire.
Once you've tapped both it will most likely look like this:
Create CAN wiring for RaceCapture/Pro
Now that you've tapped the CAN wires, cut two 6 foot lengths of solid wire, strip both ends and attach one to CAN+ and CAN-. Make sure to label them or you'll have to keep looking under the dash. Yellow/Brown is CAN- and Yellow/Red is CAN+.
Where you run these two wires is dependent on where RaceCapture/Pro is. You can either run them down the driver's side of the car, next to the dead pedal or find a way to route them into the center dash and out below the CD player/HVAC controls. For these instructions we routed them next to the dead pedal, under the floor mat and taped them onto the transmission tunnel next to the driver hidden away. (Our RaceCapture/Pro was installed on the center rear seat)
Power and ground wiring
Note: You can skip this section if you already have power wired to RaceCapture/Pro and don't want to change it.
RaceCapture/Pro MK1 owners: do not wire in power or ground via CANx module; connect power via terminal block only.
Option #1: OBD-II port power
Using the same cable used for the CAN bus connection you can tap into power on the OBD-II port, for a clean 4 wire connection:
Connection | BMW | RaceCapture/Pro (RJ45 cable) |
---|---|---|
+12v | Yellow-Red (OBD-II connector) | Brown |
Ground | Brown (OBD-II connector) | Orange/White |
CAN High | Yellow/Red | Orange |
CAN Low | Yellow/Brown | Green/White |
Note: These color codes assume EIA-T568B RJ45 cable (check printing on the cable to confirm)
Option #2: Center arm-rest power
An easy and convenient source for power is under the coin holder in the center armrest. Pull the cup holder and coin holder out. Beneath them will be a cloth/foam wrapper containing a cellular phone connector. It contains 12v switched power and ground. Pull it gently towards the back of the car, then up to get more slack. Pull apart the foam to get to the wires.
The 12v wire is purple/white, ground is brown. *Note*: there is also a tan wire that looks very similar to brown. Compare the two and pick the darker one.
Splice power and ground wires
You can tap these wires if needed, for these instructions we cut them.
Cut 2 pieces of solid wire about 3ft long or appropriate length needed. Cut the 12v and ground wires and connect them to the wires you just made. Tape or add shrink tubing as necessary. Label the wires 12v and ground.
CAN Bus connection
In order for RaceCapture/Pro to read CAN data you need to connect the CAN+/CAN- wires to a RJ45 (ethernet cable).
Cut one end off the RJ45 cable and pull apart all the wires.
Identify and label the CAN1 High, CAN1 Low, 12v and ground wires via a multimeter.
For a standard RJ45 cable (EIA T568B) the colors are:
- Orange: CAN1 High
- Green/white: CAN1 Low
- Brown: Power
- Orange/white: Ground
Use the following diagram:
You will end up with something that looks like this:
Once you have identified and labeled the wires, strip them and attach to the CAN wires and power/ground wires from the car. RJ45 wires are very thin, you will want to loop them around the thicker wires and add tape or shrink tubing.
Configure RaceCapture/Pro
Set Baud Rate
Ensure CAN1 baud rate is set to 500K
E46 CAN bus Preset
After wiring is complete, load the E46 CAN preset under Setup / CAN Mapping:
After loading the preset, write the configuration back to RaceCapture.
Verifying real-time data
Start the engine, and then navigate to Dashboard / Raw Channels View to verify you are receiving data.
Additional resources
- http://aimsportsystems.com.au/download/ecu/stock/bmw/BMW_Mini_100_eng.pdf - AIM docs for e46 M3 CAN codes
- http://www.diyelectriccar.com/forums/showthread.php/my-can-bus-gauge-solution-bmw-84882.html
- http://www.beisansystems.com/misc/SEIMENS_MS_420_ENGINE_CONTROL_SYSTEM.pdf
- http://www.bmwtech.ru/pdf/e46/ST034/2%20Driver%20Information%20Internet-1.pdf
- http://www.gadgetgangster.com/news/54-new-projects/556-the-car-kracker.html
- http://www.reslers.de/IBUS/index.html
- http://www.bimmerforums.com/forum/showthread.php?1887229-E46-Can-bus-project
- http://forum.e46fanatics.com/showpost.php?p=15754605&postcount=5