logo elektroda
logo elektroda
X
logo elektroda

ESP8266 from different batches - one works, the other does not detect the network

demsy 3465 59
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #31 17945470
    khoam
    Level 42  
    demsy wrote:
    Only that now it doesn't want to "talk" to me with putty.
    .
    Do you have the speed set to 9600 in putty?
  • ADVERTISEMENT
  • #32 17945574
    demsy
    Level 22  
    khoam wrote:
    demsy wrote:
    It's just that now it doesn't want to "talk" to me with putty.
    .
    Do you have the speed set to 9600 in putty?
    .
    115200. but I won't be acting further until tomorrow
  • #33 17946813
    demsy
    Level 22  
    uploaded again

    Code: HTML, XML
    Log in, to see the code
    .

    ESP8266 from different batches - one works, the other does not detect the network .

    with speed 115200

    ESP8266 from different batches - one works, the other does not detect the network

    to test pytty to see if it works i shorted RX and TX for a test so it works, in other words i suspect i have uploaded something wrong to esp

    I have also connected a fresh ESP.... and there is the same effect
  • ADVERTISEMENT
  • #34 17946878
    khoam
    Level 42  
    demsy wrote:
    I enabled the putty at 115200 I reset the esp and it only pops up the following
    .
    Then try setting the putty to 9600 and use that esp you uploaded the AT firmware on.
  • #36 17946933
    khoam
    Level 42  
    I do not use putty, but moserial - while the settings (working) should be as follows:

    ESP8266 from different batches - one works, the other does not detect the network .

    With that said, try with 115 200, 57 600 or 9600.
  • #37 17946948
    demsy
    Level 22  
    or maybe I set something wrong when uploading
  • #38 17952535
    demsy
    Level 22  
    I was able to upload a soft that works with AT commands

    ESP8266 from different batches - one works, the other does not detect the network
  • #40 17952928
    khoam
    Level 42  
    As far as the AT firmware from Espressif is concerned, the module works correctly with version 1.6.2, but no longer with version 1.7.0.
  • #41 17952983
    demsy
    Level 22  
    I'm the one who agonised for so long and didn't check another packet. Any devices with wifi detected by SSID esp?
    I will check this afternoon
  • #42 17953625
    khoam
    Level 42  
    demsy wrote:
    Any devices with wifi detect SSID esp?
    .
    No problem.

    Added after 1 [minute]:

    demsy wrote:
    I'm the one who agonised for so long and didn't check another package
    .
    This version I uploaded is newer than what you stated in your first email.
  • #43 17953687
    demsy
    Level 22  
    khoam wrote:
    demsy wrote:
    Any devices with wifi detect SSID esp?
    .
    No problem.

    Added after 1 [minute]:

    demsy wrote:
    I was the one who agonised for so long and didn't check another package
    .
    This version I uploaded is newer than the one you provided in your first email.


    I can see by the date....
  • #44 17953779
    khoam
    Level 42  
    I have loaded the soft of 25.04.2019 such as you wrote about in the first post.
    Specifically it is the file ESP_Easy_mega-20190425_normal_ESP8266_4M.bin .
    Appears to be OK :) .
    Code: Dos
    Log in, to see the code
    .

    I then repeated the test with the file ESP_Easy_mega-20190425_normal_ESP8266_1M.bin , which is exactly what you wrote about in the first post. The result is also positive:
    Code: Dos
    Log in, to see the code
    .
  • ADVERTISEMENT
  • #45 17953798
    demsy
    Level 22  
    khoam wrote:
    I uploaded the soft of 25.04.2019 such as you wrote about in the first post.
    Specifically it is the file ESP_Easy_mega-20190425_normal_ESP8266_4M.bin .
    Appears to be OK :) .
    Code: Dos
    Log in, to see the code
    .

    I then repeated the test with the file ESP_Easy_mega-20190425_normal_ESP8266_1M.bin , which is exactly what you wrote about in the first post. The result is also positive:
    Code: Dos
    Log in, to see the code
    .

    ...and with which program do you upload?
    The same as before on this second sofet
  • #46 17953815
    khoam
    Level 42  
    I work on Linux, so I use esptool directly. I uploaded the last soft with the command:
    Code: Bash
    Log in, to see the code
    .
    Under windows$ you can also use esptool directly and in fact ESPEasyUploaderMega uses esptool, but you can't see that.

    Added after 2 [minutes]:

    demsy wrote:
    Shortcuts on this second sofet is the same as before
    .
    You should use the 4M version for these boards.
  • #47 17953830
    demsy
    Level 22  
    uploading version 4M

    Added after 3 [minutes]:

    One other thing I can think of is that maybe I have something wrongly connected
    Code: Lua
    Log in, to see the code


    Added after 4 [minutes]:

    My diagram

    ESP8266 from different batches - one works, the other does not detect the network

    Added after 17 [hours] 58 [minutes]:

    fellow khoam do you have any ideas?
    I have already tried on another computer and on another adapter
    -first I clear the memory before each program upload
    -then upload the program
    -enable putty
    -enter wifiscan
    -and I get no network
    ESP8266 from different batches - one works, the other does not detect the network

    ESP8266 from different batches - one works, the other does not detect the network .

    ESP8266 from different batches - one works, the other does not detect the network .
  • #48 17955525
    xury
    Automation specialist
    For testing, I have now tried uploading espeasy myself and it won't connect.
    For that on Tasmota it connects without problems. You might want to try:
    https://github.com/arendst/Sonoff-Tasmota/releases/download/v6.5.0/sonoff-PL.bin
    After saving the flash you should see the network sonoff-xxxx where xxxx are the numbers from the mac address
    address to connect 192.168.4.1 with no password.
    Once connected enter the ssid and password of your router and save after restart scan your LAN and there should be a new device named sonoff
  • #49 17955564
    demsy
    Level 22  
    xury wrote:
    For tests I have now tried to upload espeasy myself and it won't connect.
    For that on Tasmota it connects without problems. You might want to try:
    https://github.com/arendst/Sonoff-Tasmota/releases/download/v6.5.0/sonoff-PL.bin
    After saving the flash you should see the network sonoff-xxxx where xxxx are the numbers from the mac address
    address to connect 192.168.4.1 with no password.
    Once connected enter the ssid and password of your router and save after reboot scan your LAN and there should be a new device named sonoff
    .

    I tried early on but uploaded again, unfortunately there are the same symptoms as in espeasy. i.e. I don't see the SSID named sonoff.....
  • #50 17955570
    khoam
    Level 42  
    demsy wrote:
    One other thing I can think of is that maybe I have something wired wrong
    .
    GPIO0 and GPIO2 should be connected via 10k resistors to the power supply.

    demsy wrote:
    -and I am popping up with no network
    .
    Specifically that it doesn't find the network, but the rest of the messages are OK, so it might as well be that those networks could be unreachable at that location.
    Can you see the ESP_Easy_0 network on your smartphone, for example?
  • #51 17955571
    xury
    Automation specialist
    So it must be a hardware error.
  • #52 17955587
    khoam
    Level 42  
    Also check that the antenna on the ESP-12 board is not shielded, e.g. by the laminate layer in your adapter.
  • ADVERTISEMENT
  • #53 17955610
    demsy
    Level 22  
    khoam wrote:
    demsy wrote:
    One other thing I can think of is that maybe I have something wired wrong
    .
    GPIO0 and GPIO2 should be connected via 10k resistors to the power supply.

    demsy wrote:
    -and I am popping up no network
    .
    Specifically that it doesn't find the network, but the rest of the messages are OK, so it might as well be that those networks could be unreachable at that location.
    Can you see the ESP_Easy_0 network on a smartphone for example?


    They put resistors under GPIO0 and GPIO2 the chip does not want to program.
    From another supplier on this socket I have ESPs working

    Added after 2 [minutes]:


    demsy wrote:
    -and I am popping up no network
    .

    Quote:
    Specifically that it doesn't find the network, but the rest of the messages are OK, so it might as well be that those networks could be unreachable at that location.
    Can you see the ESP_Easy_0 network on a smartphone for example?
    .

    From where I am programming to the router I have 10m and there is only 1 wall. On my phone the network with ESP_Easy_0 is not displayed.
  • #54 17955613
    khoam
    Level 42  
    demsy wrote:
    Insert resistors under GPIO0 and GPIO2 layout does not want to program.
    .
    This is more of a "peculiarity" of the programmer not shorting GPIO0 to ground during firmware loading. Try plugging in these resistors for a while and restarting the ESP.
  • #55 17955640
    demsy
    Level 22  
    with resistor connected to GPIO0 no change
  • #56 17955649
    khoam
    Level 42  
    demsy wrote:
    with the resistor connected under GPIO0 no change
    .
    GPIO2 too.
    I have just connected to one of your boards, with the distance between the computer and ESP being less than one metre:

    ESP8266 from different batches - one works, the other does not detect the network .
  • #57 17955677
    demsy
    Level 22  
    khoam wrote:
    demsy wrote:
    with the resistor connected under GPIO0 no change
    .
    GPIO2 too.
    I have just connected to one of your boards, with the distance between the computer and ESP being less than one metre:

    ESP8266 from different batches - one works, the other does not detect the network
    .
    I have connected GPIO0 and GPIO2 in 3 different ways , together, separately and individually
  • #58 17955690
    khoam
    Level 42  
    Try a possible close check to see if you can see the ESP_Easy_0 network from your computer. It may just be that the antennas on the boards themselves are faulty.
  • #59 17966054
    khoam
    Level 42  
    I have tested the three boards you provided me with.
    One of them, where there is no AI-THINKER logo but there is an Espressif logo works 100% correctly. It has the firmware ESP_Easy_mega-20190511_normal_ESP8266_4M.bin uploaded to it.

    In the other two with the AI-THINKER logo, I have not been able to get the WiFi interface to work so that the module scans WiFi networks or is visible, as an AP. In addition to the ESPEasy firmware (several different versions, including archived versions from 2015/16), I also tested with the ESPurna and Tasmota firmware. Without success. I then uploaded sample programs with Arduino HAL and ESP-IDF itself - also WiFi is not visible.

    Generally the modules behave as if they have no antenna hooked up. They don't report any errors with the WiFi stack, they just don't detect anything on the WiFi network and remain invisible themselves too.

    AI-THINKER stopped producing these modules over 3 years ago, so I don't know if these are clones or some stock "sweeps". I have found traces on several mailing lists of fake ESP-12 modules with the AI-THINKER logo and problems with SPIFFS support in these modules. Perhaps this is the case.

    In the picture below, the "hero" of the tests:

    ESP8266 from different batches - one works, the other does not detect the network .
  • #60 17966995
    demsy
    Level 22  
    khoam wrote:
    I have tested the three boards you provided me with.
    One of them, where there is no AI-THINKER logo but there is an Espressif logo works 100% correctly. It has the firmware ESP_Easy_mega-20190511_normal_ESP8266_4M.bin uploaded to it.

    In the other two with the AI-THINKER logo, I have not been able to get the WiFi interface to work so that the module scans WiFi networks or is visible, as an AP. In addition to the ESPEasy firmware (several different versions, including archived versions from 2015/16), I also tested with the ESPurna and Tasmota firmware. Without success. I then uploaded sample programs with Arduino HAL and ESP-IDF itself - also WiFi is not visible.

    Generally the modules behave as if they have no antenna hooked up. They don't report any errors with the WiFi stack, they just don't detect anything on the WiFi network and remain invisible themselves too.

    AI-THINKER stopped producing these modules over 3 years ago, so I don't know if these are clones or some stock "sweeps". I have found traces on several mailing lists of fake ESP-12 modules with the AI-THINKER logo and problems with SPIFFS support in these modules. Perhaps this is the case.

    In the picture below, the "hero" of the tests:

    ESP8266 from different batches - one works, the other does not detect the network


    So I thought there was something wrong with these modules,so I consider the topic closed,many thanks for your help on the topic especially to colleague "khoam".The modules you have you can keep them and I am the proverbial beer for you anyway. Once again many thanks. Greetings

Topic summary

The discussion revolves around issues with ESP8266 modules from different batches, where one batch successfully detects WiFi networks while another does not. Users report that the non-functioning modules, specifically ESP8266-12F, fail to broadcast any SSID despite multiple firmware uploads and attempts to clear the flash memory. Suggestions include using different firmware versions, checking hardware connections, and ensuring proper settings in terminal applications like Putty. Some users experienced success with alternative firmware like Tasmota, while others suspect hardware faults, particularly with the antenna or internal components. Ultimately, one user confirmed that only the module with the Espressif logo worked correctly, while others with the AI-THINKER logo failed to connect to WiFi.
Summary generated by the language model.
ADVERTISEMENT