logo elektroda
logo elektroda
X
logo elektroda

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

demsy 3555 59
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17942194
    demsy
    Level 22  
    Hello everyone.
    Gentlemen I have a problem with the ESP8266,
    namely I have bought several pieces from two different sellers. On both is uploaded soft esp_mega_20190425_normal_1M , via ESP Easy Flasher.... From one seller the esp works straight away. That is, on the phone it detects the network, I connect and can continue to configure. However, from the other esp batch, the esp is not detected on my phone. I have tried different batches
    Maybe something else needs to be tuned
  • ADVERTISEMENT
  • #2 17942339
    xury
    Automation specialist
    Specifically which ESP models do you have?
    I understand that the one not working does not send any network any ssid?
    Try clearing the flash completely by uploading 1Mblank.bin if your modules actually have 1MB of flash. If you have modules with 4MB flash then similarly upload 4MBblank.bin
  • #3 17942588
    demsy
    Level 22  
    I have esp8266-12F x10pcs so far I have checked 4pcs
    That's right they are not sending any SSID
    I have already tried uploading different batches and before each upload I cleaned the flash beforehand
  • #4 17942598
    khoam
    Level 42  
    demsy wrote:
    I have esp8266-F x10pcs so far I have checked 4pcs
    .
    Is this an ESP-12F? Check which models you have: link .

    Added after 3 [minutes]: .

    demsy wrote:
    Soft esp_mega_20190425_normal_1M
    .
    Did you download the firmware from this website ?
  • #5 17943730
    demsy
    Level 22  
    Yes from this page
    I have already uploaded
    ESP_Easy_mega-20190425_normal_ESP8266_4M
    ESP_Easy_mega-20190425_normal_ESP8266_1M
    ESP_Easy_mega-20190425_test_ESP8266_4M_VCC
    ESPEasy_R120_-all 3 versions
    ESP_Easy_mega-20190425_minimal_ESP8266_1M_OTA
    ESP_Easy_mega-20190425_dev_ESP8266_4M

    Added after 37 [minutes]:

    I still connected via Putty

    INIT : Booting version: mega-20190425 (ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48 f3), LWIP: 2.0.3 PUYA support)
    92 : INIT : Free RAM:29424
    93 : INIT : Cold Boot - Restart Reason: External System
    95 : FS : Mounting...
    101 : FS : Mount successful, used 75802 bytes of 113201
    459 : CRC : program checksum ...OK
    471 : CRC : SecuritySettings CRC ...OK
    472 : CRC : binary has changed since last save of Settings
    493 : INIT : Free RAM:26576
    494 : INIT : I2C
    495 : INIT : SPI not enabled
    509 : INFO : Plugins: 47 [Normal] (ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support)
    511 : WIFI : No valid wifi settings
    512 : WIFI : Could not connect to AP!
    513 : WIFI : Set WiFi to AP
    1438 : WIFI : AP Mode ssid will be ESP_Easy_0 with address 192.168.4.1
    2775 : WD : Uptime 0 ConnectFailures 0 FreeMem 23208 WiFiStatus 0

    It appears that the SSID should be ESP_Easy_0
  • #6 17944478
    demsy
    Level 22  
    Has no one had a similar problem?
  • #7 17944612
    xury
    Automation specialist
    Since you have connected via UART then you can try connecting to your wifi network via Putty.
    wifikey twojssid
    wifissid twojssid
    wificonnect
  • #8 17944639
    demsy
    Level 22  
    But to type anything in putty i would have to upload another program (nodemcu)? Then I guess AT commands will go.Because after uploading espeasa.... I can only read
  • ADVERTISEMENT
  • #10 17944764
    khoam
    Level 42  
    demsy wrote:
    Then I guess the AT commands will go.Because after uploading espeasy.... I can only read
    .
    If you just want to verify the operation of the ESP modules, your best bet is to upload the AT firmware from the manufacturer's website:
    https://www.espressif.com/en/support/download/at?keys=&field_type_tid%5B%5D=14
    Depending on how much RAM you have in the modules you need to use version 1.6.2 (1MB) or 1.7.0 (2MB or more).
    The basic AT commands and a description of how they work is here: https://www.electronicshub.org/esp8266-at-commands/
  • ADVERTISEMENT
  • #11 17944846
    demsy
    Level 22  
    khoam wrote:
    demsy wrote:
    Then I guess AT commands will go.Because after uploading espeasy.... I can only read
    .
    If you just want to verify the operation of the ESP modules, your best bet is to upload the AT firmware from the manufacturer's website:
    https://www.espressif.com/en/support/download/at?keys=&field_type_tid%5B%5D=14
    .
    can you upload bin. with flashesp8266? if so which one? i have the 4M version
  • #13 17945034
    xury
    Automation specialist
    You don't need to flash anything.
    I have given you 3 simple commands to type into putty.
    Type them by replacing yourssid and yourkey with the correct ones.
    Don't worry about not seeing anything as you type.
    If the modules connect on Espeasy then they will also connect on nodemc.
  • #14 17945085
    demsy
    Level 22  
    xury wrote:
    You do not need to flash anything.
    I have given you 3 simple commands to type into putty.
    Type them by replacing yourssid and yourkey with the correct ones.
    Don't worry about not seeing anything as you type.
    If the modules connect on Espeasy then they will also connect on nodemcu.
    .

    Mate you were right it went. hmmmm.... only what next popped up 3xstatus OK, but on the router there is no new device connected

    I typed in
    wifiscan
    but the module cannot find the network

    and I made the hotspot available on my phone, put it next to me and it won't find the network either
  • #15 17945147
    xury
    Automation specialist
    And what was displayed on the terminal?
    It should display, among other things, information about the success of the connection and the IP received.
  • ADVERTISEMENT
  • #16 17945161
    demsy
    Level 22  
    Maybe there is a problem with the signal, that it didn't connect to the router. Also strange that I shared the net from the phone I put next to the module and the ESP didn't find any net

    ESP8266 from different batches - one works, the other does not detect the network .
  • #17 17945248
    xury
    Automation specialist
    Well strange unless that network you shared is a 5GHz network.
    Looks like there is a problem with the wifi on your modules
  • #18 17945260
    demsy
    Level 22  
    xury wrote:
    No wonder as long as that network you shared is not a 5GHz network.

    2.4GHz
    unfortunately i bought 10pcs from eastern colleagues
  • #19 17945266
    khoam
    Level 42  
    demsy wrote:
    unfortunately I bought 10pcs from eastern colleagues
    .
    Verify their operation with the original AT firmware I gave you a link to.
  • #20 17945275
    demsy
    Level 22  
    khoam wrote:
    demsy wrote:
    unfortunately I bought 10pcs from eastern colleagues
    .
    Verify their operation with the original AT firmware I gave you a link to.

    well first i will have to learn how to flash in flash download tool i don't know this program
  • #21 17945283
    xury
    Automation specialist
    If you have fw in one file, you can flash with the same program as ESPEasy. If, however, there are several files under the respective osffets, you will have to arrange them accordingly.
  • #22 17945302
    demsy
    Level 22  
    xury wrote:
    If you have fw in one file then you can flash with the same program as ESPEasy. If, however, there are several files under the respective osffets then you have to arrange this accordingly.
    .

    hmmm... well, I'll have to do some educating, the word osffet doesn't mean anything to me
  • #23 17945311
    khoam
    Level 42  
    There are 4 files and they have the following offsets:
    Code: HTML, XML
    Log in, to see the code
    .
  • #24 17945343
    demsy
    Level 22  
    khoam wrote:
    There are 4 files and they have the following offsets:
    Code: HTML, XML
    Log in, to see the code
    .
    something like this?
    ESP8266 from different batches - one works, the other does not detect the network .
  • #26 17945353
    demsy
    Level 22  
    khoam wrote:
    looks OK.

    unfortunately error
    ESP8266 from different batches - one works, the other does not detect the network .
  • #27 17945379
    khoam
    Level 42  
    What speed do you have set on the serial port to which the ESP is connected?

    EDIT:
    Ok, I see in the window: 115,200, switch to 9600.
  • #28 17945405
    demsy
    Level 22  
    Quote:
    Switch to 9600.



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


    uploaded
  • #30 17945452
    demsy
    Level 22  
    Except now it doesn't want to "talk" to me with putty. What other good terminal is there?

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