Pages: [1] 2   Go Down
Author Topic: memory extensions ?  (Read 2205 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 2
Posts: 219
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am in the middle of writing a c# library for image recognition.
I know the arduino has to little memory to load an image from for example a small webcam 800x600 pixels.
So i wondered are there memory extensions for arduino, ... because with a little bit more ram, say 32Mb or 64Mb or so a whole new range of applications would becomme insight.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 615
Posts: 49388
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
because with a little bit more ram, say 32Mb or 64Mb or so a whole new range of applications would becomme insight.
Given that the Arduino has 1K, 2K, or 8K of SRAM, depending on model, adding 32M is hardly "a little bit more ram".

Quote
I am in the middle of writing a c# library for image recognition.
You don't really expect C# code to run on the Arduino, do you?
Logged

Offline Offline
Full Member
***
Karma: 2
Posts: 219
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No i dont put my c# code inside Arduino smiley)
But C# is easy to translate (although be it a bit more work..); i first do c# for faster development, later it might become c++
I understand its a lot for arduino perspective, but compared to my labtop its almost nothing (12Gig mem)
And wel 32MB isnt realy huge, for exampl a memory stick on my desk is 4GB and the other stick is 64GB...
But i can imagine that wouldnt be addressable with arduino so much, just 32B or so would allready be fine.
Logged

South England
Offline Offline
Full Member
***
Karma: 3
Posts: 205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

For all that messing around, why not just start with a more suitable platform for your project that already does what you need it to do?
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you have a Mega, then you can add up to 512KB directly into the memory map.

http://ruggedcircuits.com/html/quadram.html
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 615
Posts: 49388
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are SRAM extensions available for the Mega that allow using external SRAM just like the built in SRAM.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am in the middle of writing a c# library for image recognition.
I know the arduino has to little memory to load an image from for example a small webcam 800x600 pixels.
So i wondered are there memory extensions for arduino, ... because with a little bit more ram, say 32Mb or 64Mb or so a whole new range of applications would becomme insight.

If you're familiar with microcontrollers and can see projects that are pushing the boundary of the possible, it's tempting to try to move that boundary a little. But really, it seems to me that a microcontroller is not a suitable platform for the type of project you're describing; you would be better off starting with a microprocessor-based solution.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26332
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

One of the other downsides of image processing on eight bit architectures is that, unless your image is binarised, fetching pixels (bytes) one at a time is tedious.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 47
Posts: 2892
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Seems to me that the look-up table for that "extended" ram would exceed the native ram capacity.

Doc
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Offline Offline
Full Member
***
Karma: 2
Posts: 219
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

just a reply to all of them above.

Well a micro controller or anothers.. it doesnt matter as long they can read c++ it shouldnt matter, the Arduino isnt worse, its a pretty cool chip in my opinion.
Pictures might for some people be complex datastructures, but realy to me it not that complex, the math i put against it is more complex then reading an image, but still my code would be small.
A small BMP picture 640x 480 is about 1 Mb
A small bmp picture 800x600 is around 1.3 Mb
So maybe 32Mb is luxery (although it would allow for image storage, in for example a motion detector application)

The tiger person sugest SRAM module,  do you have some more info on that ?.
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The tiger person sugest SRAM module,  do you have some more info on that ?.

http://ruggedcircuits.com/html/quadram.html
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26332
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Pictures might for some people be complex datastructures
JPEG images are indeed complex datastructures, as are just about any compressed image format.
I really wouldn't want to wait around for an eight bitter to perform multiple IDCTs.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Full Member
***
Karma: 2
Posts: 219
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well i never talked about jpeg
Simple cheap camera's dont record in jpg they take snapshots or stream in RGB or other similar formats.
Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well i never talked about jpeg
Simple cheap camera's dont record in jpg they take snapshots or stream in RGB or other similar formats.


Maybe you want Netduino or some C# capable board?
Logged

My website: http://ried.cl

Offline Offline
Full Member
***
Karma: 2
Posts: 219
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i didnt new that netduino existed,
i was aware of another connection between visual studio and normal arduino (nice for the code completion, but some how for arduino i like its notepad editor)
I have used many editors, even when i had visual studio.
However also netduino lacks enough memory for this
Somehow thinking about it i find this strange.. USB stick prices are pretty low, memory isnt that expensive.

But maybe people are right here despite i like the arduino and its I/O possibilities, it just is to small.
Well i'm not that deeply into various micro controllers / processors any ideas for a 32 MB or more.. system that would be programmable like an arduino
(so one that includes a bootloader  usb connect or wireless etc)
As far as i know a rasberry pi has 256MB, but maybe there are others too,
I wished arduino had it but oh well something else might be better suited for it
I would like a board with lots of IO ports on it including analog/digital pins (not a strong point of the rasberry).
And preferably an active community around it like here. 
Logged

Pages: [1] 2   Go Up
Jump to: