Wideband Controller: Fully Custom, no ASIC!
Re: Wideband Controller: Fully Custom, no ASIC!
That's good news, I purchased the 17323 would be nice to hear about that sensor.
Re: Wideband Controller: Fully Custom, no ASIC!
US $13.85 9%OFF | 10pcs/lot STM32F031 STM32F031K6T6 LQFP32
https://a.aliexpress.com/_mMRiurp
Could this be a substitute? Decent availability, at least for the moment. Cheap enough, too.
https://a.aliexpress.com/_mMRiurp
Could this be a substitute? Decent availability, at least for the moment. Cheap enough, too.
Josh
94 Ford Taurus SHO
Frankenso in progress
94 Ford Taurus SHO
Frankenso in progress
-
- running engine in first post
- Posts: 1501
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Wideband Controller: Fully Custom, no ASIC!
IIRC the F031 doesn't have CAN.SHOf429 wrote: ↑Mon Apr 05, 2021 3:50 amUS $13.85 9%OFF | 10pcs/lot STM32F031 STM32F031K6T6 LQFP32
https://a.aliexpress.com/_mMRiurp
Could this be a substitute? Decent availability, at least for the moment. Cheap enough, too.
-
- contributor
- Posts: 413
- Joined: Tue Jul 24, 2018 8:55 pm
- Github Username: Orchardperformance
- Slack: Orchardperformance
Re: Wideband Controller: Fully Custom, no ASIC!
Totally this, things seem to be in and out of stock on a daily basis. Predicting what is going to be available is becoming a gamble.
Now keeping MRE in stock in the UK - https://www.FutureProofPerformance.com
-
- Posts: 68
- Joined: Fri Oct 16, 2020 3:10 pm
- Github Username: hugovw1976
Re: Wideband Controller: Fully Custom, no ASIC!
How you set Tuner studio for dual wideband sensors, how you set wideband controller ID for dual sensors? Do you change ID direct in firmware before upload to board?mck1117 wrote: ↑Wed Dec 16, 2020 1:48 amOk, time for updates! After some basic testing (idling in the driveway) of the first revision of the board, I ordered a batch of a second revision with some modifications to make it a small module instead of a development board:
image.png
left: USB programming adapter center: wideband controller module right: module installed on its carrier board
The carrier board has a 12-pin sealed connector, protected 5v regulator, and CAN interface chip.
Here's a snip of a log from the very first drive:
image.png
Channel "Lambda" (red) is an AEM X-Series inline controller, sniffing the right hand bank of the engine (even number cylinders).
Channel "Lambda 2" (green) is the new custom controller, sniffing the left hand bank of the engine (odd number cylinders).
The engine itself is a GM LS 5.3 liter V8. The Bosch sensors themselves are identical - but I don't expect the two banks of the engine to be perfectly identical. But they are always within a few percent, which is reflected by the log.
It certainly works! The PID loops for the pump control and heater both need some tuning (less bandwidth, mostly), and the output needs some better filtering. but it's a very promising start.
Tune and log are uploaded here and here.
-
- running engine in first post
- Posts: 1501
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Wideband Controller: Fully Custom, no ASIC!
I need to write that section for the wiki page at http://rusefi.com/s/wb
The short version is that there are "set ID 0" and "set ID 1" buttons in tunerstudio that will set the ID of all attached rusEFI wideband controllers. Plug in only the first controller, push the ID 0 button. Unplug that, plug in the second controller, push the ID 1 button.
The short version is that there are "set ID 0" and "set ID 1" buttons in tunerstudio that will set the ID of all attached rusEFI wideband controllers. Plug in only the first controller, push the ID 0 button. Unplug that, plug in the second controller, push the ID 1 button.
-
- Posts: 68
- Joined: Fri Oct 16, 2020 3:10 pm
- Github Username: hugovw1976
Re: Wideband Controller: Fully Custom, no ASIC!
Thanks. One last question, wideband controllers connect to can1 or can2 on proteus.mck1117 wrote: ↑Thu May 06, 2021 6:52 pmI need to write that section for the wiki page at http://rusefi.com/s/wb
The short version is that there are "set ID 0" and "set ID 1" buttons in tunerstudio that will set the ID of all attached rusEFI wideband controllers. Plug in only the first controller, push the ID 0 button. Unplug that, plug in the second controller, push the ID 1 button.
-
- running engine in first post
- Posts: 1501
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Wideband Controller: Fully Custom, no ASIC!
right now can2 is not fully implemented, so everything goes through CAN1
- AndreyB
- Site Admin
- Posts: 14583
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Wideband Controller: Fully Custom, no ASIC!
I am using eBay v2 ST-Link device.
I am able to flash Hellen WBO module using stm32cube but not using ST-Link utility 4.5
I've tried playing with different connect modes in ST-Link utility but no luck. Is that any sort of 042 magic or else?
I am able to flash Hellen WBO module using stm32cube but not using ST-Link utility 4.5
I've tried playing with different connect modes in ST-Link utility but no luck. Is that any sort of 042 magic or else?
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
-
- running engine in first post
- Posts: 1501
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Wideband Controller: Fully Custom, no ASIC!
Was the board powered via USB or no?
- AndreyB
- Site Admin
- Posts: 14583
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Wideband Controller: Fully Custom, no ASIC!
Tried both ways, without USB power stm32cube does not connect always, with USB power stm32cube seems to connect more often.
Still did not work with USB power via ST-Link utility.
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: Wideband Controller: Fully Custom, no ASIC!
Does the sensor matter for which fuel? i want to apply bosch 0 281 004 133 (lsu4.9) from a diesel mercedes
- AndreyB
- Site Admin
- Posts: 14583
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Wideband Controller: Fully Custom, no ASIC!
Poke poke hellen121vag is asking for 4.2 support
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: 14583
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Wideband Controller: Fully Custom, no ASIC!
How does one assign which module is which on a Hellen board for instance when both are constantly powered on? Would we have to go by detecting disconnected 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- running engine in first post
- Posts: 1501
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Wideband Controller: Fully Custom, no ASIC!
https://rusefi.com/forum/viewtopic.php?p=40940#p40940
do we call this a "distributed double post"? are we cloud engineers now?
- AndreyB
- Site Admin
- Posts: 14583
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Wideband Controller: Fully Custom, no ASIC!
Hehe
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: 14583
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Wideband Controller: Fully Custom, no ASIC!
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
-
- running engine in first post
- Posts: 1501
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Wideband Controller: Fully Custom, no ASIC!
more info about hard-code selection at: https://github.com/mck1117/wideband/issues/11
- AndreyB
- Site Admin
- Posts: 14583
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Wideband Controller: Fully Custom, no ASIC!
I believe some real vehicle validation is happening? Looking forward some sweet log files
- Attachments
-
- image.jpg (1.33 MiB) Viewed 91745 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Wideband Controller: Fully Custom, no ASIC!
Wiring up the O2's to the Proteus. We touched on this earlier in the thread just want to confirm if my BOSCH 17323 doesn't have the Cal-resistor pin on the plug, just ignore and everything will be rosy?
-
- running engine in first post
- Posts: 1501
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Wideband Controller: Fully Custom, no ASIC!
It has the resistor. Look in the plug, there are 6 pins. That image is super confusing: it shows the _wires_ that leave the plug and go to the sensor (but who cares - they're between the sensor and captive plug!). The plug should still have 6 pins.
-
- running engine in first post
- Posts: 1501
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Wideband Controller: Fully Custom, no ASIC!
This controller has now been embedded in to a handful of Hellen boards, which has uncovered some problems with the heater control. Apparently the wiring in the car I used to tune the heater PID is pretty junk - so the heater warmup is sort of lazy, which means for other people, it heats very quickly and overshoots the target temperature.
Here are two example of "good" warmup, one from a car (bold line) and one from a bench test running at 12 volts (lighter lines):
And here's the same good in-car trace compared to a "bad" in-car trace:
In the bad trace, the engine was started, so not only was the supply voltage ~2-3 volts higher (alternator charging!), there was some extra heat from the exhaust helping the sensor warm up.
Will update with a comparison once it's fixed and warming up nicely!
Here are two example of "good" warmup, one from a car (bold line) and one from a bench test running at 12 volts (lighter lines):
And here's the same good in-car trace compared to a "bad" in-car trace:
In the bad trace, the engine was started, so not only was the supply voltage ~2-3 volts higher (alternator charging!), there was some extra heat from the exhaust helping the sensor warm up.
Will update with a comparison once it's fixed and warming up nicely!
-
- Posts: 68
- Joined: Fri Oct 16, 2020 3:10 pm
- Github Username: hugovw1976
Re: Wideband Controller: Fully Custom, no ASIC!
Hi, I try to compile firmware and have a error, do you know what I'm doing wrong?
Thanks.
I download the github files, and the kicad file don't mach with BOM and Zip Gerber files, the Kicad files have U3 REF3033 and BOM and Zip Gerber files don't. wich one is the latest?Thanks.
-
- running engine in first post
- Posts: 1501
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Wideband Controller: Fully Custom, no ASIC!
It's looking for the bootloader to be built first, as the bootloader gets cooked in to the main firmware image. The most "bulletproof" way to build it is to use the build_wideband.sh script, found in the f0_module folder.hugovw1976 wrote: ↑Sun Aug 01, 2021 5:48 pmHi, I try to compile firmware and have a error, do you know what I'm doing wrong?
The gerber files/zip represent the last time the board was fabricated. The kicad in master has some edits that have never been fabricated - but have been validated as the module embedded in to Hellen boards. Provided that it passes ERC/DRC (which I think it should), the kicad in master should be fine.hugovw1976 wrote: ↑Sun Aug 01, 2021 5:48 pmI download the github files, and the kicad file don't mach with BOM and Zip Gerber files, the Kicad files have U3 REF3033 and BOM and Zip Gerber files don't. wich one is the latest?
-
- Posts: 68
- Joined: Fri Oct 16, 2020 3:10 pm
- Github Username: hugovw1976
Re: Wideband Controller: Fully Custom, no ASIC!
Thanks for answer, I'm very new on STM32, how I build bootloader?
Ok but the board of the zip file works find? or it's better the kicad board, I ask because I all ready order the board of the zip file, but still don't solder any part and I wonder if it's best the new board.mck1117 wrote: ↑Mon Aug 02, 2021 10:05 pmThe gerber files/zip represent the last time the board was fabricated. The kicad in master has some edits that have never been fabricated - but have been validated as the module embedded in to Hellen boards. Provided that it passes ERC/DRC (which I think it should), the kicad in master should be fine.
-
- running engine in first post
- Posts: 1501
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Wideband Controller: Fully Custom, no ASIC!
have a look in that script - it'll build the bootloader before building firmware, then combine them in to a single bin imagehugovw1976 wrote: ↑Tue Aug 03, 2021 12:06 amThanks for answer, I'm very new on STM32, how I build bootloader?
The files in the export zip should be fine, yes. They aren't perfect but they work totally fine.hugovw1976 wrote: ↑Tue Aug 03, 2021 12:06 amOk but the board of the zip file works find? or it's better the kicad board, I ask because I all ready order the board of the zip file, but still don't solder any part and I wonder if it's best the new board.
- AndreyB
- Site Admin
- Posts: 14583
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Wideband Controller: Fully Custom, no ASIC!
ST has provided some curious documents see https://translate.google.com/translate?sl=ru&tl=en&u=https://rusefi.com/forum/viewtopic.php?p%3D41832%23p41832
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
-
- Posts: 68
- Joined: Fri Oct 16, 2020 3:10 pm
- Github Username: hugovw1976
Re: Wideband Controller: Fully Custom, no ASIC!
Thanks, finally I compile firmware (still need to upload to a board and test)
OK, but have some question, the board on export zip just have one jumper pad in back connected to pin 10 on stm32 (wath is the purpose of this) and the board on kicad files have two jumper pads sel1 (pin 15) and sel2 (pin18) to select the can id. The firmware works fine in both boards?