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 »

so i got 5 of them made https://github.com/mck1117/wideband/tree/master/hardware/board_module/export/rev%20B
but im stuck with the firmware im not able to find the binary for the modules in order to upload it on them am i missing something ? or i am that blind :P ?
User avatar
AndreyB
Site Admin
Posts: 14280
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 »

Looks like https://github.com/mck1117/wideband/ was not intended to be a "retail" product with documentation? I could be wrong.

If you click at https://github.com/mck1117/wideband/actions and select a recent master build you would get binaries as Artifacts of github action build. Clearly that's not an ideal user experience but that's what it is with https://github.com/mck1117/wideband
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
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 »

the best i managed to to is to get an error from stm qube

22:16:51 : Download in Progress:
22:16:52 : Error: Write failed at address: 0x8001800
22:16:52 : Error: failed to download Segment[0]
22:16:52 : Error: failed to download the File


and the wideband flashes the leds quickly when powered up and then flashes them slowly
https://www.youtube.com/shorts/VrMK9l9kD1c
no idea what im doing wrong :cry:
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 »

so... with an stlink it uploads fine and it works ... no idea why it wont work via DFU
NickZ
Posts: 56
Joined: Sun Sep 01, 2019 9:44 pm

Re: Wideband Controller: Fully Custom, no ASIC!

Post by NickZ »

any chance of a .bin file for this firmware, Im not a coder and can't get it to compile even watching 100 videos on how to do it, all I get is it can't find the directories after it does the bootloader section.
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Wideband Controller: Fully Custom, no ASIC!

Post by mck1117 »

NickZ wrote:
Wed Jun 07, 2023 2:54 am
any chance of a .bin file for this firmware, Im not a coder and can't get it to compile even watching 100 videos on how to do it, all I get is it can't find the directories after it does the bootloader section.
It used to be checked in to the repo, but then we removed it and I forgot to upload a release instead. Here you go:

https://github.com/mck1117/wideband/releases/tag/first-release
NickZ
Posts: 56
Joined: Sun Sep 01, 2019 9:44 pm

Re: Wideband Controller: Fully Custom, no ASIC!

Post by NickZ »

thank you for the bin file.
My next question (and ive read the thread 10+ times and BOM) I can't find the part number for the 12 pin carrier board connector anywhere.
Can someone please tell me the part number.
User avatar
AndreyB
Site Admin
Posts: 14280
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 »

NickZ wrote:
Sun Jul 09, 2023 11:47 am
Can someone please tell me the part number.
I am looking at https://github.com/mck1117/wideband/tree/master/hardware/board_carrier/mx120.pretty and thinking 367831201 MX120G

I totally agree it's not user friendly at all I assume it was not intended to be user friendly, I could be wrong.
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: 14280
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 »

Excited to see progress towards unit tests!
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
NickZ
Posts: 56
Joined: Sun Sep 01, 2019 9:44 pm

Re: Wideband Controller: Fully Custom, no ASIC!

Post by NickZ »

This is my first unit complete and tested, Basically followed instructions and got it running.
Bench testing free air sits at approx 17 afr, shouldn't it be higher?
with the lighter gas will drop to 13 afr and removing the gas will slowly climb and suddenly hit 20 afr and then dop back to 17 afr.
After about 3-4 minutes it will shut down with overheat error, its done that 2 times on each test, is that maybe not having exhaust gasses flowing over it? the sensor was not hot enough to burn me, but warm.
20230724_174625.jpg
20230724_174625.jpg (3.07 MiB) Viewed 71986 times
NickZ
Posts: 56
Joined: Sun Sep 01, 2019 9:44 pm

Re: Wideband Controller: Fully Custom, no ASIC!

Post by NickZ »

Is it possible to get the can address and position of the Lambda data.
Reading through this thread AEM X series protocol was used.
but the AEM output on a different CAN ID address 394 if im correct.
Im seeing ID of 400 and 401 on this unit.
also the aem is buffer 0-1
Im not seeing valid data on that CAN position either.
I am seeing lots of data but not much of it makes any sense.
As im not a CANBUS expert and im slowly finding my way through it.
So if someone could help me please with Address ID, Position of the Lambda data and maybe even the conversion that would be great.
I have worked out the addresses and data for the heater control to turn on and off.
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Wideband Controller: Fully Custom, no ASIC!

Post by mck1117 »

I’ll add a DBC to the GitHub repo. It no longer uses the AEM protocol as it had some limitations.
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Wideband Controller: Fully Custom, no ASIC!

Post by mck1117 »

Here you go: https://github.com/mck1117/wideband/blob/master/wideband-can.dbc

Contains both the data the controller sends, and the enable/battery voltage bits from the ECU to control it.
bitshifted-MX5
Posts: 6
Joined: Thu Nov 02, 2023 3:23 pm

Re: Wideband Controller: Fully Custom, no ASIC!

Post by bitshifted-MX5 »

I am working on implementing this WBO2 in a standalone for my car. In the schematic on connector J15 there are two pins which are not clear to me. Could anyone tell me what the function is of SEL_1 and SEL_2? Maybe I could have found my answer if I could understand the code structure, but that's not clear for me at the moment. Maybe there is some documentation regarding to the code? And how to compile the code?
User avatar
AndreyB
Site Admin
Posts: 14280
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:
Thu Nov 02, 2023 3:32 pm
I am working on implementing this WBO2 in a standalone for my car.
What standalone is that? I believe that the board here would only work if you control it via CAN?
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 »

It is based on the Proteus. How does this board uses CAN? There is no CAN transceiver on the board?
JRD McLAREN
contributor
contributor
Posts: 434
Joined: Mon Mar 04, 2019 10:19 pm
Location: Slovakia

Re: Wideband Controller: Fully Custom, no ASIC!

Post by JRD McLAREN »

.. some Proteus and microRusEFI for sale in Europe ..
bitshifted-MX5
Posts: 6
Joined: Thu Nov 02, 2023 3:23 pm

Re: Wideband Controller: Fully Custom, no ASIC!

Post by bitshifted-MX5 »

Thanks, that design is already more complete for my project. But I am still looking for an answer on how to compile the code and what SEL_1 and SEL_2 are used for?
JRD McLAREN
contributor
contributor
Posts: 434
Joined: Mon Mar 04, 2019 10:19 pm
Location: Slovakia

Re: Wideband Controller: Fully Custom, no ASIC!

Post by JRD McLAREN »

Index selector
.. some Proteus and microRusEFI for sale in Europe ..
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Wideband Controller: Fully Custom, no ASIC!

Post by mck1117 »

bitshifted-MX5 wrote:
Thu Nov 02, 2023 8:14 pm
Thanks, that design is already more complete for my project. But I am still looking for an answer on how to compile the code and what SEL_1 and SEL_2 are used for?
go have a look at the schematic pdf, it explains what they do
bitshifted-MX5
Posts: 6
Joined: Thu Nov 02, 2023 3:23 pm

Re: Wideband Controller: Fully Custom, no ASIC!

Post by bitshifted-MX5 »

Yeah, from the schematic I could see that they are an index selector. But for what is it an index selector?
crunchie
Posts: 3
Joined: Wed Nov 15, 2023 8:00 am

Re: Wideband Controller: Fully Custom, no ASIC!

Post by crunchie »

First and foremost, thank you for your work and development on this project!

I have been following this thread for a little while now & have recently successfully built & programmed 2 boards running at 500kbps & 1Mbps.
Both units behave as suspected on the bench:
- CAN messages confirmed working and correct using my analyzer
- Blue LED flashes briefly upon start up & goes out. Green LED begins flashing fast to indicate heating sensor (never changes or times out from this state)
- With 2 different known good LSU 4.9 sensors connected, sensor does not heat & no current is drawn from the power supply to indicate that it is heating
- Wiring has been checked

Is there anything I may be missing? I am assuming that on the bench the controller will begin to heat eventually after detecting no CAN messages on the bus to allow the heater. Any help would be appreciated! Keen to get these going
User avatar
AndreyB
Site Admin
Posts: 14280
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 »

Edited top post:

NOT STANDALONE: REQUIRES VOLTAGE DATA INPUT VIA CAN as provided by primary rusEFI standalone firmware
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: 14280
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 »

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: 14280
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 »

