[GH-ISSUE #1330] wrong OLED pins mentioned #670

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

Originally created by @VIS-WA on GitHub (Oct 18, 2020).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/1330

There's a mistake in declaration of pins for OLED in the example section

Location
(Wiki)
In 'Example setup with I2C OLED' in Setup Display & Buttons.

Additional context
Mine didnt work with pins mentioned for SDA, SCL for I2C OLED given in the example connections. So i referred to other sources and found out that the pins mentioned are swapped. i.e SDA should be connected to D2 and SCL to D1 of nodeMCU

Originally created by @VIS-WA on GitHub (Oct 18, 2020). Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/1330 There's a mistake in declaration of pins for OLED in the example section **Location** (Wiki) In '[Example setup with I2C OLED](https://github.com/SpacehuhnTech/esp8266_deauther/wiki/Setup-Display-&-Buttons#example-setup-with-i2c-oled)' in [Setup Display & Buttons](https://github.com/SpacehuhnTech/esp8266_deauther/wiki/Setup-Display-&-Buttons#setup-display--buttons). **Additional context** Mine didnt work with pins mentioned for SDA, SCL for I2C OLED given in the example connections. So i referred to other sources and found out that the pins mentioned are swapped. i.e SDA should be connected to D2 and SCL to D1 of nodeMCU
kerem 2026-02-28 00:04:11 +03:00
Author
Owner

@welcome[bot] commented on GitHub (Oct 18, 2020):

Thanks for opening your first issue here! 🎉
👉 Be sure to:
1. 📖 Have a look at the Wiki and README for information
2. 🔍 Search for similar issues (open and closed)
3. ✍️ Provide enough information to understand, recreate and help out with your problem
4. ℹ️ Let us know if you find a solution and please share it with us
5. 📕 Close the issue when your problem has been solved

<!-- gh-comment-id:711131384 --> @welcome[bot] commented on GitHub (Oct 18, 2020): Thanks for opening your first issue here! 🎉<br> 👉 Be sure to:<br> 1. 📖 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> 2. 🔍 Search for similar [issues (open and closed)](https://github.com/SpacehuhnTech/esp8266_deauther/issues?q=is%3Aissue+)<br> 3. ✍️ Provide enough information to understand, recreate and help out with your problem<br> 4. ℹ️ Let us know if you find a solution and please share it with us<br> 5. 📕 Close the issue when your problem has been solved
Author
Owner

@Therealjosephchrzempiec commented on GitHub (Jan 10, 2021):

Hello did you get your oled to work? I have been trying to get mine working nd so far no luck?

joseph

<!-- gh-comment-id:757538811 --> @Therealjosephchrzempiec commented on GitHub (Jan 10, 2021): Hello did you get your oled to work? I have been trying to get mine working nd so far no luck? joseph
Author
Owner

@Chesterphillip commented on GitHub (Jan 10, 2021):

I need to research it more . I’m probably not doing it right

Sent from my iPhone

On Jan 10, 2021, at 2:29 PM, Therealjosephchrzempiec notifications@github.com wrote:


Hello did you get your oled to work? I have been trying to get mine working nd so far no luck?

joseph


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<!-- gh-comment-id:757549682 --> @Chesterphillip commented on GitHub (Jan 10, 2021): I need to research it more . I’m probably not doing it right Sent from my iPhone > On Jan 10, 2021, at 2:29 PM, Therealjosephchrzempiec <notifications@github.com> wrote: > >  > Hello did you get your oled to work? I have been trying to get mine working nd so far no luck? > > joseph > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub, or unsubscribe.
Author
Owner

@spacehuhn commented on GitHub (Jan 10, 2021):

Swapping SDA and SCL is a good idea to test if nothing works. I've also encountered some that had SDA and SCL labels swapped.
As explained in Setup Display & Buttons, you can use any pins for a I2C connection. The ones mentioned there are just part of an example setup. The same pins are also used by the deauther boards from DSTIKE.

<!-- gh-comment-id:757565986 --> @spacehuhn commented on GitHub (Jan 10, 2021): Swapping SDA and SCL is a good idea to test if nothing works. I've also encountered some that had SDA and SCL labels swapped. As explained in [Setup Display & Buttons](https://github.com/SpacehuhnTech/esp8266_deauther/wiki/Setup-Display-&-Buttons#setup-display--buttons), you can use any pins for a I2C connection. The ones mentioned there are just part of an **example** setup. The same pins are also used by the deauther boards from DSTIKE.
Author
Owner

@Therealjosephchrzempiec commented on GitHub (Jan 11, 2021):

Hello I'm using the watch it looks like the first version of the watch. I'm trying to reporgram it. But the lack of coding skills are my problem. What library is the Oled using? Also I'm trying to use adafruit neo pixel library for the RGB LEd and it looks like it is using GPIO 9 (SD2) I don't know how to map a SD2 i have tried GPIO9 and i get a error. Sorry my skils are in hardware not much of software. I'm triyng.

Joseph

<!-- gh-comment-id:757568131 --> @Therealjosephchrzempiec commented on GitHub (Jan 11, 2021): Hello I'm using the watch it looks like the first version of the watch. I'm trying to reporgram it. But the lack of coding skills are my problem. What library is the Oled using? Also I'm trying to use adafruit neo pixel library for the RGB LEd and it looks like it is using GPIO 9 (SD2) I don't know how to map a SD2 i have tried GPIO9 and i get a error. Sorry my skils are in hardware not much of software. I'm triyng. Joseph
Author
Owner

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

...SDA should be connected to D2 and SCL to D1 of nodeMCU

Absolutely correct!
Normally SDA is connected to D2 and SCL to D1.
With a different wiring, I have not yet been able to put an OLED into operation.

<!-- gh-comment-id:857180443 --> @andrewbpowers commented on GitHub (Jun 8, 2021): > ...SDA should be connected to D2 and SCL to D1 of nodeMCU Absolutely correct! Normally SDA is connected to D2 and SCL to D1. With a different wiring, I have not yet been able to put an OLED into operation.
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#670
No description provided.