mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2026-04-26 00:05:55 +03:00
[GH-ISSUE #1573] Buttons not working #873
Labels
No labels
best of
bug
development
discussion
documentation
duplicate
feature request
help wanted
help wanted
improvement
pinned
pull-request
question
stale
translation
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/esp8266_deauther#873
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @to6koto6ko on GitHub (Aug 15, 2022).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/1573
I tried to install the deauther 2.6.1 on few esp8266 devices. Unfortunately the buttons are not operational at all. There are two Nodemcu 8266 v1 where the display (I2C) and everything else is working properly except the buttons. I have one more ESP8266 noname and the result is the same.
the config is default:
// ===== BUTTONS ===== //
#define BUTTON_UP 14 // D5
#define BUTTON_DOWN 12 // D6
#define BUTTON_A 2 // D4
#define BUTTON_B 0 // D3
but connecting to the GND is without any change.
The terminal command : screen mode buttontest
shows only false on all 4 buttons.
there is no difference between D5,D6 or D3 connected to the GND or not
@welcome[bot] commented on GitHub (Aug 15, 2022):
Congrats on opening your first issue on this repository! 🎉
This is a automated message to help you avoid common pitfalls when asking for help online.
👉 Be sure to:
* 🇬🇧 Communicate in English so everybody can understand you
* 📖 Have a look at the Wiki and README for information
* 🔍 Search for similar issues (open and closed)
* ✍️ Provide enough information to understand, recreate and help out with your problem
* ℹ️ Let us know if you find a solution and please share it with us
* 📕 Close the issue when your problem has been solved
@fcamargo10 commented on GitHub (Oct 1, 2022):
Same here! How you fix ?
@sinaun4given commented on GitHub (Feb 28, 2023):
me too !
@joaogmbd commented on GitHub (Apr 13, 2023):
same problem there :(
@goliath29 commented on GitHub (Apr 28, 2023):
Hi, has there been a solution for this issue? Experiencing the same myself
@sinaun4given commented on GitHub (Apr 28, 2023):
i find that.u must use dstike bin file .in this version button works.bro
you gonna love me when try
On Fri, Apr 28, 2023 at 3:28 PM goliath29 @.***> wrote:
@goliath29 commented on GitHub (Apr 28, 2023):
You god damn legend. I love you.
The DSTIKE deauther .bin worked perfectly!!!
Thank you so much
@sinaun4given commented on GitHub (Apr 30, 2023):
your welcome😍😍😍😍
On Sat, Apr 29, 2023 at 2:10 AM goliath29 @.***> wrote:
@glen4cindy commented on GitHub (Jun 3, 2023):
I've got the same problem. I've tried 3 different dev boards and all 3 are the same. The screen comes on and the web interface works. I've tried using the alternate bin file and I've tried flashing with Arduino IDE and ESPWebTool.
I've also made sure to uncomment the appropriate lines referring to buttons D5 and D6 when I used Arduino IDE. Still no joy when it comes to using the buttons.
I've even tried using the wires directly on the pins, D5 to GND, D6 to GND without success.
Any suggestions would be appreciated.
@yashgunjal04 commented on GitHub (Jun 14, 2023):
same bug I also faced how to fix it ?
I tried to install the deauther 2.6.1 on few esp8266 devices. Unfortunately the buttons are not operational at all. There are two Nodemcu 8266 v1 where the display (I2C) and everything else is working properly except the buttons. I have one more ESP8266 noname and the result is the same.
the config is default:
// ===== BUTTONS ===== //
#define BUTTON_UP 14 // D5
#define BUTTON_DOWN 12 // D6
#define BUTTON_A 2 // D4
#define BUTTON_B 0 // D3
but connecting to the GND is without any change.
The terminal command : screen mode buttontest
shows only false on all 4 buttons.
there is no difference between D5,D6 or D3 connected to the GND or not
@sinaun4given commented on GitHub (Jun 14, 2023):
download dstike version . button works in this version.you gonna love me
bro after test
On Wed 14 Jun 2023, 20:54 yashgunjal04, @.***> wrote:
@glen4cindy commented on GitHub (Jun 15, 2023):
Same issue here.
I've tried about 5 different boards now. I found ONE where the buttons work. Oddly enough it's a board with an integrated display but the integrated display doesn't work. I just realized it uses different pins than D1 and D2.
I tried the same boards with another sketch wired to buttons and LED's using the same pins. They all worked.
I'm thinking there is another issue. Maybe it's some combination of what board and configuration you select or something. I'm so very confused.
I tried the suggestion of dstrike and unless I'm doing something wrong that didn't work either.
I'm not sure what to try next.
@yashgunjal04 commented on GitHub (Jun 15, 2023):
Which version , theay have lot of versions available
please help bro
On Thu, 15 Jun 2023 at 02:47, $imba @.***> wrote:
@glen4cindy commented on GitHub (Jun 15, 2023):
I was finally able to get one of my boards working.
The D1 mini is currently working by using the .bin version.
My previous attempts were done using the .zip versions and the Arduino IDE software to compile and write the file to the board.
@billypolidorou commented on GitHub (Sep 6, 2023):
same problem there :( i need help :) pls help me pls !!
@ArticPolarDEV commented on GitHub (Nov 1, 2023):
Same problem, bro. I need Help!
@Salvatore67678 commented on GitHub (Dec 13, 2023):
It looks like you're having trouble with your DSTIK, and you've tried various .bin files, but only the "up" button with D6 and "down" with D7 are working, while the "ok" button isn't functioning.
@CyberTechNex commented on GitHub (Apr 26, 2024):
which version of the dstike should i use i have a node mcu and trying to get the buttons working with the ssd1306 display
@SkyNezu commented on GitHub (Jun 16, 2024):
I have a dstike deauther monster v5. The up-down-OK button does not work. The other buttons work. What firmware version do I need to use to make all the buttons work?
@sinaun4given commented on GitHub (Jun 16, 2024):
can you tell me whats the gpio of others button in your version?we are
talking about nodemcu esp ,sorry idont know about your version(v5 ...) if
you want to make this with nodemcu i can help you
On Sun, Jun 16, 2024, 7:11 PM SkyNezu @.***> wrote:
@SkyNezu commented on GitHub (Jun 17, 2024):
I made a slight mistake. I have this device, link: https://dstike.com/products/dstike-deauther-monster-v2
All buttons work. Except for the up-down-ok button. I used the firmware for monster (bin - dstike - monster) on the page https://deauther.com/docs/download. I installed the firmware through the esp.huhn.me website. The firmware went without errors.
@tihnar228 commented on GitHub (Jul 3, 2024):
Hi guys. have you figured out how to make the buttons work? Everything worked fine before but now it doesn't work. I tried many firmwares.
@scienceLabwork commented on GitHub (Aug 8, 2024):
There is a small correction in the code
#elif defined(DEFAULT_ESP8266) || defined(NODEMCU) || defined(WEMOS_D1_MINI) || defined(DSTIKE_USB_DEAUTHER) || defined(DSTIKE_NODEMCU_07) || defined(DSTIKE_DEAUTHER_V1) || defined(DSTIKE_DEAUTHER_V2) || defined(DSTIKE_DEAUTHER_V3)#define BUTTON_UP 12 #define BUTTON_DOWN 13 #define BUTTON_A 14Hope, This works for you.
@ghosthets commented on GitHub (Sep 25, 2024):
same in my esp8266 i setup and succesfuly all thing are work properly like display and esp but the buttons are not working whyy,, plz give me solution
@vipulx commented on GitHub (Oct 10, 2024):
Same issue i have changed 4 boards... it seems working perfect on d1 mini..
@ATLNIKHIL commented on GitHub (Jan 13, 2025):
me to friends
@iprosenjit9 commented on GitHub (May 10, 2025):
From line 574 to 584 change 255 to respective button pin value
I am using NodeMCU 8266
-------From this-----------
#ifndef BUTTON_UP
#define BUTTON_UP 255
#endif // ifndef BUTTON_UP
#ifndef BUTTON_DOWN
#define BUTTON_DOWN 255
#endif // ifndef BUTTON_DOWN
#ifndef BUTTON_A
#define BUTTON_A 255
#endif // ifndef BUTTON_A
--------To this------
#ifndef BUTTON_UP
#define BUTTON_UP 14
#endif // ifndef BUTTON_UP
#ifndef BUTTON_DOWN
#define BUTTON_DOWN 12
#endif // ifndef BUTTON_DOWN
#ifndef BUTTON_A
#define BUTTON_A 13
#endif // ifndef BUTTON_A
@dulinahesara commented on GitHub (Oct 24, 2025):
use this version with D5 D6 D7 button configurations. It worked for me.