Dl650 mk 1b - Stromtrooper Forum : Suzuki V-Strom Motorcycle Forums
Techy World! GPS, Electronics, etc Electronics forum

Reply
 
LinkBack Thread Tools Display Modes
post #1 of 181 Old 08-09-2011, 08:30 AM Thread Starter
Stromthusiast!
 
BigMan73's Avatar
 
Join Date: Feb 2011
Location: Fair Lawn, NJ
Posts: 2,485
Garage
Lightbulb 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.

2015 Triumph Tiger 800 XCx
2011 DL-650A, Now owned by another stromtrooper
-----------------------------------------------------
Stromputer - https://www.stromtrooper.com/dl650-2004-2011/73806-stromputer-alive.html
Stromtrooper Wiki - http://stromtrooper.wikispaces.com/

Last edited by BigMan73; 08-13-2011 at 07:15 PM. Reason: Added gear position volt levels
BigMan73 is offline  
Sponsored Links
Advertisement
 
post #2 of 181 Old 08-09-2011, 10:13 PM Thread Starter
Stromthusiast!
 
BigMan73's Avatar
 
Join Date: Feb 2011
Location: Fair Lawn, NJ
Posts: 2,485
Garage
High Level Architecture

This is what I'm thinking about, very high level:


Your feedback and suggestions are welcome.

2015 Triumph Tiger 800 XCx
2011 DL-650A, Now owned by another stromtrooper
-----------------------------------------------------
Stromputer - https://www.stromtrooper.com/dl650-2004-2011/73806-stromputer-alive.html
Stromtrooper Wiki - http://stromtrooper.wikispaces.com/

Last edited by BigMan73; 08-09-2011 at 10:17 PM.
BigMan73 is offline  
post #3 of 181 Old 08-09-2011, 10:28 PM
Stromthusiast!
 
Join Date: Apr 2010
Location: ny
Posts: 44
I think the wee has an intake air temp sensor it might be used for your app
Did I just say app how about bluetooth to android? Is there PID data avalibale from the ecu? Most cars use can2 and PID data can be seen on a lap top with the right software Garmen has a gps thet looks at instant fuel economy via the ALDL connector
rpajazz is offline  
 
post #4 of 181 Old 08-09-2011, 10:39 PM Thread Starter
Stromthusiast!
 
BigMan73's Avatar
 
Join Date: Feb 2011
Location: Fair Lawn, NJ
Posts: 2,485
Garage
Quote:
Originally Posted by rpajazz View Post
I think the wee has an intake air temp sensor it might be used for your app
Did I just say app how about bluetooth to android? Is there PID data avalibale from the ecu? Most cars use can2 and PID data can be seen on a lap top with the right software Garmen has a gps thet looks at instant fuel economy via the ALDL connector
Well..skys are the limit here
The MCU can connect to almost anything..bluetooth, etc.

I do not know any details about connecting to the ECU - PID or ALDL.
It seems a little out-of-scope for me for phase 1, but I'm sure that once this solution starts working it can be easily expanded to many other applications.

One easy application, but I think it is kind of wrong, is to build a TRE (lock to 4th gear) by making the MCU output the 4th voltage constantly (Except for N) to the ECU, therefore tricking the ECU to think it is in 4th gear most of the time (or N).

I mean, you can even show messages (SMS, Emails) on the bike's display with the right android app.
But please try to help me make it to phase 1 first..

2015 Triumph Tiger 800 XCx
2011 DL-650A, Now owned by another stromtrooper
-----------------------------------------------------
Stromputer - https://www.stromtrooper.com/dl650-2004-2011/73806-stromputer-alive.html
Stromtrooper Wiki - http://stromtrooper.wikispaces.com/
BigMan73 is offline  
post #5 of 181 Old 08-10-2011, 04:18 AM
Stromthusiast!
 
Join Date: Apr 2010
Location: ny
Posts: 44
Phase 1 learn about OBD network , dataloging, automotive networking protocol IEEE

Link to some light reading


Bibliography on Secure Vehicular Communications
rpajazz is offline  
post #6 of 181 Old 08-10-2011, 08:26 AM Thread Starter
Stromthusiast!
 
BigMan73's Avatar
 
Join Date: Feb 2011
Location: Fair Lawn, NJ
Posts: 2,485
Garage
Quote:
Originally Posted by rpajazz View Post
Phase 1 learn about OBD network , dataloging, automotive networking protocol IEEE

Link to some light reading


Bibliography on Secure Vehicular Communications
Thanks for your feed back.
I have no problem learning new technologies, but I must ask you: What is the purpose? What are the use-cases?
OBD - Are you thinking of a DIY dealer mode diagnostic tool?
On-board diagnostics - Wikipedia, the free encyclopedia

