F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out

Hardware inside and outside of the ECU
User avatar
Dron_Gus
contributor
contributor
Posts: 405
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

Post by Dron_Gus »

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
Attachments
lambda-x2-rev1.png
lambda-x2-rev1.png (304.28 KiB) Viewed 1629 times
User avatar
Dron_Gus
contributor
contributor
Posts: 405
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

Post by Dron_Gus »

Main connector pinout added to silkscreen.
Attachments
Screenshot from 2023-02-26 12-44-25.png
Screenshot from 2023-02-26 12-44-25.png (218.53 KiB) Viewed 1595 times
User avatar
AndreyB
Site Admin
Posts: 13671
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

Post by AndreyB »

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
User avatar
AndreyB
Site Admin
Posts: 13671
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

Post by AndreyB »

:roll: :idea: :geek: party time!
image.png
image.png (20.08 KiB) Viewed 1404 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
Timbelom
Posts: 3
Joined: Sun Mar 19, 2023 8:28 pm
Github Username: Timbelom
Slack: na

Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out

Post by Timbelom »

controller hard-wired to battery
Stock ECU
few times engine restart
actually looks good
Attachments
stock_ecu_few-engine_restarts.zip
(110.51 KiB) Downloaded 17 times
Timbelom
Posts: 3
Joined: Sun Mar 19, 2023 8:28 pm
Github Username: Timbelom
Slack: na

Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out

Post by Timbelom »

everything the same
but with RusEfi ecu
Attachments
rusefiEcu.zip
(103.01 KiB) Downloaded 15 times
Steve-F
Posts: 3
Joined: Thu Mar 23, 2023 9:42 am

Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out

Post by Steve-F »

Dron_Gus wrote:
Sat Feb 25, 2023 9:29 pm
Rev1 was just released.
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.
User avatar
Dron_Gus
contributor
contributor
Posts: 405
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

Post by Dron_Gus »

Steve-F wrote:
Thu Mar 23, 2023 9:47 am
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.
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.
Screenshot from 2023-03-23 21-21-35.png
Screenshot from 2023-03-23 21-21-35.png (13.92 KiB) Viewed 1165 times
User avatar
Dron_Gus
contributor
contributor
Posts: 405
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

Post by Dron_Gus »

New hw is just arrived.
Attachments
20230413_114815.jpg
20230413_114815.jpg (1 MiB) Viewed 967 times
20230413_114853.jpg
20230413_114853.jpg (961.04 KiB) Viewed 967 times
20230413_105721.jpg
20230413_105721.jpg (2.12 MiB) Viewed 967 times
puff
contributor
contributor
Posts: 2955
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out

Post by puff »

Metal enclosure for a board with bluetooth?
User avatar
Dron_Gus
contributor
contributor
Posts: 405
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

Post by Dron_Gus »

puff wrote:
Fri Apr 14, 2023 9:11 am
Metal enclosure for a board with bluetooth?
Optional BT. For BT fans there is plastic case. See first post in this thread.
User avatar
AndreyB
Site Admin
Posts: 13671
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

Post by AndreyB »

Look dual WBO went to a cold place to do some engineering work!
Attachments
dual-wbo-doing-engineering-stuff.jpg
dual-wbo-doing-engineering-stuff.jpg (270.87 KiB) Viewed 756 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: 405
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

Post by Dron_Gus »

Just a funny picture of my test bench.
Too different eras and markets...
Attachments
20230426_231604.jpg
20230426_231604.jpg (1.13 MiB) Viewed 742 times
User avatar
Dron_Gus
contributor
contributor
Posts: 405
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

Post by Dron_Gus »

Accuracy is not so bad by the way.
Screenshot from 2023-04-26 23-16-20.png
Screenshot from 2023-04-26 23-16-20.png (194.2 KiB) Viewed 742 times
Steve-F
Posts: 3
Joined: Thu Mar 23, 2023 9:42 am

Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out

Post by Steve-F »

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.
User avatar
Dron_Gus
contributor
contributor
Posts: 405
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

Post by Dron_Gus »

Steve-F wrote:
Fri Apr 28, 2023 9:20 am
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.
Dual Rev1? This issue affects only dual channel boards...
Yes. If you have only 22K populated it is ok.
Steve-F
Posts: 3
Joined: Thu Mar 23, 2023 9:42 am

Re: F103 dual channel wideband controller + EGT + 2 x AUX In + 2 Aux out

Post by Steve-F »

Dron_Gus wrote:
Fri Apr 28, 2023 10:03 am
Steve-F wrote:
Fri Apr 28, 2023 9:20 am
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.
Dual Rev1? This issue affects only dual channel boards...
Yes. If you have only 22K populated it is ok.
Yes, dual channel Rev1.
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 :)
User avatar
Dron_Gus
contributor
contributor
Posts: 405
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

Post by Dron_Gus »

Steve-F wrote:
Fri Apr 28, 2023 11:53 am
Are there any other issues that have cropped up that will result in a Rev2?
None were found... yet. :)
Post Reply