post picture to twitter via arduino

Hello, i want to make a proyect, and one of the things i want it to have, is that upon the activation of a sensor(motion detector sensor), a picture is taken automatically using a camera like the MT9D111 (2mp,http://www.techmake.com/products/sensors/colorlightandvisionsensors/sen-00032.html), saved on the SDcard in the wifi shield and then uploaded to twitter through the wifi shield.
I think this can be done, however, i´m unsure with what arduino it can be done, and how much time would it take it from the time the picture is taken to its transfer to the SDcard and then to Twitter and then repeat the process again because of the limited memory capacity of an arduino. So, what would you recommend me to do? Can it be done in an arduino uno? A mega? Or is it just too heavy on the memory for an arduino like those to handle and i would need something more powerful?

thanks :slight_smile:

and how much time would it take it from the time the picture is taken to its transfer to the SDcard

Click your link. Read how many bytes per picture. Divide by 512 to determine the number of writes to the SD card.

Measure how long a write takes. flush() forces the dump of the buffer to the card, even if the buffer isn't full. A nearly full or nearly empty buffer makes almost no difference

A little multiplication and division, and you can determine the answer yourself.

and then uploaded to twitter through the wifi shield.

You'll need to measure that yourself. There is no hard and fast answer. It depends on your network. But, it will not be fast.

I think this can be done

So do a lot of other people. The number that can actually make it happen is a small fraction of those that think it is possible.