Dl650 mk 1b - Consolidated 2nd LCD display for more indicators
I've been playing with an idea in my head for quite some time, even before the 2012 Glee (that I will call here "DL650 MK2") came out.
[Yes, I know it is military lingo.. I like it!]
Adding my own set of meters in a consolidated solution would be a nice addition to the MK 1 stock bike.
I'm not looking to buy one component from this vendor, and another from another vendor. But I have my own all-in-one solution.
In particular I wanted these meters: (2&3 were added to the MK2 by Suzuki)
1. Battery Volt Meter
2. Ambient Air Temperature
3. Gear Indicator
I'm a software engineer/architect with some background in electronics (high school level), and after doing some research it doesn't look so complex.
I want to have a DIY project that is fully open source under a GPL license - that is, all the diagrams, software, design documents etc. would be open for everybody to download and use, but only for non-commercial usage.
For display I can select either LED or LCD display. That should be allowed to be configured. The solution should eventually support different displays in a plug-and-play manner with some jumpers.
The solution's core component would be built around a microcontroller that has A2D (Analog to Digital) capabilities. AVR or PIC are the natural candidates, I lean towards AVR.
Communication between the MCU and display must be using the I2C protocol. It is a simple, standard protocol.
As for the meters:
1. Battery Volt meter - that's a simple A2D conversion. Perhaps a simple voltage divider is needed in order to take down 15V to 5V range.
2. Ambient Air Temperature - Should be pretty simple using either a thermistor or another specialized MCU that will connect with I2C.
3. Gear indicator - I did some research, and basically the DL650 outputs its gear position to the bike ECU using 7 different voltage levels.
Basically each gear (1-6 + N) has its own unique volt.
EDIT: Here is a link to another DIY project that was using simple voltage comparators (not MCU based with display like I'm planning):
Gear Indicator Plans
Also a discussion in ADVRider: Gear position Indicator for Vstrom - ADVrider
The voltage values are:
1st gear = 1.782v
2nd gear = 2.242v
3rd gear = 2.960v
4th gear = 3.630v
5th gear = 4.310v
6th gear = 4.660v
Neutral = 5.000v
To connect to the gear position wires, a connector is needed. Jim Davis from EB wrote to me that this part is needed: Sumitomo Sealed 3P090wp-MT.
Once the MCU samples the gear position voltage, it should be very easy to figure to the current gear position by a simple comparison to a-priori well known values.
If you want to help me with this project, please feel free to join. I can code any piece of software (C/Assembly) - that's not a problem, but could use some help with the electronics part - looking that I don't have missing components, reverse protection, etc..
But in general, code review (and review) is a must thing for a successful project.
Then there is a question of making the protection cases for the MCU and Display, so they are weather proof but also look nice and don't look too bulky - I'm not really sure how to do it right now.
I've been playing with an idea in my head for quite some time, even before the 2012 Glee (that I will call here "DL650 MK2") came out.
[Yes, I know it is military lingo.. I like it!]
Adding my own set of meters in a consolidated solution would be a nice addition to the MK 1 stock bike.
I'm not looking to buy one component from this vendor, and another from another vendor. But I have my own all-in-one solution.
In particular I wanted these meters: (2&3 were added to the MK2 by Suzuki)
1. Battery Volt Meter
2. Ambient Air Temperature
3. Gear Indicator
I'm a software engineer/architect with some background in electronics (high school level), and after doing some research it doesn't look so complex.
I want to have a DIY project that is fully open source under a GPL license - that is, all the diagrams, software, design documents etc. would be open for everybody to download and use, but only for non-commercial usage.
For display I can select either LED or LCD display. That should be allowed to be configured. The solution should eventually support different displays in a plug-and-play manner with some jumpers.
The solution's core component would be built around a microcontroller that has A2D (Analog to Digital) capabilities. AVR or PIC are the natural candidates, I lean towards AVR.
Communication between the MCU and display must be using the I2C protocol. It is a simple, standard protocol.
As for the meters:
1. Battery Volt meter - that's a simple A2D conversion. Perhaps a simple voltage divider is needed in order to take down 15V to 5V range.
2. Ambient Air Temperature - Should be pretty simple using either a thermistor or another specialized MCU that will connect with I2C.
3. Gear indicator - I did some research, and basically the DL650 outputs its gear position to the bike ECU using 7 different voltage levels.
Basically each gear (1-6 + N) has its own unique volt.
EDIT: Here is a link to another DIY project that was using simple voltage comparators (not MCU based with display like I'm planning):
Gear Indicator Plans
Also a discussion in ADVRider: Gear position Indicator for Vstrom - ADVrider
The voltage values are:
1st gear = 1.782v
2nd gear = 2.242v
3rd gear = 2.960v
4th gear = 3.630v
5th gear = 4.310v
6th gear = 4.660v
Neutral = 5.000v
To connect to the gear position wires, a connector is needed. Jim Davis from EB wrote to me that this part is needed: Sumitomo Sealed 3P090wp-MT.
Once the MCU samples the gear position voltage, it should be very easy to figure to the current gear position by a simple comparison to a-priori well known values.
If you want to help me with this project, please feel free to join. I can code any piece of software (C/Assembly) - that's not a problem, but could use some help with the electronics part - looking that I don't have missing components, reverse protection, etc..
But in general, code review (and review) is a must thing for a successful project.
Then there is a question of making the protection cases for the MCU and Display, so they are weather proof but also look nice and don't look too bulky - I'm not really sure how to do it right now.