After Midnight Thursday, 14 March 2013
Good Morning EZ-Robot.com Hardware Team !
Last week I received my ElecHouse UART-WiFi Kit, and got it Connecting to my Home Router with help from Robot-Doc, who led me to the TLG10UA03,
I have attached my Screenshots and Test Procedure, "13-Mar-2013 ElecHouse WiFi UART Serial Terminal Loop-Back Test.doc", and my ARC File of the same name.
I am using DJ's New Serial Terminal within EZ-Builder; seems to WORK GREAT, but I need to LEARN MORE on its proper use ?
My Question is, Exactly Where Do I Loop-Back the WiFi Module; I tried Tx-to-Rx with No Success ?
Thank You All & Best Wishes,
Upgrade to ARC Pro
Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro
By the way... I must have done something wrong again with my new TLG10UA03... I can access it through the config app but cannot make any modification or restore. Anyone knows where to find the firmware ?
I'll let you all know how it works.
The Roving Networks boards can be had for less. $29 for the chip, and I saw a developer board at RadioShack yesterday for $8 that the label said worked with surface mount chips and minimal soldering., so if you are skilled with a soldering iron, it is competitive to the Elechouse. I decided to go more plug and play for now, but if it works well with the developer board I ordered, those on a budget would have some options.
My plan is to find a 3.3v regulator that'll do the job if powering the ezb with the lipo doesn't work. I need more time in the day though, another 20 hours would be nice!
Although I can connect most of the time without issue I'm now finding that there is an issue with transmission capacity that degrades with the addition of more than one IR or ultrasonic device to the screen.
Having had mine powered by USB on the PC for over 24 hours with no issue I don't see that power cycling will be required once it is powered correctly, with enough current to maintain the connection. Hopefully this doesn't offend you as that is not my intention but I am leaning more to the side of user error than a problem with the module.
On the other hand, I don't accept sub standard kit so it could go either way but I wont give up until we have a definitive answer on this module one way or the other
@Robotdoc, how often is it checking the IR? I know there can be issues with checking multiple ADC ports frequently. My bluetooth benchmark shows it can read from ADC 25 times in 1 second, so if it's set to check every 200ms it will be capable of reading 5 sensors (5 sensors, 5 times a second each = 5x5 = 25). It may pay for you to run a benchmark (benchmark control is in general in ARC I think) and see what the limit is. That is important to a lot of builds and if WiFi is low it will be worth noting for anyone looking to go down this route.
i have read your post. like you i am also stuck with wifi module i have made some changes to use webserver on this UART-Wifi module i have achieved it successfully. Now i am not able to connect it again with UART-Wifi configuration software.
I am getting error "no valid com found". i tried to hard reset the module by connecting pin 2 to 5 and then 4 to GND temporary. but no result. I have followed your post and apply the solution as per the pdf you posted(on page 121). but still my module is not responding. Now i am also not able to configure it over WiFi. so how can i achieve Hard reset?
can you please help me?
now i am able to conect my module using UART-WiFi configuration software.
I've been reading your thread with interest, I'm not using my wifi model for robot at the moment, but I thought I'd share my experience and learnings.
1. The firmware in these modules seems to vary depending on where you get the module from.
Most documentation states the data rate is 115200, however I've found that the default rate is often 9600 not 115200
2. Web admin page address is not always 192.168.1.119 this varies with the firmware.
To find my web admin address I had to connect via wifi on my laptop, then use the windows ipconfig command, to get the address assigned by the module to the laptop, then use the gateway or router address shown by ipconfig
3. As well as the web admin, some devices have a text user interface on port 23.
Windows users, need to enable the Telnet program, and the at the command prompt type
Telnet 192.168.1.119. 23
I,e if 192.168.1.119 is the IP address of the module
The login using password 000000
4. On my module when i did a factory reset AT+RSTF the ,module reset to a different set of parameters to those that it was supplied with. It came back on with SSID. Was wifi-socket, so I suspect that the module I have, and many of there out there, looks like it was destined for wifi controlled mains socket. If did some research and there are several Chinese products and one uk product that does is. There are also wifi controlled inline lamp sockets which these modules are used for.
5. There doesn't seem to be a way to do a factory reset via any of the connections.
With the wifi socket product, it has 2 push buttons on it, and according to the docs for that product, holding in one of the switches causes a factory reset, but I tried holding reset low for 10 secs but that didn't reset my module.
However I've not tried holding cts or link or rts low or high for 10 secs, after power up, so anyone with a bricked module, should probably try that as a last resort. But connect the pin to GND to Vcc via a resistor e.g. 1k
6. According to the pdf docs, the module can be put into config mode, by holding cts low for at last 300ms after doing a hard reset.
However this doesn't seem to work on my module.
But it could depend on firmware.
7. On my module, it was impossible to disable Auto Work Mode.
Changing this setting in the web admin, wasn't saved after pressing save.
Though I didn't try doing it via AT commands
8. The PC UART Config exe, seems to assume the module is in command mode and doesn't send +++
the best way to get the program to work is to use a separate comms program to send +++ to the module then when its in command mode, then close the comms program and run the config program.
9. My module didn't seem totally compatible with the Config exe, I got a message of command not supported, but it generally seemed to work.
10. I found a reliable way to initialise a module is to take rest line LOW then wait around 5 seconds, by which time RTS line will go Low, High then back to Low, when rts line is low again, send +++ and you should get +OK
11. You can't type +++ in hyperterminal etc enter command mode, the timing is critical.
There is a free program called Hercules which seems to be part of the software bundle for this module. I used this, as it has a send option, where you can enter the +++ into one of the three boxes at the bottom of the screen and then press send to send the +++ together with no gaps.
I have found some Arduino sketches that puts 60ms delay between each + but I have written Arduino sketches that send without delays and it always seems to work. So I don't think the delay is necessary
12. For Anyone thinking of writing software to use the module, eg using Arduino. I have found in my module that some commands don't seem to work.
Eg creating a network socket as a server e.g. T receive data, doesn't seem to work.
Creating sockets to send at a I.e as a client does appear to work
Anyway I hope this helps anyone trying to use this module as I think it can be useful but is quirky;-)