Pages: [1]   Go Down
Author Topic: xbee shield with rn-xv wifly  (Read 612 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

howdy all,

how do I connect / setup an arduino uno r3 with a xbee shield and roving networks rv-xv.

new with this stuff so any help will be great.

thanks

M
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 642
Posts: 50366
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The shield only fits properly one way. There should be an outline on the shield that shows the shape of the XBee - the XBee has one pointy end.

Assembling the hardware is easy.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi,

I think I got that right, what lib's do I need?

cheers
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 642
Posts: 50366
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
what lib's do I need?
The ones that are needed to implement the functionality you have in mind.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

well first of all,
I would like to make a secure connection to the wifly module to my wifi network, thus load the map and be able to ping the device or see the device on my wifi network.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 642
Posts: 50366
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I would like to make a secure connection to the wifly module to my wifi network
Do you mean:
Quote
I would like to make a secure connection between the wifly module and my wifi network
?

If so, that should be possible. It is with the Arduino WiFi shield.

Quote
thus load the map
You lost me. What map? Load it to what? From where?

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok here is more info, sorry very new at this, so in over my head.
ARduino uno r3
drrobot xbee shield v1.4
roving networks rn-xv

Looks like it is getting stuck on wifly.begin(); for some reason.

below is my sketch (ok... not a map)
#include <SPI.h>
#include <WiFly.h>
#include "Credentials.h"


void setup() {

  Serial.begin(9600);
  Serial.println("\n\r\n\rWiFly Shield Terminal Routine");
 
  WiFly.begin();
 
  if (!WiFly.join(ssid, passphrase)) {
    Serial.println("Association failed.");
    while (1) {
   
    }
  }
 
  Serial.println("Associated!");
}

void loop() {
  // Terminal routine
  // Always display a response uninterrupted by typing
  // but note that this makes the terminal unresponsive
  // while a response is being received.
  while(SpiSerial.available() > 0) {
    Serial.write(SpiSerial.read());
  }
 
  if(Serial.available()) { // Outgoing data
    SpiSerial.write(Serial.read());
  }
}
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sketch Arduino for Wifly RN-XV modem configuration without Wifly library and
with front-end: https://dl.dropboxusercontent.com/u/101922388/WiflySanUSB.zip
Logged

Pages: [1]   Go Up
Jump to: