View Single Post
Old 04-08-2011, 05:51 AM   #677 (permalink)
eimix
EcoModding Lurker
 
Join Date: Aug 2010
Location: Lithuania
Posts: 74
Thanks: 3
Thanked 21 Times in 15 Posts
SD card logging

My previous thoughts about SD logging was a little overstated

it works with latest version

things need to be modified:

1. move LCD wires connected to 12 and 13th pins to 2 and 3rd
2. download arduino-filelogger - Arduino library to log data into SD cards - Google Project Hosting and extract into ...arduino/libraries/FileLogger

3. make SD card holder
http://www.arduino.cc/cgi-bin/yabb2/...1206874649/all
few resistors and you are done

wire to arduino
Code:
  // SCK_PIN   13 <-> SD 5 SCK    DIVIDER (1.8kOhm, 3.3kOhm) or (2.2kOhm, 3.9kOhm) or similar
  // MISO_PIN  12 <-> SD 7 DO     DIRECT
  // MOSI_PIN  11 <-> SD 2 DI     DIVIDER (1.8kOhm, 3.3kOhm) or (2.2kOhm, 3.9kOhm) or similar
  // SS_PIN    10 <-> SD 1 CS     DIVIDER (1.8kOhm, 3.3kOhm) or (2.2kOhm, 3.9kOhm) or similar
  // 3.3V         <-> SD 4 VCC    DIRECT
  // GND          <-> SD 3 GND    DIRECT
  // GND          <-> SD 6 GND1   DIRECT
4. Format SD card SD Memory Card Formatting Software | SD Memory Card | Digital AV | Consumer Products | Support | Panasonic Global or similar tool.

5. create file "data.log" in root folder and write any comment or symbol in it.

Should work

some photos of soldered SD slot:




Last edited by eimix; 04-12-2011 at 07:34 AM..
  Reply With Quote
The Following 3 Users Say Thank You to eimix For This Useful Post:
Magister (04-08-2011), TurboTorben (04-08-2011), Yuretz (09-09-2011)