WiFly GSX 802.11b/g Serial Module - Roving Network

Hello,

Has anyone use this module ? http://www.sparkfun.com/commerce/product_info.php?products_id=9290

Can i use the Ethernet library from the Example in arduino ? if yes how should i connect ? I mean should i connect the Rx, Tx and ground or the SPI Pins ?

Thank you in advance.

Hello Again,

I have connect finally the module with the rs232 with a converter from the rs232 to the 3.3V ttl.

I try to connect but no luck :-(

Has any one use this module ?

What should i check when i make the config settings on the module ?

I have set the bellow command: set ip a 192.168.1.25 save reboot

then i try to ping from my pc, no luck :-( i try to search for the wifly as a network, in my laptop but i can't see it.

Please give me you're light's ....

I have stuck ....

Also how i can make web server ?

Thank you in advance.

hi i done this tutorial
http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=158
just didint done jet speeker part coz dont have one i just trying to make so i can turn on and off led using wireless but so far no help from noone dont know why maybe not many ppl using it
i succsesfully connected to network and hosted page thats so far it for me

Hello LMas,

Thank you very much for the reply.

I finaly connect to my network with the command set wlan join 2

The sample you try is with this http://www.sparkfun.com/commerce/product_info.php?products_id=9290 modula or with the modula for arduino http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=158

Mine is this http://www.sparkfun.com/commerce/product_info.php?products_id=9290 and the only way to use it is the RS232 do you kwon wich library to use it for make a web server ?

Thank you in advance.

sorry but cant help with that i just a beginner just done c# control for motors servo and led and want my arduino make wireless but as far as i see i have long way to go…

Hi LMas,

Thank you very much for the reply.

I thing we have the same problem ...

What i was looking is,

The same module it is for the arduino, the only different is the chip it has to convert the spi signal to the Rx and Tx (rs232) mode and maybe make reverse on voltage.

In the example for arduino has an include on Ethernet maybe we can convert something on this file ?

Can we use the spi direct to this module ?

maybe this is helpful

To enable adhoc mode from software:
From command mode, the module is configured for adhoc mode using the join command. You will
also need to set the ssid and channel.
set wlan join 4
set wlan ssid my_adhoc_network
set wlan chan1
Turn off DHCP and set the IP address and netmask so other devices know where to connect to the
adhoc WiFly GSX. Since auto IP fixes the first two bytes of the IP address you want to use the
netmask of 255.255.0.0 so that other device connecting to the module can be reached. Alternatively
you can set the netmask to a smaller subnet if the other device's IP addresses are begin statically to
the same subnet as the adhoc device
set ip address 169.254.1.1
set ip netmask 255.255.0.0
set ip dhcp 0
Be sure to save your configuration, then upon reboot the module will be in adhoc mode

and this

http://groverfamily.org/arduino/ there is library download so maybe will be help i just to new and still searching

Hello LMas,

Thank you very much for the reply,

What i got (by mistake) is this http://www.sparkfun.com/commerce/product_info.php?products_id=9333 and should i buy this http://www.sparkfun.com/commerce/product_info.php?products_id=9367

the only difference is on the extra chip, has a convert from SPI to RS232 (this is on the second link).

What i was try is:
I have connect the device to my pc with a convert from the RS232 to TTL at 3.3V
I was type on Mozila the ip from the Wifly and then from the TeraTerm i was try to type something and then i follow with the bellow command

$$$ then enter
close then enter
exit then enter

then i check the mozila page and i see the words i have type before that’s great :slight_smile: (the info i found from the link you give me before, i just confirm it. :slight_smile: )

Because i see it is working with this way then i thing lets leave arduino to do it it self :slight_smile: so i was write:

void setup()
{
Serial.begin(9600);
Serial.println(“Start up and runing …”);

}

void loop()
{
if (Serial.available()>0) {
char c = Serial.read();
while (Serial.available() > 0)
{
}

delay(1000);

//char c = Serial.read();
Serial.println(“HTTP/1.1 200 OK”);
Serial.println(“Content-Type: text/html”);
Serial.println();

// output the value of each analog input pin
for (int i = 0; i < 6; i++) {
Serial.print(“analog input “);
Serial.print(i);
Serial.print(” is “);
Serial.print(analogRead(i));
Serial.println(”
“);
}
Serial.println(”$$$”);
delay(50);
Serial.println(“close”);
delay(50);
Serial.println(“Exit”);
delay(50);

}
// give the web browser time to receive the data
delay(1);
}

But nothing happens :frowning:

Can someone check and tell where is the mistake ?

or how can i convert the Etherne.h to check the Serial command and not the SPI ?

Thank you in advance.

I make one step, my current code is

/*

  • Web Server
  • A simple web server that shows the value of the analog input pins.
    */

void setup()
{
Serial.begin(9600);
Serial.println(“Start up and runing …”);

}

void loop()
{
if (Serial.available()>0) {
//char c = Serial.read();
//while (Serial.available() > 0)
//{
//}

delay(1000);

char c = Serial.read();
Serial.println(“HTTP/1.1 200 OK”);
Serial.println(“Content-Type: text/html”);
Serial.println();

// output the value of each analog input pin
for (int i = 0; i < 6; i++) {
Serial.print(“analog input “);
Serial.print(i + 1);
Serial.print(” is “);
Serial.print(analogRead(i));
Serial.println(”
“);
}
Serial.println(””);
delay(100);

while (Serial.available() > 0 )
{
Serial.println("$$$");
delay(500);

Serial.println(“close”);
delay(500);
Serial.println(“exit”);
delay(500);

}

}
// give the web browser time to receive the data
delay(1);
}

I got the data in the mozila but when get the $$$ doesn’t stop and continue display the data :frowning:

I feeling is not send correct the data of “$$$”

Also how can i reset the Serial buffer ?

Hello LMas,

I got it, see you're PM ;)

reset the buffer by using

Serial.flush();

Serial.flush() will delete all data in the input buffer that has not been read yet. Unless there is some compelling reason to dump random amounts of data, and you know what you are doing, and why, using Serial.flush() is not a good idea.