Pages: [1]   Go Down
Author Topic: Interfacing SD card with nano  (Read 782 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I  am new to arduino and finding it exciting.  I am having difficulty connecting a sd card board to my nano.  Two problems arise.  The IDE seems to freeze and does not allow me to select the usb port of my linux laptop.  I cannot get the card to initialise.  I have checked the wiring and can find no fault.  Any suggestions would be appreciated.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23748
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

To start, the Nano runs of 5V. SD cards need 3.3V signals, and also usually need more current at 3.3V than the 50mA provided by the FTDI chip.

How are you addressing these things?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

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

The board I have  has an onboard 5 to 3.3 voltage converter.  One thing I have noticed is the pin numbering in many programmes refer to the pins at the side of the UNO board and I need to convert them to nano pin numbers.  This is not easy.  Eg I am not sure where the cs pin should go on my nano.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23748
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

D0-D13 and A0-A5 are mapped within software to be the same for all boards.
If your Uno program uses SPI and connects to D10 (CS), D11/D12/D13, the same pins are used with the Nano.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

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

after a lot of reading and some thinking I got the sd card to receive data.  However I tried to make a better cable connection between the nano and the card board and got it wrong.  It looks as if all is ok but I still have problems using the arduino IDE.  The serial port is greyed out.  I tried a talkback and it worked.  Should I reinstall or is there another IDE I can use?
Logged

Pages: [1]   Go Up
Jump to: