I can install esp-01 but it doesn't work

While esp-01 was working, it suddenly stopped connecting to wifi, it does not broadcast ssid. I can upload with espflasher, I can see the mac address. I am providing power to vcc and CH_PD pins. I also checked the log records while working, there is no record.

Are you installing ESPHome? Can you provide some logs.

Could you possibly write in complete sentences? What are you flashing? ESPHome or something else? Post your YAML file or code.

1 Like

Welcome @ilkers to the community! :wave:

For the start it would be really helpful for us (so we can help you :wink: ) that you would take some minutes reading this post :point_down:

log records are always like this. (ch pin is powered on)

I don’t think this is YAML code because when I closed and reopened it suddenly stopped working. still codes:


  • platform: dht
    pin: D0
    name: “sıcaklık”
    name: “nem”
    update_interval: 10s

Ekran görüntüsü 2023-10-15 022046
As seen in the screenshot, esp can be programmed. When working, the red light on the esp is constantly on, the blue light is flashing at startup.

Wifi does not connect, according to log records, the codes in ESP do not run. (ch pin is powered)

Can you post the code you are trying to upload. Also, try and capture in the logs the moment after uploading is complete.

The screenshot I replied to you is the log record after uploading.
platform: dht
pin: D0
name: “sıcaklık”
name: “nem”
update_interval: 10s

At the bottom of the screenshot of your last post, I can make out the words “Writing 0x00000000 (4%)”.

What I am looking for is what comes after "Writing 0x######## (100%).

Odd that there is no output. What board are you using? What is CH_PD pin?

Can you also post your entire YAML file from ESPHome dashboard:

The card I use is esp-01, the programming card is USB To Ttl Uart CH340G.
After programming ESP, I power the ch pin

Please post code using code tags as described in Post #4.

I’m sure there is no problem with yaml codes. Because I also tried ready-made bin files and there is no log record. but still cods;

  name: dht

  board: esp01_1m

# Enable logging

# Enable Home Assistant API
    key: ***

  password: ***

  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
    ssid: "Dht Fallback Hotspot"
    password: "dfX2wxR2ITQ1"


  port: 80
  version: 1

  - platform: dht
    pin: 02
      name: "sıcaklık"
      name: "nem"
    update_interval: 10s 
1 Like

You said in your original post that is was working then stopped. What changed with the board or Home Assistant that caused it to stop working.

What are you using to power the board?

What is this program you are flashing with?

It’s ESPHome Flasher. The same one I use. You won’t see log data here from the ESP-01.

Schematic, please. Though you said it had been working?

Yes it was working. Didn’t work after disconnecting the power and re-applying power.

For now, I’m temporarily powering it with the 3.3v output of the TTL module.