Cheap WiFi modules


Closed Thread
Results 1 to 40 of 40

Hybrid View

  1. #1
    Join Date
    Dec 2010
    Posts
    409

    Default Re: CHEAP wifi modules, at last!

    FYI for those of us that remember teletype which required a CR & LF in any order, these devices do not work that way.
    You MUST send CR LF (10,13) in the correct order to work consistently. 10,13 will *sometimes* work, but not always.

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,682

    Default Re: CHEAP wifi modules, at last!

    according to the http://www.electrodragon.com/w/Wi07c web site since firmware 0.92 the terminator is \r\n previously was \n\r.
    \r\n has worked for all my ebay supplied esp2866's but the firmware needed updating for a decent result to be achievable
    ps
    cr=13=\r
    lf=10=\n
    Last edited by richard; - 30th December 2014 at 10:44. Reason: ps

  3. #3
    Join Date
    Mar 2006
    Location
    China
    Posts
    266

    Default Re: CHEAP wifi modules, at last!

    I have what might be a really stupid question.

    Is it possible (and if it is then how) to send serial data from one wifi module to an other when they are both connected to the same wifi router?

    I would like to remove some cables in a rs-485 network and replace then with uart wifi solution. I just dont know where to start.... well I have a wifi router :-) and the modules and lots of PICs and programmers . Does anyone know?

  4. #4
    Join Date
    May 2013
    Location
    australia
    Posts
    2,682

    Default Re: CHEAP wifi modules, at last!

    Is it possible (and if it is then how) to send serial data from one wifi module to an other when they are both connected to the same wifi router?
    you may not even need a router the esp modules can also act a access point . I have not tried that sort of comms yet but there are examples around on the web using TCP/UDP packets , or you could try TELNET mode . I think telnet is the closest match to what you want

  5. #5
    Join Date
    Mar 2006
    Location
    China
    Posts
    266

    Default Re: CHEAP wifi modules, at last!

    True, but I need to assign an IP to the module and I can not see any AT command for that ... and I really would like to have static IP so each module always had the same number even when the system is re-booted.

    How else do we know who is on the other end of the net?

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,682

    Default Re: CHEAP wifi modules, at last!

    if you do a AT+CIFSR you get two ip addresses the first is the modules ap address the second the dhcp address from your router , question is the first ip address identical on all modules ,maybe they can network that way. " silicon chip" magazine had an article on using these modules as ap's and assigning addresses to other devices using that ap , but I can find no mention of assigning the ap address anywhere . maybe you do need a router , most routers allow permanent address assignments/reservations (usually nested about ten levels deep in some arcane menu structure) .

  7. #7
    Join Date
    Dec 2012
    Location
    Türkiye
    Posts
    103

    Default Re: CHEAP wifi modules, at last!

    Quote Originally Posted by richard View Post
    if you do a AT+CIFSR you get two ip addresses the first is the modules ap address the second the dhcp address from your router , question is the first ip address identical on all modules ,maybe they can network that way. " silicon chip" magazine had an article on using these modules as ap's and assigning addresses to other devices using that ap , but I can find no mention of assigning the ap address anywhere . maybe you do need a router , most routers allow permanent address assignments/reservations (usually nested about ten levels deep in some arcane menu structure) .
    Hello Richard ...

    How did you figure out the pending client problem ... For example if a scenario occurs as follows ; First client connects to the server then the second one connects but its +IPD data will be missed while answering to the first client ... So will its channel number ... Do you have a solution for that ? Or perhaps there is an AT command I can't see that helps us to display the numbers of the channel IDs of the incoming and pending client requests ....

  8. #8
    Join Date
    Dec 2010
    Posts
    409

    Default Re: CHEAP wifi modules, at last!

    Quote Originally Posted by Charlie View Post
    FYI for those of us that remember teletype which required a CR & LF in any order, these devices do not work that way.
    You MUST send CR LF (10,13) in the correct order to work consistently. 13,10 will *sometimes* work, but not always.
    Nothing worse than discovering a critical typo after the time to edit has expired. I've corrected it in the quote. Bottom line, use 10,13 in that order.

  9. #9
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170

    Default Re: CHEAP wifi modules, at last!

    I think this site might be interesting for the IoT:

    https://thingspeak.com/

    After registration you get a free channel for your data to be stored, graphed or used as you want.

    Ioannis

  10. #10
    Join Date
    Oct 2004
    Posts
    448

    Default Re: CHEAP wifi modules, at last!

    True. People have done amazing things with the ESP8266, and uploading to Thingspeak. Also absolves you from having to learn HTML, I guess.

    For those yet to discover these, there have been a slew of development utilities for the ESP8266.

    And, folks have ported LUA (remember CHDK for Canon point-and-shoots?!), a scripting language to the ESP. The benefit being to be able to use the microcontroller on the module directly to store and execute simple programs. And with its own IO, one wouldnt even need a pic for simple applications.

    My favourites are ESPLORER (multi-purpose, works with stock firmware and LUA) and LuaLoader (only for LUA).

    Regards,

    Anand

  11. #11
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: CHEAP wifi modules, at last!

    These are available from Amazon (some via Prime with free shipping) for about $8. Now, to see if I can talk some dialect of Basic to them.

  12. #12
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704

    Default Re: CHEAP wifi modules, at last!

    I bought 5 of these modules for $13.45 plus $2.25 shipping on ebay. I can't wait to start playing with these modules.
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

  13. #13
    Join Date
    Oct 2004
    Posts
    448

    Default Re: CHEAP wifi modules, at last!

    Greetings, Dave!

    There is indeed a basic-of-sorts, a scripting language called LUA thats already been ported to the ESP8266.

    Makes things much easier, and other folks have developed IDEs to be able to upload/load LUA files directly on the module.

    In fact LUA is getting so popular, they have a separate sub-form for LUA at www.esp8266.com

    If this generates more interest, I'll post all the LUA related URLs in my record.

    Regards,

    Anand

Similar Threads

  1. CHEAP wifi modules, at last!
    By ardhuru in forum Ethernet
    Replies: 28
    Last Post: - 27th November 2014, 17:45
  2. Replies: 0
    Last Post: - 20th September 2011, 04:31
  3. cheap gsm modules
    By isaac in forum GSM
    Replies: 2
    Last Post: - 15th June 2007, 10:18
  4. supply FSK COB modules and FSK modules
    By Elsa zhang in forum Adverts
    Replies: 0
    Last Post: - 8th August 2006, 07:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts