+ Reply to Thread
Results 1 to 9 of 9

Thread: Home Built Gear Position Indicator (GPI)

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Country
    My Ride
    2000 VFR
    View my
    Photo Gallery
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Home Built Gear Position Indicator (GPI)

    Hi all,
    I did some searching and didn't find any home made solutions on the forums so I thought I would share this.

    The original idea and plans that this thread is based on come from pdfruth, a poster on st-owners.com. The hardware/software design is all his. His original post/thread can be found here.

    Brief overview:
    1. Install a home made GPI monitor four signals from the bike.
    2. The GPI uses a PIC (programmable integrated circuit) to run the software needed to interpret signals
    3. The GPI controls an LED display, which indicates the current gear
    4. The GPI requires four signals from the bike:
    Ignition Pulse Generator - IGP
    Vehicle Speeds Sensors - VSS
    Neutral Indicator/switch
    Clutch Indicator/switch

    Brief instructions:
    1. Order/find necessary parts (pdfruth does sell kits with all the necessary parts if needed. See this post his first post.)
    2. Assemble GPI
    3. Program the PIC with the supplied code (kits from pdfruth come with the PIC already programmed)
    4. Install GPI and LED on bike.

    I installed one of these on my st1300 and on my VFR. The instructions are for the ST, since I did that first, and then there is some additional information for specific to my 2000 VFR.

    This is what I did to build the hardware for the ST

    1. You can get the PIC for free. Go to http://sample.microchip.com/Default....stCookies=true to request samples. You can get up to three 16f88s. Microchip will ship them to you for free.

    2. I didn't have a programmer, so I built one for less than $5 with parts from Radio Shack. I built the simple JDM version found here. The page has info for helping you testing the programmer to make sure it works right before plugging in your chip. It took me about 30 minutes to build the programmer on a breadboard. (There are lots of schematics for PIC programmers on the internet, but not all of them will work with the 16f88.)

    Please note that JDM style programers require a "real" serial port on the PC. Many "newer" PC do not supply enough power to the serial port if it even has one.

    3. I used IC-PROG which can be found here to control the programmer. The site with the JDM programmer instructions also has instructions for setting the options in IC-PROG.

    4. You have to compile the source code which jdfruth provided. Download all parts of the source code and combine into one file (I've included a single file). Give the file a *.asm extension. Download MPLAB IDE from microchip which can be found here. Install the software and find the file MPAsmWin.exe (do a search in your install directory.) This program will compile your *.asm file into a *.hex file.

    5. Use IC-PROG to burn hex file into PIC

    6. Follow directions/schematic supplied by jdfruth to build you circuit and enjoy.

    VFR Specific:
    The hardware is the same as for the ST. The clutch and neutral signals can be found at the clutch diode, just like the ST (the wire colors are even the same). The diode is in the fuse panel just in front of the battery. The IPG and VSS signals can be found on the Grey plug for the ICM, which is on the back of the bike. All you need to take off to access these points is the seat.
    The IPG is the yellow wire and the VSS is "one" of the two pink wires. See pictures for more info.

    The program for the PIC had to be modified slightly to get it to work with the VFR. The VSS signal has a much lower frequency than on the ST. Below is the single change to the code. Find the code block in the original and replace with below.

    Due to the low frequency of the VSS, the indicator will not be accurate when going less than ~ 10mph. I did design a signal multiplier which would fix this, but never built it and now I don't know where I put the plans.

    Code:
    ;This routine tallies up counter shaft rotation cycles emitted by the VSS.
    ; Each time this ISR is driven, the counter shaft will have rotated a fraction of a full revolution.
    ; Note: On the Honda RC51, there are 27 pulses per counter shaft revolution.
    ; Here we effectively divide the VSS frequency by 128.
    ; We use a RAM variable (VSSINT) as a boolean indicator of these rotations.
    ; Every 64 cycles from the VSS will result in the VSSINT variable switching from 0x00 to 0xFF
    ; or vise versa. The state of the VSSINT variable is monitored in the main loop routine below.
    incf VSSINTS,F ; Increment the VSSINTS ram variable
    
    ;*********************************************************************************************
    ; Changed freq divider from 128 (6) to 32 (4) due to the decreased number
    ; of pulses on the VFR - Edited 03/22/08 by Joe Wagnell
    btfss VSSINTS,4 ; Have we tallied up 8 (0x08, B'00001000') of em yet?
    ;**********************************************************************************************
    goto IntSvcExit ; No
    clrf VSSINTS ; Yes, so restart the counter
    comf VSSINT,F ; And toggle the VSSINT flag

    Please note:
    I installed this on a 2000 VFR. Other years may have variations which will require modification of the instructions. Also, Gen 4 and earlier may not have the require sensors/signals to hookup the GPI as described (IPG ???).

    The source code that I've included already has the changes noted above. 2002 and later bikes might have a different speeds sensor which would require this value to be changed again.

    I have included the HEX file that I used on my VFR project. The included pictures show the locations of all necessary connections on a 2000 VFR.

    I had to remove all the pictures from the instructions so that the file would be small enough to post. The original instructions can be found on the st-owners forum.

    Attached Images
    Attached Files

  2. #2
    Senior Member Wesley J's Avatar
    Join Date
    Dec 2007
    Location
    Calgary
    Country
    My Ride
    '02 VFR
    View my
    Photo Gallery
    Posts
    167
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Tres Cool

    Wesley J
    The Japanese beer vending machine is my new favorite thing.

    Current Rides:
    '02 Honda VFR-800
    '00 Suzuki TL-1000R 143 RWHP Track bike
    '73 Yamaha TX-750

    Current Projects

    '70 Ford F-100 Twin Turbo 5.4 3V

    http://blog.weshill.com
    http://truck.weshill.com

  3. #3
    Junior Member
    Join Date
    Oct 2008
    Location
    San Rafael, CA
    Country
    My Ride
    '99 Honda VFR, '97 Ducati Monster 900, (2) '81 Honda CX500s.
    View my
    Photo Gallery
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Practically assembles itself!

    Wow! I had read the article about the RC51 gear shift indicator, and the author mentioned "someone" had modified the code for a VFR. Nice work!

    I'm fixin' to get into PICs and this would be a good, as well as functional starter project. Thanks for the tip on the programmer; I thought I was going to have to buy one of the pre-made PIC programmers out there.

    Each time I read about this project, I start thinking about using "vampire taps" to hook it up to the bike's electrical system, instead of messy soldering. Thing is, the last time I remember hearing about vampire taps was on old co-ax network cables.

  4. #4
    Junior Member
    Join Date
    Apr 2006
    Country
    My Ride
    2000 VFR
    View my
    Photo Gallery
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Witch Doctor View Post
    Each time I read about this project, I start thinking about using "vampire taps" to hook it up to the bike's electrical system, instead of messy soldering. Thing is, the last time I remember hearing about vampire taps was on old co-ax network cables.
    I would recommend that you solder all your connections because of the vibration from the bike. If you need any help, shoot me a line and let me know.

    Joe

  5. #5
    Member MarkBartels's Avatar
    Join Date
    Feb 2008
    Country
    View my
    Photo Gallery
    Posts
    99
    Thanks
    0
    Thanked 4 Times in 4 Posts
    I tried to understand that....it made my head hurt!
    "You are either on something or onto something".....The Common Man

  6. #6
    Junior Member
    Join Date
    Apr 2009
    Country
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello, the files are damaged, I them Me cannot decompression be able to send it for e-mail.

    gerardcc21@hotmail.com

    Thx.

  7. #7
    Junior Member
    Join Date
    Apr 2006
    Country
    My Ride
    2000 VFR
    View my
    Photo Gallery
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Gerard30 View Post
    Hello, the files are damaged, I them Me cannot decompression be able to send it for e-mail.

    gerardcc21@hotmail.com

    Thx.
    Could you be more specific. I had no problem downloading and extracting the files. If the download is corrupted/interrupted, then you will not be able to decompress. Please try to download again.

  8. #8
    Uber Guru SLOVFR's Avatar
    Join Date
    Oct 2006
    Location
    Pismo Beach Ca.
    Country
    My Ride
    97 vfr 750
    View my
    Photo Gallery
    Posts
    1,727
    Thanks
    62
    Thanked 81 Times in 60 Posts
    Ok is there even a pic of what we are talking about? Im looking for a small unit to install within my gauge cluster like I did with the digital meter.

  9. #9
    Uber Guru Spike's Avatar
    Join Date
    Aug 2006
    Posts
    1,026
    Thanks
    3
    Thanked 11 Times in 11 Posts
    This seems like a lot of trouble when there are no less than two commercially availible gear indicator units; why go through all this hassle??

    FPR; Galfer rotors and braided lines; Ohlins rear; Thurn CF chain guard, engine case cover & exhaust shield; GCC CF rear hugger/chain guard, gauge cover, triple tree cov, tank protector; Techskins; Honda heated grips; Kisan headlight mod, signal canceler, brake mod, tire pressure monitor & license frame w/LED brake light and signals; Sargent; ZG DB screen; 2 Powerlets, Gadgetguy GPS mount, Pair valve remov, R&G sliders, Staintune, Motad w/JetCoat; K&N; Fiamm, Lojack, Scorpio; PCIII

+ Reply to Thread

Similar Threads

  1. a small insight on gear position
    By Slothrop in forum 3rd & 4th Generation 1990-1997
    Replies: 5
    Last Post: 06-02-2009, 12:38 PM
  2. gear indicator for 4th gen?
    By Slothrop in forum Gear & Accessories
    Replies: 5
    Last Post: 04-07-2009, 11:17 PM
  3. LED Gear indicator
    By TX_03_VFR800 in forum General VFR Discussions
    Replies: 10
    Last Post: 10-30-2008, 01:08 PM
  4. Gear indicator
    By fache1 in forum General VFR Discussions
    Replies: 5
    Last Post: 02-25-2008, 09:08 PM
  5. Gear Indicator Install?
    By kdfw in forum 6th Generation 2002-2009
    Replies: 5
    Last Post: 01-01-2008, 10:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.5.0 RC1 PL1