[GH-ISSUE #1424] IC2 Oled and Buttton issue #745

Closed
opened 2026-02-28 00:04:34 +03:00 by kerem · 8 comments
Owner

Originally created by @FriendlyWizard23 on GitHub (Mar 29, 2021).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/1424

Have you searched for existing (open and closed) issues describing the same problem?

Yes

ABOUT VERSION 2.6.0

So i have an ESP8266 (the one you can purchase from AZdelivery on amazon) and an IC2 Oled Display.
After building up che circuit and uploading the code it gives me no error but there's still a problem: Buttons are not working.
The circuit is fine and i perfectly followed the scheme provided by @spacehuhn yet they do not work! The buttons's hardware is fine so i don't really know what's going on.
Another problem is that if i load the I2C Example on Deauther Config, the flash works fine but the OLED do not light up, yet the web interface works (which i suppose means the program runs fine...)

_I'll copy paste here the exact piece of the guide i'm having trouble with:

Now that your setup is done, you have to make some changes to the code.

See Installation on how to compile and flash this project using Arduino.

In Arduino under tools > Deauther Config select Display Example I2C or Display Example SPI depending on your setup

In Arduino and open the A_config.h file (second tab)

Scroll down to #if defined(DISPLAY_EXAMPLE_I2C) or #elif defined(DISPLAY_EXAMPLE_SPI).

If you used other pins than mentioned in the example setup above, this is where you can change them.
For example, you might need to change #define SH1106_I2C to #define SSD1306_I2C depending on the type of display you are using.
Or #define SH1106_SPI to #define SSD1306_SPI if you're using a SPI display.

In Arduino under tools > Erase Flash select All Flash Contents. This will make sure your changes are applied and override any old settings.

Now make sure you selected the correct port and upload! If something isn't working correctly, check the connections and your adjustments from step 5._

I don't really know how to solve it, right now i have the "none" deauther configuration but as i said before the buttons do not work.
And if you're wondering if it could be a GPIO problem, well i don't think so since i use the default ones.
Hopefully someone will help me out, my Telegram:

Originally created by @FriendlyWizard23 on GitHub (Mar 29, 2021). Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/1424 > Have you searched for existing (open and closed) issues describing the same problem? Yes ABOUT VERSION 2.6.0 So i have an ESP8266 (the one you can purchase from AZdelivery on amazon) and an IC2 Oled Display. After building up che circuit and uploading the code it gives me no error but there's still a problem: Buttons are not working. The circuit is fine and i perfectly followed the scheme provided by @spacehuhn yet they do not work! The buttons's hardware is fine so i don't really know what's going on. Another problem is that if i load the I2C Example on Deauther Config, the flash works fine but the OLED do not light up, yet the web interface works (which i suppose means the program runs fine...) _I'll copy paste here the exact piece of the guide i'm having trouble with: Now that your setup is done, you have to make some changes to the code. See Installation on how to compile and flash this project using Arduino. In Arduino under tools > Deauther Config select Display Example I2C or Display Example SPI depending on your setup In Arduino and open the A_config.h file (second tab) Scroll down to **#if defined(DISPLAY_EXAMPLE_I2C)** or #elif defined(DISPLAY_EXAMPLE_SPI). If you used other pins than mentioned in the example setup above, this is where you can change them. For example, you might need to change #define SH1106_I2C to #define SSD1306_I2C depending on the type of display you are using. Or #define SH1106_SPI to #define SSD1306_SPI if you're using a SPI display. In Arduino under tools > Erase Flash select All Flash Contents. This will make sure your changes are applied and override any old settings. Now make sure you selected the correct port and upload! If something isn't working correctly, check the connections and your adjustments from step 5._ I don't really know how to solve it, right now i have the "none" deauther configuration but as i said before the buttons do not work. And if you're wondering if it could be a GPIO problem, well i don't think so since i use the default ones. Hopefully someone will help me out, my Telegram:
kerem 2026-02-28 00:04:34 +03:00
Author
Owner

@welcome[bot] commented on GitHub (Mar 29, 2021):

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

<!-- gh-comment-id:809781399 --> @welcome[bot] commented on GitHub (Mar 29, 2021): Congrats on opening your first issue on this repository! 🎉<br> This is a automated message to help you avoid common pitfalls when asking for help online.<br> 👉 Be sure to:<br> * 🇬🇧 Communicate in English so everybody can understand you<br> * 📖 Have a look at the [Wiki](https://github.com/spacehuhntech/esp8266_deauther/wiki) and [README](https://github.com/SpacehuhnTech/esp8266_deauther/blob/v2/README.md) for information<br> * 🔍 Search for similar [issues (open and closed)](https://github.com/SpacehuhnTech/esp8266_deauther/issues?q=is%3Aissue+)<br> * ✍️ Provide enough information to understand, recreate and help out with your problem<br> * ℹ️ Let us know if you find a solution and please share it with us<br> * 📕 Close the issue when your problem has been solved
Author
Owner

@LeoPoirier commented on GitHub (Apr 14, 2021):

+1 I have a similar problem no way to get the buttons working...

<!-- gh-comment-id:819531534 --> @LeoPoirier commented on GitHub (Apr 14, 2021): +1 I have a similar problem no way to get the buttons working...
Author
Owner

@n0nuser commented on GitHub (Apr 25, 2021):

+1 Happened the same to me on Saturday. I used the binary files and the Node2Deauther to flash it.
Also have the ESP8266 from AZDelivery (Amazon).
Switching to version 2.1.0 did work.

<!-- gh-comment-id:826298527 --> @n0nuser commented on GitHub (Apr 25, 2021): +1 Happened the same to me on Saturday. I used the binary files and the Node2Deauther to flash it. Also have the ESP8266 from AZDelivery (Amazon). Switching to [version 2.1.0](https://github.com/SpacehuhnTech/esp8266_deauther/releases/tag/v2.1.0) did work.
Author
Owner

@FriendlyWizard23 commented on GitHub (Apr 29, 2021):

i actually fixed it with the help of @4xtrom, if you still need explanation i can help.

<!-- gh-comment-id:829300810 --> @FriendlyWizard23 commented on GitHub (Apr 29, 2021): i actually fixed it with the help of @4xtrom, if you still need explanation i can help.
Author
Owner

@jaxmayhem commented on GitHub (May 7, 2021):

i actually fixed it with the help of @4xtrom, if you still need explanation i can help.

I could use some help. The up and down buttons are working, but not the select button. The funny thing is, all 3 buttons are wired identically. Why are two working, and one isn't?

I'm sure it's an oversight on my part, but I haven't been able to figure it out.

Thanks in advance.

<!-- gh-comment-id:834508510 --> @jaxmayhem commented on GitHub (May 7, 2021): > i actually fixed it with the help of @4xtrom, if you still need explanation i can help. I could use some help. The up and down buttons are working, but not the select button. The funny thing is, all 3 buttons are wired identically. Why are two working, and one isn't? I'm sure it's an oversight on my part, but I haven't been able to figure it out. Thanks in advance.
Author
Owner

@andrewbpowers commented on GitHub (Jun 8, 2021):

@FriendlyWizard23
Doesn't work!
...and I have tried pretty much all combinations.

When I run an I2C scanner, the OLED is also found. But no matter what adjustments I make or which release file I flashed for OLED operation, it just doesn't work.

<!-- gh-comment-id:857159580 --> @andrewbpowers commented on GitHub (Jun 8, 2021): @FriendlyWizard23 Doesn't work! ...and I have tried pretty much all combinations. When I run an I2C scanner, the OLED is also found. But no matter what adjustments I make or which release file I flashed for OLED operation, it just doesn't work.
Author
Owner

@stale[bot] commented on GitHub (Sep 7, 2021):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:913908923 --> @stale[bot] commented on GitHub (Sep 7, 2021): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@beliboba commented on GitHub (May 23, 2022):

any solution?

<!-- gh-comment-id:1134694869 --> @beliboba commented on GitHub (May 23, 2022): any solution?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/esp8266_deauther#745
No description provided.