How many GPIO inputs can I get?
Posted: Mon Feb 06, 2017 9:22 am
I'm trying to build a project that reads 8 GPIO inputs. On paper, it looks like I have enough pins - but in practice, only maybe 3 of them work.
I'm using a ESP-12F module.
I suspect I have to do some setup to turn off stuff like HSPI - to free up those pins - but I don't know how.
Which of these can I actually use?
GPIO_0 : Used during boot
GPIO_1 : The is the TXD0 pin by default
GPIO_2 : AVAILABLE
GPIO_3 : This is the RXD0 pin by default
GPIO_4 : AVAILABLE
GPIO_5 : AVAILABLE
GPIO_6 : Used to access flash memory or something?
GPIO_7 : ditto
GPIO_8 : ditto
GPIO_9 : ditto
GPIO_10 : ditto
GPIO_11 : ditto
GPIO_12 : This is the HSPI MISO pin
GPIO_13 : This is the HSPI MOSI pin
GPIO_14 : This is the HSPI CLK pin
GPIO_15 : Seems to have to be grounded for the machine to boot.
GPIO_16 : This is the ADC pin
I'm using a ESP-12F module.
I suspect I have to do some setup to turn off stuff like HSPI - to free up those pins - but I don't know how.
Which of these can I actually use?
GPIO_0 : Used during boot
GPIO_1 : The is the TXD0 pin by default
GPIO_2 : AVAILABLE
GPIO_3 : This is the RXD0 pin by default
GPIO_4 : AVAILABLE
GPIO_5 : AVAILABLE
GPIO_6 : Used to access flash memory or something?
GPIO_7 : ditto
GPIO_8 : ditto
GPIO_9 : ditto
GPIO_10 : ditto
GPIO_11 : ditto
GPIO_12 : This is the HSPI MISO pin
GPIO_13 : This is the HSPI MOSI pin
GPIO_14 : This is the HSPI CLK pin
GPIO_15 : Seems to have to be grounded for the machine to boot.
GPIO_16 : This is the ADC pin