1997 Volvo 850 with B5204T engine

Your chance to introduce yourself and your vehicle
Post Reply
User avatar
DrahtFahrzeugHammer
Posts: 17
Joined: Wed Jul 23, 2025 9:07 am
Location: Bavaria, Germany
Github Username: DrahtFahrzeugHammer

1997 Volvo 850 with B5204T engine

Post by DrahtFahrzeugHammer »

Hi everybody,

I am new to this forum but have been interested in rusEFI for a couple of years. Until now i didn't have a specific reason to use it. That changed just this week, as i blew up the engine in my engine swapped Volvo 850 from 1997. The engine came out of a 1996 Volvo 850 T5. On one of the first test drives, due to lean burn conditions, while trying a unknown Bosch Motronic 4.4 ECM from a later Volvo V70 model one of the cylinders overheated and the piston failed. This week i have been debating what to do about that and aquired a new to me B5204T4 engine out of a V70 Volvo from about 2006. The issue with that is, that the engine is slightly different to the previous one, but the block is prety similar. One option would have been to change the head, but i am unsure if the head of the blown motor is ok. And i like the idea of individual ignition coils instead of the distributer on the new engine. But the wiring loom obviously doesn't work for that now.

So i have come to the conclusion that i want to install the RusEFI. Now comes the issue of money. As i am a student right now i am on a tight budget, so i would like to the uaEFI directly from JLCPCB and distribute the other 4 ECUs to other people.

My final goal is a PnP ECU that replaces the stock Fenix/Motronic ECU in the late 90s models of volvo 5 cylinder engines, but i still have to learn quite a bit until then about pcb design. Plan is also to make that design open source once done.

A few questions i have:
1. The engine has two Knock sensors, one on cylinder 2 and one on cylinder 4, but uaEFI only has one input. Could i modify the board layout to use one of the auxilary analog input for the other one, adding the knock circuit to it?
2. When looking into question 1. i noticed that the VR Input is connected to the same Analog3 pin as the Knock sensor through resistors. What is this about?
3. Befor designing a PCB i think it would be a better option to try making the uaEFI work to get familiar with the whole rusEFI ecosystem. What is your take on that?

Looking forward to hearing your opinion,
Sebastian
User avatar
mpgmike
Posts: 72
Joined: Thu Aug 15, 2024 2:49 pm
Location: Oklahoma, USA

Re: 1997 Volvo 850 with B5204T engine

Post by mpgmike »

Knock input is a dedicated input on D14, while your VR inputs are C16 through C19. Not sure about the rest of your questions, but at least there is one dedicated knock input, and it's not in conflict with VR inputs.
'95 Jeep Grand Cherokee, 4.6 Stroker
User avatar
DrahtFahrzeugHammer
Posts: 17
Joined: Wed Jul 23, 2025 9:07 am
Location: Bavaria, Germany
Github Username: DrahtFahrzeugHammer

Re: 1997 Volvo 850 with B5204T engine

Post by DrahtFahrzeugHammer »

So if i understand the circuit in the image correctly R5 is not placed, but R6 is 0 Ohms. Meaning you can disable Knock to utilize VR_Discrete?
image.png
The image is from the uaEFI Schematic
You do not have the required permissions to view the files attached to this post.
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: 1997 Volvo 850 with B5204T engine

Post by AndreyB »

No.
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
DrahtFahrzeugHammer
Posts: 17
Joined: Wed Jul 23, 2025 9:07 am
Location: Bavaria, Germany
Github Username: DrahtFahrzeugHammer

Re: 1997 Volvo 850 with B5204T engine

Post by DrahtFahrzeugHammer »

What is that supposed to do then?
User avatar
DrahtFahrzeugHammer
Posts: 17
Joined: Wed Jul 23, 2025 9:07 am
Location: Bavaria, Germany
Github Username: DrahtFahrzeugHammer

Re: 1997 Volvo 850 with B5204T engine

Post by DrahtFahrzeugHammer »

Some progress has been made:

I ordered and received 5 Proteus and Volvo adapter boards for the Volvo ECU connector and am currently in the process of figuring out the wiring.

ECU_Adapter_Board+Proteus.jpg

Does someone know if you can still get only the connector for those ECUs? The female connector is separated into two pieces with the same pin count of 43 pins. As far as i know this connector has been used on all 90s Volvo 850s and V70s with different ECUs, for example the Bosch Motronic 4.3 and 4.4 as well as some Siemens ECU. It was probably also used on some other models.
Here are Pictures of the ECU with connector In this case it was a Bosch Motronic 4.3:

ECU_Connector_Front.jpg
ECU_Label.jpg
ECU_Top.jpg
ECU_Bottom.jpg

I will keep this page updated with the progress i make
You do not have the required permissions to view the files attached to this post.
User avatar
DrahtFahrzeugHammer
Posts: 17
Joined: Wed Jul 23, 2025 9:07 am
Location: Bavaria, Germany
Github Username: DrahtFahrzeugHammer

Re: 1997 Volvo 850 with B5204T engine

Post by DrahtFahrzeugHammer »

The engine i am putting into the car has 4-wire coil on plugs from Bosch, Serial No.: 0 221 604 008. It can also be found as Volvo 9125601.

This is the wiring diagram i could find for that car:
image.png
If i understand it correctly and from the research i have done pin 4 is for 12V power, 3 is for power ground, 1 is for driving the coil and 2 is for feedback?

As i am running a proteus board is there any way or reason to connect pin 2 for the feedback? Do i connect it to sensor-ground or just leave it floating?

Cheers
Sebastian
You do not have the required permissions to view the files attached to this post.
User avatar
mpgmike
Posts: 72
Joined: Thu Aug 15, 2024 2:49 pm
Location: Oklahoma, USA

Re: 1997 Volvo 850 with B5204T engine

Post by mpgmike »

You probably have an early version of the Ionic Feedback coils. It was used to detect misfires. I wasn't aware that they (pin #2) were all ganged together into a single ECU input. When a plug fires AND IGNITES THE A/F CHARGE, the pathway between the spark plug electrodes becomes somewhat conductive. The ECU measures the conductivity to determine if the plug actually fired the charge. I believe Volvo's executable was that if there was a misfire, the ECU would fire the coil a second time to at least mitigate emissions.
'95 Jeep Grand Cherokee, 4.6 Stroker
User avatar
DrahtFahrzeugHammer
Posts: 17
Joined: Wed Jul 23, 2025 9:07 am
Location: Bavaria, Germany
Github Username: DrahtFahrzeugHammer

Re: 1997 Volvo 850 with B5204T engine

Post by DrahtFahrzeugHammer »

Thank you for that information. I guess i just leave that pin disconnected.

Judging by your statement this is not supported by RusEFI yet? Would the proteus hardware be able to do that at all?
From how i understand it you would need to measure current between pin2 and ground? Or does one measure the voltage?
User avatar
kb1gtt
contributor
contributor
Posts: 3777
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: 1997 Volvo 850 with B5204T engine

Post by kb1gtt »

I don't think there is software to do anything with the feedback. I'm also not sure the potential of voltage spikes on that pin. I would guess this was originally connected to a ADC on an MCU. So perhaps ~10k ohm to GND. I'd wire like the schematic then to emulate the OEM ECU 10k to GND. If you think software might happen then perhaps consider putting that to an MCU pin. But for now I'd just wire it via 10k to GND and see if it seems to work.
Welcome to the friendlier side of internet crazy :)
User avatar
DrahtFahrzeugHammer
Posts: 17
Joined: Wed Jul 23, 2025 9:07 am
Location: Bavaria, Germany
Github Username: DrahtFahrzeugHammer

Re: 1997 Volvo 850 with B5204T engine

Post by DrahtFahrzeugHammer »

Turns out if i just went two pages further in the wiring diagram i would have had the answer to my question about connection:
Schaltplan_Zuendspulen_B5204T5.PNG
The distinction between the two diagrams is NA engine for the first one i posted and Turbo for this one, so this one actually corresponds to the setup i have (more than the other at least)

I have already completed the wiring with the wires conecting together within the harnes and then going to the ecu, where i have it floating. If there is thoughts in the future about supporting that i can be a test bed (probably)

Tomorrow i will attempt to start the car after checking everything over electrically again.
You do not have the required permissions to view the files attached to this post.
User avatar
DrahtFahrzeugHammer
Posts: 17
Joined: Wed Jul 23, 2025 9:07 am
Location: Bavaria, Germany
Github Username: DrahtFahrzeugHammer

Re: 1997 Volvo 850 with B5204T engine

Post by DrahtFahrzeugHammer »

Good News! I got the engine running. After a few hickups. Took me quite a while to find all the issues with the wiring and calibrating all the sensors. Then had issues with finding TDC due to the lack of a timing gun. Made it work with a SMD LED and a switch to the 5V trigger for Coil 1.

Tune and Log of the engine running can be found here:
https://rusefi.com/online/index.php?vehicleName=Wovlov&user_id=2658&sorts[uploadedMsq]=-1&sorts[uploadedLog]=-1
Video of first start will follow soon, as i will upload it to YouTube. (Yes it was the first start, even if it seems to run quite well)

A couple of issues /weirdness:
  • the Bosch Quick start wheel seems to be spinning backwards compared to what it is supposed to look like here
    this is what i get:
    2025-09-12_21_01_27_877rpm_1198_maf_6.0.png

    which probably explains, why it is doing wasted spark, even though that option is not turned on?

    EDIT: i was looking through my images yesterday and found this picture of the trigger wheel on the exhaust cam: It looks just like the bosch quick start displayed on the supported triggers page, but it doesn`t spin clockwise, but counterclockwise:
    Triggerrad_Nockenwelle_B5204T5.jpg
  • It is running way too lean. Lamda tops out at 2 and sits around 1.6 idling even with the VE table cells there cranked up to 130(As can be seen in the logs). I guess i will have to find out what parameters i got wrong. The O2 sensor should be fine, i tested it with the exhaust of my motocycle and there it showed Lambda 0.9, just as it was adjusted with another O2 sensor a while ago. I am using mck1117's standalone module with carrier board btw.
    I would very much appreciate some pointers to save me a bit of time

    Edit: It is probably the MAP sensor being set up wrong. I calibrated it with atmospheric pressure at 96kPa and tested with the tire pressure gauge on shop air for 200kPa absolute (1 bar relative) and 300kPa (2 bar relative) and it seemed fine. But reviewing the logs, going down to 2 kPa seems a bit unlikely. I will do more tests with that later
  • Somehow i have to figure out how to get the tachometer and engine temp gauges to work on the dash. Any tips? The gauges seem to be controlled by a microcontroller. As a pointer the stock ECU was a Bosch Motronic 4.3
But other than that i am quite impressed so far. Sure, it is a lot of work, but if one is thorough it works quite well from the getgo. TunerStudio is not the best software, and some better options for testing outputs would be nice (i used LUA for a few of them), but that might just be F4 proteus boards?
You do not have the required permissions to view the files attached to this post.
Last edited by DrahtFahrzeugHammer on Sun Sep 14, 2025 9:18 am, edited 2 times in total.
User avatar
DrahtFahrzeugHammer
Posts: 17
Joined: Wed Jul 23, 2025 9:07 am
Location: Bavaria, Germany
Github Username: DrahtFahrzeugHammer

Re: 1997 Volvo 850 with B5204T engine

Post by DrahtFahrzeugHammer »

Update on the issue with high VE table numbers: I changed the calibration of the map sensor. It is not what the datasheet of the sensor suggests, neiter the settings i got through testing, but something in between. the MAP values are therefore not representative of the actual pressure in the manifold, but should be in the ballpark. As my setup is quite unique and cannot be found like that stock, and is very unlikely to be done like that (except maybe on the original car this engine is from, where the B5204T5 is originally mounted, somewhere between 2000 and 2007 in V70s or S80s) i will just make due with that and just tune with those wrong values. That means i have to redo the whole tuning if i decide to get the proper MAP values, but that is a bridge i am going to build later.

PS.: here is an image of the rats nest of a adapter board and the custom case i made to fit the stock ECU box. The picture is not from how it is right now, but prety close. Additionally the original ECU connector is not propperly pressed into the plug, so i will have to see if i will have some issues with losing connection due to vibrations. More images to come soon. I was mainly focusing on getting the car on the road. Now comes documentation and networking
Rats nest:
Rattennest_Proteus_Adapter.jpg
Custom case:
Custom_Case.jpg
If there is interest, i will put it on printables or on github. I can also print them and send them, with the necessary hardware, the quality would not be the best at the moment, as my printer is not too well set up, because it is good enough for what i usually need

A picture i made while modifying the stupidly expensive exhaust (exhaust alone 2700€, ontop of that TÜV inspection, which included certification of the engine i put in the car another 1500€. That was not with RusEFI though. that is a problem for 2 year in the future me, when there is the next inspection)
I removed the catalytic converter on the advice of someone who was doing software development for production cars for many years, telling storries about catalytic converters that got too hot and disintegrated, taking the whole engine with them in the process.
Von_Unten_ohne_Kat.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
DrahtFahrzeugHammer
Posts: 17
Joined: Wed Jul 23, 2025 9:07 am
Location: Bavaria, Germany
Github Username: DrahtFahrzeugHammer

Re: 1997 Volvo 850 with B5204T engine

Post by DrahtFahrzeugHammer »

Figured out why i had the wrong MAP values. It was due to me going off of the wrong datasheet. I thought i had the Bosch PST 4, but i actually have the Bosch PST 3. They differ in the pressures they can measure. PST 3 can do 0.2 to 3 bar absolute and PST 4 can do 0.4 to 4 bar.

Still in the process of figuring out the tachometer and CLT gauges. I measured on the stock ecu and looked up the chip the outputs connect to and it turns out they are lowside outputs, but i wired them up as 5v ignition outputs. I added the 100 Ohm resistors from the stock ecu inline, just as it was there. Going to test that later

EDIT:
Tacho works now. CLT Gauge still has issues. When i turn on ignition, it jumps to middle, then to max and then drops to 0. No matter what i try with outputs to the dash. It was the same when i had 5v going to it
Post Reply