-->
Page 1 of 1

GPIO for DS18B20

PostPosted: Mon Feb 05, 2018 4:52 pm
by ssylca
Hi,

Could someone confirm the GPIO to use for the function 'temp()' using the Dallas DS18B20 and the ESP8266-12E.
Also is it possible to configure another GPIO port to work with the DS18B20. I am using a number of the GPIOs to multiplex the 1 analog input on the ESP to 8 inputs using a 4051 multiplexer IC , the assigned 'temp()' input may not be free.
Thanks

Re: GPIO for DS18B20

PostPosted: Wed Feb 07, 2018 1:25 pm
by Electroguard
The Doc specifically states gpio02, and offers no way to specify an alternative.

Shouldn't matter though, either you have a spare gpio available or not - if so and it isn't gpio02, then just swap it with whatever is using gpio02 to free it up for Dallas 1-wire.

Re: GPIO for DS18B20

PostPosted: Fri Feb 09, 2018 9:02 am
by ssylca
Thank you, this is just what I did.
S.