The Build – 8 Bit Spaghetti http://8-bitspaghetti.com Thu, 28 Mar 2013 07:58:20 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.8 Test Time http://8-bitspaghetti.com/2012/04/test-time/ http://8-bitspaghetti.com/2012/04/test-time/#comments Thu, 26 Apr 2012 04:23:15 +0000 http://8-bitspaghetti.com/?p=106 I just finished wiring up the NVRAM chips to the computer. They are being addressed by a 8-bit program counter separate from the computer’s control counter. The control matrix changes its control word on the falling edge of the clock pulse. This allows the control to set up the 16-bit word, needed to tell which [...]]]> I just finished wiring up the NVRAM chips to the computer. They are being addressed by a 8-bit program counter separate from the computer’s control counter. The control matrix changes its control word on the falling edge of the clock pulse. This allows the control to set up the 16-bit word, needed to tell which registers or operations are to be active, for the rising clock pulse.

There are a few problems, however, that have made this a bit more difficult than it should be. Since the NVRAM chips I am using are CMOS driven, the TTL chips do not always provide the correct voltage to address the NVRAM chips correctly. Inversely, the NVRAM chips also have the tenancy to output incompatible voltages in regards to TTL. To remedy this I am using the last of my 8-bit three state buffers to convert the input and output of the chips to higher voltages. After I get the NVRAM chips functioning correctly, I only have to add the input and write/run logic as well as the output and the computer is finished (circuit-wise). I will be designing a steampunk-themed case for the enclosure. The case will be the final step before this project is complete.

And Let the Testing Begin.

]]>
http://8-bitspaghetti.com/2012/04/test-time/feed/ 13
The Display http://8-bitspaghetti.com/2012/04/display/ http://8-bitspaghetti.com/2012/04/display/#comments Thu, 19 Apr 2012 07:41:18 +0000 http://8-bitspaghetti.com/?p=68 For the display I wanted something more interesting than a simple binary readout. I decided to go with the retro look and use some IV-9 russian Numitron tubes that can be conveniently driven by 5V with 20mA of current, the perfect amount to use a 4511 7-segment decoder. The only problem in the way of [...]]]> For the display I wanted something more interesting than a simple binary readout. I decided to go with the retro look and use some IV-9 russian Numitron tubes that can be conveniently driven by 5V with 20mA of current, the perfect amount to use a 4511 7-segment decoder. The only problem in the way of a steampunk output for my computer was converting the base-16 output of my computer into 3 digits of base-10 binary coded decimals.

Binary coded decimals are exactly what they sound like. The BCD system uses binary values 0-9 to express the base-10 digits that we use every day. For instance, the binary number 132 (10000100) would be 0001-0011-0010 expressed in binary coded decimal. To convert binary to BCD you can either design an incredibly complicated logic circuit to preform the operation, use a read-only memory (ROM) to output the correct values or use the method I chose of using an Arduino to do the conversion.

My friend and I created an Arduino sketch that takes an 8-bit input (0-255) and outputs 3 BCD digits. The output goes to a 3-digit Numitron readout board that I spent a good amount of time on.

3 Digit Numitron Readout


]]>
http://8-bitspaghetti.com/2012/04/display/feed/ 17
First Parts http://8-bitspaghetti.com/2012/04/fist-parts/ http://8-bitspaghetti.com/2012/04/fist-parts/#comments Thu, 19 Apr 2012 07:15:16 +0000 http://8-bitspaghetti.com/?p=61 The first parts that I purchased for my computer included two breadboards and the logic chips to build a simple Arithmetic Logic Unit that could preform addition and subtraction on 4 bits. Initially I was going to build a 4 bit computer, but I later decided that having a computer that could only operate with [...]]]> The first parts that I purchased for my computer included two breadboards and the logic chips to build a simple Arithmetic Logic Unit that could preform addition and subtraction on 4 bits. Initially I was going to build a 4 bit computer, but I later decided that having a computer that could only operate with integers from 0 to 15 would be rather boring. I learned something very important with my first purchase: NTE chips are not meant for projects. NTE chips are fairly common if you are searching for cheap parts, and the reason behind that is that they are replacements for the real thing. I constructed my 4 bit full-adder and only got accurate output %20 of the time. The rest of the time the output remained erroneous.

The First Parts

My dysfunctional ALU

]]>
http://8-bitspaghetti.com/2012/04/fist-parts/feed/ 9