Ok, now the stuff described one post further ist there. I got one DS18B20 to work and stored the data in the Internal EEPROM just to see if it is working. Fine. Now i´m stuck with this SDCard Thing. I have the following Setup:
- Arduino Duemilanove
- Arduino 0017 on MacOSX 10.5.5
- Libelium MicroSD Module on Pins [8,9,10,11,12,13,GND] (Jumper set to 5.5V)
- Transcend MicroSD Card, FAT formatted (with MacOSX)
- hola.txt created with Vim and stored on MicroSDCard
I tried Filelogger and the SDuFAT librarys but nothing works.
The Code compiles well and is sent to the 328. It reacts on my commands ober the serial port but all i get are error Messages.
For Example:
With SD_uFAT_basic from the SDuFAT libraries i get these Error Messages:
If i send "H" it says:
H help
L file info
D delete
P append string
W init file and write
R dump to serial
A append text
Thats alright. But if i try some of the commands it gives me the answers like that:
For "L":
[hola.txt] - file info
[hola.txt] - ..error!
For "P":
[hola.txt] - add string
[hola.txt] - add string
[hola.txt] - ..done
But: theres no change at all to the Textfile ![]()
The strange thing is: if I remove the microSD-module or only the MicroSDCard and try "P" it says:
[hola.txt] - add string
[hola.txt] - add string
[hola.txt] - ..error!
So there is at least a difference between the setup with and without shield/card....
But why is Arduino not writing to the File??
Should i try to format the Card under WinXP (Mac OS only can format to "FAT", WinXP can format to FAT16 or FAT32)
I created the .txt file with "Vim" in the Terminal-Application under MacOSX, i think this should be a very "clean/basic" .txt file.
mowcius: can you post the setup an code you were using?
Is anybody succesful working with the Module??