I am doing a project and using NodeMCU ESP8266. My project includes sensors for UART, I2C and 4 interrupts. I need to read the data from these sensors and get these data via microUSB in real time. While reading about NodeMCU ESP8266 there are so many points that came across and have certain questions.
- Do flash uses GPIO6-11 all the time? Can we use any of these pins for our purpose? What if someone needs an SPI communication, as these pins are locked by flash.
- Can I use GPIO-0 (flash pin) for my purpose, as after flashing the MCU the pin will get free.
- Do CP2102 uses GPIO 1 and GPIO 3? Can I use these pins for my purpose? (Given I need the data via USB, which I guess comes through CP2102)
- Can I receive the sensor data from SoftUART bus and get that data to my computer via USB?
I am confused from the articles given over internet. I request if anyone knows how these work, please explain.