@eanjmat
You can certainly make a computer with an Arduino UNO but programing it in the traditional sense of entering a program from a keyboard or loading one from a storage device will be limited because it has a limited amount of RAM.
Are you interested in making a computer like @gilhad describes in post #23?
I think a computer that has the builtin capability to run an interpreted language rather than a compiled one might be the easiest to build.
I always steal one malted milk ball while I'm filling the ziplock bags from the other bulk food dispensers. ![]()
Another thing that limits an UNO's ability to operate as a general purpose computer is its Harvard architecture, i.e. not being able to execute instructions directly from its internal RAM.
How does that limit its ability ?
Maybe limit was too weak a term. It prevents running programs directly from RAM and therefore one is limited to inputing programs to RAM which are "interpreted" by a fixed program residing in the UNO's program storage area.
If the UNO R3 had a larger RAM capable of accommodating, say, a 4 KB user program, the loading time would be approximately 4 × 1024 × 125 ns = 512 μs.
On the other hand, storing the same 4 KB program in Flash memory would require approximately 4 × 1024 × 4 ms = 16.4 s.
This is one of the reasons why am I asking for external RAM, ..., RAM for UNO R3?
We have to expand considerably our notion of a "computer" to include one that has another system attached that can take input from a keyboard or mass storage device, turn that input into executable code, erase the code storage portion of the UNO, and reprogram the new code. In that case, the UNO is not very limited.
But the program does not need to be in RAM, nor does it need to to interpreted. I can load a program to my Uno 3 and have it run quite happily without it being stored in RAM or being interpreted
And many systems in the past did just that! Thinking of UCSD Pascal.
Yes, but not through interacting simply with the UNO. You can't type a program directly into an UNO and expect anything to happen.
Correct. There are/were many examples of interpreted computer languages, only limited by the amount of RAM or the ability to page in code from mass storage.
The fact that a program might take an age to upload to flash that does not prevent the Uno 3 being used as a computer.
It may be slow and have limited memory of any kind but it is still capable of executing an user defined program and interacting with the user.
I note that you seem to have changed your previous position, ie that a computer must have RAM in which to store its programs. Now you are saying that it would be better if it had RAM and even better if it had more RAM.
Who says you need to do that ?
How many average computer users ever do that ?
I don't expect the average computer user to use an UNO as a computer at all. The average computer user does expect its programs to run out of RAM though even if they don't know it.
By such criteria any old 8bit computer (like ZX Spectrum, BBC Micro etc. etc. ) with casette/tape recorder would be disqualified ![]()
Nor do they care
If @eanjmat ever tells us what they want from their Uno computer then we may even be able to help. However I suspect that we many never see them again
I suspect that's true.
They will certainly get a big surprise if they log on and read the topic