So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By AndyMenon
#65419 Hello,
I'm relatively new to the esp8266, and a self taught electronics hobbyist. I'm working on a project that has an i2c OLED display, a Neo 6M/7M GPS unit and an SD card module.
The GPS part of the project has been working well. Unfortunately, when I try to hook up the SD card module, the HSPI pins required for the MOSI/ MISO lines are taken up by the SoftwareSerial Tx/Rx lines. Therefore, at any one time I get the GPS to work or the SD card to work, but never both.

I have tried the following solutions thus far:
1. Hook up the GPS to the default Tx/Rx lines (gpio 1,3) of the esp8266 so that I free up the HSPI pins for the SD card module - but the GPS fails to work.
2. Use other available pins (except the reserved SPI) pins to function as Tx/Rx lines - again SoftwareSerial the Arduino sketch fail to read these lines
3. Use the beta SoftSPI so that I can hook up the SD Card module to the soft MOSI/MISO lines- unfortunately, the current SFBeta library does not compile on the NodeMCU platform.

Please help me find a fix.

Thanks