Doubling the pusle count


Closed Thread
Results 1 to 40 of 44

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    o.k. ONCE again

    which car model, brand, year?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    o.k. ONCE again

    which car model, brand, year?
    Probably not going to mean much to you.

    Make and Model: Vauxhall Corsa
    Year: ? no idea - will ask him.

    All I had to go on was:
    My wife Jenny has a Vauxhall Corsa that had just a cable driven speedo. I've gotten hold of an insrtumanet cluster that has tacho and speedo, but the speedo isn't cable, it's electrical. The tach works fine, but the rotary encoder I've picked up (which is supposed to be the right one) is giving only half the number of pulses required by the speedo, i.e. the speedo is reading half the actual speed.
    The question I have is....."Is there a simple way to double the number of pulses to the speedo...like a frequency doubling circuit" ??

    I believe the unit I have works optically...disc with 10 light dark changes per rev. The easy answer would be to put a disc in the unit with twice the number of segments, but it's not able to be disassembled easily.

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Maybe you didn't know it alrady but, i've been a car accessoiries installer (alarm, car starter, radio, gps, etc etc ) for over 12 years and i still do some custom car modification here and there.

    Why i asked, is because most cruise control brand have their own application list and hints. Even on some VSS generated cable, some cars may have another source for an optional Cruise control or else. And you was right... i never see any opel/vauxhall here... only few picture here and there over the web.

    Anyways, without knowing the exact frequency range, Darrel's example have to work within it's range... no doubt on it!

    To interface.. a simple NPN or PNP or simple OP-AMP would do the job pretty well. I don't think 12V amplitude is really needed... maybe 5Volts could work... with a simple resistor in serie.

    Hey.. you didn't SIMed it this time ?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Steve, no I didn't know you had the automotive electrical experience.

    I'm off to download some spice application and SIM this... or should I just contact a local PCB house and get them to send me a prototype... afterall if its wrong I'll bin that one and order another

    Any chance of a quick schematic on the input.. I was planning on using a small 100mA 5v reg for the PICs supply, and assume that the transistor would be between +5 and gnd (C and E) with the base connected to the sensor ?

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    What i suspect to work... is something as simple as...
    <img SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1433&stc=1&d=117279195 7">

    for the input, a simple resistor in serie will work without problem (1-10k), OR a simple voltage divider.
    Attached Images Attached Images  
    Last edited by mister_e; - 1st March 2007 at 23:48.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    The pulses appear to be 0-12-0 "square" wave, but not 50/50 duty cycle.
    I was hoping it would be the easy way (50%).
    Oh well, back to the drawing board. I'm re-writing it now.

    Should have something later today (that's probably tomorrow for your time period).
    <br>
    DT

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Darrel... i don't think it will be revealant to be 50% or not... it's all about pulse/miles after all.

    In the good ol' time we installed 2 magnetic sensor on the drive shaft as a VSS generator. using that... no way you could have a 50% duty cycle as the magnets where about 1 inch wide.

    I should take a car ride here and record the VSS signal to see how clean it is... in case some want to know.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. COUNT is not counting again
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 19th June 2009, 04:52
  2. Can't get COUNT to count
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 23rd March 2009, 23:14
  3. Count pulses between VARIABLE TIME
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th October 2007, 12:44
  4. Multiplex Display with count comand
    By mdaweb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th October 2005, 04:09
  5. Count command
    By hawk72501 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th September 2005, 19:04

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