0
Offline
Edison Member
Karma: 6
Posts: 1399
Arduino rocks
|
 |
« Reply #120 on: October 01, 2009, 08:16:13 am » |
Try multiple SD cards. The one you have may be defective. It happened before.
|
|
|
|
« Last Edit: October 01, 2009, 08:16:49 am by florinc »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 24
Arduino rocks
|
 |
« Reply #121 on: October 01, 2009, 09:30:16 am » |
Hi, I did try multiple cards. All of them work on my notebook though.
It is really frustrating...
I would be even willing to pay if somebody could compile a zip-file with all libraries and sketches required to run the SD-demo with an off-the-shelf Arduino duemilanove.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 92
Arduino rocks
|
 |
« Reply #122 on: October 16, 2009, 10:09:03 am » |
What library has the smallest footprint? ( I need to create new file and to oread/write  )
|
|
|
|
« Last Edit: October 16, 2009, 10:13:24 am by Mart »
|
Logged
|
|
|
|
|
Denver
Offline
God Member
Karma: 19
Posts: 776
Inactive - PM
|
 |
« Reply #123 on: October 16, 2009, 02:25:09 pm » |
Without regard to the footprint, the ability to read from the card narrows the field. The ability to create new files from scratch narrows the field again. The Fat16 lib. does both and is well documented. So it's definitely worth looking at.
|
|
|
|
« Last Edit: October 16, 2009, 02:25:56 pm by BroHogan »
|
Logged
|
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom." ~ Clifford Stoll
|
|
|
|
Germany
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks and shocks
|
 |
« Reply #124 on: October 28, 2009, 09:10:54 pm » |
For all who still have problems with SD-Card, here is some infos... 1. Pull-Upsadd 10K pull-ups to 3.3V for "CS" (CMD) and "DO" (DAT0) line. (refer to sd/mmc datasheets).  This is from Sandisk SD Card Product Manual. 2. Partition and FilesystemEnsure your SD-Card contains one primary FAT16 partition. Windows: Use Active@ Partition Manager, Acronis Disk Director, Paragon Partition Manager or simular to verify your Card is correctly set up. Don't rely on Windows Partiton info, because windows shows "FAT" filesystem for FAT16 and FAT12 (only with small SD-Cards like 16MB). Linux: Use cfdisk and mke2fs. 3. Updated Schematic 4. Arduino LibraryI also recommend Fat16 lib. Its really nice and well documented. Work right out of the box for me with Arduino 0017, Arduino Duemilanove and three 16MB SD-Card for my digi-cam.
Anyway, this is a very basic solution for (very) low speed SD-Card access. Its recommended to use a real bi-directional level shifter (5.0V <-> 3.3V). Read more about it here (German).
 don't give up...
|
|
|
|
« Last Edit: October 28, 2009, 09:26:52 pm by pixeldoc2000 »
|
Logged
|
Why is it that only drug dealers and software developers call their clients "users"?
|
|
|
|
France
Offline
Sr. Member
Karma: 0
Posts: 262
|
 |
« Reply #125 on: November 01, 2009, 06:17:24 am » |
Hi!
Is this compatible with the SD slot of the Ethernet Shield?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #126 on: December 02, 2009, 08:20:17 am » |
Just wondering if someone could give me some advice, I am looking at using data logging on an Arduino board, a 3D accelerometer for postion sensing and then an SD card to store the data. Having read this post i understand it is possible to do this, but I would be very grateful if someone could maybe outline how i would go about doing this as i am relatively new to the Arduino.
Thanks...
(sorry if this is maybe not the best post to have posted in!)
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 132
Arduino rocks
|
 |
« Reply #127 on: December 17, 2009, 08:58:20 am » |
 hi guys --- Do i fail the wiring? dont work
|
|
|
|
|
Logged
|
~blackout~ @ grayhats.org
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 313
Posts: 35502
Seattle, WA USA
|
 |
« Reply #128 on: December 17, 2009, 09:54:48 am » |
There appear to be 6 resistors that look like they are trying to form voltage dividers. Three have one end on the ground bus, with a red wire going to the ground pin on the freeduino.
Red is supposed to be used for +V, not ground. Although the electrons don't care what color the insulation is, people make assumptions about the purpose of a wire based on it's color.
There are pairs of resistors, with wires leading from the center point to some Freeduino pins. It's hard to be certain that the resistors and wires are on the same bus, but I'll assume that they are.
The other end of the resistors do not all share a common +5V bus, so it would appear that you are not getting any power to the voltage dividers.
I also don't see an SD card reader/writer in the picture. So, the purpose of the wires and non-functioning voltage dividers is not apparent.
So, I guess I'd have to say that, yes, you fail the wiring.
What are you trying to do?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 132
Arduino rocks
|
 |
« Reply #129 on: December 17, 2009, 11:46:53 am » |
@Pauls: thanks Your advice about colors is right : thanks. For Resistors dimesions im following a http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206874649/8For voltage i have linked SD_pin_4 of 3.3V of freeduino (like as combatduino or experimentduino). Freeduino works, but the software return me : "MMC/SD initialization failed" I think isnt sofware problem but "wiring problem" because i'm eletronic-newbie (only teoric) update: 
|
|
|
|
« Last Edit: December 17, 2009, 12:26:57 pm by blackout314 »
|
Logged
|
~blackout~ @ grayhats.org
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 313
Posts: 35502
Seattle, WA USA
|
 |
« Reply #130 on: December 17, 2009, 12:11:44 pm » |
For voltage i have linked SD_pin_4 of 3.3V of freeduino I don't understand this statement. The freeduino appears to be a 5V device, just like the Arduino. You should have a wire from +5V to the buss that one end of three of the 3 resistors are on. The other 3 resistors have one end on a bus which is connected to ground on the freeduino. There should be three bars (like you have) where two resistors and a wire come together. The three wires go to digital pins on the freeduino. There is also a wire from +5V on the freeduino to the SD card, to power it.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 132
Arduino rocks
|
 |
« Reply #131 on: December 17, 2009, 01:29:20 pm » |
@pauls: do u have wiring planning? i have tried roland lib and arduinonut lib --- not work
i wiring wrong .... is a fact but i have copyied the roland riegel wiring :-(
|
|
|
|
« Last Edit: December 17, 2009, 01:34:10 pm by blackout314 »
|
Logged
|
~blackout~ @ grayhats.org
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 313
Posts: 35502
Seattle, WA USA
|
 |
« Reply #132 on: December 17, 2009, 01:49:54 pm » |
No, you haven't copied the wiring correctly.
You have resistors plugged into C1, C2, and C5. These are on three separate bars. Nothing else is connected to those three bars. You need to connect them together, and to +5V.
You have a yellow wire in E7, going to the freeduino. Nothing else is connected to the 7 bar. What is that wire (supposed to be) for?
What are the ground wires on the #6 bar for?
Where is the SD card reader?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 132
Arduino rocks
|
 |
« Reply #133 on: December 17, 2009, 02:09:58 pm » |
rows c1 c2 c5 are wired through by - column i have measured power con b1 b2 b5 and power is 3V3 rows #3 and #6 are wired through and they are wired in - column c7 going to digital pin 12 of freeduino 
|
|
|
|
« Last Edit: December 17, 2009, 02:18:44 pm by blackout314 »
|
Logged
|
~blackout~ @ grayhats.org
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 132
Arduino rocks
|
 |
« Reply #134 on: December 17, 2009, 02:25:26 pm » |
thx pauls .. work nice
(the problem is manual SD sock)
|
|
|
|
|
Logged
|
~blackout~ @ grayhats.org
|
|
|
|
|