Wire worked by not wireless


Closed Thread
Results 1 to 17 of 17

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default

    I forgot to mention, it is possible that your software may have an issue with timing. When I use a wireless link, I typically give a little more time for the transmit and receive signals....maybe an extra 10 to 20ms.

  2. #2
    mankan's Avatar
    mankan Guest


    Did you find this post helpful? Yes | No

    Default Hello Chris,

    Chris,

    Thank you very much for the reply. This is my first project with the PIC. Is there any other issue apart from time-to-transmit?

    Do you see anything wrong with my code? It worked fine with the wires.I have even grounded the Rx DataIn pin to overcome the noise.

    I am using laipac 434 series of Tx/Rx.

    Thanks,
    Mankan

  3. #3
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default

    I have never used those but I have used Linx Technologies LR series modules. I found that without a 10K pullup resistor (to +5V) on the RX side, they would not work at all. The TX side did not need anything. Are you making only a transmitter and receiver or are you making two transceivers. Don't forget that you cannot have to transmitters transmitting at the same time. With the Linx modules, if you don't pull down the PDN line, the transmit port will always be open making it impossible to send data. Of course, if only using one TX and one RX, this is not a problem. The other thing you may look at is interference in the surrounding area. Let me know if you still have problems.

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    The Laipac modules (also widely available under other names) use ASK and the suprerregenerative receiver has AGC/ATC so the output line will have continuous noise in the absence of a signal. I would not try to use serial in and out but would use some type of preamble that will serve to tell the receiver that a message is coming and also allow it to set its AGC/ATC. I use the NEC IR protocol and have never had much of a problem sending/receiving. However, it may or may not be the best choice depending on the type of data you need to transmit. The length of messages casn be a determining factor.

    I don't recall what Bruce Reynolds uses in his examples but he does have some examples using these modules on his web site.

  5. #5
    mankan's Avatar
    mankan Guest


    Did you find this post helpful? Yes | No

    Default It's RF not IR.

    I am doing RF Tx/Rx not an IR. Is there anything special to be taken care of something?

    Thanks,
    Mankan

  6. #6
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    It doesn't matter whether it's IR or RF. A protocol is a protocol and the priciples are the same. The only difference is that on the receiving end most IR receivers are active low while RF receivers are active high. X-10 has used the NEC IR protocol for their RF remotes for about 20 years, now.

    But, even if you want to use manchester coding, you will still need a preamble to alert the receiver.

    There is one other key difference with IR. IR receivers do not output continuous noise in the absence of a signal, so a preamble is not always necessary. Nevertheless, most protocols still use one.
    Last edited by dhouston; - 20th June 2006 at 01:18.

  7. #7
    mankan's Avatar
    mankan Guest


    Did you find this post helpful? Yes | No

    Default Wired worked but not Wireless..

    Hello Chris,

    I followed your suggestion and I added a pull-up resistor but nothing improved. Any other suggestions.

    I am planning to look at the txmitted code pattern.

    -Mankan

Similar Threads

  1. Need Single wire serial LCD converter example
    By polymer52 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 16th December 2009, 02:30
  2. Wireless Tachometer - Design Help
    By DanPBP in forum Off Topic
    Replies: 2
    Last Post: - 3rd May 2009, 09:06
  3. RS485 Vs Wireless (TWS-434A)
    By koossa in forum Off Topic
    Replies: 3
    Last Post: - 11th April 2009, 12:40
  4. Wireless communication gear.
    By toalan in forum Off Topic
    Replies: 5
    Last Post: - 17th March 2005, 16:33
  5. RPM with wire and PIC
    By Dwayne in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th December 2004, 20:42

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