i want to make a computer with my arduino uno clone
Ok, so what are your questions?
Please describe your computer in more details!
Which Uno, the R3, R4 or Q?
OP is clearly mentioning uno clone; so, it should be UNO R3 as UNO Q has no clone so far.
I think that if someone wants to build a computer, then he/she should begin by using one of the old workhorse ICs like 6502, 8080, 8086, Z80, or one of the others. The Arduino has at its core a computer that is surrounded by timers, memory, ADC, I/O ports, etc. The actual address and data busses are hidden from us by these. Building a real computer and learning from that experience are the valuable lessons, instead of the workaround methods needed to use the I/O ports instead of the actual busses.
Then OP may use MEGA 2650 where address. data, and control buses are available to access external memory.
@eanjmat
1.
Your Computer must have the capability of taking command and data from Keyboard and show the result on display unit. So, you can start with:
(1) Arduino MEGA NOT UNO R3 as it cannot access external memory.
(2) 4x20 LCD Unit
(3) 4x4 Keypad
2.
Connect MEGA, Keypad, and LCD togeter and check their functionalities by uploading smal sketch.
3.
Now develop the Monitor Program aka Operating System.
4. Procedures to write Monitor Program.
... in progress
An Arduino is a computer.
You will need to use the Arduino command language to "make" your computer.
https://docs.arduino.cc/language-reference/
I imagine your idea will be like making another arduino library so the Arduino can interpret your input mnemonics.
https://docs.arduino.cc/learn/contributions/arduino-creating-library-guide/
Here is my computer made from Atmega2560 and some other circuits. It features 50x60 character screen, PS/2 keyboard, SD card for data and programs and some more
Here is my current system for it, including Snake game
Here are two such computers vertically stacked, showing little older version of Snake
UNO have 2kB RAM, this uses 3kB RAM just for screen.
(Yes, it can work without the added 2 RAMs as well, but I need them for other reasons. The Snake is uploaded at runtime from the SD card.)
Hi, @eanjmat
Welcome to the forum.
Can you please tell us your electronics, programming, arduino, hardware experience?
What do you want your computer to do?
Thanks.. Tom....
![]()
I doubt the discussion about what a computer is is quite relevant to OP hence I have moved a number of replies to a dedicated topic (Is an Arduino a computer?).
@eanjmat can follow the discussion (and participate in it) there if they are interested.
Yes, you can:
Nano - AVR - atmega328P (for UNO just add more wires)
VGA display on std connector, PS/2 Keyboard on std connector, ROMFLASH-based Monitor Program FORTH interactive and extensible shell.
Sources here:
For extending RAM:
(see Shared RAM part)
If you're still around, what is your idea of a computer? What do you expect to be able to do with such a computer? Once we know that we can progress on toward seeing if we can make an UNO do that.
Hi, @eanjmat
Welcome to the forum.
Can you please tell us your electronics, programming, arduino, hardware experience?
What do you want your computer to do?
Thanks.. Tom....
![]()
For eanjmat,
one of solutions to : How to make a computer with only an Arduino Uno
(yes, it should be here and not in the splited thread)
UNO R3 is atmega328P, the same as is the original Nano, so the following could be done with just more wires added.
With Nano I was able to read PS/2 keyboard, generate VGA 40x25 text screen and while there was no SD card, programs could be inserted by Keyboard or over Serial connection in the same way as on my current ATMEGA2560 based computer, just more restricted by small RAM capacity.
Here is Nano (atmega328p) on breadboard, with VGA monitor and PS/2 Keyboard attached, running FORTH. On screen is diss-FORTH-ed (~disassembled~) word ascii which was defined from PS/2 keayboard sooner as
: ascii 0 BEGIN DUP EMIT 1 + DUP $100 - ==0 UNTIL DROP ;
and then is the word ascii executed, resulting in showing all characters
Here is the project:


