Minimal UART Computer

[Carsten] spent over a year developing a small CPU system, implementing his own minimalist instruction set entirely in TTL logic. The system uses a serial terminal interface for all I/O, hence the term UART in the title. [Carsten] began building this computer on multiple breadboards, which quickly got out of hand.

He moved the design over to a PCB, but he was still restless. This latest revision replaces EEPROM with cheaper and easier to use CMOS Flash chips, and the OS gains a small file system manager. As he says in the video, his enemy is feature creep.

Tetris on the UART Computer

In addition to designing this CPU project, [Carsten] built an assembler and wrote a substantial operating system and various demo programs and games. He not only learned KiCAD to make this board, but also taught himself to use an auto-router. The KiCAD design, Gerbers, and BOM are all provided in his repository above. ROM images and source code are provided, as well as a Windows cross-assembler. But wait – there’s more. He also wrote a cycle exact emulator of the CPU, which, as he rightfully brags, comes in at under 250 lines of C++ code. This whole project is an amazing undertaking and represents a lot of good work. We hope he will eventually release the assembler project as well, in case others want to take on the challenge of building it to run under Linux or MacOS. Despite this, the documentation of the Minimal UART Computer is excellent.

[Carsten] claims the project has finally passed the finish line of his design requirements, but we wonder, will he really stop here? Do check out his YouTube channel for further informative videos. And thanks to [Bruce] for sending in the tip.

Continue reading “Minimal UART Computer”

A Z80 Computer With Switches And Blinkenlights

While most people who build their own computer from chips want the finished product to do something useful, there’s something to be said about a huge bank of switches and a bunch of blinkenlights. They’re incredibly simple – most of the time, you don’t even need RAM – and have a great classic look about them.

[Jim] wanted to build one of these computers and wound up creating a minimal system with switches and blinkenlights. It’s based on the Z80 CPU, has only 256 bytes of RAM, and not much else. Apart from a few extra chips to output data and address lines to LEDs and a few more to read switches, there are only two major chips in this computer.

With the circuit complete, [Jim] laser cut a small enclosure big enough to house his stripboard PCB, the switches and LEDs, and a few buttons to write to an address, perform a soft reset, and cycle the clock. One of the most practical additions to this switch/blinkenlight setup is a hand crank. There’s no crystal inside this computer, and all clock cycles are done manually. Instead of pushing a button hundreds of times to calculate something. [Jim] added a small hand crank that cycles the clock once per revolution. Crazy, but strangely practical.

[Jim] made a demo video of his computer in action, demonstrating how it’s able to calculate the greatest common divisor of two numbers. You can check that video out below.

Continue reading “A Z80 Computer With Switches And Blinkenlights”