Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By arsalan
#58595 Hello everyone, I am working on a project in which I am collecting data from different sensors and then transmitting the data packet through ethernet shield towards my local database. Main issue i am facing right now is After connection break I am loosing my data, so I figured that i should use Micro SD card for that period.

Coming towards my main question, Both ethernet shield and micro SD card module uses same SPI pins, and I am unable to get them working in parallel. Is there anyway we can use these modules in parallel.

I am also attaching pictures of ESP8266 12E, ethernet shield and Micro sd Card module, which i am using for the project.


Thank you all for your time.
You do not have the required permissions to view the files attached to this post.
User avatar
By Barnabybear
#58611 Hi, are you using a different CS (chip select) pins for the sensor and the SD card? The device should only respond when enabled via its CS line, if both the SD and sensor are connected to the same one you will have 3 things all trying to communicate.
User avatar
By arsalan
#58613
Barnabybear wrote:Hi, are you using a different CS (chip select) pins for the sensor and the SD card? The device should only respond when enabled via its CS line, if both the SD and sensor are connected to the same one you will have 3 things all trying to communicate.


Thanks alot :)


Thank you so much for the idea,, It's working. I have just tried basic code. I will surely update you if its working for the main purpose or not.