Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 11, 2024, 10:58:02 22:58


Login with username, password and session length


Pages: [1]
Print
Author Topic: rpm speed  (Read 4366 times)
0 Members and 1 Guest are viewing this topic.
graywolf
Newbie
*
Offline Offline

Posts: 13

Thank You
-Given: 0
-Receive: 19


« on: December 29, 2007, 03:31:04 03:31 »

Does any one have rpm and speed measurement circuits with a pic?
I want to read the rpm and speed from a car so there are many options to do this.
Any circuits would be great.

Thanks.
Logged
giorgia
Newbie
*
Offline Offline

Posts: 18

Thank You
-Given: 6
-Receive: 11


« Reply #1 on: December 29, 2007, 11:49:03 11:49 »

sure take a look to the following link and you can find some good pic based RPM indicator project realized with pic 16f84 with  source code and explanation.
i hope this will be usefull for you
good luck

http://www.eelkevisser.nl/anytacho.htm
Logged
frasenci
Translator
Active Member
***
Offline Offline

Posts: 171

Thank You
-Given: 142
-Receive: 84


« Reply #2 on: December 29, 2007, 11:51:10 11:51 »

Yes there are many ways to approach this.
From the most sofisticated one , connecting with todays Cars on-board CPU via OBD protocoll. You can aobtain much more than just RPM and Speed .

Have a look here as a start point  , and I am quite shure there are circuits for this on the net , I have seen them.

http://www.scantool.net/

To the simplest possible way , this one I have done succesfully with other Rotating machines . In this approach you only need a basic PIC and a Sensor that can trigger a pulse every time the rotating part completes a turn.

I have used 2 type of Optical Sensors , i.e.

a) QRD1114 a IR reflective type sensor , for it you need a white to black transition to detect on rotating part . ( datasheet attached )

b) CNZ1120 a IR gate type sensor ( switch) , for it you need a protruding piece  of rotating part to pass trough its gate. ( datasheet attached )

Both a and b are very simple to code , I have used Pulse lenght meassuring routines and also Interrupts triggered by changing ports state.
Circuits for this need only two resistors .

One bonus of QRD1114 , if you experiment with it , you will find out that it can be used as a proximity sensor ( distance sensor ) as it outputs an analog voltage changing proportionally to the distance at the reflecting surface ( good for up to 70 - 80 mm ).

Both sensors under 1 US$ or so.
 
Hope this helps

Greetings
 

 
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2430

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #3 on: December 29, 2007, 02:09:42 14:09 »

Also look at using Hall effect sensor's
http://users.tpg.com.au/gramo/Site/hall_effect_sensor.htm
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
arvind
Guest
« Reply #4 on: December 30, 2007, 03:51:27 15:51 »

QRD1114 is not available in India...any place where I can order??
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2430

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #5 on: December 30, 2007, 04:51:37 16:51 »

yea use the diodes out of an old mouse,you got them in India don't you Grin
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
frasenci
Translator
Active Member
***
Offline Offline

Posts: 171

Thank You
-Given: 142
-Receive: 84


« Reply #6 on: December 30, 2007, 07:30:50 19:30 »

QRD1114 is not available in India...any place where I can order??

Perhaps an replacement : OPTEK 703

Attached is wiring example for DIY Optical Sensor to replace original $$$$$ Futaba GV-1 RPM Governor sensor.
In this picture , Black = ground , Red = 5 V DC , Blue = Signal ( 1.2 - 4.5 Volt app )
Same wiring for QRD1114 , application = White/Black transition.
Adjust 4K resistor for distance measurement.

Google for " IR reflective sensor " or cross-reference search on manufacturer, there should be others.
I Hope you can find some, in my country there is no supply either.  had to order them from Digikey USA I think ,through a friend.

Now there is a supply in my country   http://www.olimex.cl/product_info.php?cPath=50&products_id=140
I dont know if they export/speak english.

"Gate" types I have pulled out from old printers too.

Greetings

Logged
graywolf
Newbie
*
Offline Offline

Posts: 13

Thank You
-Given: 0
-Receive: 19


« Reply #7 on: December 30, 2007, 07:55:53 19:55 »

Hi

Thanks I was looking at the OBDII and there is a chipset but it costs $17. I cant find much on the protocols or source code out there to read the OBDII. The problem with OBDII is that I cant read the distance travelled per trip. Any ideas how this is done?

Thanks.
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2430

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #8 on: December 30, 2007, 08:10:55 20:10 »

talk to tripp about it
http://www.sonsivri.com/forum/index.php?topic=7507.msg34126#msg34126
http://www.obdii.com
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
suresh kumar
Guest
« Reply #9 on: January 07, 2008, 12:57:52 12:57 »

using hall effect sensors will be a very good idea. the hall effect switches toggles its o\p between '0' and '1' depending on the presense or absense of magnetic field.

attach a small magnet to your rotating body and connect the o\p of the hall effect sensors to your pic count the pulses and find the rpm.

good luck
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC