868 MHz monitoring

Hi,

I have several power (electricity) monitor adapters which operate on 868 MHz and have remote controller which displays data.

But I would like to collect data on my PC, so I am considering buying
seeedstudio.com/depot/rfbee- … th=139_140
or just
seeedstudio.com/depot/grove- … th=139_140

Would some this be ok for sending, receving data through UART or USB to my PC?

(I am using Voltcraft Energycount 3000).

Thank you and kind regards,

Rok

Hi there ,
seeedstudio.com/depot/uartsb … ?cPath=109
seeedstudio.com/depot/rfbee- … th=139_140
These two wil be better,you just put the RFbee on UarSbee , and connect to your PC with an USB wire . Open the Uart monitor,then can send and receive data in 868MHz or 915MHz.

Deray

I have bought what you have suggested and connected to my PC.

I tried getting data with moserial (linux) and simple python example, but without success.

I am using following code:

import serial

ser = serial.Serial('/dev/ttyS0', 4800, timeout=1)
ser.write("hello")
ser.close()             # close port

TX, RX leds are dark all the time when executing the code.

What baud rate should I use?

Could you provide me simple example for sending, receiving data (in any programming language)?

okay , i am using it communicate with arduino same as the wiki page of Rfbee .
here is the code , hope it can help you.

int button = 3;
String str;
void setup()
{
    Serial.begin(9600);
    pinMode(button,INPUT);
}
void loop()
{
    // receive the Rfbee date and save to String str
    if(Serial.available() > 0){
        while(Serial.available()){
        str += char(Serial.read());
        }
    }
    // send "Hello World" if the button is pressed down
    if(button){
        delay(50);
        if(button){
        Serial.print("Hello World");
        }
    }
}

By the way , before send the data with the code you write , you can try to directly open Uart monitor and test if two Rfbee can communicate by each other .

Thank you for help, but still without luck.

I only have one RFBee and 868 MHz transmitters which are sending data on 868 MHz, but I am not able to receive/recognize it on RFBee.

Hi ,
Sorry that i miss something , you are using 868MHZ but not 915MHZ ,so you need to change the firmware first .
You can download the firmware by click here and open the sketch and change the following code at “Config.c”
EEPROM.write(CONFIG_CONFIG_ID,0x00);
change to
EEPROM.write(CONFIG_CONFIG_ID,0x03);

There is 6 kind of configs you can choose that you can know it from the datasheet of RFbee .

Deray
Catch494F(10-12-10-43-53).jpg