
DougPope
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,
ElecHouse UART-WiFi
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,
DougPope@cox.net, 602-246-1246(H)
13-Mar-2013ElecHouseWiFiUARTSerialTerminalLoop-BackTest.zip
13-Mar-2013WiFiUARTSerialTerminalLoop-BackTest.EZB
Do you know anyway to hard reset to factory default the module ? I can't get access to it throuhg port COM anymore due to a wrong TCP setting. It's flashing like it is connected but it is not (I checked from the router).
Best.
I still struggling with mine.
If you have the USB to UART connector.
You can use the UART-WIFI configurator and you
1. exit transparent transmission by pressing Exit.
2. You search again for the your module.
3. You can reset or simply change your configuration
4. Modify.
This is what I did with Mine.
However, I managed to configure it .
1. I can see it from the Router.
2. I can Access the webserver on the Module.
3. Not sure about how to connect it to EZ-B Card. GND-GND,VCC to VCC,TX to TX,RX to RX!
4. I did that but the white Led flashes and The WIFI card does not start.....no Success.
I am not sure what to do , but I will need some time or Someone from the community may jump in soon with an Idea.
BR
Good Afternoon El Fege !
Welcome to the UART-WiFi Club !
Mine works OK, but I like working with EZ-B better, because it's a better match to my current experience level. Beginner !
Please See The Long Posting Adding Wifi To One Of My Existing Ez-b's in Hardware ?
Thanks to Robot-Doc for talking me through the Final Test Procedure, I was able to learn A Lot !
NOON Thursday, 21 March 2013
Good Afternoon 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, ElecHouse UART-WiFi !
ElecHouse UART-WiFi
This morning, Robot-Doc talked me through the ElecHouse UART-WiFi Test Procedure, and guess what, IT Now Works ! You can make something Fool Proof, but you can never make it DAMN FOOL PROOF !
The Procedure :
1-Applied 3.3 Volts to the UART-WiFi from Pins on the EZ-B.
2-Using Internet Explorer I immediately Logged In to its Local Router WebPage at its Default IP Address of 192.168.1.119.
3-On its WebPage, Robot-Doc had me set the Default Baud Rate to Roomba's 57600, and Save It.
4-I then Enabled HW Virtual Serial Port to COM8, and Verified its presence in Device Manager.
5-I opened ARC's Serial Terminal to COM1 and using iRobot Create's DB-9 to Roomba Cable, I started receiving Roomba Battery Charging Data when I plugged the Roomba Charger directly into its side Charging Port.
6-I then disconnected ARC's Serial Terminal from COM1, and connected the UART-WiFi's Serial Cable to the Roomba.
7-Setting ARC's Serial Terminal to COM8, GOT ME LOTS OF ROOMBA BATTERY DATA, WIRELESSLY !
8-THANK YOU ROBOT-DOC !
DougPope@cox.net, 602-246-1246(H) El Fege, Please Call Me If I Can Help !
I still don't know how to deal with HW Virtual port. I can't get a COM port to be created. It says it is connected to the Wifi module and then repeats the same sentence, something like "Sending do not disconnecte message" over and over; but no additional COM port in the device manager.
Once I succeed and if I succeed to get a new port, should I then connect ARC to EZ board through the same window connection window or should I use serial terminal ? ? I know absolutely nothing about COM ports, never had to use COM requests / codes before. What language am I suppose to use ? Do you know any lexic of COM codes that can be used ?
Thank you very much.
PS : for now I gave up on the wifi
However, and this may not work but I was thinking that since ARC can connect to another instance of ARC over a network by typing the IP address in the dropdown for connection, can you do that with the WiFi module? No COM port needed? Just an idea that's been in the back of my mind for a while.
DJ has done a video on it. I'm on my tablet in bed at the moment though (almost 4am here...) so can't look for it easily but have a look for it in his videos.
You define the port number for serial communications in the setup software of the wifi board. You only need a virtual comm port to communicate with other devices (like Roomba) and it responds to telnet on port 23 for command and control of the Wifi board (cli).
My board should be waiting for me when I get back to work Wednesday, and i will test and hopefully put up a tutorial on Thursday.
Alan
I am glad that you succeeded with the WIFI module, you should have more coverage around the place to work with.
I did Config my WIFI board and it is detectable on the Router and I can ping it from other devices. I did use autowork mode to auto connect....not sure if this is ok.
also, I can take care of the pin swapping issue using 4 wires cable male-female + additional power sourcing to cover the extra power needed for the WIFI module as using the 1.5A 5V power supply could not handle EZ-B and the WIFI Module.
I have couple Questions to you and @Robot-Doc.
1. What did you do with the power issue?
2. how can I create Virtual Serial Port to my Window 7 machine and access my EZ-B?
I think after that ARC should do the job.
BR
I'd like to know if anyone has tried it though. It would sure close around 4 different topics on the subject if it was that simple.
About WIFI : It's clearly the best solution but, Dougpope, you will indeed need more than 1.5Amps for your robot.
Now, to everyone who might be interested : I have a night vision ipcam on my bot. It takes overall up to 1.5 amps. It tended to crash everything down. I added a separate battery but I also installed a netgear wifi to ethernet adapter (found on Amazon long ago). It allows me to separate the network interface's power consumption from the ipcam consumption because the cam needs a very steady current. I'm also about to install two new batteries so overall I should have like 8 amps... (not all 8 amps going to the EZB, of course, 'cause I think to remember that 5 amps is its limit), is that right ?
Other question : anyone knows a way to reduce wifi interferences ? The thing is that I have 3 wifi sources on this robot...
Best,
Good Morning EZ-Robot Folks ! Happy Easter ! Joyous Passover !
@Rich, @Robot-Doc :
Atached are Screenshots of UART-WiFi and HW Virtual Serial Port SUCCESSFULLY CONNECTING to ARC, COMPLETE With The NEW DEBUG Screen !
Yesterday was a GREAT DAY for Phoenix Washington High School Robotics Car Wash !
We raised enough money to purchase One EZ-Robot Personal Robotics Complete Kit
with EZ-B V3 Robot Controller from http://www.aprohobbies.com/ezrobot-controller-personal-robotic-complete-p-540.html
Price: $169.00
Local Texas Distributor A Pro Hobbies
Best Wishes From Phoenix,
DougPope@cox.net, 602-246-1246(H)
Easter2013TestingofUART-WiFi.zip
I think I really messed my TLG10UA03 UART-Wifi module... It worked at first but then I don't know what wrong config I did (using UART WIFI config) but now It can't find it anymore while I can still connect to the COM port through terminal. However I know nothing about the language I'm supposed to use... nor if there's a way to reset the adapter to default settings while I can't access it through UART WIFI config any longer... If someone knows what I'm supposed to do, please, help me... I'm sure there's a way to reset the chip from terminal since there's always a reset input in a chip.
Thanks,
Elfege
Good Morning Elfege !
Your TLG10UA03 UART-Wifi module is wishing YOU Happy April Fool's Day !
I had a similar problem last month and Robot-Doc talked me through it.
His Included Documentation was slightly different than mine, so I have attached my version of UART Serial Wifi_test.pdf.
Please reconnect your Included USB-TTL Module to the UART-WiFi Module as shown in Fig-1, Page-2.
Reconfirm that your WiFi Setup Did Not Change, or better yet, set it to the Illustrated Local STATIC IP Address of 192.168.119, PDF Page-5.
Please see my previous Screenshots Easter2013TestingofUART-WiFi.zip above, and try Retesting ?
Best Wish & Call To Chat,
DougPope@cox.net, 602-246-1246(H)
UARTSerialWifi_test.zip
Than search ...it finds it.... Do not ask me why.
It happens to me
I guess pin 4 is not VDD otherwise it would create a short. Unless you mean that I should connect the Ground pin on the wifi module to the VDD on the usb/com board and then reconnect the jumper on 3.3 volts for two seconds, is that what you mean ?
Thank you again.
Elfege
http://www.amazon.com/gp/product/B00BIESLGW/ref=oh_details_o00_s00_i00?ie=UTF8&psc=1
Put it to one side, stop looking down at the problem, take a break from it before it sends you insane and then look for the solution.
*this offer is purely rhetoric...
Hang in there, we will get it going for you
Alan
All the specs I used (including serial commands codes) are
HERE
I did that using the USB ttl since I could not access the wifi card at all.
I finally got a connection btween EZB and wifi card but it did not seem to receive any command... and the connection took forever to establish...
There is no method to do hardware reset.
Best Regards
Wilson Shen
www.elechouse.com
Tel: +1 (224) 993-9188
So, the only way to perform a soft reset is to gain access via WiFi or USB to the circuit board and send the AT+ command-(USB) or button click-(Web page of WiFI)
I've also noticed that sometimes when populating the various pages of the WiFi device some fields get populated with invalid values which will then cause issues with establishing a connection to the board. Double check all values in every field before using the "save" option to flash the WiFi board.
It shows anyway that this company has no customer service. I'm facing the same problem with sainsmart, they just don't know their products because they are not developed in their country bu probably in India or Korea.
Attempting connection on COM3
Comm Err: The operation has timed out.
BbytesToExpect: 1
Received:
Disconnected
Connection Failed: System.Exception: Controller Not Responding
at EZ_B.EZB.Connect(String hostname, String tcpPassword, Int32 baudRate)
Disconnected
Any clue ?
Ensure the WiFi module is connected to the WiFi network
Ensure your virtual com port is set up correctly, with the correct IP etc.
If all else fails, reboot the PC, power cycle the EZB and try again, Windows has a habit of just not working sometimes.
as for the errors i would get the same thing. Rich is right,try to reset and if that does not work i changed com port and that would help most of the time(don't know why)
I just got it to reset AT did not work i tried +++RSTF,++RSTF,+RSTF and one of them worked
Here we go again
So, guys, you need to :
1) invert the tx and rx connection.
2) do not select the external NVT command port in HW virtual port (don't ask me why either)
3) still in HW VP in the settings tab select ONLY the following options : Connect to device even if Virtual COM is closed Strict Baudrate Emulation (and of course you Log Enabled).
4) DO NOT ASSIGN the same port to the web server and to the Auto Server mode.
Now, the quality : I just tested it a little. It tends to disconnect at regular intervals, perhaps a timeout thing to deal with but any way it doesn't matter to much since it's easy to reconnect, in worst case scenario you just need to kill and recreate the virtual port. I mean that's not the actual worst case scenario but that's also why my robot is entirely mounted on a Rovio from Wowwee so I can always bring it back to its charging station in case of total failure of the EZB... which happened quite a lot with the bluetooth... by the way.
I don't know about you but I feel relieved that I know for sure that this is a working solution and that I didn't waste my money.
Cheers!
RX needs to go to TX and vice versa... TX sends, RX receives. So TX sends something from device A, it needs to go to RX on device B to be received. Just to clear that up for you.
I noticed that the main LED on the EZ-B was going out once a connection was established, so it lead me to think I might be getting a brownout.
In researching this, I found this old
thread.
It appears that my connectivity issue, and the slow response and disconnect issues being discussed in this thread are because the EZ-B doesn't supply enough amperage on the 3.3v pin and you need to run alternate power to the WiFi board in parallel. It was quite late when I found this, so I haven't had time to test yet, and the other thread just ended without anyone claiming success, so I am not 100% sure that is the answer, but I will try it again as soon as I can and post results.
Alan
You just reminded me to see if mine has turned up yet, haven't checked if I've had any post (mail) today yet... Edit: YES it's here
Good find for the 3.3v issue, that saved me a headache when I fit mine... hopefully.
You will still need virtual port unless you want to switch back to Bluetooth (or I assume, but haven't gotten far enough in testing yet the USB TTL) when you want to upgrade Firmware. The firmware updater does require a com port number.
Also, projects like @Doug Pope's needed it since he is trying to use it to connect to a Roomba, not the EZ-B.
Alan
Alan
I never succeeded in connecting through IP directly in a reliable way even though I had the correct amount of amps so I don't think this is the issue. I had control over the robot while connected through direct TCP but it was responding with a long lag. HW virtual port works fine though once you enter the proper settings and most of all once you use direct baudrate emulation.
Best,
Elfege
I will need 300ma MAX.
Alan
How on earth do I get the thing to connect to the network? All connected up to the USB, settings entered (all correct), scans fine and finds the network but connect just wont work... Any ideas?
Also, is it just me or is half the text missing from the app? It's as if the page needs scrolling down or resizing.
And, when I search and select the module I get a note: Parameters get error, could not support! Is that just me?
Lastly, has anyone had success using Windows 8? The USB gets installed but cannot start (code 10), the manual says this indicates a counterfeit unit although that's total BS, works fine on Windows 7.
First impressions on a quick 15 minute look at this and I'm not at all impressed by any aspect of it. I'm not surprised it raises so many questions.
There are some warnings on the site you download the USB drivers about Win 8, but I ignored them, so not sure if there is something to see there or not.
Alan
Can you post what you determined are the correct HW virtual port settings?
Never mind. I re-read the whole thread and see that you already did that.
Alan
Off to order a replacement.
I am thinking about trying the one that @elfege found on Amazon and @Robot-doc said he was ordering. @Robot-Doc, did you receive it yet? Any success? I can't tell from the Amazon description if it even does TTL or only RS-232 and I can't find a manual for it.
Alan
Sparkfun also has one, although even more expensive, it claims to boot really fast and be ultra-low power, which given the 300ma draw on the Elechouse board could be a good thing.
Alan
Anyone could explain me why most people in robotics seem to prefer nimh batteries rather than lithium ? I really can't figure this out. I know some stuffs about the difference between these two kind of batteries but I don't seem to know THE detail that seems to make people prefer the old and heavy slow charging nimh technology.
Best,
Elfege
Still couldn't connect to the wifi earlier this morning which is odd. All settings are correct, security is all OK, Filtering set up correctly (and have even tried turning it off with no luck).
I'll post some screen grabs later when I'm home as I may have missed a step or two although I can't see what.
@rich. I am not sure how i cooked it. I was really too tired to be messing around. I probably gave it too much voltage.
For getting Wifi working, in the config gui, don't set the auto workmode at first. Get your settings for Wifi right, then go to the test page and hit the connect button to see if you can get on Wifi. Once you can, then go back and set work mode to server, set your port and timeout, reboot and it should auto connect to WiFi.
Just remembered I have team viewer so here's how my config looks...
Code:
Looks like AutoMode is enabled, I guess that need disabling.
It seems all of the text I wrote for my tutorial so far as I was going along is getting written in these posts. Maybe I should clean it up and post what I have so far since it looks like it is going to be a couple of weeks while I wait for a new one, and I may even decide to go with a different model.
I am liking the looks of this:
www.rovingnetworks.com/products/RN_131_EK
or this
www.rovingnetworks.com/products/RN_171_EK
or maybe one of these so I get a choice of antennae and no soldering for the TTL connectoin.
www.rovingnetworks.com/products/RN174
although not the prices.. Documentation is excellent and clearly written by someone whose primary language is English not one of the Chinese dialects. Looks like it can easily be powered by the EZ-B, and has a 3-12v input range, so less likely for me to fry it by accident. Costs more than an EZ-B though
Alan
Let me know if you get a proper connection through IP directly without using virtual port because everything I tried so far was not good. Port forwarding works fine though. However I get disconnected pretty often which might indicate a power issue so I put the wifi module on the side for now until I can figure out what coudl do that because I don't want to fry another one.
Good luck
Elfege.
Lithium (either LiON or LiPO are higher energy density than NiMH, meaning they will last longer while providing higher power output for the same size battery, and are lighter weight as well. They have better power falloff behavior as well in that they will continue delivering almost full voltage until shortly before they run out, and then fall off quickly, while NiMH will steadily decrease voltage over time (NiCad where even better for falloff, but hardly last, and are an environmental disaster so you don't seem them used much anymore).
On the other hand, NiMH are safer. You can overcharge them and they won't catch fire. Lithium of either type need a smart charger to make sure they don't over-heat, and LiPO you need to charge before they are completely dead or they stop taking a charge.
Any of them will last for thousands or charges, or about one to two years regardless of number of charges. NimH will start to lose power after they are charged and will lose about 10% per day until they start to hold at about 50% if you don't use them. LiON will hold a charge for weeks to months without losing anything. I don't know how LiPO perform in that area.
Anyone feel free to correct me if I mis-stated or under-stated any of this.
Alan
Still having problems getting the little blighter to connect to wifi let alone anything else!.. Everything I try says it can't connect. Tried 3 different wifi connections and still nothing. Checked all settings, nothing... Just googling for more info on it since I'm about to throw in the towel again, take a break from it, watch a bit of Spartacus then try again.
Edit: Scrub that, I'm connected!.. Stupid thing. Changed it to connect to an open portable hotspot on my phone, connects. Changed it back to my home network, everything as it was before, connects... Now, on with the fun!
Now on to your WiFi binding issue. I assume that the first steps when you connected your WiFi module to the TTL/USB were accomplished and that you received the IP address that your Router should have assigned to the WiFi MAC address of your WiFi board and were then saved . Let me know if you got this far.
I haven't tried anything further yet. I need a break from it again before it sends me around the bend!.. Will replace the bluetooth module on the EZB later and try connecting etc.
You have DHCP enabled? Personally, unless your router reserves the IP for the MAC address I'd change that to static... in fact, all of my IPs are static but then I forward a lot of traffic to specific PCs. It just makes it easier should it disconnect/reset and be assigned a different IP.
If only I knew where you lived I could use your wifi now
But mine look much like that. Which is great.
I'll be doing a write up and photos etc. when I have finished... I also found my problem, darn security type was wrong so it was not connecting. I must have earned thousands with connecting and setting up WiFi networks and I make a rookie mistake like that.
I'll be hitting this one hard over the weekend and trying it out on testbot so hopefully (wishfully) we will see an end to the slow wifi issues etc. soon. But first, the penultimate episode of Spartacus is calling me (and so is the coffee in the kitchen)!
Thank you Alan for your full description. I knew about all this already, beside for the fact that lithium batteries can catch on fire ! I have a tenergy lion/lipo charger on one robot with batteries that have built-in fail-safe circuit that shuts them down when it reaches a voltage below 2.xx V. However on my other project I use a built-in Anker charging circuit connected to its original batteries that I've however stripped out in order to access the 8v current directly and I don't know if they have a built-in fail-safe circuit independant from the Anker's charging circuit (since I'm taking power from batteries directly instead of taking it from the built-in 9v output because), I'll check on that.
Tank you again
Elfege
OK so it's connected to the board but it wont connect to the WiFi while powered by the board. I assume there isn't enough current for the board.
Now I'm about to read all the datasheets, manuals etc. to see what the board needs and what the EZ-B gives. I'm guessing that using a 3v3 supply with more juice will solve the issue. I did connect the power to the USB and plug that in but since it doesn't share a common ground I expect that is the reason for the "firmware 8.5" error.
Slow progress but it's still only Friday night, I got two whole days to get it sussed out yet
Alan
http://www.elechouse.com/elechouse/images/product/UART%20WiFi%20Transparent%20Module/UART%20Serial%20Wifi_test.pdf
see the last page.
Clearly it seems that this module is just BS... any power variation might make it fry or just not kick in... it is not really compatible with arduino and not compatible with EZB either. For now it works on my EZB but I'm sure it's gonna fry sooner or later since my USB power supply is arround 2amps and the constant disconnections might be due to its complete intolerance to the slightest power variation.
I think DJ should read our posts and try to advise his customers on another device from now on. This one really sucks.
Elfege
I'm tempted to throw a voltage divider on my 6V circuit to drop it down to 3.3v and provide an external constant 5A 3.3v supply, that will eliminate any power issues associated with the speed of transmission. But that's plan B, plan A is to give it enough juice so it connects.
There are reports of this working and it is also on the tutorials page under hardware compatibility (I think) so it must work. We will make it work
It was an expensive mistake but at least was not a total loss. I am able to use the USB-TTL adapter for direct connection to EZ-B and it works like a charm. (note, the tx/rx on the USB TTL are not labeled in a standard way. you DON'T want to swap TX and RX when connecting the TTL adapter to the EZ-B. TX goes to TX and RX goes to RX). One of my two EZ-B's will be in a bot with an on-board computer, so this is better than Bluetooth for this machine.
I am trying to decide whether to throw good money after bad and try the Roving Networks adapter I found, which looks to be very high quality (at least if the documentation and web site can be used to judge) or just give up and decide to stick with Bluetooth for the smaller bot without the built in computer.
Maybe I'll save my money for now until I see what EZ-B Revolution is going to be.
Alan
Can you send us a picture of your module ? Because I had to swap RX and TX in order to have it functioning so I'm wondering if it's not coming from your specific piece. Otherwise I'm really curious to know how you got it working that way.
Elfege.
I know I have seen other equipment (including boards that cost upwards of $5k destroyed by bad grounding.
II'l post a picture of the USB TTL sometime this weekend.
Alan
I tried the WiFi board connected directly to the 780 Roomba com port @ 115,200 k and would receive nothing but garbled characters until the WiFi board shared the same ground plane as the Roomba.
I also experienced an expensive lesson on powering the 3.3vdc required input to the WiFi board by using a 3.3 MOSFET regulator that was rated at 1amp output with a voltage input from 9 to 30 volts. The regulator worked for 30 seconds then passed the entire input battery voltage (16vdc) into the WiFi input leads.......Poof. Good thing I had ordered 3.
In our case the Wifi module and EZB else you will not have a reference for your TTL signal levels between both circuits.
I was under the impression that any charger made for charging lithium based batteries shut off once charged and balanced since it's dangerous otherwise. What charger were you using?
I'm working on an auto cut off circuit for my current batteries since they don't have them built in (which seems stupid to me for the price of a diode, resistor and mosfet)
We digress from the topic, perhaps this should go into it's own one...
On one robot I'm using amultivoltage (5V USB at 2amp max, 9v / 12v) battery pack form Anker so it does the job perfectly and it's been working for days now so I think it's fine. On the other project I use a smart charger from Tenergy and the batteries are from ultrafire. Both batteries and charger have overcharge/overdischarge safeties. Actually they already got upset and turned off twice because the charger does not provide enough juice. Indeed this charger sends only 500ma constant charge current and I need at least 1.5 amps since I have an ethernet shield on arduino + netgear ethernet to wifi adapter running constantly in order to power up / donw / reset the Rovio when it's needed. Therefore I ordered another Tenergy model which sends 1.5 amps constant charging current instead. However I wonder if it will be enough since I fear that arduino+shield must take something like 500 mA and I know that the ethernet to wifi adapter takes 1 amp (the Rovio takes more but has a sleep mode and anyway I can remotely turn it on/off). I think it should be enough since the other Rovio (the first project) works fine with more equipment and a 1amp charger. It seems though that li-ion indeed don't like trickle charging (does trickle mean that you let the device plugged on the charger constantly, I'm not even sure actually. And if the charge happens while devices are running and constantly taking power out of the batteries, shouldn't it be fine then ?).
Best.
Has anyone eventually accessed his EZB through direct TCP connection ? Mine is still not responding after connection is set.
thanks
Elfege
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 ?
Best.
I'll let you all know how it works.
Alan
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.
Alan
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.
Hello
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.
www.elechouse.com/elechouse/images/product/UART%20WiFi%20Transparent%20Module/UART-WiFi_English.rar
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?
meineweltinmeinemkopf.blogspot.in/2012/05/uart-wifi-server-client-module.html
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;-)