Pulse Decoding


Results 1 to 13 of 13

Thread: Pulse Decoding

Threaded View

  1. #6
    Join Date
    May 2008
    Posts
    46


    Did you find this post helpful? Yes | No

    Default

    Thanks for the information Bruce.

    My input signal appears to be high and fairly noisy with pulses low - I really need a real scope

    If I read the code you provided correctly, it shouldn't reach GOTO GET_ADD without receiving a full pulse (or at least a full initial pulse)

    Mine's running all the way through without thinking about it, even with a resistor to gnd and no actual signal.

    I don't have a uart hooked up to this board at the moment so I'm just storing the values in eeprom - they're all showing up as 0's

    - Edit

    Oh dear, spoze if it wasn't 3 am and I'd had some coffee I would have done some thinking

    1) 4 mhz clock (getting 20 mhz crystals tomorrow, ran out)
    2) This is probably a one off - so at the very least I can look for 4 high pulses at the start, if not look specifically for more components of the bitstream

    I'll go to bed now and resume banging head on desk tomorrow.
    Last edited by Freman; - 31st May 2008 at 18:20. Reason: More info

Similar Threads

  1. Pulse Capture and byte building
    By boroko in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st July 2009, 01:59
  2. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 08:42
  3. Replies: 3
    Last Post: - 13th September 2008, 17:40
  4. Decoding an incoming infrared signal: need advice
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 9th May 2008, 16:28
  5. Pulse Frequency Multiplication
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st August 2005, 10:39

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