Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xbee]

XBee is a family of form factor compatible radio modules. Most are based on the 802.15.4-2003 standard.

0
votes
1answer
40 views

I am building an robotic arm by using flex sensor, servo and 2 xbees

Rx Code: #include <Servo.h> Servo myServo; void setup() { Serial.begin(9600); myServo.attach(9); delay(5000); myServo.write(0); } void loop() { while(Serial.available()==0); int d = ...
0
votes
1answer
47 views

Serial.read() doesnt work in IF statement

I am working with an XBee module, so naturally, I started my void loop with AT command testing. void loop() { digitalWrite(Sleep_Rq,LOW); A +++ with a guard time of 1 sec before and after it, ...
0
votes
0answers
15 views

How to upload arduino code using xbee module ( pro s2c)?

I have three arduino ATMega2560 boards, all have xbee pro s2c attached to them. Now i want to update the code i had previously written on the arduino board but without connecting it to the computer. ...
0
votes
1answer
13 views

Arduino Nano, Uno and Mega - XBee connection difference

I have a simple sketch working on arduino Uno and Nano sending data using an XBee. However, if I run the project on an Arduino Mega it does not work. What differences between Uno/Nano and the Mega ...
0
votes
1answer
22 views

Is there a relationship between RSSI and Power? If so, how are they connected and does it have a formula to extract one from the other? [closed]

I have searched on Google but to no avail. Perhaps you guys can help. -Aj
0
votes
0answers
18 views

Problem with Adruino UNO and Xbee s2 pro

I'm trying to send a packet from XCTU (router API1 xbee s2pro) to read with the coordinator( API1 xbee s2pro) connected in arduino UNO. I'm using this sample code, but when I send a packet from XCTU, ...
1
vote
0answers
37 views

Unicast image transmission using Xbee

I've been working on image transmission using XBee S2B Pro modules and Arduino Mega. Main task is to transmit a jpg image taken by a jpeg serial camera at the transmitter and send it to a microSD ...
0
votes
0answers
24 views

Can we code XBee more than once?

How many times we can rewrite code in XBEE, can we write code more than one or once a code is written it cannot be overwritten
0
votes
1answer
75 views

Xbee shield to shield connection sends but not receives correctly

Setup: 2XArduino Uno 2x XBees S1 2x Sparkfun xbee shields. My first arduino reads in values from a photoresistor and sends the values to the second arduino. I know for sure the arduino is sending ...
1
vote
2answers
201 views

Xbee AT Commands failing. Something wrong with Serial? Tx commands working fine

The Xbee API library is working fine for TxRequests on my Arduino, but AT commands are failing every time. I've been at this for three days. It seems that there is some sort of conflict happening ...
0
votes
1answer
188 views

XBee s6b internet

For my project i need to send some data logged into a SD card to a remote server. For this im using an XBee S6b wifi module connected to an arduino. ive had trouble connecting the xbee module to wifi. ...
0
votes
1answer
208 views

is using two UARTs wiser compared to I2C and UART with Arduino + Xbee + BNO055 Sensor

Hardware Arduino Nano XBee Pro S1 (802.15.4) Modules Adafruit BNO055 Absolute Orientation Sensor Purpose I want to send the Euler angles and Linear Acceleration angles to the a central XBee ...
0
votes
1answer
245 views

How to know physical address of XBee?

I have a system with a server (a personal computer with an XBee Dongle plugged in, running a Java program) and some Boe-Bots with XBees attached and Arduino programs. I know how to get the Boe-Bots to ...
0
votes
2answers
588 views

How to access the member of union in loop?

Trying to get the address of receiving XBee's data in the loop in API mode with escape. Sent data can be received properly. However, in order to identify XBee, I need the address in the loop. In other ...
1
vote
1answer
796 views

Multiple arduino Wireless communication

I would like to know what device and model to use for an application where I will have 1 arduino as a master micro controller waiting to receive data from 5 slave arduino microcontrollers. The Master ...
0
votes
1answer
185 views

Communicating between two arduino terminal using Xbee

I have 2 Arduinos, mounted with Xbee Shield and Xbee S1 module on each. One arduino is mounted on car chassis while another is connected with PC. Our AIM is to send signal from the arduino connected ...
1
vote
2answers
453 views

Arduino Mega + XBee Shield + RAMPS 1.4 Is it possible?

Is it possible to sandwich an XBee shield between Arduino Mega and Ramps 1.4 without damaging any of the boards or lose of Ramps functionality ? I am not trying to make a 3D printer it is rather a ...
1
vote
1answer
163 views

Evaluating delay for Xbee

I will explain my task in a simplified way. I'm communicating among 3 Xbee's. The attached code is for the sender Xbee. This Xbee actually sends multiple values of value1 (here for simplification I ...
0
votes
1answer
139 views

XBee not connecting

Recently, I bought an XBee shield along with a dongle and two XBee's. After assembling them, I tried to connect them using XCTU. Although the XBee on the dongle connected correctly, the computer did ...
0
votes
2answers
485 views

Serial1 is not reading the Xbee on a Arduino Due

I am trying to test simple communication between a Xbee on my Arduino Due and a Xbee linked to XTCU. I attached jumper wires from RX and TX to RX1 and TX1 (Serial 1 hardware port) but I cannot send or ...
1
vote
1answer
709 views

How to send command from coordinator to router in Xbee?

I am using an XBee-PRO S2b module. I have sent data from the router Xbee to the coordinator Xbee. Now I want to send a command packet from the coordinator to the router Xbee to set a pin high. My ...
1
vote
0answers
423 views

Xbee S2 API Data Packets dropping out

I made a setup which consists of 3 Zigbee's, 2 routers(Zigbee S2C's) and 1 coordinator(Zigbee S2). The routers are each connected to arduino nano which collects data from 2 FSR's and an IMU(frame type:...
1
vote
0answers
237 views

Xbee can send from arduino to XCTU, but not the other way around

I have two arduinos that I would like to use to communicate with two xbees. I programmed both xbees with the xbee explorer breakout boards in XCTU, and got them to communicate on XCTU. They are XB24Cs,...
0
votes
0answers
359 views

Can't communicate my 2 Xbee modules using API mode

I want to create a network with 10 routers/end devices and one coordinator with my Xbee Pro S2C devices. For That I know I have to do it in API mode. I configured one as a coordinator (DH=0, DL=FFFF, ...
0
votes
1answer
579 views

How to transmit characters or just use xbee like serial monitor

I have an arduino mega and an uno, mega has an xbee s2c as coordinator and uno an xbee s2c as router, both in AT ( transparent ) mode. When I send integers from uno with Serial.write() coordinator ...
1
vote
0answers
173 views

Web Page doesn't load when data is being received from Xbee

I have an Arduino Mega I am using as a simple web server. Right now the web page is two simple lines of text. There is an XBee radio attached to the unit to receive data from another unit. However, ...
1
vote
1answer
80 views

Receiving a packet via XBee radio

I am sending a packet of sensor information over an Arduino XBee setup. The first byte of the packet is the packet header for synchronization. The second byte is the number of bytes in the packet (...
2
votes
2answers
2k views

XBee: How do I create a packet?

I am currently using a simple protocol I created to send three bytes (unit information, data, and XOR) individually over an XBee radio (3 bytes are considered a single transmission). However, this is ...
1
vote
0answers
68 views

XBee radio dropping bytes?

I am using an XBee radio setup to transmit bytes over a distance of approximately .25 miles. For the first 20,000, or so, transmissions it was completely error free. However, once there was a single ...
2
votes
1answer
789 views

Send and Read packet XBee AT mode

I have a simple network created using XBee Series 2 devices. My network is very simple, my end-device with Arduino Uno read a temperature and Lightning, display this value into LCD and send using ...
-1
votes
1answer
840 views

Unable to send serial data to XBee connected to Arduino Uno without a shield

So here are some pictures of the setup I have with an LED, 330 Ohm resistor, Arduino UNO, 2 XBee S1s, and many wires, http://imgur.com/a/FpKob For specifics, here is the wiring, XBee Pin 1 (VCC) ...
1
vote
2answers
41 views

How to keep track of if data is outdated

I have a large set of data and it is refreshed every 30 seconds or so. However, not all data is refreshed every time. It is possible that no new data for a particular calculation isn't received for ...
0
votes
1answer
638 views

How to connect an RF module directly to a PC without using an arduino? [closed]

I know that in xbees i can connect the xbee module directly to my pc using the USB explorer. But I'm using the nRF24L01 RF modules. I want to transmit from my pc, via the RF transmitter to my RF ...
0
votes
1answer
81 views

High errors in transmission (completely eliminated by adding delay): What's the issue?

I am using a two Arduino setup with two XBee radios. One radio is sending data and the other is receiving data. I am sending three sensor readings following a protocol which uses three bytes for each ...
1
vote
0answers
71 views

High rate of transmission errors (~50%) using Xbee Radio

I am using a two Arduino setup with two XBee radios. One radio is sending data and the other is receiving data. I am sending three sensor readings following a protocol which uses three bytes for each ...
-1
votes
1answer
88 views

Arduino char showing as 2 characters

I'm writing the character 1 from a node.js XBee using the code sp.write("1"); to my Arduino's XBee. Then on my Arduino's XBee I read it like this (inside a loop): if (XBee.available()) { do { ...
1
vote
1answer
183 views

Arduino or XBee unique identifier?

Is there anything built into the Arduino Uno or the XBee Pro 2 radio module that I can poll within my Arduino script to act as a unique identifier? Mac address or otherwise? If anyone has a code ...
1
vote
0answers
110 views

Arduino code not starting at beginning after poweroff

I created a few Arduino-XBee temperature sensor nodes that send data to another XBee node.js server. I'm running into a few issues trying to write a function to initiate a handshake and receive an ...
1
vote
0answers
16 views

No connection with XBee radios on Arduino board

I have two Arduino boards which I've attached XBee radio boards to. One is to send data via Serial.write(num), where num is an integer. The other is receiving that integer via Serial.read. However, ...
1
vote
1answer
541 views

Receive data from multiple wireless sensors simultaneously

I want to receive data from multiple (2/3) wireless sensors at the 512 Hz data rate simultaneously at a single receiver (bluetooth or any other wireless standard). Is it possible with one receiver or ...
1
vote
0answers
190 views

XBee Shield Arduino External Power Issue

The XBee part of the entire thing works flawlessly no matter how things are being run. Equipment: Laptop Arduino Uno Sainsmart XBee Shield USB XBee Explorer 2 x XBee Series1 modules Terminal ...
2
votes
1answer
391 views

How to purge incoming Xbee packets from the buffer?

I have a need to receive a specific confirmation packet after commanding my transmitting Xbee to stop sending normal packets. My buffer still has normal packets in it when this happens, so next time ...
2
votes
1answer
403 views

Can multiple xbees send data to one xbee

I am new to xbees. I want to have multiple xbees (up to 400 xbees) send data constantly to one xbee (receiver).This is just simple data like lets say 0 or 1 . Is this possible? Are there any ...
1
vote
1answer
326 views

XBee series 1 or 2? [closed]

I'm looking to buy some components to my master thesis: I have to create a sort of lab where I'll create a Zigbee network and some tasks on it. I'm wondering if I should buy XBee series 1 or 2 and ...
0
votes
2answers
126 views

Xbee not activate on arduino micro

I have 2 nodes: one is a PC+arduino mega+xbee the other one is arduino micro+xbee. The 2 xbees are communicating fine, I have tested this with 2 separate arduinos. My problem is that when the second ...
0
votes
1answer
137 views

can i configure 2 (XBee series 2) modules using one explorer

Can I configure 2 XBEE modules one then another using 1 XBEE Explorer, or I MUST do this configuration operation for them at the same time and I need 2 Explorer modules?
1
vote
0answers
71 views

XBee WiFi: Does it work on the Wireless Proto Shield?

I have been following this tutorial by sparkfun https://learn.sparkfun.com/tutorials/internet-datalogging-with-arduino-and-xbee-wifi and I have XBee Wifi but not the Shield of SparkFun. I have the ...
1
vote
0answers
35 views

2 reciver XBee modules connected to arduino MEGA

I'm doing a robotic arm project, I have two transmitter systems (sensors connected to 2 arduinos) and should send for the receiver side (each arduino suppose to take the hand-gestures and send it to ...
1
vote
0answers
27 views

Atmega328 xbee and softaware serial libraries

I use an atmega328 with fdti cable wired at rx/tx and i want to connect a zigbee s2 at diferrent pins. I have tried to use SoftwareSerial library but i would like to use the xbee library too. Is ...
1
vote
0answers
117 views

master slave control of 2wd robots using xbee

Hi there I just need to ask you how I can send command from master robot to slave to follow using Xbee. I have configured both the xbee in AT mode, but I totally dont have the clue how the program. I ...