element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Why are my wifi Xbee not commuinicating while one connected to PC and other to the aduino board
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 5 replies
  • Subscribers 417 subscribers
  • Views 667 views
  • Users 0 members are here
Related

Why are my wifi Xbee not commuinicating while one connected to PC and other to the aduino board

e14 Contributor
e14 Contributor over 12 years ago

This may seem to be a questions already solved, but trust me it is not - And i am a total newbie so i don't actually understand so much of those. I have been to all questions and tried out all answers but have not succeed.

Here is my instrument list:
1) Two XBee-s6b units, One with in-built antenna and other with external antenna
2) One Arduino Mega 2560 board
3) One USB-explorer.
4) I am using cool-term as my serial monitor and arduino IDE.
5) An XBee shield

This is how i configured my XBees (From cool-term)
XBee1 : ATID2244,ATMY1234,ATDL5678,ATWR
XBee2 : ATID2244,ATMY5678.ATDL1234,ATWR

this is my program that goes on to the board :

int led = 13; 
int temp = 0;
void setup()
{     
     Serial.begin(9600);
     pinMode(led, OUTPUT);
}
void loop()
{          
     if (Serial.available() > 0)
     {
          temp = Serial.read();     
          digitalWrite(led, HIGH);
          delay(1000);
          digitalWrite(led, LOW);
          delay(1000);     
     }
}

Now what i do is, I connect the board (which has the XBee on top of it connected via XBee shield) to my laptop, and select COM port whichever the board is on.
Then I'll connect the USB-Explorer with the second XBee on top of it and start cool-term, select the COM port of the second XBee.
Now if I try to write something that will make LED on board to blink, It won't do that.
Now if I select the COM port of the first XBee on Cool-Term and try to write anything on screen, It will make the LED Blink.
This implies that the xbees are not talking to each other, and I can not figure out why.
Need help, please.

P.S. The connection tutorial i am following can be found here :
http://www.norwegiancreations.com/2013/10/arduino-tutorial-1-lets-make-xbee-talk/

  • Sign in to reply
  • Cancel
Parents
  • shabaz
    0 shabaz over 12 years ago

    Hi Yash,

     

    I'm not familiar with the Xbee, but as I understand, your product (Xbee S6B) is a WiFi board, whereas the tutorial you're trying to follow is for a different Xbee product which is 802.15.4. You'll need to follow a different tutorial, or try to follow the user guide for the S6B, it mentions different instruction parameters.

    Or, it may be quicker/easier to purchase the Xbee S1 depending on your use-case, they are in stock by Farnell.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 12 years ago in reply to shabaz

    Thanks Shabaz for the reply,
    Yes I know that the tutorial is working with Xbee-Pro, but then any tutorial I searched will follow Xbee-Pro only.
    None of them are working with Xbee S6b WiFi.
    If you know any such tutorials can you please give me the link ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 12 years ago in reply to e14 Contributor

    I'm afraid I know of no tutorial from first-hand experience (I've never used it), so you'll need to google for this, or develop your own software based on the user manual. The user manual is advised, if no-one has created a tutorial.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • shabaz
    0 shabaz over 12 years ago in reply to e14 Contributor

    I'm afraid I know of no tutorial from first-hand experience (I've never used it), so you'll need to google for this, or develop your own software based on the user manual. The user manual is advised, if no-one has created a tutorial.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube