Help Please Real Time Clock IR sensor SD card

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Ripon1
 
Posts: 3
Joined: Tue Jan 24, 2012 1:36 pm

Help Please Real Time Clock IR sensor SD card

Post by Ripon1 »

Hi,
Totally new to arduino but I am trying to create a device to record items passing an infrared line and then record this onto a micro sd card and assign a date stamp.

At present I have an arduino Uno, Micro SD shield, Real time clock and the sensors.

First question, can I use header pins to fix the shield to the arduino and is it normal that the shield and card do not totally line up (the power socked and USB socket prevent the shield from laying flat)?

Ot should I be using wire/pins soldered in place and trim the edge of the shield to make it fit.

Has anybody done anything similar to this?

Thanks for any help,

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: Help Please Real Time Clock IR sensor SD card

Post by adafruit_support_bill »

Shields are designed to stack on the Arduino with the headers. Using standard male headers soldered to the bottom of the shield typically allows the shield to clear the components on the Arduino.

Ripon1
 
Posts: 3
Joined: Tue Jan 24, 2012 1:36 pm

Re: Help Please Real Time Clock IR sensor SD card

Post by Ripon1 »

Thank you for your help. I have soldered the header stacks to the shield and it fits perfectly onto the uno.

How do I know if it is all working? The shield is an SD micro card, so I am having a bit of trouble with the sketch, as it starts to refer to FAT.

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: Help Please Real Time Clock IR sensor SD card

Post by adafruit_support_bill »

I am having a bit of trouble with the sketch, as it starts to refer to FAT.
What kind of trouble? Post the exact text of any error messages you are seeing.

The card does need to be formatted for FAT16 or FAT32. Cards from the Adafruit store are shipped pre-formatted.

Ripon1
 
Posts: 3
Joined: Tue Jan 24, 2012 1:36 pm

Re: Help Please Real Time Clock IR sensor SD card

Post by Ripon1 »

Ok,

I have formatted the micro sd card as FAT.

From serial monitor on COM 3 I get the following error -

Initializing SD card...initialization failed. Things to check:
* is a card is inserted? - yes
* Is your wiring correct? - it is a shield so it is in place using header pins and there seems to be only one way to do this.
* did you change the chipSelect pin to match your shield or module? 8 as it is a sparkfun shield.

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: Help Please Real Time Clock IR sensor SD card

Post by adafruit_support_bill »

it is a sparkfun shield.
You should contact sparkfun for support. We don't sell or support this shield.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”