# ESP01 starting issue

**URL:** https://wled.discourse.group/t/esp01-starting-issue/6022
**Category:** Uncategorized
**Created:** [September 30, 2022, 12:28pm UTC](https://wled.discourse.group/t/esp01-starting-issue/6022 "2022-09-30T12:28:16Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Johnkrs](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@Johnkrs](https://wled.discourse.group/u/Johnkrs)
#### Post date: [September 30, 2022, 12:28pm UTC](https://wled.discourse.group/t/esp01-starting-issue/6022/1 "2022-09-30T12:28:16Z")

</div>

Hello,  
I’m recently using ESP01 with lithium batteries  
but I have a problem.  
My configuration :  
-9 leds ws2812 connected to a batterie  
-Leds Data connected GPIO2 (with 330ohm resistor)  
-And I’m using an LDO 3.3v for the ESP01.

When all connected, I plug the batterie, and the firsts leds are lighting white like a data issue.  
But when I disconnect data, I plug the batterie and then I plug the leds data it works fine !  
Do you know what I’m doing wrong ?

Little video to show you the problem : [Esp01 issue - YouTube](https://youtu.be/1I4aMqicA0M)

Thanks in advance 🙏

---

<div class="post-metadata">

### Author: ![Adled](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/adled/32/6297_2.png) [@Adled](https://wled.discourse.group/u/Adled)
#### Post date: [September 30, 2022, 7:10pm UTC](https://wled.discourse.group/t/esp01-starting-issue/6022/2 "2022-09-30T19:10:00Z")

</div>

I had similar issues which were resolved by omitting the resistor.

Alan

---

<div class="post-metadata">

### Author: ![Johnkrs](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@Johnkrs](https://wled.discourse.group/u/Johnkrs)
#### Post date: [September 30, 2022, 10:28pm UTC](https://wled.discourse.group/t/esp01-starting-issue/6022/3 "2022-09-30T22:28:20Z")

</div>

Thanks for your reply but no it doesn’t change anything.  
I tried to power my esp01 with an ESP32 3.3v output and now it works pretty well !  
But I use the exact same circuit as ESP32 instead of the diode (see picture). Does this diode can make an effect on the data ?

 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/5/5c014fe1b5d5dfe660d83090326b45c840d34faf.jpeg)

---

<div class="post-metadata">

### Author: ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)
#### Post date: [October 2, 2022, 6:31am UTC](https://wled.discourse.group/t/esp01-starting-issue/6022/4 "2022-10-02T06:31:54Z")

</div>

You may want to add a pull-up resistor (4.7k) to GPIO2 and GPIO0.  
This will ensure proper boot sequence on ESP01.

---

<div class="post-metadata">

### Author: ![Johnkrs](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@Johnkrs](https://wled.discourse.group/u/Johnkrs)
#### Post date: [October 2, 2022, 11:05am UTC](https://wled.discourse.group/t/esp01-starting-issue/6022/5 "2022-10-02T11:05:54Z")

</div>

WoW, Thanks it works well !  
But now when I turn on the esp, I have my 2 first leds flashing white full bright for 0,5 second and then working well.

 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/f/f9cac840a4e433a87293b21452316a89a78413ef.jpeg)

Is there a way to not have this flash at boot ?

---

<div class="post-metadata">

### Author: ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)
#### Post date: [October 2, 2022, 3:36pm UTC](https://wled.discourse.group/t/esp01-starting-issue/6022/6 "2022-10-02T15:36:45Z")

</div>

Very likely, you’re seeing a boot string being sent out of GPIO2.  
That’s built into a core part of the ESP code (not WLED) and not easily changeable.  
Simplest solution is to use a different GPIO.

---

<div class="post-metadata">

### Author: ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)
#### Post date: [October 2, 2022, 5:27pm UTC](https://wled.discourse.group/t/esp01-starting-issue/6022/7 "2022-10-02T17:27:22Z")

</div>

As @divsys says this is usually boot gibberish on GPIO2. Even is you use GPIO1 (next best candidate) there will be gibberish output.  
GPIO3 can be pulled down (10k) but will limit number of LEDs used. GPIO0 is not recommended for LED output.  
If you want good controller board (with included MOSFET for analog 12V LEDs) get an ESP01 shield from @srg74 . It includes pull-up resistors and level shifted output as well as 5V & 12V option.

---

<div class="post-metadata">

### Author: ![Johnkrs](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@Johnkrs](https://wled.discourse.group/u/Johnkrs)
#### Post date: [October 2, 2022, 6:48pm UTC](https://wled.discourse.group/t/esp01-starting-issue/6022/8 "2022-10-02T18:48:59Z")

</div>

Thanks a lot,  
I tried different things and finally I found that there is a 13.3 version for esp01, and now I can use the gpio3 and it works perfectly !  
No need to have pull up or pull down resistor anywhere, and the program start without flashing 🥳🥳🥳
