Esp-01 won't connect to wifi

I have attached pics of components.
I am trying to use an esp-01 to control some addressable led’'s
I followed a tutorial and flashed the esp-01 with esphome set up to use neo pixel
it boots up and connects to my wifi, shows up in home assistant when plugged in to the programmer.
When I plug it into the adapter (tried with led connected and no led connected) it has a red power light but never connects to the wifi. I tried to use a 3v lithium battery to supply power to the pins on the esp-01 got a red light but still no connection.

I have tried multiple esp’s and multiple rgb adapters.




any suggestions appreciated

Craig

Please post

  1. your esphome code
  2. Your wiring diagram
  3. Your logs
  4. Details of your “rgb adapter” (whatever that is)
esphome:
  name: door-led1

esp8266:
  board: esp01_1m

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "RJkvf2MBwdS6bYKFU2FUIlLSHYzw0rqO3oJ3Z5V7cus="

ota:
  password: "6c246d0516116c5db892e158b26b102e"

wifi:
  ssid: "crystal"
  password: "n3v3rFr33"
  #manual_ip:
    # Set this to the IP of the ESP
    #static_ip: 10.0.0.92
    # Set this to the IP address of the router. Often ends with .1
    #gateway: 10.0.0.1
    # The subnet of the network. 255.255.255.0 works for most home networks.
    #subnet: 255.255.255.0
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap: {}
    

captive_portal:

web_server:
  port: 80

light:
  - platform: neopixelbus
    type: GRB
    variant: WS2812
    pin: GPIO2
    num_leds: 4
    name: door-led1

no wiring diagram to speak of esp plugs into rgb board pictured above 5v in to that board, led’s also plug in to the rgb board.

What is even stranger it now works… I flashed tasmoto and configured it to control the led’s then i moved it from the flasher to the rgb board, plugged it in and I think without realizing it I pressed the reset button. it stayed connected, i unplugged power and plugged it in and it reconnected.
I then took another esp-01 and flashed it with esphome code above. Plugged it in the the rgb adapter and it would not connect, pressed the reset button on the rgb adapter twice and it connected. I have power-cycled it and it reconnects fine.

No Idea why but I’ll take the win after 4 hours

Craig

Still no idea what this rgb adaptor is from your photo. However I am glad you got it working.

From what I can gather it takes a 5v input and passes it through to the leds, drops the voltage to 3.3v to the esp-01 and routes pin gpi02 as the control pin for the 2812 rgb led’s.
It is the second and third picture the esp-01 plugs in to the yellow part

Craig

ESP needs 3.3 V minimum, not 3V !!

A 3v lithium battery provides between 3.3 and 3.7 volts when brand new and fully charged. The particular battery I used was showing 3.4V. The rarings on lithium battery’s are nominal ratings.

Craig

Not putting this here to be a jerk only so if someone searches they would find the info.

The lowest would be a direct breakout board for the ESP8266 ESP-01S that runs at 2.5-3.6 volts. Anything outside that voltage will fry it though, so be careful with how you power it.

1 Like