Data --> Modulated squre wave ???


Closed Thread
Results 1 to 3 of 3

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    If I understand the project correctly your logic is "OK".

    Answer to question #1- Darrel Taylor posted a week or so ago a timer that tested to within 1 second in a 24 hour period. ( I do not have the link, search his post) So the timing can be made accurate enough.

    Question #2- I think you will want to use the Hardware PWM and an interrupt.

    Sequence of events (Flow Chart )
    PIC #1 is using the COUNT command to monitor incoming signal from existing product.
    If COUNT does not equal a pulse every 4ms GOTO SEND_RC.

    PIC #2 receives signal from PIC #1.
    PIC #2 does something.

    All the while the radio link is "HOT" so PIC #2 will be receiving data waiting fo a certain command. Use SERIN2 with the WAIT modifier.

    We can work on the details some more later if this is all correct.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default

    I've worked with RF most of my life, so I have a question or two . . .

    What transmitter and receiver hardware are you using?

    On what radio frequency?

    Since you mention a period of 4 ms, I assume you will modulate your carrier at 250 Hz, yes?

    Are you using FSK (frequency-shift keying)?

    What is the shortest time period (the smallest window) in which two of the 3 us pulses are likely to occur? Is it likely to be as short as 4 ms?

    Is the entire information to be transmitted simply the fact that the 3 us pulse has occurred?

    Russ
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

Similar Threads

  1. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 04:47
  2. Read/Write Problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th February 2010, 01:51
  3. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  4. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

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