[Success Story] BMW E36 rusEFI PnP #35 [Update 6/1-18]
- Snake____1
- Posts: 37
- Joined: Sun Sep 04, 2016 6:05 pm
- Location: Norway
BMW E36 rusEFI PnP #35 [Update 6/1-18]
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"
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"
- Attachments
-
- M52-KICAD.zip
- KICAD v4.0.4 Files Including Components
- (835.75 KiB) Downloaded 377 times
-
- M52v1.04.zip
- Gerbers
- (397.85 KiB) Downloaded 350 times
-
- MCUpinout.pdf
- MCU Pinouts
- (42.77 KiB) Downloaded 336 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)
(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)
Re: BMW E36 rusEFI PnP
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.
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.
- AndreyB
- Site Admin
- Posts: 14331
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: BMW E36 rusEFI PnP
Very nice!
Are they using same http://rusefi.com/wiki/index.php?title=Hardware:OEM_connectors#55_pin as on an e30?
Are they using same http://rusefi.com/wiki/index.php?title=Hardware:OEM_connectors#55_pin as on an e30?
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- Snake____1
- Posts: 37
- Joined: Sun Sep 04, 2016 6:05 pm
- Location: Norway
Re: BMW E36 rusEFI PnP
@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.
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)
(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)
- AndreyB
- Site Admin
- Posts: 14331
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: BMW E36 rusEFI PnP
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: BMW E36 rusEFI PnP
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.
Keep up the good work, and I'm glad to see the brain board getting use.
Welcome to the friendlier side of internet crazy
- Snake____1
- Posts: 37
- Joined: Sun Sep 04, 2016 6:05 pm
- Location: Norway
Re: BMW E36 rusEFI PnP
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 toorussian wrote:What is this created with - is it KiCad? Are you planning to publish the board files?
A little hard to get started with the KiCad, but eventually I'll probably merge over since my program is somewhat limited.
Can't let something like this go to waste Nice setup with the rusEFI, just missing some "extra" functionalities atm, but as I understand this is a work in progresskb1gtt 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.
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)
(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)
Re: BMW E36 rusEFI PnP
Thumbs up from me. I believe that can all be done reasonably easily.Snake____1 wrote:I might want to rearrange the ports to resemble the frankenso portmapping tho'...
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
- Snake____1
- Posts: 37
- Joined: Sun Sep 04, 2016 6:05 pm
- Location: Norway
Re: BMW E36 rusEFI PnP
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' "
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"
Sorry I saw your design rules after I made this. "1206 is easier to solder tho' "
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)
(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)
- AndreyB
- Site Admin
- Posts: 14331
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: BMW E36 rusEFI PnP
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: BMW E36 rusEFI PnP
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.
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
- AndreyB
- Site Admin
- Posts: 14331
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: BMW E36 rusEFI PnP
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
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14331
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: BMW E36 rusEFI PnP
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: BMW E36 rusEFI PnP #35
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!!!
If so...I wouldn't mind alpha/beta testing!!!
Masakatsu Agatsu - True Victory, Self Victory
- Snake____1
- Posts: 37
- Joined: Sun Sep 04, 2016 6:05 pm
- Location: Norway
Re: BMW E36 rusEFI PnP #35
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!
Managed to keep almost all components on the top side for ease of assembly
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!
Managed to keep almost all components on the top side for ease of assembly
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)
(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)
Re: BMW E36 rusEFI PnP #35
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.
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 (31.46 KiB) Viewed 17351 times
-
- Untitled.png (25.68 KiB) Viewed 17351 times
Welcome to the friendlier side of internet crazy
- Snake____1
- Posts: 37
- Joined: Sun Sep 04, 2016 6:05 pm
- Location: Norway
Re: BMW E36 rusEFI PnP #35
I'm on version 4.0.4.kb1gtt wrote:What KICAD version are you running? I'm on 4.0.5.
Only Issue with the LT1129IST is the pin #4 missing, so this is a modified schematic component.
(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)
(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)
- Snake____1
- Posts: 37
- Joined: Sun Sep 04, 2016 6:05 pm
- Location: Norway
Re: BMW E36 rusEFI PnP #35
No, this is for the Siemens MS41.0, MS41.1 and MS41.2 DME's. Came in E36, E39 and E38.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!!!
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)
(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)
- AndreyB
- Site Admin
- Posts: 14331
- 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]
Are there any threads about this on bmw forums? Any more videos?
I would love to use this to advertise rusEfi a bit
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14331
- 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]
Took the liberty to commit this under https://github.com/rusefi/rusefi/tree/master/hardware/Snake____1
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- Snake____1
- Posts: 37
- Joined: Sun Sep 04, 2016 6:05 pm
- Location: Norway
Re: BMW E36 rusEFI PnP #35 [Update 15/5-17]
Sorry for the late reply! I'm kind of lazy
Nothing on BMW forums, don't have to much time on my hands
Go for advertisement.
Please update the commit files Atleast everything is up and working like it should now.
Update 6/1-2018 - Updated the first post with fixes!
Source files updated in first post ^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
Nothing on BMW forums, don't have to much time on my hands
Go for advertisement.
Please update the commit files 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)
(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)
Re: BMW E36 rusEFI PnP #35 [Update 6/1-18]
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
- AndreyB
- Site Admin
- Posts: 14331
- 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]
Took the liberty to commit under https://github.com/rusefi/rusefi/tree/master/hardware/M52B28_by_Snake____1
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14331
- 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]
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute