EfiO2Meter Setup and Config

From efiHacks Wiki
Jump to: navigation, search

Contents

Basic Simplified Installation Description

The wireless wide band efiO2Meter does not require any special setup procedure and it's configuration is also kept pretty simple.

It can basically be divided into 3 steps

  1. hook up the Bosch LSU 4.9 Wide Band Oxygen Sensor with the provided interconnect cable ...
  2. provide PowerGround and Power 12 V connections on pin J1.1 and J1.2 ...
  3. setup the wireless Bluetooth connection and Application Software on any of the supported OSs ...
  4. optional : an RS232 serial hookup for a wired connection along with Application Software support is also provided.
  5. optional : there are more connection options to be used as explained in more details at our efiO2Meter Wiring page.
  6. note : the older and less robust LSU 4.2 sensor can also be used by switching 2 jumper options on the board and changing the LSU 4.x selection (use of the LSU 4.2 sensor is not recommended)

The following diagram illustrates the simplified installation schematic for all of it's available connections.

For a more detailed electrical wiring and internal operations description please visit our efiO2Meter Wiring page.

Detailed information on the Wide Band Oxygen Sensors can be found at the Theory of Operation page.

EfiO2Meter Install.png


efiO2Meter Main PCB Connections

Connection Pin Description
Power +12V J1.1 A switched, stable 12 V power source, capable of at minimum 3 A without voltage drop, or 12 V battery voltage .
PowerGround J1.2 A solid electrical ground, capable of at minimum 3 A without voltage drop .
Ground J1.3 It is also preferred to hook this ground connection to pin 11 for support as well as serving as ground reference for the digital I / O signals, pins 6 to 9.
RS232 RxD J1.4 RS232 serial communications receiver input.
RS232 TxD J1.5 RS232 serial communications transmitter output.
Ground J1.6 This ground connection can be used for the Start, Error and RS232 connections.
Error Out J1.7 Digital Error Out signal (more details at the efiO2Meter Wiring page).
Start In J1.8 Start Signal, provide a switch to ground to stop.
Connection Pin Description
TPS J2.1 Throttle Position Input 0 V to 5 V.
EXT J2.2 External Analog Input 0 V to 5 V.
RPM J2.3 RPM Pulse Input, High / Low Voltage Range is dependent on the board type ordered.
Data Ground J2.4 This ground connection can be used for any of the J2 connections.
Analog Out J2.5 O2 Level Analog Out Voltage, use in conjunction with pin 6 data ground (more details at the efiO2Meter Wiring page).
Data Ground J2.6 This ground connection can be used for any of the J2 connections.
O2 Sim Gnd J2.7 O2 Simulation Out Reference Ground (more details at the efiO2Meter Wiring page).
O2 Sim Out J2.8 O2 Simulation Out Signal (more details at the efiO2Meter Wiring page).


Bosch LSU 4.9 Wide Band O2 Sensor PCB Interface Connections

The pin numbers refer to the connector on the printed circuit board of the efiO2Meter and not the connector on the LSU 4.9 Sensor Cable.

More details on the sensor signals can be found at the Theory of Operation page.

LSU 4.9 Connection Pin Description
Virtual Ground 1 VM Sensor Virtual Ground.
Nernst Cell Out 2 UN Nernst Cell Out Voltage.
Pump Current A 3 IA Pump Cell Current Amplifier Out.
Pump Current P 4 IP Pump Cell Current Input.
Heater Neg 5 HN Heater Negative Supply.
Heater Pos 6 HP Heater Positive Supply.

Serial Communication Ports Info

While all of the efiO2Meter configuration is handled by our GUI Software we will provide here a simple chapter dedicated to the command line interface and the wired (bluetooth) serial channel settings.

This will also apply to SPP Bluetooth Serial Connections for the Windows and Linux OS, but NOT for Android based systems (even it's Linux Kernel based, they seem to like to cook their own soup :)). However there are Android based serial Terminal Apps available.

Windows COM ports are numbered by the COMx, x = 1 ... n conventions, regardless if hardwired, USB based or Bluetooth.

With Linux it's a hit and miss, like most Linux experiences, unless you're one of the few selected ... I'm not
for hard wired serial ports their names are /dev/ttySx, x = 0 ... n
for USB based serial ports their names are /dev/ttyUSBx, x = 0 ... n
for Bluetooth serial ports their names are /dev/rfcommx, x = 0 ... n

more details on serial channel setup can be found at "not yet written"

Serial Channel Settings

The device is hard coded to the following parameters and can not be changed.

  • Baud Rate : 57600
  • Data Bits : 8
  • Parity  : None
  • Stop Bits : 1
  • No Handshake

efiO2Meter Commands

Find out which port the efiO2Meter is hooked up to and use it for your terminal emulator.

The terminal emulation program needs to be set to the parameters from the Serial Channel Settings (above) and the "newline settings" can be any of the following CR, LF, CR+LF if available as well as for the "Send on Enter" setting.

Basically any command needs to be terminated with a Carriage Return "CR", or Line Feed "LF" or the combinaton thereof.

  1. once you have it set up, connect the efiO2Meter comm connections (RxD, TxD, Gnd).
  2. select connect for the terminal program or OS to open a serial connection.
  3. power up the efiO2Meter and watch the received data. It should read something like
    efiO2Meter 130309a
    cj125 e8-63 rev_BB
    init1 ec-88
    init2 ee-02
    TCppMain : 130309.00
    TMainRev : 130309.00
    TMainRt  : 130309.00

More details on the powerup sequence can be found at (a bit later)

Now that we verified that we have a working communication we can progress to the one to four letter commands.

All commands have the form of CMD [p0] [p1] ... [pn] where [xx] indicate that the bracketed parameter is optional
Token separaters are any non alpha or numeric characters (space , . ; : and so on)

  • LSU : [ena] LSU selection, 0 = LSU 4.2, 1 = LSU 4.9
  • PKGE : PacKaGe Enable, 0 = disable, 1 = starts the packetized data transport used by GUI apps
  • ASCI : ASCIi / binary mode, 0 = binary used by the GUI apps, 1 = ASCII mode

we are still working on it
way more to come, but that's it for tonight :)


Note : All published design documentation is Copyright efiLabs.com and its use is without exception FOR NON COMMERCIAL PURPOSE ONLY. For commercial licenses contact efilabs.com ... try us, we're reasonable :)

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox