Hello,
I’m new in this so I’m asking for help.
- I have program in arduino IDE to send some values to XBEE WI-FI S6B.
Program:
#include
SoftwareSerial xbee(2, 3); // RX, TX
char c = ‘A’;
int pingPong = 1;
void setup() {
Serial.begin(57600);
Serial.println( “Arduino started sending bytes via XBee” );
// set the data rate for the SoftwareSerial port
xbee.begin( 9600 );
}
void loop() {
// send character via XBee to other XBee connected to Mac
// via USB cable
xbee.print( c );
//— display the character just sent on console —
Serial.println( c );
//— get the next letter in the alphabet, and reset to —
//— ‘A’ once we have reached ‘Z’.
c = c + 1;
if ( c>‘Z’ )
c = ‘A’;
//— switch LED on Arduino board every character sent—
if ( pingPong == 0 )
digitalWrite(13, LOW);
else
digitalWrite(13, HIGH);
pingPong = 1 - pingPong;
delay( 2000 );
}
I also can see values in serial monitor (arduino IDE tools option).
-
Like I said I’m using xbee wi-fi s6b and XCTU. In the XCTU I setup xbee (Soft AP mode) and SSID.
Now I have problem: I’m connected to xbee (like wifi connection) and in XCTU console I dont see any data receiving from arduino program. -
I will try to send data from arduino–>xbee–>to digi cloud. I added xbee into it by MAC address. Next will be taking this data from cloud and send it to android mobile app - just to show the value.
Any suggestion?
Tnx for answer.