6th gear indicator? anyone made one? - Page 2 - Stromtrooper Forum : Suzuki V-Strom Motorcycle Forums
Stromtrooper Forum : Suzuki V-Strom Motorcycle Forums
Go Back   Stromtrooper Forum : Suzuki V-Strom Motorcycle Forums > Popular Forums > DL650 and DL650A - 2004 to 2011


DL650 and DL650A - 2004 to 2011 DL 650 up to 2011

Reply
 
LinkBack Thread Tools Display Modes
  #11  
Old 11-16-2012, 11:25 PM
kiwi_outdoors's Avatar
$tromtrooper
 
Join Date: Mar 2011
Location: Oakland, CA
Posts: 1,305
Default OK - I won't

Quote:
Originally Posted by bassbronco_74 View Post
okay so please don't say "just look at your tach and speedo and you'll know" because i know that i will know...
but


the shift lever won't nick up anymore
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Sponsored Links
Advertisement
 
  #12  
Old 11-17-2012, 01:36 AM
Stromthusiast!
Super Trooper!
 
Join Date: Jun 2011
Location: New Jersey
Posts: 220
Default

BTW I should thank Voltar for his circuit which prompted me to develop my own version also based on the PICAXE microcontrollers. I hadn't used them before but they make doing this sort of stuff much, much easier than using discrete circuitry or most other microcontrollers. I built a gear position indicator for my Ninja 250 using discrete logic and it was rather complex (especially since I had to also build magnetic sensors that sensed when the shift lever was moved up and down). Doing the same thing for the Wee using a PICAXE microcontroller was way easier, especially since the Wee comes with a (hidden) gear indication voltage.

I used my spare microcontroller pins to monitor the battery voltage rather than read the temperature. The MkII version which I'm working on now will add air temperature, speed and deceleration measurement which turns an an extra brake light when I'm slowing down at more than a given rate (currently >0.2G) or stopped (I have that one working). I'm also looking at a proximity sensor which will generate a warning to vehicles following me too closely. Kind of works on the bench but not yet ready for the bike. Might never be. That one's a winter project.
__________________
Bob A.
Current bikes:
1990 Kawasaki Ninja 250 (Rebuilt)
2011 Suzuki DL650A
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
  #13  
Old 11-17-2012, 08:12 AM
Voltar's Avatar
Stromthusiast!
 
Join Date: Aug 2008
Location: Near enuf to Austin
Posts: 901
Default

BobA:

Thanks for the comments.

Can you share the schematic that you are using to measure battery voltage?
Did you pull the signal off the ECM?
__________________
See http://whiskeytangohotel.com/gpi
to build your own V-Strom GPI and save, save, save!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
  #14  
Old 11-17-2012, 12:52 PM
yankeepac's Avatar
Stromthusiast!
 
Join Date: Mar 2012
Location: North Carolina
Posts: 89
Default

All this talk of microprocessors has my head spinning. Seems to be a great idea, but how does one get started building a gear shift indicator type thing. I have no experience with this type of electrical projects. How does a novice learn to do this?
__________________
Ride History
2005 DL 650
1989 TREK 850 Mountain Bike
1974 SCHWINN BANANA SEAT (probably worth more than the wee now, oh well)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
  #15  
Old 11-17-2012, 02:17 PM
Stromthusiast!
Super Trooper!
 
Join Date: Jun 2011
Location: New Jersey
Posts: 220
Default

Voltar

The battery voltage measurement is done with a simple resistor divider and one of the ADC pins of the PICAXE. With a 3:1 divider you can measure 0-20v since the PICAXE pin only sees 0-5v over that range.

You can measure the battery voltage by looking at any of the nominal "+12v" lines, the only caveat is that if you want the accurate battery voltage you have to run leads directly to the battery terminals, otherwise the voltage drop in the bike wiring factors into the equation. However, all you really need to know is if the battery voltage is less than about 12v (indicating that the alternator is faulty) or over about 15v (indicating the regulator is faulty) or in the normal operating range (around 14v with the bike at 2000 rpm or more). If you know the voltage drop on the leads you are connected to (and that drop doesn't change much), you can compensate for it in software.

You can then light one or more LEDs to show battery condition (depending on how many pins you have), or you can use one LED and flash it for high and low voltage conditions. Or you can use two LEDS connected to one output pin with opposite polarities, so that a high output gives you green (normal) and a low output gives you red (over or under voltage).

As for how you learn this stuff I guess it depend on if you've ever had any experience with electronics. What's 2nd nature to me by now might be a complete mystery to someone who has never used a soldering iron. Basically you learn by doing. There are "starter kits" available for most microcontroller systems. I think the PICAXE system is probably one of the easiest to learn, and it's used in schools over in the UK. Their website http://www.picaxe.com/ has all the info you could ever need to get started and they have "starter kits" for simple projects.
__________________
Bob A.
Current bikes:
1990 Kawasaki Ninja 250 (Rebuilt)
2011 Suzuki DL650A

Last edited by BobA; 11-17-2012 at 02:26 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
  #16  
Old 11-17-2012, 03:30 PM
bassbronco_74's Avatar
Stromthusiast!
 
Join Date: Apr 2011
Location: Washougal, Washington
Posts: 1,279
Default

Quote:
Originally Posted by yankeepac View Post
All this talk of microprocessors has my head spinning. Seems to be a great idea, but how does one get started building a gear shift indicator type thing. I have no experience with this type of electrical projects. How does a novice learn to do this?
See Voltars thread here:
Your DIY Digital Gear Position Readout

I have a basic understanding of circuits through classes I had in college and just via work. I am a mechanical engineer by trade and have always been intrigued by sparky stuff.

I definitely won't say it was easy but I'm glad I did it... Voltar was a lot of help too... Read through his thread and check out his link to his blog that describes the project. I'm sure Voltar would also be willing to answer any questions too.
__________________
DL650K7
XL1200N (Sold)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
  #17  
Old 11-17-2012, 03:35 PM
bassbronco_74's Avatar
Stromthusiast!
 
Join Date: Apr 2011
Location: Washougal, Washington
Posts: 1,279
Default

Quote:
Originally Posted by Voltar View Post
BobA is pretty much correct.

The easiest option is probably to utilize the unused LEG16 on the PICAXE18M2 and have it put out a high (or on) voltage when the bike is in 6th gear. That way you could just unplug the PICAXE18M2 from the rig you built and plug in the newly programmed one. Wire an LED to LEG16 with a simple 330 Ohm resistor in series and you would be good to go.

BobA's suggestion of logic gates (AND gate) would also work, but would require adding a chip, wiring in power for it, etc. Certainly not difficult, but the new PICAXE18M2 route is cleaner, easier, faster.
Voltar, after reading through this, I'm thinking it would be fun just to build another rig and leave my one intact... Let me know if this is something you would want to help me with... I already have a lot of the parts I need too.

BobA thank you for your input as well.

I'm envious of you guys and your knowledge of sparkiness and willingness to help people like me
__________________
DL650K7
XL1200N (Sold)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
  #18  
Old 11-17-2012, 03:36 PM
bassbronco_74's Avatar
Stromthusiast!
 
Join Date: Apr 2011
Location: Washougal, Washington
Posts: 1,279
Default

Quote:
Originally Posted by kiwi_outdoors View Post
but


the shift lever won't nick up anymore
Good point kiwi.... I just like cool gadgets that can do it too... And I hate looking for 7th gear
__________________
DL650K7
XL1200N (Sold)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
  #19  
Old 11-17-2012, 05:10 PM
Voltar's Avatar
Stromthusiast!
 
Join Date: Aug 2008
Location: Near enuf to Austin
Posts: 901
Default

Quote:
Originally Posted by BobA View Post
The battery voltage measurement is done with a simple resistor divider and one of the ADC pins of the PICAXE. With a 3:1 divider you can measure 0-20v since the PICAXE pin only sees 0-5v over that range.
That is what I guessed. What did you see as an input impedance of the PICAXE on the 5V side of the voltage divider?

FYI, Check out the PICAXE command "calibadc". This command reads a reference voltage inside the PICAXE making it easier to compensate for fluctuations in your source V (bike battery), supply V (PICAXE Vcc), and lead/connection resistance compensation.
__________________
See http://whiskeytangohotel.com/gpi
to build your own V-Strom GPI and save, save, save!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
  #20  
Old 11-17-2012, 05:15 PM
Voltar's Avatar
Stromthusiast!
 
Join Date: Aug 2008
Location: Near enuf to Austin
Posts: 901
Default

Sure. No problem. I will just add a few lines of code that make the presently connected LEG16 have a voltage on it that can power an LED whenever the bike in in 6th gear. Easy change. Also, if you elected to leave the 7 seg display completely off the new rig things would still work fine for the LEG16/6th gear thing.

Let me know if you are interested and I will fire up the candles in the lab.

Quote:
Originally Posted by bassbronco_74 View Post
Voltar, after reading through this, I'm thinking it would be fun just to build another rig and leave my one intact... Let me know if this is something you would want to help me with...
__________________
See http://whiskeytangohotel.com/gpi
to build your own V-Strom GPI and save, save, save!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Sponsored Links
Advertisement
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not 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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:49 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.2