Good day! I am having difficulties in utilizing the Arduino M0 that I bought in so many areas from I2C LCD Library up to utilizing a simple SD Card Module.
What I want to achieve:
Create an SPI through pins 11, 12, 13 (just like an Uno) --> I followed the tutorial from Adafruit Creating a new SPI | Using ATSAMD21 SERCOM for more SPI, I2C and Serial ports | Adafruit Learning System
Connect an RFID Module (MFRC522), I2C LCD and an SD Card Module
Make a database from the SD Card.
What I have:
- An arduino M0, a gravity expansion shield, gravity SD Card Module, I2C LCD 20x4 (all DFRobot products)
Help I need:
- So since the Expansion shield I have is an UNO compatible version, the slot for the SD Card is connect Via the Uno SPI pins which are 4,11,12,13. What I did was I followed the Adafruit Tutorial to create a new SPI and the problem starts here. IT DOESN'T WORK. I just want to make a simple modular test and uploaded the CardInfo example from the default SD Library. And the output is "Initialization Failed"
Before I made this topic I made sure to test the SD Card on the default SPI of the Arduino M0 which is found on the ICSP pins. It worked normally.
- Are there any other available resources of Libraries for the M0? I kinda feel there is scarcity of information and libraries for this MCU. Or maybe I have bad googling skills.
My possible solution:
- Buy an Uno and throw this M0. I might end up in this situation but I'm still hoping that I could make something out of this EXPENSIVE board.
Thank you for your contributions.
Gravity Expansion Shield - Gravity: IO Expansion Shield for Arduino V7.1 - DFRobot
Gravity SD Card Module - Fermion: MicroSD Card Module for Arduino-DFRobot
I2C LCD 20x4 - I2C 20x4(2004) LCD Display for Arduno - DFRobot
Arduino M0 - https://store.arduino.cc/usa/arduino-m0
Im using an Arduino IDE 1.8.4, and ummm I downloaded the SAMD board of course.