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
0 answers
153 views

Arduino Nano BLE 33 Sense receives but not able to transmit data to XBEE Pro S2C

This is my first time asking a question so I will try my best to be precise and detailed. I had recently started to work on a project that requires me to establish a wireless communication between two ...
Rayford03's user avatar
1 vote
1 answer
79 views

How to receive data from Xbee in AT mode on Arduino Nano

I need to print data on the Arduino serial monitor received from the Xbee in AT mode. I have searched on most forums and have not found anything on how to do this. I have my Xbee tx connected to ...
Matthew Haywood's user avatar
1 vote
1 answer
1k views

Problems with Hardware Serial (UART) on Nano 33 BLE Sense

my new Nano 33 BLE Sense arrived today. I'm working on a project to send data from the the Nano via an Xbee S2C module to a receiver module connected to a Nano 33 IoT. I had the project working ...
RobM's user avatar
  • 41
1 vote
0 answers
63 views

Controlling lights by XBee S1+ ESP32 without bridge

I need some help with my ideas please, I have a smart home system and I am trying to control the Philips hue light but without the bridge. I want to do that by XBee S1 + FURTHER ESP 32. so, who did ...
Mohamadnour Bader's user avatar
1 vote
1 answer
613 views

Configure Trinket M0 as I2C peripheral

I am trying to use I2C to communicate between my XBee3 (controller) and an adafruit trinket m0 (peripheral). I'm pretty confident I have the modules connected properly (trinket SCL/pin 2 to xbee SCL/...
user3923030's user avatar
1 vote
1 answer
260 views

Arduino - ServoMotor Control and SoftwareSerial

My two arduino communicating serially with XBee. The receiver arduino also controls the servo motor. Servo works stably when there is no xBee connection. But when Arduino's serial communication, there ...
Enes Orhan's user avatar
0 votes
1 answer
81 views

Switch loops with SPDT switch

I have made a drone/car quadruped robot thing and I need help with the code. I have found two codes to use to control each aspect of it but I need help to connect them. I have made a radio controller ...
Terrel Ross's user avatar
1 vote
0 answers
80 views

WIFI Bee ESP8266, MySQL and PHP

I am trying to update a db table using a WIFI Bee. For the life of me, I can't figure out how to connect to and program the WiFi Bee ESP card. I've looked on DFRobot's website and other websites to ...
Ashish Adhikari's user avatar
0 votes
1 answer
198 views

Using esp8266 instead of xbee

I am using xbee pro s2c to get data from arduino (temp, pressure etc.) and I am sending data another xbee module and read these data from serial port. Question is that I want to use esp8266 instead of ...
Omer ENEN's user avatar
0 votes
1 answer
340 views

How to transmit data from Arduino to Raspberry Pi?

I am planning to build a network with five Arduino Mega devices, each of which will collect data using multiple sensors. Each Arduino will periodically transmit the sensor data to a gateway Raspberry ...
Adnan Ali's user avatar
  • 119
1 vote
2 answers
874 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/...
jordan767's user avatar
  • 115
1 vote
1 answer
140 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?
Ertugrul01's user avatar
-1 votes
1 answer
97 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 ...
Steven Crisp's user avatar
0 votes
1 answer
67 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 = ...
haas's user avatar
  • 1
0 votes
1 answer
1k 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, ...
Md Arshad Ali's user avatar
1 vote
0 answers
91 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. ...
Imagron's user avatar
  • 11
0 votes
1 answer
94 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 ...
Jethro's user avatar
  • 143
0 votes
1 answer
37 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
Mad-Aj's user avatar
  • 3
2 votes
1 answer
1k 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 ...
Gautam's user avatar
  • 123
2 votes
0 answers
88 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 ...
M. Ríos 's user avatar
1 vote
0 answers
28 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
Ankush Rawat's user avatar
0 votes
1 answer
93 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 ...
Olujide Oluade's user avatar
1 vote
2 answers
422 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 ...
LegitimateWorkUser's user avatar
0 votes
1 answer
357 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. ...
Yomal's user avatar
  • 115
0 votes
1 answer
481 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 ...
Shan-Desai's user avatar
-1 votes
1 answer
382 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 ...
Mr. Man's user avatar
0 votes
2 answers
2k 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 ...
zalt's user avatar
  • 93
1 vote
1 answer
1k 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 ...
VAAA's user avatar
  • 115
-1 votes
1 answer
360 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 ...
Ritam Das's user avatar
1 vote
2 answers
595 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 ...
user9349193413's user avatar
2 votes
1 answer
229 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 ...
Trezor's user avatar
  • 91
0 votes
1 answer
341 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 ...
momiamfine's user avatar
0 votes
2 answers
895 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 ...
suky's user avatar
  • 11
0 votes
1 answer
914 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 ...
Md . Sojib Ahmed's user avatar
2 votes
0 answers
619 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:...
Aniket's user avatar
  • 21
2 votes
0 answers
305 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,...
Steven Petrone's user avatar
1 vote
0 answers
581 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, ...
morcillo's user avatar
  • 111
1 vote
1 answer
1k 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 ...
chas ant's user avatar
2 votes
0 answers
217 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, ...
tpm900's user avatar
  • 385
1 vote
1 answer
170 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 (...
tpm900's user avatar
  • 385
2 votes
2 answers
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 ...
tpm900's user avatar
  • 385
2 votes
0 answers
87 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 ...
tpm900's user avatar
  • 385
2 votes
1 answer
968 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 ...
user3836982's user avatar
-1 votes
1 answer
1k 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, https://i.stack.imgur.com/QT1KF.jpg For specifics, here is the wiring, XBee ...
Chris Gong's user avatar
1 vote
2 answers
50 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 ...
tpm900's user avatar
  • 385
0 votes
1 answer
2k 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 ...
mjsxbo's user avatar
  • 145
0 votes
1 answer
138 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 ...
tpm900's user avatar
  • 385
2 votes
0 answers
110 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 ...
tpm900's user avatar
  • 385
-1 votes
1 answer
123 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 { ...
Austin's user avatar
  • 131
1 vote
1 answer
236 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 ...
Austin's user avatar
  • 131