# Multiple buttons for ESP-01

**URL:** <https://wled.discourse.group/t/multiple-buttons-for-esp-01/10565>\
**Category:** Hardware\
**Created:** [December 30, 2023, 12:32am UTC](https://wled.discourse.group/t/multiple-buttons-for-esp-01/10565 "2023-12-30T00:32:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwinfield](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/jwinfield/32/2862_2.png) [@jwinfield](https://wled.discourse.group/u/jwinfield)\
**Post date:** [December 30, 2023, 12:32am UTC](https://wled.discourse.group/t/multiple-buttons-for-esp-01/10565/1 "2023-12-30T00:32:58Z")

</div>

I am aware the ESP-01 is limited to one button but has anyone had any project that can use more buttons? I have a limited space (narrow) to work in and ESP32 is just too wide.

I am thinking a PI Pico W with the buttons that makes calls to the API on the ESP-01 but that would be a bit of mare to setup with WIFI IMHO.

I know WLED isnt going to be ported to PI Pico anytime soon and there doesnt seem to be solution anywhere near as good as WLED available on that platform.

Have you been able to create multiple buttons on an ESP-01? I want to add around 6.

---

<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:** [December 30, 2023, 7:43am UTC](https://wled.discourse.group/t/multiple-buttons-for-esp-01/10565/2 "2023-12-30T07:43:34Z")

</div>

ESP01 only exposes 4 GPIO. 0, 1, 2 and 3.  
Good luck attaching 6 buttons to that. 😉

---

<div class="post-metadata">

**Author:** ![steffe](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@steffe](https://wled.discourse.group/u/steffe)\
**Post date:** [December 30, 2023, 8:37am UTC](https://wled.discourse.group/t/multiple-buttons-for-esp-01/10565/3 "2023-12-30T08:37:05Z")

</div>

There is some other form factors for ESP8266 you can use, like wise ESP32 has some smaller than the ordinary development board.

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

> **[ESP8266 Pinout Reference: How To Use ESP8266 GPIO Pins](https://electropeak.com/learn/esp8266-pinout-reference-how-to-use-esp8266-gpio-pins/)**
>
> Whether you're a beginner or an experienced user, this ESP8266 pinout reference guide is a must-have resource. Learn which GPIO pins to use.

---

<div class="post-metadata">

**Author:** ![jwinfield](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/jwinfield/32/2862_2.png) [@jwinfield](https://wled.discourse.group/u/jwinfield)\
**Post date:** [December 30, 2023, 8:47pm UTC](https://wled.discourse.group/t/multiple-buttons-for-esp-01/10565/4 "2023-12-30T20:47:04Z")

</div>

Yes, you are right. This looks ideal. [https://www.aliexpress.us/item/1005005967641936.html](https://www.aliexpress.us/item/1005005967641936.html) has anyone used one?

---

<div class="post-metadata">

**Author:** ![jwinfield](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/jwinfield/32/2862_2.png) [@jwinfield](https://wled.discourse.group/u/jwinfield)\
**Post date:** [January 19, 2024, 9:25am UTC](https://wled.discourse.group/t/multiple-buttons-for-esp-01/10565/5 "2024-01-19T09:25:44Z")

</div>

I got a ESP32-C3, it’s pretty small. After I flashed the firmware I still only get 4 buttons when there 15 available.

---

<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:** [January 19, 2024, 10:23am UTC](https://wled.discourse.group/t/multiple-buttons-for-esp-01/10565/6 "2024-01-19T10:23:45Z")

</div>

You need to custom compile. Add `-D WLED_MAX_BUTTONS=10`

---

<div class="post-metadata">

**Author:** ![jwinfield](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/jwinfield/32/2862_2.png) [@jwinfield](https://wled.discourse.group/u/jwinfield)\
**Post date:** [January 20, 2024, 10:23am UTC](https://wled.discourse.group/t/multiple-buttons-for-esp-01/10565/7 "2024-01-20T10:23:55Z")

</div>

Yus, Thx

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