Remote Vehicle Starter Help


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Remote Vehicle Starter Help

    Now, I can measure any number of signals simultaneously - on any pin
    How, if there's only one interrupt pin (RB0), do the newer pics have more, or is there a trick?

    I'm up to this:


    & would like to do a tachometer if it could be done on the same chip.
    Maybe a way to cause the input for every pin pulse RB0, and then check the status of other pins..
    Last edited by Art; - 30th January 2012 at 15:59.

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


    Did you find this post helpful? Yes | No

    Default Re: Remote Vehicle Starter Help

    Comparator Interrupt maybe

    Darrel has several if not all setup for ease of use.
    http://darreltaylor.com/DT_INTS-14/intro.html
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Remote Vehicle Starter Help

    I'm thinking you could connect a signal diode between each pin and RB0 so that a pulse to any pin would also trigger RBO interrupt.
    Then in the interrupt service routine go and check which pin has the pulse on it... if it can be done fast enough.

  4. #4
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Remote Vehicle Starter Help

    Just got the tachometer working yesterday without any interrupt!

    I decided to check the tach signal port in the main loop
    just to roughly check the engine is not already running before engaging the starter motor.

    I found that a single pulse is counted several times.
    Adjusted the check to count only low to high transitions,
    and voila! I have my pulse count!!

    This would probably be too low res to measure time between pulses, and program adjustments would interfere
    with timing so I count the number of pulses over a second for a display that is updated every second.
    Not bad for free though
    Last edited by Art; - 20th February 2012 at 01:45.

Members who have read this thread : 1

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