-
Finished Schematic, PCBs Incoming!
02/03/2018 at 05:11 • 0 commentsI recently spent a bit of time drawing up a proper schematic for MENTAL-1. I've had revised schematics laying around on sheets of paper for a while, but nothing official. However, I wanted to make a PCB implementation of MENTAL-1, so I fired up Altium and drew it up. You can find the hi-res schematic PDF here.
I've had this on a few sheets of paper for a while, but it's nice to have made a proper schematic. I'm still learning when it comes to PCB design, but I think this one will turn out quite well. Since I've got a lot of room and I'm working with the larger DIP chips, It wasn't had to fit this on a two-layer board. All hand-routed, for extra fun. For now, I'll be referring to this implementation as MENTAL-1P. It's a slightly modified design from MENTAL-1, but I'm not sure if it warrants a version number bump. I'll be posting updates here when I get and test the boards from Seeed.
-
Updates: Status, Maker Faires, and the Future
01/23/2018 at 08:34 • 0 commentsThe past few months have been slow for MENTAL-1, but a few important milestones happened. Most importantly, I'm officially calling it finished. The MENTAL line of processors is most definitely not, but MENTAL-1 is. It's able to achieve stable operation at 3MHz, has working peripherals that were designed for it (the PS/2 keyboard input and the 40x2 character display output), and most importantly has a slick laser-cut case. I've included the most recent video I have of it in operation - it's one I created for showing the computer to a few different Reddit communities.
One of the best things to come from this project was being able to use it as a tool to teach others about building their own CPUs. At the Seattle Mini Maker Faire, I had a blast introducing the ideas behind how computer chips are made, how digital logic works, and how creating a large hand-wired project like this can be tedious but incredibly rewarding.
Demonstrating digital logic. I had a breadboard hooked up with a NAND gate, NOR gate, and NOT gate. Visitors could toggle switches to see how that makes the outputs change. The CPU was running the simple "cat" program I had written, and visitors were able to stop by and type out any message they wanted. The new case on it helped keep my mind at ease when the younger crowd stopped by and wanted to get hands-on.
My CPU had a bug during a few demonstrations. I was able to attend the Wenatchee Mini Maker Faire as well, which was much more relaxed but still a great time. It was a bit after the one in Seattle, so I had time to polish my presentation a bit.
Rocks, the elements extracted from them, and silicon wafers (which are made of those elements) are on the right side of the table. It's been a blast sharing this with local communities.
So, what's the plan now? MENTAL-1 is finished. I've started work on MENTAL-2, which is fairly messy but much more compact. I'm currently working on an FPGA implementation as well.
I'll post proper schematics, the source code for my "cat" program, and my notes here in the coming months.
-
Keyboard input!
06/26/2017 at 23:04 • 0 commentsI developed a simple interface for a PS/2 keyboard and wrote a "cat" program to echo out input! The source code can be found here, and the video is below.
-
Hello, world!
05/11/2017 at 02:01 • 0 commentsIt works! There's still a lot of cleanup left, but it seems to be running correctly. This test program exercises every instruction. The vertically-oriented breadboard is unnecessary for the CPU to function, it's just a breadboard for I/O.
-
Quick Update: Fixed Clock Design
05/05/2017 at 01:18 • 0 commentsNo update photos yet, but I had to make a few modifications to the clock design, as the earlier version had a race condition. I've had difficulties making it possible to change direction while incrementing the 74HC193 without glitching, so I split the clock into one that's consumed by the Instruction Pointer (IP), and another that's consumed by the rest of the logic. I'll go into more detail in the next update, which should come in tonight or tomorrow.
-
It lives!
05/01/2017 at 18:54 • 0 commentsThis project has been revived! I've been working on it over the past weeks and have everything laid out on breadboards. Still needs wiring, but it's coming along well!