Temperature Log Example

I’ve been working on the XOD Temperature Log Example (https://xod.io/docs/guide/sd-log-example/) but ended up with nothing when reading the micros SD card. The card is fomatted but it could not store the temp-log.txt file. I suspect that I’m not using the same microSD card Adapter described in this example that only defines a port for the CS pin on the adapter. The one I’m using has 6 pins, 4 of which have to be connected to Digital pins i.e,. CS, SCK, MOSI and MISO. I can’t find relevant pins on the sd-log node for the SCK, MOSI and MISO pins!!

1 Like

Hello!

The SCK, MOSI, and MISO pins has to be connected to hardware SPI #0. Refer to your board model schematics to see what physical pins they are on. For example, on Arduino Uno they are on 11, 12, and 13. Whereas on Arduino Leonardo they are only available on the dedicated 3×2 pin header group known as ICSP connector.

image