Wideband Controller: Fully Custom, no ASIC!

Hardware inside and outside of the ECU
pkagiantas
Posts: 18
Joined: Tue Feb 15, 2022 5:37 pm
Location: Greece
Github Username: pkagiantas

Re: Wideband Controller: Fully Custom, no ASIC!

Post by pkagiantas »

also im facing an issue two brand new sensors on a a proteus reads backwards !

it sits at 10.0 afr at free air and when i hit it with butane it goes to 29
mck1117
running engine in first post
running engine in first post
Posts: 1494
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Wideband Controller: Fully Custom, no ASIC!

Post by mck1117 »

are Ip and Rtrim pins swapped?
pkagiantas
Posts: 18
Joined: Tue Feb 15, 2022 5:37 pm
Location: Greece
Github Username: pkagiantas

Re: Wideband Controller: Fully Custom, no ASIC!

Post by pkagiantas »

i hope not but i will check :P
bitshifted-MX5
Posts: 6
Joined: Thu Nov 02, 2023 3:23 pm

Re: Wideband Controller: Fully Custom, no ASIC!

Post by bitshifted-MX5 »

Could anyone explain to me how I can build the code for the wideband controller?
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Wideband Controller: Fully Custom, no ASIC!

Post by AndreyB »

bitshifted-MX5 wrote:
Fri Dec 22, 2023 10:44 pm
Could anyone explain to me how I can build the code for the wideband controller?
what are you trying to accomplish? expectation is that anyone who has needs to change code also has skills to compile?
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
bitshifted-MX5
Posts: 6
Joined: Thu Nov 02, 2023 3:23 pm

Re: Wideband Controller: Fully Custom, no ASIC!

Post by bitshifted-MX5 »

AndreyB wrote:
Fri Dec 22, 2023 10:55 pm
bitshifted-MX5 wrote:
Fri Dec 22, 2023 10:44 pm
Could anyone explain to me how I can build the code for the wideband controller?
what are you trying to accomplish? expectation is that anyone who has needs to change code also has skills to compile?
I am used to compile my code using the STM32CUBE IDE. I see that there are build files to run in my Linux shell and Makefiles, but when I run these I get the error `../../../ChibiOS/os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk: No such file or directory`.

Is there maybe a guide or something which explains how to compile the code?
User avatar
Dron_Gus
contributor
contributor
Posts: 456
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: Wideband Controller: Fully Custom, no ASIC!

Post by Dron_Gus »

bitshifted-MX5 wrote:
Mon Dec 25, 2023 12:05 pm
Is there maybe a guide or something which explains how to compile the code?
Seems you did not checkout git submodules.
JRD McLAREN
contributor
contributor
Posts: 435
Joined: Mon Mar 04, 2019 10:19 pm
Location: Slovakia

Re: Wideband Controller: Fully Custom, no ASIC!

Post by JRD McLAREN »

Which repository of WBO2 controller is most actual ..?
mck1117's or Dron_gus's ... ??

I have compiled fw from this repo - https://github.com/mck1117/wideband/releases/tag/2311-release
modified for "my wbo2 addon board" for F072 mcu with analog outputs ...
.. but I need some help with this ...

I'm found any issue on github, about this ..
EDITED: https://github.com/mck1117/wideband/issues/300

..
and I can send some boards to someone to test if needed
.. some Proteus and microRusEFI for sale in Europe ..
dynfer
Posts: 3
Joined: Wed Dec 27, 2023 3:44 pm
Github Username: dynfer

Re: Wideband Controller: Fully Custom, no ASIC!

Post by dynfer »

Hello,

I have two f0 boards which have two different behaviours, both running November firmware from mck1137/wideband.

1. Nerst voltage fluctuates depening on the applied oxygen (sensor over candle or lighter) afr sometimes jumps if nerst crossed over 450mV
2. Nerst voltage stays fixed at around 450mV, pump current changes depending on applied oxygen, AFR stays pretty much fixed at around 15.45

I've attached logs from both boards 2024-01-18_18.02.05.zip

Both boards are hand assembled so there might an issue with soldering??

//EDIT
I've verified all solder joints and now both units behave like in the log below, the spikes are nerst V and pump DC are from me applying propane to the sensor 2024-01-18_21.41.24.zip

//EDIT 2
After more troubleshooting I've found that when applying gas to the sensor the PumpDC rises which is expected but this should cause the nerstV to stay relatively around 450mV, in my case the nerst V shoots up to 0.9/1V
Attachments
2024-01-18_21.41.24.zip
(1.28 MiB) Downloaded 40 times
2024-01-18_18.02.05.zip
(7.6 MiB) Downloaded 46 times
User avatar
md_sanci
Posts: 69
Joined: Thu May 30, 2019 6:13 am
Location: Romania
Github Username: shadowm60
Slack: Alex M
Contact:

Re: Wideband Controller: Fully Custom, no ASIC!

Post by md_sanci »

Hello all,

I also have a question regarding Wideband. Using hellen 128, my car is running on this as a daily driver for the last 2 years at least. Sensor is still the same, and milage is around ~15K.
I noticed in the last few months strage WBO values, i do not have a display, so only when i connected my phone with real dash i noticed and then the laptop to get some logs. I do not see nothing strange in running parameters but WBO values are all around, i also checked older logs to see what is the wbo reporting, maybe i can get a picture of what is happening or if i can say for sure that sensor is half dead.

https://rusefi.com/online/view.php?log=1361 here is one log, AFR is reported nicely then it start to jump all around, driving on the highway i also noticed values of 6 to 23 jumping or even staying there. Is there a way to see if this is really sensor or not? i know that it would be nice to change it but i do not have time :( at least not in the next few weeks, and i was thinking maybe this also helps to handle some error cases?
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Wideband Controller: Fully Custom, no ASIC!

Post by AndreyB »

md_sanci wrote:
Mon Mar 18, 2024 12:34 pm
I also have a question regarding Wideband. Using hellen 128, my car is running on this as a daily driver for the last 2 years at least.
I would recommend starting with update of the wideband firmware. I believe that November 2023 version was a major improvement see https://github.com/mck1117/wideband/releases/tag/2311-release

Second step would be some logs - Wideband transmits and rusEFI logs a number of internal metrics
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
md_sanci
Posts: 69
Joined: Thu May 30, 2019 6:13 am
Location: Romania
Github Username: shadowm60
Slack: Alex M
Contact:

Re: Wideband Controller: Fully Custom, no ASIC!

Post by md_sanci »

AndreyB wrote:
Mon Mar 18, 2024 12:47 pm
md_sanci wrote:
Mon Mar 18, 2024 12:34 pm
I also have a question regarding Wideband. Using hellen 128, my car is running on this as a daily driver for the last 2 years at least.
I would recommend starting with update of the wideband firmware. I believe that November 2023 version was a major improvement see https://github.com/mck1117/wideband/releases/tag/2311-release

Second step would be some logs - Wideband transmits and rusEFI logs a number of internal metrics
I did update via TS, i know this was done in the past, but now no message, did it went ok or not.... should i just take the ecu out and stlink the fw? is there a way to test if it is all good, what version am i running, maybe my memory is bad, but i remembered a debug mode for this, but i cannot find it
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Wideband Controller: Fully Custom, no ASIC!

Post by AndreyB »

I am not sure if current TS updater works especially in case of two units especially to update older firmware. Maybe it does maybe it does not :(

I would st-link just to be sure

https://github.com/rusefi/rusefi/issues/5719
https://github.com/mck1117/wideband/issues/311
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: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Wideband Controller: Fully Custom, no ASIC!

Post by AndreyB »

fault code 5

``SensorUnderheat = 5``

is it possible to say anything from this log?
image.png
image.png (179.91 KiB) Viewed 11267 times
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
md_sanci
Posts: 69
Joined: Thu May 30, 2019 6:13 am
Location: Romania
Github Username: shadowm60
Slack: Alex M
Contact:

Re: Wideband Controller: Fully Custom, no ASIC!

Post by md_sanci »

AndreyB wrote:
Thu Mar 21, 2024 7:49 pm
fault code 5

``SensorUnderheat = 5``

is it possible to say anything from this log?

image.png
I had issues way back with cable management, due to limitation of what cables and connector i used for WBO, sporadically had issues with heater, so as a tip, use good cables, good soldering or crimping and good connectors, at least for me that fixed issues with heating.
User avatar
md_sanci
Posts: 69
Joined: Thu May 30, 2019 6:13 am
Location: Romania
Github Username: shadowm60
Slack: Alex M
Contact:

Re: Wideband Controller: Fully Custom, no ASIC!

Post by md_sanci »

AndreyB wrote:
Mon Mar 18, 2024 12:56 pm
I am not sure if current TS updater works especially in case of two units especially to update older firmware. Maybe it does maybe it does not :(

I would st-link just to be sure

https://github.com/rusefi/rusefi/issues/5719
https://github.com/mck1117/wideband/issues/311
Only now i had time to pull ecu out, conncet ST-link to WBO + usb for ecu supply, and when trying to flash it looks like by F0 is in reset, i have to figure it out why but i am still stuck, lucking at hellen schematic, main cpu is not controlling this reset, so maybe i have hw issue, oxide is not present on the pcb, but i need a better magnifier to better inspect the pcb
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Wideband Controller: Fully Custom, no ASIC!

Post by AndreyB »

AndreyB wrote:
Thu Mar 21, 2024 7:49 pm
fault code 5

``SensorUnderheat = 5``

is it possible to say anything from this log?
Attachments
2024-03-23_12.53.13 wbo unhappy outside of vehicle.mlg.zip
(859.56 KiB) Downloaded 17 times
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
benassi124
Posts: 3
Joined: Wed Sep 27, 2023 5:48 pm

Re: Wideband Controller: Fully Custom, no ASIC!

Post by benassi124 »

md_sanci wrote:
Fri Mar 22, 2024 11:11 am
AndreyB wrote:
Thu Mar 21, 2024 7:49 pm
fault code 5

``SensorUnderheat = 5``

is it possible to say anything from this log?

image.png
I had issues way back with cable management, due to limitation of what cables and connector i used for WBO, sporadically had issues with heater, so as a tip, use good cables, good soldering or crimping and good connectors, at least for me that fixed issues with heating.
Continuity + resistance verified from connector 2 board. Wire used is Tefzel wire/ M22759/32
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Wideband Controller: Fully Custom, no ASIC!

Post by AndreyB »

benassi124 wrote:
Sat Mar 23, 2024 6:24 pm

Wire used is Tefzel wire/ M22759/32
I see some OEM harness where heater wires are thicker than signal but Dron says it should not matter.
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
benassi124
Posts: 3
Joined: Wed Sep 27, 2023 5:48 pm

Re: Wideband Controller: Fully Custom, no ASIC!

Post by benassi124 »

AndreyB wrote:
Sat Mar 23, 2024 6:31 pm
benassi124 wrote:
Sat Mar 23, 2024 6:24 pm

Wire used is Tefzel wire/ M22759/32
I see some OEM harness where heater wires are thicker than signal but Dron says it should not matter.
18AWG was used for heater wire, tefzel has thinner insulation than TXL because it is a stronger material. TEFZEL is 31% thinner than TXL, 1.52mm nominal OD vs 2.20MM (txl), conductors strands are also tightly twisted in the insulation as well. This is why it looks thinner

signal wires are 22 awg 1.09mm Nominal OD
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Wideband Controller: Fully Custom, no ASIC!

Post by AndreyB »

AndreyB wrote:
Sat Mar 23, 2024 5:00 pm
AndreyB wrote:
Thu Mar 21, 2024 7:49 pm
fault code 5

``SensorUnderheat = 5``

is it possible to say anything from this log?
this was a cable mistake - dual-sensor cable had some wires going to wrong sensor :(
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: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Wideband Controller: Fully Custom, no ASIC!

Post by AndreyB »

New log, here I only have one channel working while second one is not showing any reading.

Latest main firmware logs detailed info for both WBO channels
image.png
image.png (161.44 KiB) Viewed 9954 times
Attachments
dual wbo.zip
(1.6 MiB) Downloaded 14 times
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: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Wideband Controller: Fully Custom, no ASIC!

Post by AndreyB »

Same setup sensors are now flipped - problem stayed with second controller
image.png
image.png (165.55 KiB) Viewed 9954 times
Attachments
dual flipped.zip
(1.28 MiB) Downloaded 13 times
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
Dron_Gus
contributor
contributor
Posts: 456
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: Wideband Controller: Fully Custom, no ASIC!

Post by Dron_Gus »

Please check Ip and CalR connection for sensor #2. Green and Red wires. Pins #2 and #6 on sensor connector.
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Wideband Controller: Fully Custom, no ASIC!

Post by AndreyB »

Dron_Gus wrote:
Mon Apr 01, 2024 8:14 am
Please check Ip
It was a hardware design issue, Ip was shorted to GND :(
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
kimman1
Posts: 5
Joined: Sun Apr 21, 2024 3:01 am
Github Username: kimman1

Re: Wideband Controller: Fully Custom, no ASIC!

Post by kimman1 »

I'm just finishing WBO lambda x2.
But i got a problem when plug in the sensor the wbo still heating the sensor but about 30s, wbo return sensor is overheat
I'm using lsu 4.2 sensor. I attached log.
kimman1
Posts: 5
Joined: Sun Apr 21, 2024 3:01 am
Github Username: kimman1

Re: Wideband Controller: Fully Custom, no ASIC!

Post by kimman1 »

I'm just finishing lamba x2
The problem is when I connect the lsu 4.2. Just about 30 second after heating, the temperature notification on tunner studio is sensor overheat.
I attached log below. Please help me
Attached the is latest file
Attachments
debug_sensor_WBO.zip
(126.59 KiB) Downloaded 11 times
Last edited by kimman1 on Sun Apr 21, 2024 3:57 am, edited 1 time in total.
User avatar
AndreyB
Site Admin
Posts: 14334
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Wideband Controller: Fully Custom, no ASIC!

Post by AndreyB »

kimman1 wrote:
Sun Apr 21, 2024 3:08 am
I'm using lsu 4.2 sensor.
You could be the first person attempting to use 4.2 sensor.

In reality the most proven calibrations are for the 4.9
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
kimman1
Posts: 5
Joined: Sun Apr 21, 2024 3:01 am
Github Username: kimman1

Re: Wideband Controller: Fully Custom, no ASIC!

Post by kimman1 »

AndreyB wrote:
Sun Apr 21, 2024 3:40 am
kimman1 wrote:
Sun Apr 21, 2024 3:08 am
I'm using lsu 4.2 sensor.
You could be the first person attempting to use 4.2 sensor.

In reality the most proven calibrations are for the 4.9
Actually I'm not buy LSU 4.9 sensor yet. For LSU 4.2 I got 3 of them ( from another commercial Wideband controller ).
JRD McLAREN
contributor
contributor
Posts: 435
Joined: Mon Mar 04, 2019 10:19 pm
Location: Slovakia

Re: Wideband Controller: Fully Custom, no ASIC!

Post by JRD McLAREN »

"any release" of wbo2 controller have prepared hardware for LSU4.2 and LSU_ADV sensor ...
see pic.

it's just a plan?? or... WIP :?:
Attachments
Screenshot_20240421_204756.png
Screenshot_20240421_204756.png (98.25 KiB) Viewed 6080 times
.. some Proteus and microRusEFI for sale in Europe ..
Post Reply