Cheap WiFi modules


Closed Thread
Results 1 to 40 of 40

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,643

    Default Re: CHEAP wifi modules, at last!

    getting the module to work smoothly is a bit of a challenge with the device talking duplex . have noticed that the response part that is required to verify action seems to always be preceded by two cr's (ascii 13) as circled in the attachments .
    the latest firmware revision makes things a bit better by slowing to 9600 baud and giving the pic a bit more time to work
    its all good fun
    thanks to henrik for a good starting point
    Attached Images Attached Images     

  2. #2
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427

    Default Re: CHEAP wifi modules, at last!

    Also, If you are trying to use Putty (terminal program) from your PC and some sort of usb.ftdi serial converter (caution!! 3v3 only) to communicate serially you have to enter CTRL+J to get the thing to take your command.

    If you switch to something like "Termie.exe" it works without the CTRL+J.

    Apparently putty has a problem properly sending either the carrage return or the line feed.

    Also when using the CWJAP command you have to include the quote marks " when you enter your AP credentials.

    I bought one of these off of amazon and it came configured to 9600 baud out of the box.

    NOTE: another way to deal with the 3v3 requirment is to just power your PIC and the ESP module from a single lithium ion battery. No 3v3 to 5v0 converter needed

    Question... how sensitive to over voltage is the 3v3 type devices? If I take my single lithium ion battery off the charger it usually has around 3.8 to 4.0v is that going to be destructive??
    Last edited by Heckler; - 9th December 2014 at 03:33.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  3. #3
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427

    Default Re: CHEAP wifi modules, at last!

    henrik...

    Thanks so much!! for your example.

    I was able to connect to my ESP module via an FTDI/USB adapter and send the commands you listed in your example from a terminal program (termie.exe) and achieve the same results (after connecting to my device from a browser.

    Now to sharpen up your code and program it into my favorite PIC

    It's good simple examples like yours that can clear up a lot of confusion.

    good stuff!!
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

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

    Default Re: CHEAP wifi modules, at last!

    I guess now I have to learn html ,I think I need a <form or something \form> to get a value from the browser back to the pic .
    any quick tips on how that works ,any simple example would be nice

  5. #5
    Join Date
    May 2013
    Location
    australia
    Posts
    2,643

    Default Re: CHEAP wifi modules, at last!

    modified henriks html to this
    Code:
     < html>
     <TITLE>PBP ESP8266 demo</TITLE>
     <body>
     <H1>Testing the ESP8266</H1>
     <H3>Cool stuff!</H3> Page visits: 3 
    <inputname="v2"value="2">
     <inputvalue="1"name="v1"type="submit">
     </body>
     </html>
    it displays a input box and a button but the method of actually sending value back to the pic chip eludes me

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

    Default Re: CHEAP wifi modules, at last!

    success
    Code:
    < TITLE>PBP ESP8266 demo</TITLE>
     <H1>Testing the ESP8266</H1>
     <H3>Cool stuff!</H3> Page visits:  4
     <formmethod="get"action="set">
     <inputmaxlength="5"value="2" name ="MyInput"size="5">
     <inputvalue="Change MyInput"type="submit">
     </form>

  7. #7
    Join Date
    Feb 2012
    Location
    South Carolina, USA
    Posts
    18

    Default Re: CHEAP wifi modules, at last!

    Here is a link to a few free software programs that some of you may find useful when testing communication. The TCP tool should be helpful for testing getting info between two ESPs.

    https://www.simplecomtools.com/produ...p?idCategory=5

    John

Similar Threads

  1. CHEAP wifi modules, at last!
    By ardhuru in forum Ethernet
    Replies: 28
    Last Post: - 27th November 2014, 16:45
  2. Replies: 0
    Last Post: - 20th September 2011, 03:31
  3. cheap gsm modules
    By isaac in forum GSM
    Replies: 2
    Last Post: - 15th June 2007, 09:18
  4. supply FSK COB modules and FSK modules
    By Elsa zhang in forum Adverts
    Replies: 0
    Last Post: - 8th August 2006, 06: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