F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
- Dron_Gus
- contributor
- Posts: 473
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Rev1 was just released. https://github.com/rusefi/rusefi-hardware/tree/main/lambda-x2/export/rev1
Any feedback is welcomed.
Short changelog is:
* Switch to 64 pin STM32/GD32
* Add 8MHz HSE oscillator (better clock stability for CAN over wide temperature range)
* Use DAC (instead of PWM) outputs for driving Ip
* Move BT to UART3/USART3, keep USART1 for bootloader/debug
* Drive BT's EN signal from MCU
* Fix RC filters on heater outputs for better voltage measurement
* Use separate ADC input for Vbat measurement
* Use ADC channels for AUX outputs monitoring/diagnostic
* Use PWM noise cancelation circuit on AUX analog outputs
* Removed useless/non-functional protection of Vm outputs
* Fix board outline to fit two types of enclosure ("plastic top" and "alloy brick")
* Add testpoints for TC2030 JTAG probe
* Add buttons for Reset and Boot0
* Add Cfg1 and jumpers
* Replace fuse holder with resettable 0.2A 33V fuse
* Two status LEDs for separate status indication for left and right channel
* Silkscreen labels around testpoints
* Silkscreen labels at uart connector on both sides of PCB
* Un_3x_sense formula is now 0.247 + 3.15 * (Un - Vm)
* Un_sense (not gained) is also routed to ADC input
* Protection from possible Ip current when MCU in reset/bootloader
* While "power on" LED replaced with green
Any feedback is welcomed.
Short changelog is:
* Switch to 64 pin STM32/GD32
* Add 8MHz HSE oscillator (better clock stability for CAN over wide temperature range)
* Use DAC (instead of PWM) outputs for driving Ip
* Move BT to UART3/USART3, keep USART1 for bootloader/debug
* Drive BT's EN signal from MCU
* Fix RC filters on heater outputs for better voltage measurement
* Use separate ADC input for Vbat measurement
* Use ADC channels for AUX outputs monitoring/diagnostic
* Use PWM noise cancelation circuit on AUX analog outputs
* Removed useless/non-functional protection of Vm outputs
* Fix board outline to fit two types of enclosure ("plastic top" and "alloy brick")
* Add testpoints for TC2030 JTAG probe
* Add buttons for Reset and Boot0
* Add Cfg1 and jumpers
* Replace fuse holder with resettable 0.2A 33V fuse
* Two status LEDs for separate status indication for left and right channel
* Silkscreen labels around testpoints
* Silkscreen labels at uart connector on both sides of PCB
* Un_3x_sense formula is now 0.247 + 3.15 * (Un - Vm)
* Un_sense (not gained) is also routed to ADC input
* Protection from possible Ip current when MCU in reset/bootloader
* While "power on" LED replaced with green
- Attachments
-
- lambda-x2-rev1.png (304.28 KiB) Viewed 51788 times
- Dron_Gus
- contributor
- Posts: 473
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Main connector pinout added to silkscreen.
- Attachments
-
- Screenshot from 2023-02-26 12-44-25.png (218.53 KiB) Viewed 51754 times
- AndreyB
- Site Admin
- Posts: 14640
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Between https://github.com/mck1117/wideband/pull/157 and https://github.com/mck1117/wideband/issues/215 looks like there is enough logic in the wideband repo to justify some sort of automated testing. https://github.com/mck1117/wideband/issues/218 for further discussion.
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: 14640
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out



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: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
controller hard-wired to battery
Stock ECU
few times engine restart
actually looks good
Stock ECU
few times engine restart
actually looks good
- Attachments
-
- stock_ecu_few-engine_restarts.zip
- (110.51 KiB) Downloaded 631 times
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
everything the same
but with RusEfi ecu
but with RusEfi ecu
- Attachments
-
- rusefiEcu.zip
- (103.01 KiB) Downloaded 655 times
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Hey, has the Rev1 PCB been tested yet?
I'm considering ordering 2 assembled from JLC to have a play with in the garage.
REF3033 is OOS everywhere at the moment, what do we think of ZRC330F02TA as an alternative.
JLC have it in stock currently.
Cheers.
- Dron_Gus
- contributor
- Posts: 473
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Not yet. It is on the (two) ways to me. Hope to get in two-three weeks.
FW needs significant adjustment, so add +1 week for testing.
About REF3033 - you can always populate L1 and save few cents... Accuracy possibly will degradate (never tested). But main LDO (XC6206P332MR) is close to ZRC330F02TA in accuracy.
- Dron_Gus
- contributor
- Posts: 473
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
New hw is just arrived.
- Attachments
-
- 20230413_114815.jpg (1 MiB) Viewed 51126 times
-
- 20230413_114853.jpg (961.04 KiB) Viewed 51126 times
-
- 20230413_105721.jpg (2.12 MiB) Viewed 51126 times
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Metal enclosure for a board with bluetooth?
- AndreyB
- Site Admin
- Posts: 14640
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Look dual WBO went to a cold place to do some engineering work!
- Attachments
-
- dual-wbo-doing-engineering-stuff.jpg (270.87 KiB) Viewed 50915 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
- Dron_Gus
- contributor
- Posts: 473
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Just a funny picture of my test bench.
Too different eras and markets...
Too different eras and markets...
- Attachments
-
- 20230426_231604.jpg (1.13 MiB) Viewed 50901 times
- Dron_Gus
- contributor
- Posts: 473
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Accuracy is not so bad by the way.
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
I've seen on GitHub there is the issue if you populate all the sensor ESR resistors.
If I just populate the 4.9 ones, is the Rev1 board useable?
I've a V6 I'm building up over the next few weeks, and I'd love to have a play with per cylinder measurements, this would make that possible without costing a fortune.
If I just populate the 4.9 ones, is the Rev1 board useable?
I've a V6 I'm building up over the next few weeks, and I'd love to have a play with per cylinder measurements, this would make that possible without costing a fortune.
- Dron_Gus
- contributor
- Posts: 473
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Dual Rev1? This issue affects only dual channel boards...Steve-F wrote: ↑Fri Apr 28, 2023 9:20 amI've seen on GitHub there is the issue if you populate all the sensor ESR resistors.
If I just populate the 4.9 ones, is the Rev1 board useable?
I've a V6 I'm building up over the next few weeks, and I'd love to have a play with per cylinder measurements, this would make that possible without costing a fortune.
Yes. If you have only 22K populated it is ok.
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Yes, dual channel Rev1.Dron_Gus wrote: ↑Fri Apr 28, 2023 10:03 amDual Rev1? This issue affects only dual channel boards...Steve-F wrote: ↑Fri Apr 28, 2023 9:20 amI've seen on GitHub there is the issue if you populate all the sensor ESR resistors.
If I just populate the 4.9 ones, is the Rev1 board useable?
I've a V6 I'm building up over the next few weeks, and I'd love to have a play with per cylinder measurements, this would make that possible without costing a fortune.
Yes. If you have only 22K populated it is ok.
I was planning on using 3, so I can have a sensor per runner.
I'll just populate R24 and R71 with 22K.
Are there any other issues that have cropped up that will result in a Rev2?
Thanks

Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Hey I just bought this lovely Wideband controller from the RusEFI shop.
Can you tell me a bit more about setting up the controller, how do I setup the CAN bus and all?
And Andrey told me, that for now, only channel 1 is supported in the firmware, could you tell me more about that?
Can you tell me a bit more about setting up the controller, how do I setup the CAN bus and all?
And Andrey told me, that for now, only channel 1 is supported in the firmware, could you tell me more about that?
- AndreyB
- Site Admin
- Posts: 14640
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
I think it's just this one? maybe both just in case.
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: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Further no changes needed in the `CAN Bus Communication` menu. I assume the firmware is already flashed on the unit?
- AndreyB
- Site Admin
- Posts: 14640
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
I am experiencing something new - overhear error message. Just swapped the sensor and got same exact message again. Attached are two logs both are same second sensor
- Attachments
-
- second-sensor-again-overheating.zip
- (149.62 KiB) Downloaded 635 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
- Dron_Gus
- contributor
- Posts: 473
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Log look weird.
Heater in WarmupRamp state. Duty is 51%. Temperature rises up t o 730 (780 - 50). Heater switches to ClosedLoop (PID regulation), duty is 62%. Temperature rises to 778 (close to target 780). Duty drop to 0% and instantly rises to 100% and stay until heater fails with overheat.
100% at 14V of supply is more than allowed 11V for heater. We have clear check for this.
Code: Select all
// Limit to 11 volts
if (heaterVoltage > 11) {
heaterVoltage = 11;
}
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
I'm trying to get the controller to work, but with little luck so far.
When it tries to read the sensor it all goes wrong. I'm not sure what is causing this.
Could some with a bit more knowledge look at the log file?
When it tries to read the sensor it all goes wrong. I'm not sure what is causing this.
Could some with a bit more knowledge look at the log file?
- Attachments
-
- log.7z
- (124.72 KiB) Downloaded 632 times
- AndreyB
- Site Admin
- Posts: 14640
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
A photo of the wiring would help, a few words describing your setup would work - how do you power your unit?
Have you tried on bench? Do you have a regulated power supply to see current consumption?
Have you tried on bench? Do you have a regulated power supply to see current consumption?
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: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
The probes are already mounted in the exhaust of the 911E, and they are just feed by 12V from the battery.
I connect to them via bluetooth, and they seem to warmup.
mck1117 also looked at a previous log, and he suggested that maybe Vm and Ip may be swapped.
"the warmup goes OK but when it tries to use the sensor it goes off in to oblivion'"
I connect to them via bluetooth, and they seem to warmup.
mck1117 also looked at a previous log, and he suggested that maybe Vm and Ip may be swapped.
"the warmup goes OK but when it tries to use the sensor it goes off in to oblivion'"
- AndreyB
- Site Admin
- Posts: 14640
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
I guess I am sick or just at the end of my rope with customer support
just connected directly to battery? That would be strange. I specifically ask for details but I can only treat your answer as a not-answer.

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: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
https://rusefi.com/docs/pinouts/lambda-x2/
Could you help out with matching the pins? Between this diagram and the pinout online of the Lambda x2?
I often get confussed with the naming of the pins.
And there is really not much to it right? I bougth the controller so I hope some testing is done right?
6 wires and some power, maybe I just made a simple fault myself in the wiring. How about the firmware? maybe a bug there, I doutb tho
Could you help out with matching the pins? Between this diagram and the pinout online of the Lambda x2?
I often get confussed with the naming of the pins.
And there is really not much to it right? I bougth the controller so I hope some testing is done right?
6 wires and some power, maybe I just made a simple fault myself in the wiring. How about the firmware? maybe a bug there, I doutb tho
- AndreyB
- Site Admin
- Posts: 14640
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
https://github.com/rusefi/rusefi-hardware/blob/main/lambda-x2/readme.md now mentions https://github.com/rusefi/rusefi/wiki/WBO#naming-convention
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: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out
Just checked the wiring, that is all good, the suggestion of mck1117 was incorrect of that Vm and Ip may be swapped.