All projects
PRJ-07 · Embedded Systems · Automotive Electronics · Mechatronics
Personal ProjectAutomotive Embedded SystemsCompleted

Digital Motorcycle Speedometer Retrofit

Custom Embedded Instrument Cluster for Honda Bros

Designed and built a complete digital retrofit for the original analog speedometer of a Honda Bros motorcycle. The original mechanical speed indication was replaced with an embedded electronic system using a Hall-effect magnetic sensor for wheel-speed measurement, a stepper motor to drive the original-style analog needle, and an OLED display for additional vehicle and environmental information.

The project combined custom PCB design, embedded firmware, sensor processing, motor control and mechanical integration while preserving the visual character of the original motorcycle instrument.

Custom PCBEmbedded C/C++Hall SensorStepper MotorOLEDMotor ControlSensor ProcessingAutomotive Electronics
Completed Honda Bros speedometer retrofit with stepper-driven needle and blue OLED showing time, temperature and 120 km/h
Completed electronic retrofit — stepper-controlled analog needle and integrated OLED display.
01 Project Overview

The objective was to modernize the original Honda Bros motorcycle speedometer while retaining the look and physical form of the classic analog instrument. The original speedometer mechanism was converted into an electronically controlled embedded instrument.

The system uses
  • ▸A Hall-effect magnetic sensor mounted near the wheel
  • ▸A magnet / magnetic target on the rotating wheel
  • ▸Custom embedded electronics
  • ▸Firmware-based speed calculation
  • ▸A stepper motor to position the analog needle
  • ▸An OLED display integrated into the original gauge
  • ▸Environmental temperature measurement
  • ▸Clock / time display and additional digital information

The result is a hybrid analog + digital speedometer: the analog needle still gives an intuitive speed indication, while the OLED adds digital information the original instrument never had.

02 From Mechanical to Embedded
Before
Original mechanical Honda Bros speedometer with odometer and trip counter
Original mechanical Honda Bros speedometer
After
Retrofitted speedometer with OLED display and electronically driven needle
Digitally controlled analog needle + OLED information display
Mechanical Speed InputHall-Effect Sensing
Mechanical Needle DriveStepper Motor Control
Analog-Only DisplayAnalog + OLED Hybrid Display
03 My Contribution
Designed and built entirely by me

I designed and implemented the complete electronic and embedded system, including PCB hardware, sensing, firmware, motor control and integration into the original speedometer enclosure.

Not a commercial kit or an off-the-shelf conversion.

Hardware
  • ▸System architecture
  • ▸Schematic design
  • ▸Custom PCB design
  • ▸Hall-effect sensor interface
  • ▸Stepper motor interface
  • ▸OLED integration
  • ▸Temperature-sensor integration
  • ▸Power supply / vehicle electrical integration
  • ▸Mechanical integration
  • ▸Wiring
  • ▸Hardware debugging
Firmware
  • ▸Speed calculation
  • ▸Hall-sensor pulse processing
  • ▸Wheel rotation measurement
  • ▸Stepper motor control
  • ▸Needle positioning
  • ▸OLED display management
  • ▸Time display
  • ▸Temperature display
  • ▸User information presentation
  • ▸Startup behaviour
  • ▸Calibration
  • ▸Fault handling
  • ▸Testing and debugging
04 System Architecture
Motorcycle Wheel
Magnet / Magnetic Target
Hall-Effect Sensor
Embedded Controller
Speed Calculation
Stepper Motor Driver
Analog Speed Needle
OLED Display
Speed / Time / Temperature
Temperature Sensor
05 Wheel Speed Measurement

Wheel speed is measured with a Hall-effect magnetic sensor. A magnetic target attached to the rotating wheel generates a pulse each time it passes the sensor. The firmware measures the timing / frequency of these pulses and calculates vehicle speed using the known wheel circumference.

MAGNETHALLone pulse per magnet passperiod → speed
Wheel Rotation
Magnet Passes Sensor
Hall Sensor Pulse
Pulse Timing / Frequency
Speed Calculation
Vehicle Speed
06 Electronic Analog Needle Control

Instead of a mechanically driven needle, the system uses a stepper motor controlled by firmware. The calculated speed value is converted into a target needle position — preserving the intuitive analog indication while replacing the mechanical drive with electronic control.

Calculated Speed
Speed-to-Angle Mapping
Stepper Motor Control
Needle Position
Analog Speed Display
07 Integrated OLED Information Display

An OLED display was physically integrated into the original gauge face. It can show digital vehicle speed, time, ambient temperature and additional system information.

The OLED extends the original instrument with digital information while maintaining the original circular speedometer form factor.

03:1922C
120km/h

Illustration based on the display in the project photograph.

08 Firmware Architecture
System Initialization
Hall Sensor Monitoring
Pulse Timing
Speed Calculation
Speed Filtering / Stabilization
Stepper Position Update
OLED Display Update
Supporting modules
Clock / TimeTemperature MeasurementCalibrationDiagnosticsFault Handling
09 Speedometer Calibration

The system required calibration so that the needle position matched the calculated vehicle speed. Measured speed values were mapped to physical needle positions on the original dial. The speed calculation itself depends on the wheel geometry and the relationship between wheel rotation and sensor pulses.

Measured Speed
Calibration Mapping
Target Needle Angle
Stepper Position
Visual Speed Indication
10 Mechanical Integration

The new electronics were integrated inside the original Honda Bros speedometer assembly, keeping the classic appearance of the motorcycle while replacing the internal speed measurement and needle mechanism with an embedded system.

Original and retrofitted Honda Bros speedometers side by side
Original housing and dial retained — stepper-controlled needle and OLED opening added.
  • ▸Reuse of the original housing
  • ▸Preservation of the original speedometer face
  • ▸Integration of the stepper motor
  • ▸OLED opening and mounting
  • ▸Custom PCB installation
  • ▸Sensor wiring
  • ▸Compact packaging
11 Testing & Validation
  • ▸Hall-sensor pulse verification
  • ▸Wheel-speed calculation testing
  • ▸Needle-position calibration
  • ▸Stepper movement testing
  • ▸OLED functionality testing
  • ▸Temperature-sensor validation
  • ▸Power-cycle testing
  • ▸Startup behaviour
  • ▸Wiring and hardware verification
  • ▸Road / practical functional testing
Wheel Rotation
Hall Sensor
Firmware Speed Calculation
Stepper Needle + OLED
Observed Vehicle Speed
Calibration / Adjustment
12 Engineering Challenges
  1. 01Measuring motorcycle wheel speed reliably using a Hall-effect sensor
  2. 02Converting wheel pulses into stable vehicle-speed information
  3. 03Mapping calculated speed to the physical analog needle position
  4. 04Controlling a stepper motor smoothly across the speedometer range
  5. 05Integrating an OLED display into an existing analog gauge
  6. 06Designing custom electronics to fit within the original speedometer enclosure
  7. 07Operating reliably in a vehicle electrical environment
  8. 08Maintaining the original visual character of the motorcycle
  9. 09Integrating sensing, display and motor control into one embedded firmware architecture
  10. 10Calibrating the complete system
13 Technology Stack
Hardware
Custom PCBHall Effect SensorStepper MotorOLED DisplayTemperature Measurement
Firmware
Embedded C/C++Firmware DevelopmentSensor ProcessingMotor ControlSpeed Measurement
Domain
Automotive ElectronicsEmbedded Instrumentation
Testing
Hardware DebuggingCalibration
14 Project Media
Before and after comparison of the Honda Bros speedometer retrofit
Mechanical to embedded instrument retrofit.
Retrofit in operation — speedometer demo.