Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15287

Need help with Arduino and XBee communication for soil moisture sensor project

$
0
0

Hi everyone,

I'm working on a project that involves two Arduino Uno boards, two XBee S2C modules, two SparkFun XBee shields, and a soil moisture sensor. My goal is to have one Arduino read the soil moisture sensor's value and transmit it to another Arduino using XBee modules. I want to display the received value on the serial monitor of the second Arduino.

So far, I've successfully set up the XBee modules in XCTU, establishing one as the coordinator and the other as a router. I can send messages from XCTU console to the Arduino serial monitor, and they show up correctly. However, I'm facing an issue when trying to send messages from the Arduino serial monitor to the XCTU console.

I'd appreciate it if someone could help me generate the code that will enable this communication between the Arduino boards using XBee modules. Any guidance or examples would be highly appreciated!

Thank you!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 15287

Trending Articles