Detect Signal


Closed Thread
Results 1 to 15 of 15

Thread: Detect Signal

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Loveland CO USA
    Posts
    83


    Did you find this post helpful? Yes | No

    Default miles per count

    My car gives one count per turn of the drive shaft. (output of the transition)
    Multiply by the turn ratio of the rear end multiply by the tire circumference.
    You just need to count how many pulses per km or mile. Build a counter with a PIC and drive for 1 mile. Every kind of car is different. You need to do the experiment.
    Simple project.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ronsimpson View Post
    My car gives one count per turn of the drive shaft. (output of the transition)
    Multiply by the turn ratio of the rear end multiply by the tire circumference.
    You just need to count how many pulses per km or mile. Build a counter with a PIC and drive for 1 mile. Every kind of car is different. You need to do the experiment.
    Simple project.
    Relatively simple project. I have to wonder how 'ugly' that signal will be coming off the sensor, travelling up the wire to the PIC, etc. Might have to square it off a bit with a 7404 or something along those lines so the PIC doesn't get false triggers.

  3. #3
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Another way

    Hi,

    Most probably you would be getting a variable frequency signal. If you have access to a frequency meter (most multimeters have) then measure the frequency while driving at a fixed speed. You get an idea of the number of pulses/per second available a certain speed. Do it for other speeds as well to find if the relationship is correct. Only take care while driving and taking the reading.
    Regards

    Sougata

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Unfortunately I do not have a frequency meter. best I have is a cheapo Radio Snack multimeter with AC/DC, Diode test and Amperage. So I am rather stuck trying to ascertain what the signal looks like by what I have on hand. Now if I had the gear I had back in college, it would be a diff story.

    Basically I think I will count the pulses that show up, unless someone has a better idea (This is a 93 honda civic btw)

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by angrysmileyface View Post
    Unfortunately I do not have a frequency meter.
    You are building one. Be sure to look at the COUNT command in the manual. I use something similar to monitor fan and blower speeds.

    A hall effect sensor is often used. If the wiring is good the signal will be "OK". The first few blade speed monitors I built used sensors from autos.
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Smile Pulses Per Mile 4000 PPM ???

    1992-1995 Honda Civic Cruise Information

    Constant 12V+ White Ignition Switch Harness or Use Hot Side of Brake
    Switched 12V+ Black/Yellow Ignition Switch Harness
    Ground Use Chassis Near Cruise Control Module
    Hot Side of Brake n/a Brake Switch
    Cold Side of Brake Green/White Brake Switch
    Tach Blue Distributor
    VSS Lead Yellow/Blue Driver's Side Dash, above Fuse Panel, Gray Connector
    Pulses Per Mile 4000 PPM

    http://www.hondafactor.com/v2/showpo...55&postcount=5

    “Your mileage may vary”
    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Pic_User View Post
    VSS Lead Yellow/Blue Driver's Side Dash, above Fuse Panel, Gray Connector
    Pulses Per Mile 4000 PPM

    http://www.hondafactor.com/v2/showpo...55&postcount=5
    There ya go. Use the VSS signal to trigger an interrupt, keep track of the pulses in a word variable...Bam...done...except for the building, and the programming, putting it in a box, testing it on the car, etc.etc.

Similar Threads

  1. Replies: 24
    Last Post: - 1st December 2009, 08:01
  2. Detect fast movement using photodiode
    By Pic2008 in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 22nd November 2008, 14:07
  3. Decoding an incoming infrared signal: need advice
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 9th May 2008, 16:28
  4. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  5. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts