RFbee communication help

wireless communication and related Bees.

Moderators: lily.li, violet, jessie

dechaumet.valerian
Pre-kindergarten
Pre-kindergarten
Posts: 6
Joined: Wed May 27, 2015 6:04 pm

Re: RFbee communication help

Post by dechaumet.valerian » Mon Jun 08, 2015 4:35 pm

I decided to remove the shield expansion. So now, RFBee is directly connected to arduino uno. I connected :
pin 3v3 arduino ----> pin 3v3 RFBee
pin ground arduino ----> pin GND RFBee
pin 2 arduino ----> pin TX RFBee
pin 3 arduino ----> pin RX RFBee

I tried tu use the code with that configuration but it's show the same things.

Is a UARTSBee compulsory?

i tried also that code :

Code: Select all

#include <SoftwareSerial.h>

SoftwareSerial mySerial(2, 3); // RX, TX

void setup()  
{
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  
  Serial.println("Hello");

  // set the data rate for the SoftwareSerial port
  mySerial.begin(9600);
  mySerial.println("+++");
  delay(100);
  mySerial.println("ATMA1");
  delay(100);
  mySerial.println("ATDA2");
  delay(100);
  mySerial.flush();
  
 
}

void loop() // run over and over
{
  
  //if (mySerial.available())
    //Serial.write(mySerial.read());
  //if (Serial.available())
    //mySerial.write(Serial.read());
  mySerial.println("A");
  delay(1000);
}
it's print me "hello" but nothing else but i think it should work.

Post Reply