Skip to main content

Timeline for ESP8266 SDCard initialization bug

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Aug 2, 2022 at 18:33 comment added Juraj @Mereics, io 15 (D8) has to be LOW at boot. the use as CS pins can interfere
Aug 2, 2022 at 17:49 comment added romkey Glad you got it working!
Aug 2, 2022 at 17:12 vote accept Mereics
Aug 2, 2022 at 17:11 comment added Mereics Nevermind, I figured it out. I used D8 instead of 5, and now it is working. I got tricked because the SD Card was working and D5 too, and I thought that wasn't the problem. Thank you, guys! Cheers!
Aug 2, 2022 at 17:07 comment added Mereics I did that, it says dhat D5 is 14. (BTW It is a NodeMcu)
Aug 2, 2022 at 17:01 comment added Juraj if it is a Wenos D1 or a NodeMcu it doesn't make sense to use D5 as CS, because D5 is SPI CLK pin.
Aug 2, 2022 at 16:37 comment added romkey GPIO5 is SCL on the ESP8266, so using GPIO5 for chip select would definitely break I2C communications. Try adding Serial.print("D5 is "); Serial.println(D5); to find out what D5 is defined as.
Aug 2, 2022 at 16:34 comment added romkey Are you sure you selected the correct board?
Aug 2, 2022 at 15:52 comment added Mereics It is doing the exact same thing. Like I said, the file is getting written onto the SD Card, but if the sd card is getting initialized, the sensors stop working.
Aug 2, 2022 at 15:10 history answered romkey CC BY-SA 4.0