Skip to content
Maciej sorek Loboda edited this page Aug 5, 2024 · 22 revisions

Welcome to the Gauge.S documentation page.

Basic single button controls are as follows:

  • Single press - advance to next parameter / Next.
  • Double press - go back to previous parameter / Previous.
  • Long press - edit chosen parameter / Confirm.
  • Triple press - grid change mode / Back.
  • Very long press - enter menu / Exit.
  • Keep button pressed for 10s - reset device.

Please watch video before using this Repository:

Gauge.S

https://youtu.be/v5P81D6qujs


PCB pinout

Depending on your PCB version, it varies slightly in terms which FW version you are able to run.

All pins are marked on PCB, here is list of PCB pins with their respective name you can find on the board itself.

Basic pins

  • 12V - is for positive voltage
  • GND - is ground plane connected to chassis ground
  • K - is K-line connection for getting data from ECU
  • CAN L/H - low and high pin of CAN bus
  • EC - it's "button" pin to control the device

Analog pins

  • A1 - A4 - those pins are 0-5v tolerant pins used along with voltage divider consisting of 1k Ω input and 2.2k Ω resistor combo.

Please mind for 4.0v PCBs and newer only A1-A2 pins will be 0-5v tolerant and A3-A4 pins will be 0-3.3v tolerant with 4.7kΩ (1kΩ for v4.3 and forward) pullup perfect to use with various temperature sensors.

Extra pins

  • EA - special IO pin, it's usage is explained in configuration section
  • EB - in most cases it's GPS RX pin for reading external GPS unit
  • SCL, SDA - those pins are used for I2C bus, used for external Accelerometer ADXL345 or smaller I2C screen on E46 cluster

Versions of PCB stating +v3.4 and newer don't need external resistor soldering, they also have different cables so look at markings at PCB "EC" means button. Gauge.S PCB

Pin table:

ZH 1.5mm type 5 pin connectors used on current and future desings (since v3.6).

Pin 1 is from the right (if you hold device like on picture above).

Main connector

DATA Pin Colour Notes
Pin 1 Ground Black
Pin 2 +12V Red Between >5V and <20V
Pin 3 K-line White
Pin 4 EC Yellow Button control (diode protected)
Pin 5 EA Orange 3v3 max on v4.3; from v5.0 N-channel MOSFET with configurable pullup

CAN bus connector

CAN Pin Colour Notes
Pin 1 Ground Black
Pin 2 +12V Red Between >5V and <20V
Pin 3 K-line White
Pin 4 CAN High Yellow On v5.0 120Ω resistor is configurable from dip switches
Pin 5 CAN Low Orange On v5.0 120Ω resistor is configurable from dip switches

I2C/GPS connector

GPS Pin Colour Notes
Pin 1 12C_SDA Black 3v3 tolerant only!;
Pin 2 12C_SCL/TX Red 3v3 tolerant only!; TX for GPS
Pin 3 3v3 White 3v3 tolerant only!;
Pin 4 EB/RX Yellow 3v3 tolerant only!; RX for GPS
Pin 5 GND Orange

Analog connector

Analog Pin Colour Notes
Pin 1 A1 Black 5v tolerant only!; 1kΩ - 2.2kΩ voltage divider
Pin 2 A2 Red 5v tolerant only!; 1kΩ - 2.2kΩ voltage divider
Pin 3 A3 White 3v3 tolerant only!; 4.7kΩ pullup; 1kΩ pullup on v4.3 and newer
Pin 4 A4 Yellow 3v3 tolerant only!; 4.7kΩ pullup; 1kΩ pullup on v4.3 and newer
Pin 5 GND Orange

V5.0 offers extra connector and dipswitch configuration.

Extra connector

Extra Pin Colour Notes
Pin 1 A5 Black 12v tolerant only!; 10kΩ - 2.2kΩ voltage divider
Pin 2 A6 Red Configurable input with 1kΩ resistor after opitonal pullup;
Pin 3 A7 White Configurable input with 1kΩ resistor after opitonal pullup;
Pin 4 EE Yellow Configurable input with 1kΩ resistor after opitonal pullup;
Pin 5 GND Orange

Numbered from top, ON when switched to left

Dipswitch configuration

Dipswitch Desciption
Dip 8 2.2kΩ pulldown for A6 (if set by itself makes pin 5V tolerant)
Dip 7 220Ω pulldown to 3v3 for A6 (if set by itself makes pin 18V tolerant)
Dip 6 1.0kΩ pullup to 3v3 for A6 (before 1k inline resistor)
Dip 5 2.2kΩ pulldown for A7 (if set by itself makes pin 5V tolerant)
Dip 4 220Ω pulldown to 3v3 for A7 (if set by itself makes pin 18V tolerant)
Dip 3 1.0kΩ pullup to 3v3 for A7 (before 1k inline resistor)
Dip 2 510Ω pullup to +12V rail for EA MOSFET line
Dip 1 120Ω between CAN High and CAN Low

ALWAYS LOOK ON WHAT IT SAYS ON PCB WHEN CONNECTING TO THE CAR NOT AT THE WIRE COLOURS!