Can anyone confirm if 042 master is functional at all? I am experiencing https://github.com/mck1117/wideband/issues/297

Overall see also https://github.com/mck1117/wideband/issues/295 and https://github.com/mck1117/wideband/issues/296
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: 14280
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 »

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
crunchie
Posts: 3
Joined: Wed Nov 15, 2023 8:00 am

Re: Wideband Controller: Fully Custom, no ASIC!

Post by crunchie »

crunchie wrote:
Wed Nov 15, 2023 8:08 am
First and foremost, thank you for your work and development on this project!

I have been following this thread for a little while now & have recently successfully built & programmed 2 boards running at 500kbps & 1Mbps.
Both units behave as suspected on the bench:
- CAN messages confirmed working and correct using my analyzer
- Blue LED flashes briefly upon start up & goes out. Green LED begins flashing fast to indicate heating sensor (never changes or times out from this state)
- With 2 different known good LSU 4.9 sensors connected, sensor does not heat & no current is drawn from the power supply to indicate that it is heating
- Wiring has been checked

Is there anything I may be missing? I am assuming that on the bench the controller will begin to heat eventually after detecting no CAN messages on the bus to allow the heater. Any help would be appreciated! Keen to get these going
Thanks for the excellent work! I am now getting expected behaviour and good results on the latest commit.
*Note* I am using a standalone unit
- Sensor ramps and heats as expected on power up
- CAN decoding confirms valid message when sensor reaches approx 780 degC on bench
- green light changes from fast flashing to slow flashing
- lambda reading at max 2.0 on bench & responds to torch flame

Will do some more testing before I install on vehicle and report back. Thank you!
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Wideband Controller: Fully Custom, no ASIC!

Post by mck1117 »

crunchie wrote:
Fri Nov 24, 2023 9:41 am
crunchie wrote:
Wed Nov 15, 2023 8:08 am
First and foremost, thank you for your work and development on this project!

I have been following this thread for a little while now & have recently successfully built & programmed 2 boards running at 500kbps & 1Mbps.
Both units behave as suspected on the bench:
- CAN messages confirmed working and correct using my analyzer
- Blue LED flashes briefly upon start up & goes out. Green LED begins flashing fast to indicate heating sensor (never changes or times out from this state)
- With 2 different known good LSU 4.9 sensors connected, sensor does not heat & no current is drawn from the power supply to indicate that it is heating
- Wiring has been checked

Is there anything I may be missing? I am assuming that on the bench the controller will begin to heat eventually after detecting no CAN messages on the bus to allow the heater. Any help would be appreciated! Keen to get these going
Thanks for the excellent work! I am now getting expected behaviour and good results on the latest commit.
*Note* I am using a standalone unit
- Sensor ramps and heats as expected on power up
- CAN decoding confirms valid message when sensor reaches approx 780 degC on bench
- green light changes from fast flashing to slow flashing
- lambda reading at max 2.0 on bench & responds to torch flame

Will do some more testing before I install on vehicle and report back. Thank you!
BTW, there are tested working prebuilt bins available at https://github.com/mck1117/wideband/releases
crunchie
Posts: 3
Joined: Wed Nov 15, 2023 8:00 am

Re: Wideband Controller: Fully Custom, no ASIC!

Post by crunchie »

mck1117 wrote:
Fri Nov 24, 2023 9:57 pm
BTW, there are tested working prebuilt bins available at https://github.com/mck1117/wideband/releases
Thanks for that, I am aware of the prebuilt binaries however I will be using this for 2 standalone applications on 2 separate vehicles:
- Standard implementation as is will end up my MS3X vehicle
- 2nd implementation I will be experimenting with on my vehicle with Motec M1 ECU and will adjust the baud rate & can messaging to suit. I had this working over CAN during my previous testing but as earlier, I did not have sensor heat upon start-up. Will revisit this shortly.

Thanks @mck1117 for the hard work
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 »

is there any prebuilt binary that will run the module and carrier as a standalone without the need of rusefi ?

i got 3 pieces here laying around and i would love to use them on my Dyno ( yourdyno ) or some Ms based ecus i have spare
Post Reply