ArduinoGeneral

Wireless Programming Kit

userHead harrierdh 2014-01-15 07:33:02 3014 Views4 Replies
The WPM works fine programming my UNO wirelessly. Are there any instructions on how to send and receive simple data back and forth. Yes I'm a newbie. If I knew all about this I wouldn't have bought the WPM.
2014-02-05 09:55:54 The problem is the xbee (or what ever version) does not connect well to the sheild. This loose connection takes some tinkering. When I got all the lights lighted up it worked.

Seems I read about this in the forums elsewhere.

I do appreciate the response. That's what I like about DFrobot. Seems like somebody actual cares.
userHeadPic harrierdh
2014-01-17 19:24:09 Hello Harrier,

Take it easy first.

For programming:
In the configuration tool, whether the two module information(right side) are the  same.
UNO: 115200;192.168.1.1.1;...
Please try again first.
Did you remember what do you set at the first time?

For communication:
The baud rate should be same as your module one. (for example UNO is 115200).
userHeadPic Grey.CC
2014-01-17 10:28:32 I did try switching both Mode an Prog_en to off. Then running a simple script. This did not work.  (Serial.print and Serial.read)

In frustration I downloaded Tera Term (english). I get no response from +++ connected at 115200 with local echo on.

I went back to the original instructions and used the configuration tool. I set one of the addresses to 192.168.1.1.2. Tried all steps again. This did not work.

I went back to the original instructions again and used the configuration tool and set both to 192.168.1.1.1 UNO at 115200. I then followed the instructions to a tee and tried to program the UNO from the transmitter in the Xbee adapter. That is, one board connected to the USB and PC, the other connect to Arduino UNO with 9v battery. Mode switches both off, Prog_en switches both on. I can't upload.

I see the transmit light go on when I upload, but no activity on the receive end. Very frustrated. Nothing is working now. Hours I've spent, progress none.
userHeadPic harrierdh
2014-01-15 18:41:14 Hello Harrier,
What is wrong? The communication of two WPM modules is very easy.
You could check your older post. Just turn two switch off. And then could work.(Don't forget set them as the same parameter.)

For testing, you could try this code:
[code]void setup()

  Serial.begin(9600);
}
void loop()

  if(Serial.available()>0)
  {
    char inbyte=Serial.read();
    Serial.print(inbyte);
  }
}[/code]

When you send the data via usb adapter,  UNO will receive and print it in serial port.
userHeadPic Grey.CC