Register
Results 1 to 6 of 6
  1. #1
    Newbie
    Join Date
    Oct 2017
    Posts
    6
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default change km in speedo on serial cable

    The speedometer can be reprogrammed by disassemble it and desolder the EEPROM chip from the board and write your own hex data in it.

    I was wondering is it possible to write the mileage on a speedometer with a usb to serial cabel and without even disassemble it, using only its pins.

    I tried it with an USB-RS232 cable and a simple python code and got this output.
    file.txt

    Can anybody help me figure this out or show the way where i should go?

    Thank you!
    Attached Files Attached Files

  2. #2
    DK Veteran

    Join Date
    Jun 2017
    Location
    Pretoria, South Africa
    Posts
    373
    Thanks Thanks Given 
    125
    Thanks Thanks Received 
    29
    Thanked in
    18 Posts

    Default

    Use eeprom clip and bridge crystal

    Sent from my HUAWEI CAN-L01 using Tapatalk

  3. #3
    Newbie
    Join Date
    Oct 2017
    Posts
    6
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    yes i know. i can do the writing. i am just curious and challenged myself do it somehow with the serial data pin.

  4. #4
    DK Veteran

    Join Date
    Jun 2017
    Location
    Pretoria, South Africa
    Posts
    373
    Thanks Thanks Given 
    125
    Thanks Thanks Received 
    29
    Thanked in
    18 Posts

    Default

    Not tried, afraid of losing money haha
    Eeproming works for me

    Sent from my HUAWEI CAN-L01 using Tapatalk

  5. #5
    DK Veteran

    Join Date
    Feb 2017
    Location
    Baltic
    Posts
    472
    Thanks Thanks Given 
    23
    Thanks Thanks Received 
    140
    Thanked in
    124 Posts

    Default

    what speedo are we talking about? what pins you connected to ? send your python script...

  6. #6
    Newbie
    Join Date
    Oct 2017
    Posts
    6
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    #!/usr/bin/env python# -*- coding: utf-8 -*-
    import serial


    rs232 = serial.Serial(
    port = '/dev/tty.usbserial',
    baudrate = 9600,
    parity = serial.PARITY_NONE,
    stopbits = serial.STOPBITS_ONE,
    bytesize = serial.EIGHTBITS,
    timeout = 1
    )


    f=open("file.txt","w")
    i = 0
    while True:
    i+=1
    string = ""
    c = rs232.read()
    for i in range(16):
    string += c
    string+='\n'
    f.write(string.encode('hex'))
    print string.encode('hex')


    f.close()

    The speedo's serial number is 67261-08. It has a 93c66 eeprom. I plugged in the power source, and the second pin is the serial data based on this wiring diagram.harley-davidson-headlight-wiring-diagram-radio-harness-stereo-electronic-speedometer-smart-speed.jpg
    I connected the serial data pin to my usb-rs232 cable to the rx pin.
    IMG_1699.jpg

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.