Data logger - What kind of data would you like to log? How is that useful in context of riding?

I really am not looking into building a diagnostic tool, but rather a second display that will add information missing in Mk1, but found in Mk2. Hence Mk1B.

For me, phase 1 will be kept simple (because I follow the KISS principle, Keep It Simple Stupid, which is a cousin of FOF, Function over Form..).
Getting the architecture depicted above to work flawlessly, in a robust and reliable way (water proof) will be a great achievement (for me).
Later in Phase 2, other features, in particular the advanced ones, can be considered. It should be easy to expand this architecture to many more use-cases.

2015 Triumph Tiger 800 XCx
2011 DL-650A, Now owned by another stromtrooper
-----------------------------------------------------
Stromputer - https://www.stromtrooper.com/dl650-2004-2011/73806-stromputer-alive.html
Stromtrooper Wiki - http://stromtrooper.wikispaces.com/
BigMan73 is offline  
post #7 of 181 Old 08-10-2011, 04:47 PM Thread Starter
Stromthusiast!
 
BigMan73's Avatar
 
Join Date: Feb 2011
Location: Fair Lawn, NJ
Posts: 2,485
Garage
I think I found a good candidate for the LCD Module (16x2):

16x2 Character LCD - Serial I2C/SPI/RS232-TTL [16x2 Serial Blue] - $24.00 : FunGizmos, make something fun!
UPDATE: Found a similar module for $20 (green background) at DigiKey


This LCD Module fully supports I2C, and seems pretty easy to program.
Not too expensive.

Also, I plan to use my Lego NXT 'brain' module for the prototype instead of using an AVR MCU.

The Lego NXT has A2D and also I2C support.

2015 Triumph Tiger 800 XCx
2011 DL-650A, Now owned by another stromtrooper
-----------------------------------------------------
Stromputer - https://www.stromtrooper.com/dl650-2004-2011/73806-stromputer-alive.html
Stromtrooper Wiki - http://stromtrooper.wikispaces.com/

Last edited by BigMan73; 08-13-2011 at 07:17 PM.
BigMan73 is offline  
post #8 of 181 Old 08-12-2011, 09:50 AM Thread Starter
Stromthusiast!
 
BigMan73's Avatar
 
Join Date: Feb 2011
Location: Fair Lawn, NJ
Posts: 2,485
Garage
Screen/Display Design

This is my current design of the 16x2 LCD Display:


I'm actually making some nice progress. Most of the research (components in particular) is done.
Soon will start buying the components from DigiKey and start assembling the prototype and coding the 'Firmware'/Program.

In the prototype phase, I first plan to do everything without the V-Strom, and emulate/simulate the gear and battery by using two DAC converters (i.e. generating volts programmatically by the Lego NXT MCU). This would allow me to 'virtually' change the gear position and volts without really using the motorcycle.. It seems a good method for rapid development and unit testing.

2015 Triumph Tiger 800 XCx
2011 DL-650A, Now owned by another stromtrooper
-----------------------------------------------------
Stromputer - https://www.stromtrooper.com/dl650-2004-2011/73806-stromputer-alive.html
Stromtrooper Wiki - http://stromtrooper.wikispaces.com/

Last edited by BigMan73; 08-12-2011 at 09:54 AM.
BigMan73 is offline  
post #9 of 181 Old 08-13-2011, 10:10 AM
Stromthusiast!
 
DougInKY's Avatar
 
Join Date: Mar 2011
Location: Bowling Green, KY
Posts: 1,253
Send a message via AIM to DougInKY Send a message via Skype™ to DougInKY
Are you doing cost projections? This looks to be an interesting project but if the cost per unit is too high I expect that you will see little uptake.

------------------
2007 Wee-Strom (*SOLD*)
2009 Suzuki Burgman 650 Executive
1980 Honda Express (my toy!)
[SIGPIC][/SIGPIC]
DougInKY is offline  
post #10 of 181 Old 08-13-2011, 01:51 PM
Stromthusiast!
 
vegashotwheeler's Avatar
 
Join Date: Feb 2007
Location: Las Vegas Nevada
Posts: 1,761
Send a message via AIM to vegashotwheeler
The terminologies confuse me but you have my interest in the functions you want to add.
Watching with interest.
Mike

2007 Blue DL650 V-Strom - running out of farkle's to do so bought the VEE
2006 SILVER DL1000 - Running out of Farkles also!!!
2017 EX300 Kawasaki Ninja
Las Vegas, NV
vegashotwheeler is online now  
Sponsored Links
Advertisement
 
Reply

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the Stromtrooper Forum : Suzuki V-Strom Motorcycle Forums forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome