Pages: [1]   Go Down
Author Topic: Arduino leonardo + sd  (Read 1541 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, I am a novice user of arduino.
I can not get arduino leonardo communicate with the sd card.
I wanted to know if someone actually succeeded and attach code + scheme
Thank you for your time spent

--------------------------------------------------

ciao sono un utente inesperto di arduino.
Non riesco a far comunicare arduino leonardo con la scheda sd.
Volevo sapere se  qualcuno realmente sia riuscito e allegare codice + schema
Grazie per il vostro tempo dedicato
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I can not get arduino leonardo communicate with the sd card.
The Leonardo doesn't have an SD card. Perhaps that is the problem.

If you added one, defining which one, and how it is connected, and what code you are using, and what problems you are having, might be useful things to do.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

but is possible to comunicate ?
Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 139
Posts: 5860
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

but is possible to comunicate ?
It should be no problem. If you want help, answer the questions PaulS posted.

Bear in mind the SD library uses SPI, and the SPI data lines on a Leonardo are available only on the ICSP connector. They are not available on any digital pins.

Logged

0
Offline Offline
Edison Member
*
Karma: 63
Posts: 1604
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Ethernet shield works fine . 

It is also possible to use SdFat on Leonardo with software SPI.  This allows Uno style SD shields to be used.  I posted Leonardo software for the Adafruit data logging shield here AdafruitLogger20121219.zip http://code.google.com/p/beta-lib/downloads/list.
Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 139
Posts: 5860
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Ethernet shield works fine . 
Thanks, fat16lib. Just one condition:
If the ethernet shield is the new type with the ICSP connector, it will work fine. The older versions without the ICSP header on the bottom will not work without serious pin bending.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi fat16lib
I bought Adafruit data logger
I downloaded the file but can not compile it.
Could you explain how you did it?
thanks
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I downloaded the file but can not compile it.
What file? There are at least two files available to download from the internet. Maybe even more.

What version of the IDE are you using?

Why can't you click the Verify button in the IDE?
Logged

0
Offline Offline
Edison Member
*
Karma: 63
Posts: 1604
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I bought Adafruit data logger
I downloaded the file but can not compile it.
Could you explain how you did it?
thanks
How did you install the libraries and what are the error messages?  Did you copy the libraries I2cMaster,  SdFat, and SoftRTClib, to your libraries folder?

SurferTim,
Quote
If the ethernet shield is the new type with the ICSP connector, it will work fine. The older versions without the ICSP header on the bottom will not work without serious pin bending.
I forgot the R1 Ethernet shield.  The R1 Ethernet SD should work with software SPI.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks I managed to solve the problem
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 43
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi gio03gio

I have recently purchased a Arduino Leonardo with the intention of using it with the Adafruit Data Logger. I was wondering how you managed to get it to work?

Cheers

Jase  smiley
Logged

Pages: [1]   Go Up
Jump to: