Home/Support/Support Forum/RPi 3 and XBeee not working

RPi 3 and XBeee not working

0 votes
down vote
I bought two XBee S2C and a RPi3. I can send data from my RPi3-Xbee to the computer-Xbee but i cannot receive. I have followed the below steps:

1- change uart from bluetooth to pins:

a- core_freq=250
b- force_turbo=0
c- dtoverlay=pi3-disable-bt
d- enable_uart=1
2- my pytho program is

from xbee import XBee
import serial

while True:

Did I miss somthing ? I am trying to solve it since yesterday :s

PS: when using the XCTu the two xbee communicates without any problem
asked May 28, 2016 in RF Solutions and XBee by chulzi New to the Community (0 points)
recategorized May 29, 2016 by LeonidM

Please log in or register to answer this question.

1 Answer

0 votes
if I am understanding what it is you want to do, I believe you need to put your ser.readline in a while loop to make sure that you read everything out of the UART after it is received and not before.
answered Jun 1, 2016 by mvut Veteran of the Digi Community (14,874 points)