Go Down

Topic: Need help with communication 2x xbee (Read 753 times) previous topic - next topic

repas

Hello peoples , I have problem with communication  2x xbee and arduino.

I need scan two buttons and potentiometer and this data send to first xbee....

Second xbee receive data and work with output (set coil on/off)

For me it's best send example program or link with tutorial....


THANKS for everything need help me

PaulS

There is so much missing from your post that it is hard to know where to begin.

What kind of XBees? How have you configured them?

Are they attached to Arduinos? If so, you?

What code have you written?

Quote
For me it's best send example program
For us, it's best if YOU write the program(s). You will learn something. If we write it, you won't learn anything.
The art of getting good answers lies in asking good questions.

repas

I use the components : 2x Xbee Pro S1 , 2x Arduino UNO ,

Configuration use from this example link:
http://www.instructables.com/id/How-to-Use-XBee-Modules-As-Transmitter-Receiver-Ar/

I write code only simple function. Only send: Serial.write("xxx");

But I need write code which scanning 3 switches a 1 potentiometer send data to xbee. Next xbee receive data and do program (switch coil, switch led).

PaulS

#3
Jul 12, 2018, 11:48 am Last Edit: Jul 12, 2018, 11:49 am by PaulS
Oh, well, if you are not going to give concrete answers (with links to the hardware), I'm just going to move on.

I imagine that you followed some guide. I want to know what you actually did, though, and what code you are using.
The art of getting good answers lies in asking good questions.

Go Up