Closed mukeshbauskar closed 10 years ago
The most likely cause of the failure you are seeing is that the Arduino cannot talk to the WiFly module. This could be for a few reasons such as the baud rate not matching, the serial port not being connected properly, or the shield you have not doing the 5V to 3.3V level conversion correctly.
Do you have your softwareSerial object (wifiSerial) set to pins 8 and 9?
What kind of shield are you using for your WiFly? Is it one of the ones that don't work? (Check the wiki for a partial list: https://github.com/harlequin-tech/WiFlyHQ/wiki ).
What version is the firmware on the WiFly?
I am using Arduino Wireless SD Shield with Arduino Uno Rev3.
The firmware on RN XV is 2.32.
I have set softwareSerial object (wifiSerial) set to pins 8 and 9. I also tried bending pin 0 and 1 from shield and connecting it to pin 8 and 9 with same code.
Can you please tell how to check firmware which is there on WiFly?
You can check the version of your firmware by connecting your serial terminal to the WiFly module and sending "$$$" with no carriage return. That enters command mode and the firmware version is in the prompt the WiFly sends to you.
You can find the details of the commands the WiFly RN-XV supports here: http://www.rovingnetworks.com/resources/download/16/RN_XV
Put the switch on your Arduino Wireless SD Shield in the "USB" position so that your USB serial interface is connected directly to the WiFly RN-XV module (make sure the module is powered off first). Then select the right speed in your serial monitor (whatever you programmed the module to use, or try 9600, 38400, etc).
Once you can connect to the WiFly module manually, you can change the switch back to the "micro" position (with the power off) and try out the WiFlyHQ library and examples again.
I have the same setup and connecting to the RN-XV manually works fine. The version I have is: WiFly Ver 2.32, 02-13-2012 on RN-171
However when trying to run the WiFlyHQ examples I only get this:
setPrompt failed Failed to enter command mode Failed to start wifly
I have wifiSerial set to pins 8 and 9. Did anyone else have luck with this setup? Or further instructions how to get it up and running?
Figured it out. Had to rewire tx/rx or 0/1 to 8/9. Works great now!
Hi, I'm an arduino and wifly newbie. I tried inputting $$$ on the Serial Monitor and got nothing back. This are the steps that I followed:
Starting Free memory: 905 setPrompt failed Failed to enter command mode Failed to start wifly
I tried carriage return, newline, no line ending, both NL & CR and nothing happened when I input $$$. The next approach I tried was the following:
Starting Free memory: 905 Already joined network MAC: 00:06:66:72:37:65 IP: 0.0.0.0 Netmask: 0.0.0.0 Gateway: 0.0.0.0 DeviceID: Wifly-WebClient open hunt.net.nz 80 Failed to get prompt WiFly has crashed and will reboot...
I would appreciate if someone could guide me. Maybe I'm doing something completely wrong.
When I am connecting, I am always getting follow errors.
Starting Free memory: 1250 setPrompt failed Failed to enter command mode Failed to start wifly Terminal ready
Things I have tried are
Please let me know what wrong I am doing.