ESP8266 and which Pin's can be used?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
4711Austria
Normal user
Posts: 19
Joined: 06 Aug 2021, 12:52

ESP8266 and which Pin's can be used?

#1 Post by 4711Austria » 06 Aug 2021, 15:18

Hello!

https://www.amazon.de/gp/product/B0754N ... UTF8&psc=1

Which can be used for Inputs/Outputs.
D1 and D2 are blocked for I2C and SHT31.
I need 2 Inputs and 4 Outputs.
Which Dx should I use for, Inputs with internal Pullup switched to ground. Outputs to a 4 Relais board.

THX !!
Attachments
Bildschirmfoto 2021-08-06 um 15.08.32.png
Bildschirmfoto 2021-08-06 um 15.08.32.png (160.2 KiB) Viewed 5060 times

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP8266 and which Pin's can be used?

#2 Post by TD-er » 06 Aug 2021, 16:48

See: https://espeasy.readthedocs.io/en/lates ... on-esp8266

Options are disabled if they are used for some other purpose.
In your screenshot GPIO-4 and -5 are disabled since they are assigned to I2C in the Hardware tab.
If you don't use I2C you can set the SDA and SCL pins there to "none" so you can use those GPIO pins for other purposes.

The disabled pins also have the conflict reason shown.
The pins with a warning symbol may not be the best to use for all purposes.
For example GPIO-2 does need to be pulled-up during boot. (explained on the link above)

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests