Frequency to voltage converter

The place for all technical car discussions. If you haven't already, read our Disclaimer first!

Moderator: The Mod Squad

Frequency to voltage converter

Postby neo » Sun Oct 10, 2010 10:14 pm

Hey all,

seeing we have some electro-savy people here, can someone come up with a circuit diagram / setup that can be used to turn pulses/frequency (Speedo signal) to 0-5v.

I'm trying to hook up an Innovative LM2 to do logging of speed seeing I have some additional channels free - and the only pulse driven input is for the tacho.

I'm yet to investigate how many pulses per km/ revolution it needs, but that will be next.
User avatar
neo
Toyspeed Member
 
Posts: 1965
Joined: Tue May 21, 2002 1:04 am
Location: Crazy Car Motorsport

Postby blindnz » Sun Oct 10, 2010 10:23 pm

What sort of shape wave form do the speed sensor output?
User avatar
blindnz
Toyspeed Member
 
Posts: 970
Joined: Tue Aug 18, 2009 3:43 pm
Location: Auckland

Postby MAGN1T » Sun Oct 10, 2010 10:26 pm

Computers make you go mad.
MAGN1T
!USER HAS BEEN BANNED!
 
Posts: 646
Joined: Mon Jun 10, 2002 11:34 pm

Postby neo » Sun Oct 10, 2010 11:24 pm

555's can convert voltage to pulses from what Ive been reading, I need to do the oposite (data logger can only measure 0 - 5v)

I assume its a square wave from the speedo sensor
User avatar
neo
Toyspeed Member
 
Posts: 1965
Joined: Tue May 21, 2002 1:04 am
Location: Crazy Car Motorsport

Postby Toymad » Mon Oct 11, 2010 6:59 am

Try this one:

http://www.national.com/mpf/LM/LM2917.html#Overview

The page also has the spec sheet.
Toymad
Toyspeed Member
 
Posts: 283
Joined: Fri Jan 10, 2003 5:41 pm
Location: Auckland

Postby Boost_4_Life » Mon Oct 11, 2010 10:21 am

is the square wave 12V or 5Vp-p? if its 5 you can just use a resistor and a cap, we do it with some of our industrial electronics to convert a pwm drive signal to analog. bit basic but it will work.
'83 KP starlet rally car, 20v powa!

The rally beast
The rally beast again!
User avatar
Boost_4_Life
Toyspeed Member
 
Posts: 1328
Joined: Thu Mar 06, 2003 5:47 pm
Location: Somewhere on a sweet gravel road

Postby pc » Mon Oct 11, 2010 5:36 pm

You want to convert a digital pulse into an static voltage 0-5V, with the voltage reading representing the frequency... to log the data in a device that only has free analogue inputs?

Can do lots of things with an arduino, will that do the job? You also do all the logging in it to an SD card.
red car
1/4 mile - 14.683s @ 91.83mph
Manfield - 1:24s
Taupo - Track1 1:53s (road tyres) - Track2 1:22s - Track3 48s (with esses) - Track4 1:58s
User avatar
pc
Toyspeed Member
 
Posts: 1749
Joined: Fri May 07, 2004 3:10 pm
Location: Upper Hutt Yo!

Postby MAGN1T » Mon Oct 11, 2010 5:38 pm

neo wrote:555's can convert voltage to pulses from what Ive been reading, I need to do the oposite (data logger can only measure 0 - 5v)

I assume its a square wave from the speedo sensor


I knew it would be over your head.

A 555 in monostable mode will trigger off the input and give a PWM output, the duty cycle is dependant on frequency. You then use an RC filter to give an analogue output.

Steve
Computers make you go mad.
MAGN1T
!USER HAS BEEN BANNED!
 
Posts: 646
Joined: Mon Jun 10, 2002 11:34 pm

Postby Boost_4_Life » Mon Oct 11, 2010 5:50 pm

MAGN1T wrote:
A 555 in monostable mode will trigger off the input and give a PWM output, the duty cycle is dependant on frequency. You then use an RC filter to give an analogue output.

Steve


oh yea i missed the whole frequency thing in my solution! what you say is true.
'83 KP starlet rally car, 20v powa!

The rally beast
The rally beast again!
User avatar
Boost_4_Life
Toyspeed Member
 
Posts: 1328
Joined: Thu Mar 06, 2003 5:47 pm
Location: Somewhere on a sweet gravel road


Return to Tech Questions

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 20 guests