Page 6 of 8

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Tue May 16, 2023 4:35 pm
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 ?

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Tue May 16, 2023 4:39 pm
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

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Tue May 16, 2023 7:22 pm
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:

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Wed May 17, 2023 4:54 pm
by pkagiantas
so... with an stlink it uploads fine and it works ... no idea why it wont work via DFU

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Wed Jun 07, 2023 2:54 am
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.

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Wed Jun 07, 2023 4:18 am
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

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Sun Jul 09, 2023 11:47 am
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.

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Sun Jul 09, 2023 3:14 pm
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.

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Sat Jul 15, 2023 10:42 pm
by AndreyB
Excited to see progress towards unit tests!

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Mon Jul 24, 2023 8:01 am
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 97685 times

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Sat Sep 23, 2023 12:51 am
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.

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Sat Sep 23, 2023 12:58 am
by mck1117
I’ll add a DBC to the GitHub repo. It no longer uses the AEM protocol as it had some limitations.

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Sat Sep 23, 2023 1:30 am
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.

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Thu Nov 02, 2023 3:32 pm
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?

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Thu Nov 02, 2023 3:38 pm
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?

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Thu Nov 02, 2023 4:06 pm
by bitshifted-MX5
It is based on the Proteus. How does this board uses CAN? There is no CAN transceiver on the board?

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Thu Nov 02, 2023 4:29 pm
by JRD McLAREN

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Thu Nov 02, 2023 8:14 pm
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?

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Thu Nov 02, 2023 8:35 pm
by JRD McLAREN
Index selector

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Thu Nov 02, 2023 8:41 pm
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

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Fri Nov 03, 2023 8:18 am
by bitshifted-MX5
Yeah, from the schematic I could see that they are an index selector. But for what is it an index selector?

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Wed Nov 15, 2023 8:08 am
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

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Wed Nov 15, 2023 4:36 pm
by AndreyB
Edited top post:

NOT STANDALONE: REQUIRES VOLTAGE DATA INPUT VIA CAN as provided by primary rusEFI standalone firmware

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Wed Nov 15, 2023 6:24 pm
by AndreyB

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Thu Nov 23, 2023 12:01 am
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

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Thu Nov 23, 2023 4:33 am
by AndreyB

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Fri Nov 24, 2023 9:41 am
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!

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Fri Nov 24, 2023 9:57 pm
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

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Fri Nov 24, 2023 10:49 pm
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

Re: Wideband Controller: Fully Custom, no ASIC!

Posted: Sat Dec 09, 2023 11:35 pm
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