xbee transmitter & receiver


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Posts
    37

    Default xbee transmitter & receiver

    I am using xbee pro with 18F1320.
    A transmitter(Xbee) with 18F1320 transmits ADC value at 9600 baud.
    A receiver(Xbee) with 18F1320 receives ADC value. It then sends & displays it on PC using MAX232.
    All goes well while i was using same power supply to power up transmitter, receiver & max232.
    As i tried to use a separate power supply for transmitter the communication stopped.
    As soon as i connect the grounds of transmitter & receiver power supply communication starts.
    Is there anything i don't know about wireless communication?

  2. #2
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    699


    Did you find this post helpful? Yes | No

    Default

    That's odd. Are you using the voltages recommended in the datasheets? Try connecting an oscilloscope to the transmitter output when the communication is working, and then do the same when it stops working. That might give you some hints.

    Robert
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

  3. #3
    Join Date
    Jun 2006
    Posts
    37


    Did you find this post helpful? Yes | No

    Default new issue

    Dear all,
    My design is working.There was something wrong with 3.3V supply. But there is another problem now.
    Pic18F1320 on transmitter board gives some data to xbee transmitter.It then sends data to xbee receiver.Value is received correctly by xbee receiver on receiver board.I can check it on hyper terminal.Now I want to do calculations on this data via another 18F1320 on receiver board.
    The problem is for some strange reason 18F1320 pulls the voltage level down of serial data to almost 1.3V. A soon as I remove controller from circuit or reset it permanently the voltage level of serial data goes up to correct 3.3V. I have changed the controller & related circuitry as well as breadboard but to no avail?
    D0 of Xbee is connected to RX of 18F1320.
    any suggestions.

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    Well, I can only guess. You may have not set correctly I/O, ADC or other parameters of the chip yoy are using...

    Ioannis

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    Well, I can only guess. You may have not set correctly I/O, ADC or other parameters of the chip yoy are using...

    Ioannis
    As those modules can sink or source 2mA ...

    no doubt it's some wrong config of the I/Os ... or some damaged input due to previous adventures ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  6. #6
    Join Date
    Jun 2006
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    I already have changed the chip & verified the code and chip on another board. It just has to receive the data from Xbee receiver on its Rx pin,do some calculations & send it through Tx pin to LCD. Both Xbee & 18F1320 work fine when separated. As soon as 18F1320 is inserted in circuit something weird goes on.

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