-->
Page 1 of 4

How to use esp8266-12 all gpios

PostPosted: Sun Jul 05, 2015 9:46 am
by nadirsert
I use nodemcu and esp8266-12.For thıs module to get work ı must use GPIO2-GPOI15 thıs makes two pın unusable for me.Is ıt possıble to use all gpios usıng nodemcu

Re: How to use esp8266-12 all gpios

PostPosted: Sun Jul 05, 2015 3:27 pm
by tytower
I have not used a nodeMCU board . It should be much the same though with the mounted chip.

Each pin has 5 function settings - see the wiki above so you could probably be able to set each pin to the function you want in your program but I have not tried it yet.
You can activate any “FUNCTION_” with pinMode(pin, FUNCTION_1)for example

wiki/doku.php?id=esp8266_gpio_pin_allocations

Re: How to use esp8266-12 all gpios

PostPosted: Sun Jul 05, 2015 3:57 pm
by martinayotte
If you need more GPIOs, the MC23017 GPIO expander is providing 16 GPIOs thru an I2C bus. It is pretty easy to attach it to any ESP8266.

Re: How to use esp8266-12 all gpios

PostPosted: Sun Jul 05, 2015 5:20 pm
by nadirsert
martinayotte wrote:If you need more GPIOs, the MC23017 GPIO expander is providing 16 GPIOs thru an I2C bus. It is pretty easy to attach it to any ESP8266.

I just want to understand why cant ı use these pins.I dont use nodemcu modules just esp8266-12 board.