The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [xbee]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
62 views

XBee using Serial rather than SoftwareSerial--how to fix

So I have a couple of XBee S2Cs, and I have configured them properly--they can in fact communicate with each other. I am using them with Arduino Unos and this shield: https://store.arduino.cc/usa/...
0
votes
0answers
26 views

NodeMCU v3 Serial Communication Issues

I am trying to communicate using XBee chips to a NodeMCU and for the NodeMCU to read that data and perform a function but I am having trouble with the NodeMCU not reading data from Serial. I have the ...
0
votes
1answer
21 views

Any possible way to stack Motor Driver shield L293D with Xbee Shield v03 on arduino?

So i am trying to stack these two shield on arduino, now the problem here is that i guess there is a conflict between the pins of arduino being used by both shields, so can anyone suggest a solution?
0
votes
1answer
21 views

Xbee S2C is resetting Arduino Uno

I have a coordinator radio hooked up to a sparkfun xbee shield, hooked up to an Uno. This is then hooked up to my computer. This coordinator talks with a number of xbee routers/end devices and sends ...
0
votes
0answers
18 views

Xbee S2B does not receive any data

i am using 2 XBee pro S2B, im using coordinator in API mode, and router also in API mode i connect the coordinator to arduino and run this program #include Xbee.h #include <SoftwareSerial.h> ...
0
votes
1answer
45 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
53 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
27 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
48 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
23 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
1answer
576 views

Using Arduino wireless SD Shield to save data to sd card and send to PC over wireless network

I'm using an Arduino Mega to monitor the current & voltage input to four different sensors. This works fine - the sensors work as expected and I can view the results via the Serial Monitor or ...
1
vote
0answers
46 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
25 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
81 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
224 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
205 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
254 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
268 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
733 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
847 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
205 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
485 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
174 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
188 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
556 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 ...
0
votes
1answer
762 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
489 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
264 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
396 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
664 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
191 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
87 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
72 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
822 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
922 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
43 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
758 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
94 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
78 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
91 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
195 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
126 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
18 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
602 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
206 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
442 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
420 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
342 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
143 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 ...