Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack (4) Thread Tools Display Modes
Old 19th March 2007, 02:31 PM   (permalink)
Default

Quote:
Originally Posted by gramo
Did you change the voltage divider to use 2.5K resistors?

Perhaps it’s meant to be the voltage difference between the two wires, or just the one on the right, I have no idea as I don’t have your manual.
I didn't change because the voltage divider for gear indicator is working perfect with 10K resistor.

My problem now is the signal from the speed sensor to digital speed indicator.

I post previously an attached circuit that I'm going to use to try to lower the voltage signal to 5 V because I think that's is the problem.

Thanks
Kiko is offline  
Old 19th March 2007, 03:17 PM   (permalink)
Default

You don't need the 2 diodes as the pic has identical diodes built into it's input pins. Just try a simple RC filter first and see how that works out. I think 100k (+10K) is probably too high to start with. As your only going to 300Hz then 10k and 0.1uf is probably a good starting point.

Mike.
Pommie is online now  
Old 19th March 2007, 08:28 PM   (permalink)
Default

Quote:
Originally Posted by Pommie
You don't need the 2 diodes as the pic has identical diodes built into it's input pins. Just try a simple RC filter first and see how that works out. I think 100k (+10K) is probably too high to start with. As your only going to 300Hz then 10k and 0.1uf is probably a good starting point.

Mike.
But do I have to lower the voltage peak to 5V?
Kiko is offline  
Old 20th March 2007, 01:14 AM   (permalink)
Default

Quote:
Originally Posted by Kiko
But do I have to lower the voltage peak to 5V?
The 10K resistor should take care of that.

Mike.
Pommie is online now  
Old 20th March 2007, 02:11 AM   (permalink)
Default

Quote:
Originally Posted by Pommie
The 10K resistor should take care of that.

Mike.
Ok I have finished to do that and with the bike on the jack the speedo is working great, no problem anymore, and tomorrow I'll test on the road...

Thank you

ps. I have not finished. I have lot of questions coming to finished this project.

Thank you very much
Kiko is offline  
Old 20th March 2007, 06:56 AM   (permalink)
Default

Geez, my bad, I was thinking that the speed was ADC based, sorry
__________________
Spency.

PIC Micro's - Your mind is the limit

PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net
gramo is offline  
Old 20th March 2007, 03:13 PM   (permalink)
Default

Quote:
Originally Posted by gramo
Geez, my bad, I was thinking that the speed was ADC based, sorry
No problem at all as your help was very valuable to me.

So I made a road test today and the gear indicator is working perfect and the speed indicator is working nice and smooth but at high speed I have some indication discrepancy that is proportional to speed but I think I can fix it changing the values of RC filter (Am I correct?).

I think now we have here, with help from you guys, a very good starting point for people who want to make a project like that.

All I can say is thank you very much.

By the way, do you have or know any guide that I can use to change the alpha LCD to graphic LCD using proton+ basic?

Rgds
Kiko is offline  
Old 22nd March 2007, 03:28 PM   (permalink)
Default

Hi there,

This is fascinating, I'm trying to do the same thing with a 16F876A and my Yamaha (it doesn't have a Gear Position Indicator so just speed).

Kiko could you post your completed schematic because I'm at the stage now where it works on the bench but I fear I may encounter the same problem you had.

Cheers Rik
quickrik is offline  
Old 24th March 2007, 12:19 AM   (permalink)
Default

Quote:
Originally Posted by quickrik
Hi there,

This is fascinating, I'm trying to do the same thing with a 16F876A and my Yamaha (it doesn't have a Gear Position Indicator so just speed).

Kiko could you post your completed schematic because I'm at the stage now where it works on the bench but I fear I may encounter the same problem you had.

Cheers Rik
Sure don't worry. I will post as soon as I fix my computer because I had a little problem with it and I'm reinstalling everything in it. But the speed and gear indicator is working perfect.

Since my main goal is to make one with graphic LCD display, I'd like to hear from you guys the display conections as well as the main code (Proton+ Basic) and if it's necessary to use an external eeprom.

I'm using KS0108 display driver...

Tks
Kiko is offline  
Old 24th March 2007, 07:30 AM   (permalink)
Default

Quote:
Originally Posted by quickrik
Hi there,

This is fascinating, I'm trying to do the same thing with a 16F876A and my Yamaha (it doesn't have a Gear Position Indicator so just speed).

Kiko could you post your completed schematic because I'm at the stage now where it works on the bench but I fear I may encounter the same problem you had.

Cheers Rik
If you add an RPM pickup you could do the Gear Position Indication using a little math.

D.
danci1973 is offline  
Old 24th March 2007, 10:34 AM   (permalink)
Default

Quote:
Originally Posted by danci1973
If you add an RPM pickup you could do the Gear Position Indication using a little math.
D.
Only if the clutch is out . I do like that idea though. You could display speed, RPM and gear with just the 2 signals.
Pommie is online now  
Old 24th March 2007, 12:50 PM   (permalink)
Default

Quote:
Originally Posted by Pommie
Only if the clutch is out . I do like that idea though. You could display speed, RPM and gear with just the 2 signals.
I think it can be done. Just the update might have a little delay while debouncing/calculating the shifts and RPMs.

Now what to do if you are idle at a stop light. I used to stop and then down-shift into first at times. So you would not get a gear update until moving again.
mramos1 is offline  
Old 24th March 2007, 02:35 PM   (permalink)
Default

Quote:
Originally Posted by mramos1
I think it can be done. Just the update might have a little delay while debouncing/calculating the shifts and RPMs.

Now what to do if you are idle at a stop light. I used to stop and then down-shift into first at times. So you would not get a gear update until moving again.
Could you please post the maths? This way the QUICKRIK can start his project.

Last edited by Kiko; 24th March 2007 at 11:42 PM.
Kiko is offline  
Old 24th March 2007, 02:51 PM   (permalink)
Default

Attached is the schematic that I used, with help from you, for my bike Speedometer and Gear Indicator.

It's working perfect but as I sad before I'd like to use a graphic LCD instead.

Thank you
Attached Images
File Type: jpg bikespeedgear.JPG (41.6 KB, 86 views)
Kiko is offline  
Old 25th March 2007, 10:37 AM   (permalink)
Default

hi guys i'm triyng to find a schematic for gear indicator for my gixxer that take signal from speed and rpm signl (plus neutral light for zero) but it seems that it doesn't exist anywhere... do you have any idea?
fxvxca is offline  
Reply

Bookmarks

Thread Tools
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://www.electro-tech-online.com/micro-controllers/28100-speedometer.html
Posted By For Type Date
Anyone make their own top gear indicator? - Page 8 - Stromtrooper.com This thread Refback 21st May 2008 09:22 PM
Anyone make their own top gear indicator? - Page 8 - Stromtrooper.com This thread Refback 21st May 2008 04:11 AM
Anyone make their own top gear indicator? - Page 8 - Stromtrooper.com This thread Refback 20th May 2008 04:52 AM
RENAULT 9-11 KULÜBÜ - Dijital km göstergesi ? This thread Refback 18th May 2008 12:36 PM

Similar Threads
Title Starter Forum Replies Latest
digital speedometer using AT90S2313 fever Micro Controllers 57 29th January 2008 07:45 PM
Speedometer Project Help ADAM117 Electronic Projects Design/Ideas/Reviews 2 8th December 2006 06:00 PM
Pulse divider for a Speedometer spestis Electronic Projects Design/Ideas/Reviews 3 25th July 2006 03:17 AM
Tachometer and Speedometer replies Kiko Micro Controllers 0 26th April 2004 01:57 AM
Electronic Speedometer using stepper motor roryp General Electronics Chat 6 10th April 2003 01:06 PM



All times are GMT. The time now is 07:22 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker