ESP8266 GPIO Pin Help

I’m still getting my feet wet with ESPHome. For my next project, I’d like to read binary values from five GPIO pins. Using a number of on-line resources such as this page, it looks like I’ll be able to safely use:

GPIO12, GPIO13, GPIO14, GPIO4 and GPIO5.

While building this, it occurred to me I have an extra Dallas DS18b20 one-wire temperature sensor left over from my last ESPHome project. I’d love to be able to add this to the same project. But I’m running out of unambiguously “OK” GPIO pins according to the link above (and others.)

I’m not sure whether or not I can use any other pins which aren’t clearly labeled as “OK” for input. Do any of the caveats listed on that page apply here? Should I give up and just stick with the five inputs I’ve got? Those are already tested and working great.

Thank you!!

I think GPIO16 (D0) should be OK.

1 Like

Will give that a shot, thank you!!

No luck:
image

Do I need a resistor?

I tried some of the pins I was unsure of. So far GPIO 0 (Zero) has been working:

dallas:
  - pin: GPIO0
    id: dallas_0

GPIO0 is D3 on the NodeMCU board.

I hope it’s not improper of me to mark my own post as the solution.

1 Like

Not at all. It means you did your homework and weren’t just waiting for someone elae to write code for you.

1 Like