herbie555 said: I'm attempting to use WiFlySerial 1.08 with a RN-XV and a Sparkfun ProMicro 3.3V.Wired using the standard pins 2,3, but all my sketches, including WiFlyTest, are hanging at/around the first call to WiFlySerial::begin(). I've checked the wiring continuity and experimented with swapping the pin assignments (3,2 instead) and changing the default baud rate, but I simply cannot get past this first step. 2 RN-XV boards, so I'm reasonably certain it's not a damaged unit. Anything else I can try?
WiFlySerial does look for the version number of the RN chip firmware… RN’s send it as part of their command prompt.
Set the library’s version number to your RN’s firmware version … might help.
Let us know either way!
9:41 pm • 1 February 2014
dbiondy1 said: hi, i'm using wifly rn-171 wifi shield i wanna ask, can wifly rn-171 works as an access point and connect it to android smartphone? i already tested TCP server example source code and it works, but i can't figure out how to use this shield as an access point. thx before and i;m sorry for my bad english :D
Check some of the RN171 updates - some cool new settings have been added since v32. Not all are directly supported by the WiFlySerial class yet. … contributions welcome.
8:18 pm • 17 August 2013
bilalhammoud21 said: hi, when i try to connect to a wifi network from the command mode it connects just perfect, but when i exit it and try to run some sketch like the wifly webclient it just hangs on and freezes, i was thinking maybe it has something to do with the wifly configuration but i tried every possibility and still not working
Please check the network setting parameters on the sketches - they have settings to identify which network credentials to use for connecting.
8:17 pm • 17 August 2013
joeweatherballoon said: I'm attempting to use the USART on my Arduino Pro Mini. I set up pins 0 and 1, and issue begin(9600). When I attempt to write bytes, I see nothing on the TX line. I placed my oscilloscope on the TX line and it doesn't wiggle like I would expect for the data sent by the USART. Can you help?
Normally pins 0 and 1 on Arduino’s drive the built-in USB … try using 2 and 3.
Also - check the sketch you are using - it should be clear as to which pin it is reading from and writing to.
2:12 pm • 21 April 2013
tpass6 said: I am currently doing a personal project on a motion control capture. Objective is to capture a state change from the sensor and broadcast it to a server and save the results in a file. The wifi module resides on a main circuit board and the microcontroller sends motion capture signal to the Wifly. I am able to teraterm to the wifly and see the message "Motion captured"displayed. How do I post the message to a host server , save the file and display on a web page? Any help is appreciated.
Take a look at some the examples:
WebTime for polling the Arduino from a server,
WebClientGetPost for sending data to a server process, which could then do logging to a file. It has a couple of .php scripts as examples.
Also, there are data logger examples for the Arduino in healthy supply.
6:13 pm • 3 October 2012
wmdigital said: Hi, I'm trying to get the WiFly breakout board, WiFly R3 module, and an Arduino Uno to communicate but can't get the sketches to talk to the WiflyModule. Is there a detailed tutorial or some info you know of showing the proper wiring? I just need to triple-check that it's not a wiring issue. I have: DOUT -> RX1 and DIN <- TX0 on the digital side but no luck. Not even running the SpiUartTerminal.
The Uno R3 would use pins 2, 3 for WiFly’s Rx,Tx as per http://arduinology.blogspot.ca/2012/03/wifly-demo-build.html
Note that this is for a breakout board, not for the SPI-based WiFlyShield.
9:28 pm • 18 September 2012
alexandroalexandro said: Hello master :) I am trying to make some settings to WiFly rn 131G, but whatever I do, settings are always default on reboot. I also cannot create files. PGIO 9 is not connected, not set to be used as reset defaults and its state is 0 on "show io" command. Any ideas why the "save" does not work? Thanks in advance, Alex
Note so sure about “master”! But thanks anyway :) .
Try going back to the simplest possible wiring configuration, and the simplest programs, such as WiFly_Tester. Then send the commands for various settings, save, then power-cycle.
If save is working at all, it should show results. Having burned out a WiFly unit it is clear there are finite save cycles. Large, but finite.
1:11 pm • 8 September 2012
willema said: Hi,I recently purchased the Arduino WiFlyShield (Sparkfun) which is a pin-replacement of the WiFi Proto Shield for the XBee WiFi modules. Is this library and are the examples compatible with this Shield or only with the breakout board version of the WiFly module???
The WiFlyShield adds a SPI and supporting chips to the RN131 on board. Use their library for working with your ‘duino.
This library supports breakout-boards where the only communications is through a pair of wires.
All the best with your projects!
6:33 pm • 13 July 2012 • 1 note
aeiche said: Any chance you'd add support into WiFly for additional real UART ports? Devices like the Arduino Mega and the Teensy have hardware UARTs that aren't dedicated to programming and or the USB host.
WiFlySerial depends on SoftwareSerial for its communications. Having a ‘real’ UART to play with on an Uno would have made many things easier.
It should boil down to a substitution of SoftwareSerial with a Serial class aimed at the UARTs. Some #ifdef’s in declaring the uart member variable should accomplish it fairly neatly. Most of the code is independent of SoftwareSerial-specific items.
Send me a Mega and it could happen! Or … I should get this on to GitHub so you could fork the version.
8:26 pm • 2 July 2012
watchinthesunset5703 said: Hi, I'm a programmer who is completely new to arduino boards and everything related. I'm working on a project where I need to connect an arduino board to a wifly chip, and be able to send data from the arduino to the wifly chip. I have the arduino board and wifly shield physically connected with pins, and both are powered and seem to be working, but I can't figure out how to program the arduino board to communicate with the wifly. Could you please help? I need simple instructions, if possible.
Review the WiFlySerial examples as a start.
The basic idea is that the WiFly is a serial terminal from the Arduino’s perspective. You send it either instructions or data, depending on the mode it is in, along the same channel.
Using the WiFlySerial library, open a connection.
Once it is open, it will be in a data mode. Keep sending data via uart.write() or print() until all out of data.
Then call the closeConnection() function to end the connection.
Keep us posted with your progress!
9:50 am • 30 June 2012