I recently bought a UART WiFi module (this one) and configured it (wireless configuration method) with right SSID but wrong password (and I don't know what it is).
The problem is that I can't reset this module to its manufacturer settings and I can't connect to this module via serial port to configure it with some wire or cable. But I'm sure that my module is trying to connect my access point but with wrong WPA2-PSK based network key (because in logs of my access point I can see my module's MAC address that trying to connect but it can't)
So my questions:
Why I can't connect my module to my PC using a USB to Serial Converter ? (something like this one) I tested this module (I mean USB-SERIAL converter) and I'm sure that it works pretty well with my atmega8 microcontroller. And I checked baud rates, stop bits. When sending commands via some terminal debugging applications (like hyper terminal or code vision's terminal program) it responds nothing.
How can I reset this module to its manufacturer settings without connecting it to any PC using serial port? There is nothing in datasheet but a command that needs a serial connection to some PCs.
How can I see what password this module trying to connect to my access point (that cause "wrong password" failure)? Is there anyway to find out?
Is there anyway to create or configure a WiFi network that accepts any WPA2 network key? I tried to create an open wireless network without any security but this module fails to connect to it either. It skips non-WPA2-PSK based networks.
First of all I should send 3 plus "+++" via serial port and after that it should respond with "+OK" but nothing happens when doing this. What's the problem ?
Answer
The manual has the user using hyperterminal to send a text-file with the contents of +
in it. I think the escape is just +
, not +++
. Also, you have to wait a few seconds (two is default) of no serial activity before the escape character will work.
I'm not sure if sending a text-file causes the terminal to behave differently then just typing +
, or +++
, but it might be worth trying. Maybe it needs basically no delay between the three +++
, or it does something else (if the escape char is just +
)
Also, have you checked that your signals are not inverted? Maybe the usb-serial is defaulting to normally high, and the module wants normally-low, or vice-versa.
Confirmed in comments below as three +
characters, or +++
. You have to send it as a text file. I suspect that feeding hyperterminal a text file causes the three bytes to be sent as close to each other as possible, while typing them manually causes a ~200ms+ inter-character delay (e.g. as fast as you can manually hit the +
key).
Apparently the device has a much shorter "enter AT control mode" timeout them other similar devices, (like xBees, or such).
No comments:
Post a Comment