Instruments for the GSXR

Since the GSXR is now a street fighter the factory gauges won’t do, and I wanted something I could log air/fuel ratios with so I can jet the bike. I went a little overboard making a new dash.

20151019_165950_levels

I had a Planar 160×80 EL graphic display that’s been in my parts bin for years that I’ve always wanted to use, and this was perfect. Unfortunately it doesn’t have a controller so I had to interface it to the CPU with an Epson S1D13700 graphic controller. The display indicates speed from a GPS module, air/fuel ratios from the wideband O2 sensor, engine temp, battery voltage, time from GPS, and RPM. I used a light sensor to sense ambient brightness levels and dim the display by changing TC/R in the graphics controller. The refresh of the display is high enough to allow a large dimming range without flickering. The EL display can be refreshed at up to 240Hz. The light sensor also controls the brightness of the bar graph and indicator LEDs. A BC127 bluetooth module allows datalogging via SPP, and I might eventually get around to displaying SMS messages from my phone on the display which was one of the design goals but isn’t done yet.

P1030681

An IR optoisolator senses RPM pulses from the magnetic pickup and protects the system from ignition noise. Addressable LEDs function as indicator lights as well as forming the bar graph at the top of the display. The bar graph can display RPM, battery voltage, engine temp, or A/F ratios depending on the current mode which is selected by a button on the side of the housing. The bar graph is also a two stage shift light which overrides any display mode and goes to full brightness with two different colors to indicate high RPM for shifting. A highlight box on the graphics layer shows which mode is currently active and the graphic and text layers are XOR’ed. I also made a custom bitmapped font I thought went well with the display size and the amount of characters.

I did have problems with the cursor randomly flashing around the display since you can’t actually turn the cursor off with the S1D13700, so I had to implement a buffered graphics display. Data is collected from the various sensors and serial interfaces which updates the graphic frame buffer, and then the buffer is written to the display.

P1030523

P1030601

An ATmega128L runs the system, and the logic was all written in C. This will hopefully be my last big project with an AVR (especially the 128), as I am trying to migrate to ARM for bigger projects.
I made the housing from cast acrylic on my CNC. The base is milled out 1″ sheet. I made the PCBs on my CNC as well. Here is the schematic which I think is current, source code and a video of the whole thing in action.

 

GSXR_BRD_REVB

 

Current version (mostly done?)

in progress

P1030588copy

Check out my tail light here:

Light pipe tail light for the GSXR

P1030499

Tags: , , , , , , ,

Sunday, October 25th, 2015 Automotive, CNC, Electronics

14 Comments to Instruments for the GSXR

  • Anool says:

    Hi Josh,
    Awesome build. We stumbled upon it and will featurs this on the Hackaday blog soon.

  • […] Motorcycle custom instrument panel – [Link] […]

  • […] Motorcycle custom instrument panel – [Link] […]

  • […] Motorcycle custom instrument panel – [Link] […]

  • Steve says:

    DUDE!!!!!!!!!!!! That is one AWESOME ride!!!!!!!

  • JJLudemann says:

    This is fantastic! I use this engine on my race car, as do a lot of other amateur racers in the US, so this is interesting to many people. My 2008 GSX-R1000 doesn’t have a standard OBD-II connector– how did you to the other side of the Bluetooth connection, the one that’s wired to the ECU?

  • togo says:

    Shitty bike build

  • imsolidstate says:

    Then show me your build, internet armchair critic.

  • imsolidstate says:

    JJLudemann – My bike is a ’92 so it doesn’t have bluetooth. I send data from the sensors via the AVR to the bluetooth module, which then connects to my phone. I don’t connect to the ECU at all. I use the ignition pickup to sense RPM and the AVR’s ADC for things like engine temp. Your ECU should still have some kind of OBD complaint com port, it’s probably a 3-wire connector.

  • jay says:

    Hey man great project any way you can share the schematic and code, im hopping to do the same.

  • Julien says:

    Hi,

    Very impressive. I also would be interested to do the same on my GSXR. Can you send me the shopping list, schematic and code ?

    Thanks 😉

  • Mike says:

    Love the build. Most excellent. Life your other work.

    Don’t get mad at Togo. He’s probably sad that his Game Boy died and he can’t scarf his neighbor’s WiFi down in his mom’s basement after the neighbor added a passcode. Life’s tough for Togo at 32 and working as a part time janitor at Wendy’s.

  • Kiss Tibor says:

    Hi, can you make this for an aprilia rsv 1000 mille?How much would it cost?(plus oil pres. sensor,2 lambda sensor for air fuel ratio meter! Tibor.

  • Leave a Reply