Chat freely about anything...

User avatar
By panoss
#80631 In a project I 'm buiding with ESP8266-12E, I want to connect a Nokia 5110 LCD.
I need 5 pins from the ESP.
I have used for other purposes a few of them (GPIO14,GPIO12, GPIO13, GPIO15, GPIO4, GPIO5).
Between RESET and GPIO16 I will add a diode for wake up from deep sleep.

So have been left free: ADC, CH_PD, TXD, RXD, GPIO0, GPIO2, CS0, MISO, GPIO9, GPIO10, MOSI, SCLK.
Can I use any of these or I have ro remove any of them from the list?
ESP8266-12E-free-pins.png
ESP8266-12E-free-pins.png (11.53 KiB) Viewed 3123 times
User avatar
By rudy
#80633 CS0, MISO, GPIO9, GPIO10, MOSI, SCLK are used for the ESP8266 access to the Flash chip holding the code. Generally the advice is not to use those pins.

https://github.com/esp8266/Arduino/sear ... ype=Issues

But take a look at the following.
https://github.com/esp8266/Arduino/pull/5489

https://github.com/espressif/esp8266-rt ... HSPI_Slave

https://www.google.com/search?q=hspi_sl ... e&ie=UTF-8
User avatar
By QuickFix
#80637
panoss wrote:ADC, CH_PD, TXD, RXD, GPIO0, GPIO2
I can use any of these ones?

No, only TXD, RXD, GPIO0 and GPIO2 are GPIO's, the others aren't.
But special care has to be taken with those GPIO's since they're also used to program the ESP (you'll have to make sure they are properly pulled up or down at boot).

Please note that there are also a lot of nice and cheap OLED and TFT displays that use I2C which only need 2 GPIO's. :idea: