Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Workshops / Re: forming an arduino group in vermont, anybody? on: March 24, 2009, 01:42:54 pm
Erk1313 very cool that you worked with the students at NHTI last year. I'm a second year student there right now and I have Luke who worked with the Children's Museum in my Advanced Electronics class.
2  Forum 2005-2010 (read only) / Workshops / Re: forming an arduino group in vermont, anybody? on: February 12, 2009, 04:23:46 pm
Im from New Hampshire and would be intersted in Arduino junk. Hackerspace sounds cool im going to look into it.

EDIT: Noise nights sound very cool, exactly what im working on  8-)
3  Forum 2005-2010 (read only) / Exhibition / Re: SD card read/write with Arduino on: April 08, 2009, 04:50:57 pm
Sorry im a noob when it comes to this stuff. I opened sd_raw_config.h in microsoft visual c++ 2005 and the option to recomplie isn't available. What should I do?
4  Forum 2005-2010 (read only) / Exhibition / Re: SD card read/write with Arduino on: April 08, 2009, 03:53:19 pm
I tried changing

#define SD_RAW_WRITE_BUFFERING 1
to
#define SD_RAW_WRITE_BUFFERING 0

with no luck, does that header file need to be recompiled or can i just change it and save?
5  Forum 2005-2010 (read only) / Exhibition / Re: SD card read/write with Arduino on: April 07, 2009, 10:28:04 pm

Quote
Posted by: breenmachine
A few people have noticed that your writes to the card "dissappear" after restarting the Arduino. The block size is set up to be 512 bytes, and in the code on the first page, a 512 byte buffer is kept, once it is full, it is written out to the card.

This can be trivially disabled so that all writes are written to the card immediately (no buffering). Just open up "sd_raw_config.h" and look for the line:
#define SD_RAW_WRITE_BUFFERING 1
change it to
#define SD_RAW_WRITE_BUFFERING 0

and you should be all set...dunno if someone else already posted this but I saw the question asked and couldn't find the answer myself so I decided to take a look at the code.


If this is true you just saved me a lot of trouble  ;D
Can this be done with the read function as well? I think a 512 byte buffer gets filled there too.
6  Forum 2005-2010 (read only) / Exhibition / Re: SD card read/write with Arduino on: March 24, 2009, 04:09:11 pm
Well to be honest i'm using the sd-raw program at the beginning of this thread so its notihng to do with your code. I have been following your code and will probably try to use it if I can't figure out my current idea. Thanks again you have been a big help to everyone here who is implementing sd to thier projects ;D
7  Forum 2005-2010 (read only) / Exhibition / Re: SD card read/write with Arduino on: March 24, 2009, 01:38:28 pm
I'm trying to sample a guitar signal and store it to the SD card. It looks like when the Arduino writes the recorded signal to the SD card it takes up some time. Which means that the input signal gets ignored for awhile. I was hoping that if i could shorten the number of bytes being sent to the card it wouldn't ignore the sinput signal to a point that it wouldn't be noticed by the user. If this is to vauge I will gladly go into more detail later. Thanks for taking interest  :smiley
8  Forum 2005-2010 (read only) / Exhibition / Re: SD card read/write with Arduino on: March 23, 2009, 08:22:30 pm
Hello everyone
Does anyone know to make the raw program write in blocks smaller than 512?
9  Forum 2005-2010 (read only) / Exhibition / Re: SD card read/write with Arduino on: January 23, 2009, 03:29:57 pm
Found my error, I was on arduino10. Morris said he developed this in Arduino12 so i downloaded that and it complied. Now i just can't init the sd card. Oh well work for another day smiley-razz
Thanks again for helping
10  Forum 2005-2010 (read only) / Exhibition / Re: SD card read/write with Arduino on: January 23, 2009, 01:11:31 pm
Fresh code mmmmmm.

Still having problems. Bobemoe, did you encounter an error like this?

error: 'directory_entry_t' was not declared in this scope In function 'bool showDirectory_walkerfn(directory_entry_t*, unsigned int, void*)':
 In function 'void showDirectory()':

Or did yours compile with no problems?

Sorry to keep asking you questions i'm a noob.  ;D
Your help is greatly appreciated!
11  Forum 2005-2010 (read only) / Exhibition / Re: SD card read/write with Arduino on: January 23, 2009, 12:23:05 pm
Hey bobemoe this sounds good. I've tried the RAW program and haven't had any luck. I'm currently attepmting SirMorris's code and am not getting anywhere there either. I get some errors when I try to compile.

o: In function `microfat::initialize(unsigned char*)':
multiple definition of `microfat::initialize(unsigned char*)'hardware\libraries\uFat\microfat.o:C:\arduino-0010/hardware\libraries\uFat\microfat.cpp:17: first defined here


o: In function `microfat::locateFileStart(char const*, unsigned long&, unsigned long&)':
o: In function `main':


Any sugggestions?
I have the required header files and I'm trying to run the microfat program.

My apologies if this has already been resolved somewhere else 8-)
12  Forum 2005-2010 (read only) / Exhibition / Re: SD card read/write with Arduino on: January 11, 2009, 11:29:17 pm
Zumbi, I am having the same problem as you. I cannot get the SD card to initialize. If anyone has some pointers I would be grateful. :    :smiley
13  Forum 2005-2010 (read only) / Exhibition / Re: SD/MMC From the ground up on: February 23, 2009, 07:53:45 pm
Very cool Morris you've been a big help to the community. Thanks for all the help you've provided.
14  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: setting A/D sampling rates? on: November 18, 2008, 10:49:06 am
thanks for the input!
15  Forum 2005-2010 (read only) / Frequently-Asked Questions / setting A/D sampling rates? on: November 18, 2008, 02:02:34 am
Hello everyone this is my first post and I apologize if it's in the wrong forum. I'm an EET major and am in my second year of college. I'm currently working on a project where I will be sampling audio hopefully with an arduino. I'm having some trouble finding out the maximum sampling rate of the aruino. I've read that it's max sampling rate it 77Khz and have also read that 44100Khz is out of the question. Also how does one go about setting the samping rate? Any help with this would be greatly appreciated. Thanks  ;D

Pages: [1]