[Success Story] BMW E36 rusEFI PnP #35 [Update 6/1-18]

Your chance to introduce yourself and your vehicle
Post Reply
User avatar
Snake____1
Posts: 37
Joined: Sun Sep 04, 2016 6:05 pm
Location: Norway

BMW E36 rusEFI PnP #35 [Update 6/1-18]

Post by Snake____1 »

Just testing things on my daily "smummer" driver.

I've designed a PnP board that goes inside the orginal ECM box and fits the original connector.

Going to implement bluetooth connection for tablet tuning.

Engine model is a M52B28 :)

UPDATE: 6/1-2018
So a summer later... Sorry for the wait.
I have fixed alot of issues. Corrected the Pinout for alot of components, and re routed some of the sensitive lines...
I have added MAX9926 for stability reasons, added CAM input. "Remember to change the stock M52 sensor to a M50 CAM sensor..."
I have removed the flyback diodes over the injectors because they were causing issues on larger injectors for some reason??? I was using LL4148.
The bluetooth module now sits flush to the board, and the ignition IGBT's are now aligned :) Almost OCD.
Added onboard USB for reliable connection. "Optional"

IMG_20180106_225839.jpg
IMG_20180106_225839.jpg (2.8 MiB) Viewed 16301 times
IMG_20180106_225857.jpg
IMG_20180106_225857.jpg (2.88 MiB) Viewed 16301 times
IMG_20180106_225928.jpg
IMG_20180106_225928.jpg (3.59 MiB) Viewed 16301 times
PCB_Top
PCB_Top
M52v1.04.jpg (236.69 KiB) Viewed 16301 times
Attachments
M52-KICAD.zip
KICAD v4.0.4 Files Including Components
(835.75 KiB) Downloaded 375 times
M52v1.04.zip
Gerbers
(397.85 KiB) Downloaded 348 times
MCUpinout.pdf
MCU Pinouts
(42.77 KiB) Downloaded 334 times
Last edited by Snake____1 on Sat Jan 06, 2018 11:46 pm, edited 5 times in total.
(X) BMW E36 318i M50B50 Turbo (MegaSquirt (KdFI v1.3))
(X) BMW E36 325tds M70B50 (ViPEC V88)
(X) BMW E36 328i M52B28 Turbo (rusEFI PnP @me)
(✓) BMW E36 320i M70B50 (rusEFI project car)
(✓) BMW E46 325Xi M57D30 (daily)
stefanst
contributor
contributor
Posts: 703
Joined: Wed Feb 17, 2016 12:24 am
Location: USA 08530

Re: BMW E36 rusEFI PnP

Post by stefanst »

Beautiful work. Almost makes me want to buy an E36 :)
Do you have any additional I/O integrated? In my experience once you have your custom ECU, you'll soon want it to read/control more stuff.
User avatar
AndreyB
Site Admin
Posts: 14323
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: BMW E36 rusEFI PnP

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Snake____1
Posts: 37
Joined: Sun Sep 04, 2016 6:05 pm
Location: Norway

Re: BMW E36 rusEFI PnP

Post by Snake____1 »

@stefanst
Thankyou. Everything "almost" is connected up to different pins, like ACrequest, EWS "immobilizer", tacho, CANbus and so on. So yes, I think I have everything covered so far. And yet spare pins :)

@russian
No this ECU uses the 88-pin. Maybe its the same as:
http://www.te.com/catalog/pn/en/185785-1


I will keep posting results as they develop. Still waiting for my ignition IGBT's.
(X) BMW E36 318i M50B50 Turbo (MegaSquirt (KdFI v1.3))
(X) BMW E36 325tds M70B50 (ViPEC V88)
(X) BMW E36 328i M52B28 Turbo (rusEFI PnP @me)
(✓) BMW E36 320i M70B50 (rusEFI project car)
(✓) BMW E46 325Xi M57D30 (daily)
User avatar
AndreyB
Site Admin
Posts: 14323
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: BMW E36 rusEFI PnP

Post by AndreyB »

What is this created with - is it KiCad? Are you planning to publish the board files?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: BMW E36 rusEFI PnP

Post by kb1gtt »

Sweet and good job. If you post the files I can offer a review and second set of eyes.

Keep up the good work, and I'm glad to see the brain board getting use.
Welcome to the friendlier side of internet crazy :)
User avatar
Snake____1
Posts: 37
Joined: Sun Sep 04, 2016 6:05 pm
Location: Norway

Re: BMW E36 rusEFI PnP

Post by Snake____1 »

russian wrote:What is this created with - is it KiCad? Are you planning to publish the board files?
No, I'm just using a "hobbyist" program called CopperConnection. If this works out and i fix any upcoming "flaws" I can upload the gerbers, so others can have fun with their BMW's too :D
A little hard to get started with the KiCad, but eventually I'll probably merge over since my program is somewhat limited.
kb1gtt wrote:Sweet and good job. If you post the files I can offer a review and second set of eyes.

Keep up the good work, and I'm glad to see the brain board getting use.
Can't let something like this go to waste 8-) Nice setup with the rusEFI, just missing some "extra" functionalities atm, but as I understand this is a work in progress ;)
Sure I can post the files, I might want to rearrange the ports to resemble the frankenso portmapping tho'...
(X) BMW E36 318i M50B50 Turbo (MegaSquirt (KdFI v1.3))
(X) BMW E36 325tds M70B50 (ViPEC V88)
(X) BMW E36 328i M52B28 Turbo (rusEFI PnP @me)
(✓) BMW E36 320i M70B50 (rusEFI project car)
(✓) BMW E46 325Xi M57D30 (daily)
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: BMW E36 rusEFI PnP

Post by kb1gtt »

Snake____1 wrote:I might want to rearrange the ports to resemble the frankenso portmapping tho'...
Thumbs up from me. I believe that can all be done reasonably easily.

I'll keep my eyes open. Also no worries if it's not 100% as google says, release early release often.
Welcome to the friendlier side of internet crazy :)
User avatar
Snake____1
Posts: 37
Joined: Sun Sep 04, 2016 6:05 pm
Location: Norway

Re: BMW E36 rusEFI PnP

Post by Snake____1 »

And here is the files I've put together this far.

Sorry I saw your design rules after I made this. "1206 is easier to solder tho' :mrgreen: "


This works for all BMW's that use the M52B20, M52B25 and M52B28 engine. This came in 3-series E36, 5-series E39 and 7-series E38.
"Some E39 and E38's communicated with the dash through CANbus thus rpm and ti signals are not needed"
Last edited by Snake____1 on Sat Jan 06, 2018 9:51 pm, edited 1 time in total.
(X) BMW E36 318i M50B50 Turbo (MegaSquirt (KdFI v1.3))
(X) BMW E36 325tds M70B50 (ViPEC V88)
(X) BMW E36 328i M52B28 Turbo (rusEFI PnP @me)
(✓) BMW E36 320i M70B50 (rusEFI project car)
(✓) BMW E46 325Xi M57D30 (daily)
User avatar
AndreyB
Site Admin
Posts: 14323
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: BMW E36 rusEFI PnP

Post by AndreyB »

Are you planning to publish the source files? This case whoever wants can modify your design also.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: BMW E36 rusEFI PnP

Post by kb1gtt »

I should probably rename that PCB design rules to PCB design guide. It's more of a suggestion than a requirement. I was attempting to document the "design intent" as many people do not document things like operating temperature range, etc. I was also attempting to put some guides out there to help multiple people work on one project. A common base expectation can be handy for merging projects.

No worries about seeing the design rules after you spun the board. I'm glad you had a get it done approach.

I'm going to be limited in what I an review and comment about by using the gerbers and BOM. A schematic would be really handy, and the PCB layout files would also be really handy. Right now I have trouble figuring out the track widths, which makes it hard to know voltage drops, heat generated, etc.

I see you changed the track width, and I'm assuming you used some design criteria for selecting track sizes. So I believe your in good shape for you track sizes. I see tracks that could be shorter which would generally decrease the changes of cross coupling signals, decrease the antennas. I also do not see a GND layer, so I'm not quite sure if GND currents are adding to the

In general, I spend more time placing the components that I do in laying the copper traces. It looks like you put significant effort into placing your chips and routing your signals. So that appears to be a good general practice.

A first quick looks this seems to be of reasonably good quality. I believe it would reasonably robust against noise issues, and I believe it can be connected to heat sinks and such which would allow it to function in most normal environments. I might suggest a fuse or small trace, such that if you have a dead short, it burns a trace in a controlled location. This would make it easier to repair if something is wired wrong.

Good job, and keep it up.
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14323
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: BMW E36 rusEFI PnP

Post by AndreyB »

Where are you located by the way?

Looking forward a running video! And I will spam the internet with it just a bit :)

Are there any threads about this boards on any BMW forums? That's the marketing part of me asking obviously.

Update: first video in http://rusefi.com/forum/viewtopic.php?f=4&t=1216#p25119
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14323
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: BMW E36 rusEFI PnP

Post by AndreyB »

russian wrote:Are you planning to publish the source files? This case whoever wants can modify your design also.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Spine
contributor
contributor
Posts: 142
Joined: Fri Sep 04, 2015 10:18 pm
Location: SE Idaho

Re: BMW E36 rusEFI PnP #35

Post by Spine »

Will this also be a direct drop-in for the E46 models? 1995-2001 323i E46 with the M52TUB25? (http://mywikimotors.com/m52b25/)

If so...I wouldn't mind alpha/beta testing!!! ;) ;)
Masakatsu Agatsu - True Victory, Self Victory
User avatar
Snake____1
Posts: 37
Joined: Sun Sep 04, 2016 6:05 pm
Location: Norway

Re: BMW E36 rusEFI PnP #35

Post by Snake____1 »

New update!

Project is ported to KiCAD and is following more of the rusEFI hardware guidelines! :)

Still only a 2-Layer board, 118x145mm. And remember, still only a prototype! :roll:

Managed to keep almost all components on the top side for ease of assembly :mrgreen:
Top render
Top render
M52top.jpg (177.7 KiB) Viewed 17247 times
Bottom render
Bottom render
M52bot.jpg (110.56 KiB) Viewed 17247 times
Last edited by Snake____1 on Sat Jan 06, 2018 9:50 pm, edited 2 times in total.
(X) BMW E36 318i M50B50 Turbo (MegaSquirt (KdFI v1.3))
(X) BMW E36 325tds M70B50 (ViPEC V88)
(X) BMW E36 328i M52B28 Turbo (rusEFI PnP @me)
(✓) BMW E36 320i M70B50 (rusEFI project car)
(✓) BMW E46 325Xi M57D30 (daily)
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: BMW E36 rusEFI PnP #35

Post by kb1gtt »

What KICAD version are you running? I'm on 4.0.5.

I get the below blah issues when I open the file.

Caution about copper flood under the bluetooth module.

Have you tried the F11 key in 4.0.5 yet? That's how you access the push pull router, it's very nice. I switch allot between F9 and F11.

How many amps at 5VA do you expect to get? How high of a voltage surge do you expect to survive?

I like how you fit it on one page. I also like that you got most of the 3D to work. If you need help with getting the connector into 3D, let me know. I can probably help you get that into KICAD 3D.
Attachments
Untitled.png
Untitled.png (31.46 KiB) Viewed 17251 times
Untitled.png
Untitled.png (25.68 KiB) Viewed 17251 times
Welcome to the friendlier side of internet crazy :)
User avatar
Snake____1
Posts: 37
Joined: Sun Sep 04, 2016 6:05 pm
Location: Norway

Re: BMW E36 rusEFI PnP #35

Post by Snake____1 »

kb1gtt wrote:What KICAD version are you running? I'm on 4.0.5.
I'm on version 4.0.4.

Only Issue with the LT1129IST is the pin #4 missing, so this is a modified schematic component. :roll:
(X) BMW E36 318i M50B50 Turbo (MegaSquirt (KdFI v1.3))
(X) BMW E36 325tds M70B50 (ViPEC V88)
(X) BMW E36 328i M52B28 Turbo (rusEFI PnP @me)
(✓) BMW E36 320i M70B50 (rusEFI project car)
(✓) BMW E46 325Xi M57D30 (daily)
User avatar
Snake____1
Posts: 37
Joined: Sun Sep 04, 2016 6:05 pm
Location: Norway

Re: BMW E36 rusEFI PnP #35

Post by Snake____1 »

Spine wrote:Will this also be a direct drop-in for the E46 models? 1995-2001 323i E46 with the M52TUB25? (http://mywikimotors.com/m52b25/)

If so...I wouldn't mind alpha/beta testing!!! ;) ;)
No, this is for the Siemens MS41.0, MS41.1 and MS41.2 DME's. Came in E36, E39 and E38.

But I am considering doing a MS42 build "as this is for M52TUB20, M52TUB25 and M52TUB28 engines for the E46" ;)
Also considering the MS43 as this is for the newer M54 series engines in the E46 lineup.
(X) BMW E36 318i M50B50 Turbo (MegaSquirt (KdFI v1.3))
(X) BMW E36 325tds M70B50 (ViPEC V88)
(X) BMW E36 328i M52B28 Turbo (rusEFI PnP @me)
(✓) BMW E36 320i M70B50 (rusEFI project car)
(✓) BMW E46 325Xi M57D30 (daily)
User avatar
AndreyB
Site Admin
Posts: 14323
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: BMW E36 rusEFI PnP #35 [Update 15/5-17]

Post by AndreyB »

Are there any threads about this on bmw forums? Any more videos?

I would love to use this to advertise rusEfi a bit
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14323
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: BMW E36 rusEFI PnP #35 [Update 15/5-17]

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Snake____1
Posts: 37
Joined: Sun Sep 04, 2016 6:05 pm
Location: Norway

Re: BMW E36 rusEFI PnP #35 [Update 15/5-17]

Post by Snake____1 »

Sorry for the late reply! I'm kind of lazy :mrgreen:
russian wrote:Are you planning to publish the source files? This case whoever wants can modify your design also.

Are there any threads about this on bmw forums? Any more videos?

I would love to use this to advertise rusEfi a bit

Took the liberty to commit this under https://github.com/rusefi/rusefi/tree/master/hardware/Snake____1
Source files updated in first post ^
Nothing on BMW forums, don't have to much time on my hands :lol:
Go for advertisement.
Please update the commit files :geek: Atleast everything is up and working like it should now.

Update 6/1-2018 - Updated the first post with fixes!
(X) BMW E36 318i M50B50 Turbo (MegaSquirt (KdFI v1.3))
(X) BMW E36 325tds M70B50 (ViPEC V88)
(X) BMW E36 328i M52B28 Turbo (rusEFI PnP @me)
(✓) BMW E36 320i M70B50 (rusEFI project car)
(✓) BMW E46 325Xi M57D30 (daily)
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: BMW E36 rusEFI PnP #35 [Update 6/1-18]

Post by kb1gtt »

Sweet and good job. If you would like me to review and comment, let me know, I'd be willing to either publicly or privately make comments. It looks like a nice layout. Keep up the good work.
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14323
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: BMW E36 rusEFI PnP #35 [Update 6/1-18]

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14323
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: BMW E36 rusEFI PnP #35 [Update 6/1-18]

Post by AndreyB »

Has been a while without updates :(
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Post Reply