This controller has a 9600-8-N-1 serial interface and a simpler analog interface which I currently use. The whole code is
Code: Select all
aft = interpolate(0, 9, 5, 19, voltageSignal);
Code: Select all
aft = interpolate(0, 9, 5, 19, voltageSignal);
Jared, do you happen to know who has created that schematics?kb1gtt wrote:KICAD draft schematic for CJ125 chip found here https://hardware.open5xxxecu.googlecode.com/git-history/unfinished-unreviewed/KICAD_Project/O2_input_CJ125.sch
Now with proper symbol - schematics looks good now. https://svn.code.sf.net/p/rusefi/code/trunk/hardware/rusefi_lib/cj125.librussian wrote:looks like the CJ125 would need to be extracted into a separate file
mariob wrote:The implementation was not that hard as the datasheet for the sensors is quite informative and the CJ125 does the bigger part of the work. One just needs to take the both analogue values (temperature and mixture), calculate lambda (ok, this was a 6th order polynom but no black magic), send lambda to a pwm output (with a scaling the MS understands) and feed a small pid controller for the heater. This is also the right place to take care of not destroying the sensor by heating it up too quickly. (i always assume -40°C here, this wastes some seconds of usefull sensor data on hot starts but is always safe)
Update: see also http://wbo2.com/cable/lsuconns.htmTurbo SOB wrote:Bosch LSU 4.2 Wideband O2
936142-1 (TE, Micro Timer, 6-way connector) HAVE
144431-1 (TE, Junior Power Timer, 17 - 22 gauge tin terminal) HAVE
12157739 (Delphi, 2.8 Timer, tin terminal) HAVE
15324976 (Delphi, Metri-Pack 150, White Cable Seal) HAVE
Bosch LSU 4.9 Wideband O2
1599620-2 (TE, Housing, Micro-Timer, Available from OnlineComponents.com) HAVE and verified to work with Bosch sensor p/n 17025.
284716-4 (TE, Housing, Micro-Timer, Mouser) HAVE and verified, but is more difficult to disconnect than the 1599620 (may be good or bad, depending on what you want).
964274-2 (TE, Female Terminal, Micro-Timer, Available from OnlineComponents.com) HAVE
1241732-2 (TE, Female Terminal, Micro-Timer II, Mouser) HAVE, appears to be identical to 964274, but is pre-gapped a tiny bit (reduces connection force).
962876-2 (TE, Female Terminal, Micro-Timer, Mouser) HAVE, I can't tell any difference to 964274.
968015-2 (TE, Female Terminal, Micro-Timer, Mouser) HAVE, slightly different tang design (though, for what benefit?).
964972-1 (TE, Cable Seal, Micro-Timer, Yellow, 1.9 - 2.4 mm Insul. O.D, Available from OnlineComponents.com) HAVE
963530-1 (TE, Cable Seal, Micro-Timer, Gray, 1.4 - 1.9 mm Insul. O.D) HAVE
964971-1 (TE, Cable Seal, Micro-Timer, Red, 1.2 - 1.6 mm Insul. O.D) HAVE
if i'm not mistaken, this evolved to http://breitband-lambda.de/russian wrote:another open source cj125-based controller including source code and gerbers: https://www.elektormagazine.com/magazine/elektor-201201/19791
Looks like the article has leaked to http://uploadkon.ir/uploads/4b5782ba531bb58ff30ceeaa383a9212.pdf and/or http://d1.amobbs.com/bbs_upload782111/files_49/ourdev_707565DNEIR9.pdf