Page 11 of 13

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Thu Sep 19, 2019 12:46 pm
by JRD McLAREN
..Voltages are from "my" gui, it's UR and UA voltages ...
no VCC or SPI voltages ...

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Fri Sep 20, 2019 12:36 pm
by Ahmad
JRD McLAREN wrote:
Thu Sep 19, 2019 12:46 pm
..Voltages are from "my" gui, it's UR and UA voltages ...
no VCC or SPI voltages ...
No doubt
but my attention is SPI voltages. if we use 3.3V SPI, we walk on the borders that can be changed by ambient temperature.

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Sun Dec 15, 2019 2:33 am
by Ahmad
Where did you find the curve of temperature vs Nernst resistance or UR?

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Wed Dec 18, 2019 8:17 am
by Ahmad
I found an empirical formula for temperature(not bad for starting :mrgreen: ):

T = Tcal * vUrCal / vUr

Tcal = 750 for LSU 4.2
Tcal = 780 for LSU 4.9

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Sat Dec 21, 2019 3:31 am
by mck1117
The shape of the temperature curve doesn't actually matter. You're just trying to keep the resistance (and as a result temperature) at some constant point, so you don't really care the shape of the curve as you shouldn't ever be deviating very far. Since the function of resistance (and as a result vUr) is continuous, a small change int the temperature results in a small change in the voltage, so at some "zero width" point, it's effectively linear.

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Mon Dec 23, 2019 7:13 pm
by Ahmad
No doubt mck1117.
The temperature displaying results better user interface.

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Fri Dec 27, 2019 5:08 pm
by infinityedge
russian wrote:
Sun Jul 03, 2016 1:43 pm
Our little board for Bosch CJ125

https://github.com/rusefi/rusefi/tree/master/hardware/CJ125_board

ibom available at https://rusefi.com/docs/ibom/
Where is the firmware code for the wideband control stashed?

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Fri Dec 27, 2019 10:40 pm
by AndreyB
infinityedge wrote:
Fri Dec 27, 2019 5:08 pm
Where is the firmware code for the wideband control stashed?
https://github.com/rusefi/rusefi/tree/master/firmware/hw_layer/sensors

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Sun Dec 29, 2019 5:28 pm
by infinityedge
russian wrote:
Fri Dec 27, 2019 10:40 pm
infinityedge wrote:
Fri Dec 27, 2019 5:08 pm
Where is the firmware code for the wideband control stashed?
https://github.com/rusefi/rusefi/tree/master/firmware/hw_layer/sensors
Thank you!

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Wed Jan 08, 2020 6:17 am
by AndreyB
Would anyone be available to help by adding lcsc.com part numbers into schematic component fields? This way we would be able to pre-assemble these little boards.

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Wed Jan 08, 2020 7:53 am
by JRD McLAREN
I have no problem with this...
..
but ,, in my opinion...
board need to be redesigned...
..

heater led..
bigger pads for sensor wires
2 layer board
.......

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Wed Jan 08, 2020 2:44 pm
by infinityedge
JRD McLAREN wrote:
Wed Jan 08, 2020 7:53 am
I have no problem with this...
..
but ,, in my opinion...
board need to be redesigned...
..

heater led..
bigger pads for sensor wires
2 layer board
.......
Might also want to switch out the VNS14NV04 power driver for a non-obsolete part as well.

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Tue Jan 14, 2020 1:50 pm
by Paul Walker
In regards to the topic of board redesign, why was the SOIC24 package of the CJ125 chip chosen instead of the LQFP32? Both the package sizes seem readily available on FutureElectronics and the LQFP32 is half the size of the SOIC24.

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Tue Jan 14, 2020 5:01 pm
by kb1gtt
I believe at the time, of the original circuit design, the SOIC24 was available, but the other was not. That might have changed as time progressed. I do not recall any specific design concerns, both should be able to work just fine.

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Tue Jan 14, 2020 5:33 pm
by Paul Walker
I'm facing some issues with the CJ125 chip. All the SPI communications yield the right results, the Lambda readings are correct (only tested in open air) but the temperature output from the chip seems stuck at ~0.86 V regardless of how hot or cold the sensor is. Tried 4 different chips but all of them behave the same, so I was wondering if it was something wrong with the LQFP32 package because everyone seems to be using the SOIC24 one.

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Wed Jan 15, 2020 3:56 am
by AndreyB
@960 has a board he is not sharing with us where he has LQFP32 working according to him.

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Wed Jan 15, 2020 9:25 pm
by Ahmad
Paul Walker wrote:
Tue Jan 14, 2020 5:33 pm
I'm facing some issues with the CJ125 chip. All the SPI communications yield the right results, the Lambda readings are correct (only tested in open air) but the temperature output from the chip seems stuck at ~0.86 V regardless of how hot or cold the sensor is. Tried 4 different chips but all of them behave the same, so I was wondering if it was something wrong with the LQFP32 package because everyone seems to be using the SOIC24 one.
I'm using LQFP32 pakage without any problem!

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Thu Jan 16, 2020 12:38 am
by texasgdp754
Anyone have a reliable vendor with cj125 in stock in either so24 or tqfp32?

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Thu Jan 16, 2020 12:53 am
by Ahmad
You can find anything in china (www.1688.com).
But in your local store search these part numbers:
Bosch 30481
Bosch 30615

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Thu Jan 16, 2020 3:25 pm
by Paul Walker
texasgdp754 wrote:
Thu Jan 16, 2020 12:38 am
Anyone have a reliable vendor with cj125 in stock in either so24 or tqfp32?
Future Electronics & Rutronik would be your go to in the North American Market

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Thu Jan 16, 2020 9:35 pm
by Paul Walker
Ahmad wrote:
Wed Jan 15, 2020 9:25 pm
I'm using LQFP32 pakage without any problem!
I'm assuming your code and schematic is the same as what rusefi has on their github. Would you also by chance know the part number of the chip you ordered and where you ordered it from?

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Thu Jan 16, 2020 10:26 pm
by Ahmad
The part number is 30615.
In our country, we have many local chip stores, because repairing of commercial ECUs is very popular.
I ordered 30615 from one of this stores. But the gateway of these chips is chinese distributors(www.1688.com).
My schematic/Code is same as RUSEFI with some modifications.

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Thu Jan 16, 2020 10:36 pm
by texasgdp754
Future electronics shows 11 in lqfp32. Ill order there. Only place I can find elsewhere is from china auction sites. I try to avoid them when It comes to ic's.

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Thu Jan 16, 2020 11:10 pm
by Paul Walker
texasgdp754 wrote:
Thu Jan 16, 2020 10:36 pm
Future electronics shows 11 in lqfp32. Ill order there. Only place I can find elsewhere is from china auction sites. I try to avoid them when It comes to ic's.
The part number for future would be 0272240103

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Thu Jan 16, 2020 11:11 pm
by Paul Walker
Ahmad wrote:
Thu Jan 16, 2020 10:26 pm
The part number is 30615.
In our country, we have many local chip stores, because repairing of commercial ECUs is very popular.
I ordered 30615 from one of this stores. But the gateway of these chips is chinese distributors(www.1688.com).
My schematic/Code is same as RUSEFI with some modifications.
Thank you!!!

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Thu Jan 16, 2020 11:19 pm
by Ahmad
Bosch 30615 = Bosch 40103 = CJ125(LQFP-32)

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Mon Jan 20, 2020 2:27 am
by texasgdp754
Bench testing with nucleo stm32f767zi once cj125 boards and components arrive. Will cj125 work on any other spi port like spi4 rather than spi2?

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Mon Jan 20, 2020 5:17 am
by AndreyB
texasgdp754 wrote:
Mon Jan 20, 2020 2:27 am
Bench testing with nucleo stm32f767zi once cj125 boards and components arrive. Will cj125 work on any other spi port like spi4 rather than spi2?
spi4 support not implemented in rusEfi as of today. There are reports of issues with F7 running cj125 - maybe we have issues with SPI parameters maybe user error, who knows :)

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Mon Jan 20, 2020 9:29 pm
by texasgdp754
Assuming spi 1 2 and 3 are all functioning with f4 mcu?

Re: rusEfi own wide band controller board add-on using CJ125

Posted: Thu Apr 09, 2020 4:14 am
by AndreyB
A few people have seen cj125 working with rusEfi code but not me so far.

At least my 0.3 hardware talks to me with just 6 wires: GND, 5v, 4xSPI
New commands are cj125_info, cj125_restart, enable cj125verbose - diag register response is now parsed in human-readable form.

Also we have a LQFP-32 version of the module now at https://github.com/rusefi/hw_modular/tree/master/cj125_Module - not tested yet.