hey guys
i have a little storage problem
i have a program which needs files that all total upto 350 mb
how would i send the files to the arduino
could i make an sd shield like the diagram on http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206874649 that holds .h files
or could i send them when it needs it off the computer
I think you should expand a little on why you need 350Mb of .H files on an Arduino.
or could i send them when it needs it off the computer
Probably, but we need to know what's going on, there may be other/better ways of tackling the job.
Rob
i have a program which needs files that all total upto 350 mb
how would i send the files to the arduino
I would use an SDcard and put all files on it (8.3 file format) and access it with the sdfat library.
Other option is to use a ethernetshield and let the Arduino fetch the files needed, but it might take a while ....... a big while ....... a very big while before all the files are processed.
Can you explain whats in the files? because I seriously doubt if Arduino the right platform to process this much data
im planning to buy a screen that uses the glcd library
to display images it uses a file ending in .h
all of these images together are this size
altough i just noticed the image sizes are to big in dimensions i still am gessing that it will be more than the arduino can hold.
please note i have not got much money to buy lots of shields. an sd one i might be getting anyway
thanks ryan
How big are the images?
the size of the h files is about 5kb all of them now is
well the size of the images now is 25 mb
any help now?
tried it and not enough space
Did you just copy&paste the images to a *.h file? Or did you convert them?
convert them. all the .h files are correct but i cant fit 25mb worth of them on the arduino
i want to display lots of pictures on the screen all in a row to make a video on it.
the files are correct by compairing them with the ones already provided
either way i would like to see if i could store .h files on my computer then the arduino grabs them
ok
even if i dont want it for that
can i get the arduino to use .h files off the computer when it needs them
well its not just when it calls its just any time it needs it.
is it possible or not?
i just want to beable to use .h files off my computer
is this possible
all of the .h files can not fit on the arduino.
is there a way it can grab these off the computer insted
i understand
is there a code that already dose this or do i ( newbie coder ) need to try and make one
what about using an sd card?
would that work?
sorry
as all the files are text im going to try and sent that over serial insted
space wise it dose
also
if i put them all into one .h file it would defo make it smaller as
1 file is
/* C:\Users\Ryan\Desktop\badapplescreen\converter\Java\..\..\th_b00001.h bitmap file for GLCD library */
/* Bitmap created from C:\Users\Ryan\Desktop\badapple\badapplesmall\th_b00001.bmp */
/* Date: 4 Dec 2010 */
#include <inttypes.h>
#include <avr/pgmspace.h>
#ifndef th_b00001_H
#define th_b00001_H
static uint8_t th_b00001[] PROGMEM = {
85, // width
64, // height
/* page 0 (lines 0-7) */
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,
/* page 1 (lines 8-15) */
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,
/* page 2 (lines 16-23) */
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,
/* page 3 (lines 24-31) */
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,
/* page 4 (lines 32-39) */
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,
/* page 5 (lines 40-47) */
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,
/* page 6 (lines 48-55) */
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,
/* page 7 (lines 56-63) */
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,
};
#endif
now if its possible to put more than 1 image in then it would take a lot less space up than 2 files
this is the video i want to produce on it
some one has done it with a matrix here