ESP8266 - transfer some bytes PC<>PIC over wifi


Closed Thread
Results 1 to 25 of 25

Hybrid View

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

    Default Re: ESP8266 - transfer some bytes PC<>PIC over wifi

    Have you found what caused the Error?

    Very interesting instructable link. Thank you!

    Ioannis

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624

    Default Re: ESP8266 - transfer some bytes PC<>PIC over wifi

    Have you tried with CWMODE = 3?

    Also, see this:

    https://stackoverflow.com/questions/...ith-no-details

  3. #3
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952

    Default ESP8266 - transfer some bytes PC<>PIC over wifi

    Quote Originally Posted by HenrikOlsson View Post
    Have you tried with CWMODE = 3?
    No. I'll give it a try when I'm back from office.
    Roger

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624

    Default Re: ESP8266 - transfer some bytes PC<>PIC over wifi

    I tried with an old module I had laying around.
    I got the same issue no matter which CWMODE. But in the Stackoverflow post I linked to user urbanSoft (so all credit to him) writes:
    That AT+CWLAP returns an error without any prior connection is desired behaviour.
    The doc states that "AT+CWLAP connects an ESP station to a targeted AP with the last Wi-Fi configuration."

    Since there is no last Wi-Fi configuration an error is returned.
    So I tried that by connecting it to my network using AT+CWJAP="myssid","mypassword" and after that CWLAP worked as expected.

    My module is really old with stock firmware. AT commands have changed and been added over the years so don't expect any and all examples you find on the internet to just work if they don't match the firmware.

  5. #5

    Default Re: ESP8266 - transfer some bytes PC<>PIC over wifi

    do anyone want to try the ESP8266 programmed to be serial to WIFI 'bridge' ?? This is a few years old but all the info and files seem to be available.
    Here is the link for github page

    https://github.com/jeelabs/esp-link/...ster/README.md


    I would post about any issues I had or suggestions if anyone wants or needs that.

  6. #6
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952

    Default Re: ESP8266 - transfer some bytes PC<>PIC over wifi

    Quote Originally Posted by amgen View Post
    do anyone want to try the ESP8266 programmed to be serial to WIFI 'bridge' ??.
    Amgen, what exactly is a "bridge"? Is it what I actually want to achieve = send (small amount of) data, both ways, between a PC and a PIC over Wifi?
    Roger

  7. #7

    Default Re: ESP8266 - transfer some bytes PC<>PIC over wifi

    Amgen, what exactly is a "bridge"? Is it what I actually want to achieve = send (small amount of) data, both ways, between a PC and a PIC over Wifi?
    Yes, instead of bridge, could use 'connection'......... what program or app would you use on the PC to receive and send data?

  8. #8
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952

    Default Re: ESP8266 - transfer some bytes PC<>PIC over wifi

    Quote Originally Posted by HenrikOlsson View Post
    Have you tried with CWMODE = 3?
    ...as you suggested, I tried with mode 3 and:

    Name:  ESP8266 Wifi OK.jpg
Views: 11335
Size:  61.2 KB

    Thank you very much Henrik
    Last edited by flotulopex; - 29th December 2023 at 16:49.
    Roger

  9. #9
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952

    Default Re: ESP8266 - transfer some bytes PC<>PIC over wifi

    Quote Originally Posted by Ioannis View Post
    Have you found what caused the Error?
    Unfortunately, no.

    Still searching....
    Roger

Similar Threads

  1. WiFi to setup a PIC based device
    By Ioannis in forum WiFi
    Replies: 6
    Last Post: - 2nd December 2023, 14:31
  2. Serial to WiFi <> Wifi to virtual com port
    By flotulopex in forum WiFi
    Replies: 11
    Last Post: - 4th April 2018, 14:18
  3. Replies: 22
    Last Post: - 5th January 2012, 07:49
  4. Wifi & PIC
    By Megahertz in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 26th December 2010, 04:16
  5. PIC with WIFI module
    By JAWORSKI in forum Schematics
    Replies: 2
    Last Post: - 3rd December 2008, 04:19

Posting Permissions

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