I am working on a project where the arduino executes a program, it will take a photo, store it and then maybe a minute later send it over bluetooth to a phone. I have read quite a bit in the forums where it seems that arduino is not the best choice here. I have thought about a raspberry pi but if at all possible i would like to use the arduino. I would use a low res photo like a QCIF but even then i understand that the boards don't have enough memory to store the photo. I have seen sd card reader shield on the web, could one use these? Has anyone got any suggestions?
Thank you for the suggestions. I am assuming then that i forget bluetooth for the photo transfer and do it over the wifi sd card which would create its own wifi network. I could then still use the bluetooth to execute the program in the first place.
Not too sure if i understand. Going back to your link it looks feasible, i'm not sure if i need the data logger as i could just use a SD card shield. I guess here the wifi sd card would transfer the image straight away instead of me relying on bluetooth. Is this correct? Or did you mean using a wifi shield....
Although just checking out the wi-fi sd cards they are rather expensive and i don't think they will fit in my project budget.
Talking about transferring images without talking about reconstructing them is somewhat pointless isn't it?
What file format are you going to store it in ? How are you going to read that file format ? What about the same questions regarding the transfer from arduino to iphone. Are you an iphone app developer ? (or are we talking about ANDROID phone ?)
Well i was planning on using an iPhone as that is all i have but it looks like it makes think trickier, i will look into using a mac or laptop instead. Well i thought the image would save directly onto the SD card and then the arduino would send each pixel value going along the rows to the phone/laptop. From here i would have to reconstruct it but i would know the pixel value and location so it shouldn't be too bad. I think the main bit is getting the image off the arduino.
I found this which seems to be what i am looking for, although it isn't entirely clear what it happening...
Well i thought the image would save directly onto the SD card
Only if you write code to do it.
then the arduino would send each pixel value going along the rows to the phone/laptop.
No those cameras do not send images in pixel format, they output a jpeg file. This is encoded and there is nothing an arduino can do to turn them into pixels. You need to transfer the bytes saved just like transferring any other file.
Ah ok i didn't realise hat they output jpeg and not the pixel values. Would finding a camera which outputs the pixel values be easier?
It did look like it is what i wanted but it wasn't very clear.... i'll go over it again and see if i can understand it better.
Going forward with the jpeg method, as long as i kept the file reasonably small i would be happy with a transfer time of up to 1.5/2 minutes.
This link seems to show how to do the processing side i.e. changing the bytes i receive to processing it into a jpeg on the computer side. I have followed a few tutorials which show how to transfer a file over bluetooth from sd card/arduino to computer, it's the processing is which isn't covered much.
Hello, this is my first arduino project: sending a file (jpeg, pdf, txt) from an arduino sd card module to android phone using arduino uno and bluetooth module HC-05
have you any suggestion about the android app to receive the file ?
thank you
you can retrieve data by yourself. There are programs to do that. For example My Device Manager
I used it few times.it's free and it works as good as can be expected. The main thing is to stop using the external hard disk until you use this tool, and avoid writing any files to it.