Cars · Wiring

Microcontroller-Based Digital Odometer for Honda Prelude (BB Chassis)

Replace a failed mechanical odometer in your Honda Prelude (BB chassis) with a custom digital unit featuring precise calibration, multiple trip meters, and advanced monitoring functions.

Advanced 0

Adapted from Icelord

This article details the construction and integration of a custom digital odometer system designed to replace the original mechanical unit in a Honda Prelude (BB chassis). This solution offers enhanced functionality, precision, and programmability compared to the factory component, leveraging modern microcontroller technology with vintage-style displays.

Key Features

This custom digital odometer provides a range of advanced features:

  • Precise Wheel Size Calibration: Allows for accurate distance measurement adjustable to specific tire and wheel setups.
  • Total Mileage Tracking: Records the vehicle's cumulative distance traveled.
  • Dual Trip Meters: Two independent, resettable trip counters, each capable of tracking up to 9999.9 kilometers.
  • Engine Hour Meter: Monitors engine operating hours, derived from the engine's RPM signal, with a configurable normalization setting.
  • Integrated Backlight Control: Manages the LED backlighting for instrument cluster needles, including a warning flash function when user-defined parameters are exceeded.
  • Electroluminescent Panel Control: Provides control over aftermarket Indiglo-style gauge panel backlighting.
  • Non-Volatile Data Storage: All parameters and mileage data are securely stored in Ferroelectric RAM (FRAM), ensuring data persistence even without power.
  • Vintage Display Aesthetics: Utilizes classic HP Avago HCMS-2973 LED matrix displays for an authentic retro appearance.

System Components

The core of this digital odometer system typically involves:

  • Microcontroller Board: An Arduino Nano (ATmega328) or similar compact microcontroller (e.g., ESP32, as seen in some prototypes) serves as the central processing unit.
  • Display Units: Multiple HP Avago HCMS-2973 LED matrix displays are used to show mileage and other data. These displays typically require a parallel interface.
  • Non-Volatile Memory: An I2C-compatible FRAM chip (e.g., 24C08P) is used for reliable storage of critical data.
  • Voltage Regulator: A 7805T linear voltage regulator converts the vehicle's 12V supply to a stable 5V for the microcontroller and displays.
  • Driver Circuitry: Additional components (resistors, transistors, etc.) are used to interface the microcontroller with the displays and other vehicle signals.

Note

Due to the physical size of the custom electronics, the main control unit may need to be mounted externally to the instrument cluster housing, with only the display elements integrated into the cluster itself.

Electrical Integration

Integrating the digital odometer requires tapping into several key signals within the vehicle's wiring harness, primarily from the instrument cluster or ECU connections.

Required Inputs

  • Vehicle Speed Sensor (VSS): Provides the pulse signal necessary for calculating distance traveled. This is typically a 0-5V or 0-12V square wave signal.
  • Ignition (Switched 12V): Supplies power to the system when the vehicle is on.
  • Dimmer (DIM): An input signal (often a variable voltage or PWM) from the vehicle's dimmer circuit to adjust the brightness of the digital display.
  • Engine RPM Signal: Used for the engine hour meter function. This signal can often be sourced from the ECU or ignition system.
  • User Button: An input for cycling through trip meters, resetting values, and accessing settings.

Caution

Always disconnect the vehicle's battery before performing any electrical work. Incorrect wiring can cause damage to the vehicle's electrical system or the custom odometer unit.

Important

Specific wire colors and pin locations for VSS, ignition, and dimmer signals must be confirmed using the Honda Factory Service Manual (FSM) for your exact Prelude model and year. Wiring diagrams vary between trims and production years.

Arduino Nano Pinout Reference

This wirelist details typical connections for an Arduino Nano-based implementation. Pin assignments for display data and control lines may vary based on the specific display modules and firmware.

Arduino Nano Odometer Connections

of 10 connections

Arduino Nano (ATmega328) Vehicle Inputs
Test point D2 VSS Input
  1. Vehicle Speed Sensor
For distance calculation
Arduino Nano (ATmega328) Vehicle Inputs
Test point A0 DIM Input
  1. Instrument Cluster Dimmer
For display brightness adjustment
Arduino Nano (ATmega328) Vehicle Inputs
Test point A1 Ignition Input
  1. Switched 12V via voltage divider
System power enable
Arduino Nano (ATmega328) Vehicle Inputs
Test point D3 User Button
  1. Momentary Switch
For menu navigation/reset
Arduino Nano (ATmega328) Memory (FRAM) Interface
Test point A4 SDA (I2C Data)
  1. FRAM IC e.g., 24C08P
Data line for non-volatile storage
Arduino Nano (ATmega328) Memory (FRAM) Interface
Test point A5 SCL (I2C Clock)
  1. FRAM IC e.g., 24C08P
Clock line for non-volatile storage
Arduino Nano (ATmega328) Power & Ground
Test point VIN +12V Input
  1. Vehicle 12V via 7805T
Main power supply
Arduino Nano (ATmega328) Power & Ground
Test point GND Ground
  1. Vehicle Chassis Ground
Common ground connection
Arduino Nano (ATmega328) Display & Control Outputs
Test point D0-D13 Display Data/Control
  1. HP Avago HCMS-2973 Displays
Parallel data and control lines (specific mapping depends on firmware)
Arduino Nano (ATmega328) Display & Control Outputs
Test point A0-A7 Display Data/Control
  1. HP Avago HCMS-2973 Displays
Parallel data and control lines (specific mapping depends on firmware)

No matching connections.

Firmware and Customization

The open-source nature of this project allows for extensive customization. The firmware, typically written in C++ for Arduino, can be modified to:

  • Adjust calibration factors for the VSS signal.
  • Change display modes or add new information.
  • Fine-tune engine hour calculation parameters.
  • Customize warning thresholds for backlight alerts.

Source code and schematics are often available on platforms like GitHub, enabling enthusiasts to build and modify the system to their specific needs. Refer to the project's repository for the most up-to-date information and code.

Installation Considerations

Integrating a custom digital odometer requires careful planning and execution:

  • Space Constraints: The Prelude instrument cluster has limited internal space. An external enclosure for the main control board is often necessary.
  • Wiring Harness: Create a robust wiring harness with appropriate connectors to interface the custom unit with the vehicle's electrical system. Use automotive-grade wire and ensure proper insulation.
  • Mounting: Securely mount the display elements within the instrument cluster bezel and the external control unit in a discreet, protected location.
  • Calibration: After installation, perform initial calibration for wheel size and verify all functions (total mileage, trip meters, engine hours, backlight control).

Warning

Modifying the instrument cluster requires precision and care. Irreversible damage can occur if components are removed or cut improperly. Proceed with caution or seek professional assistance.

Visual Reference

Applies to

1 taxonomy link
Cars 1 link

Honda

1 link
Model Prelude
Direct taxonomy match

Credits and source

Source Adapted from Цифровой одометр on Icelord. Licensed under All rights reserved.

Source Adapted from Digital odometer part 2 on Icelord. Licensed under All rights reserved.