Close

July 16, 2017 - MUX here we come

A project log for The Cardboard Computer - IO is my name

My goal is a 4-bit CPU using recycled cardboard substrate and Diode Transistor Logic. This is an educational platform for me.

dr-cockroachDr. Cockroach 07/02/2017 at 07:368 Comments

The checkout of the MUX is completed and I am amazed that there are no wiring errors and it works like a champ. I can now start pushing 4 bit data around on the data buss :-)

______________________________________________________________________________________________________

This is the finished 4:1 MUX. Now to do a complete checkout...

Here is the current MUX circuit I am going with. This is for one bit but will expand as needed for four bits.

Currently building up the needed logic gates for the 4:1 MUX and here is a sneak peak of one of the four input NAND gates.

July 6, 2017 - Here is the layout of all 22 gates on their cardboard base. Two on left are the select gates and the four across the top are the outputs. Next is to hot glue them in place then start the wiring.

July 8, 2017 - The power and ground wiring is now in place.

July 10, 2017 - The first bit is wired and passed the selector test between four different inputs to the single output . The wiring looks a bit messy but that's the fun I have with this adventure :-)

Discussions

Starhawk wrote 07/08/2017 at 22:44 point

PLEASE tell me you're not using the same color wires for power and for ground... wire colors exist for a reason! Within the telephone industry -- the darker the color, the more positive the voltage... outside of that field, the lighter the color, the more positive the voltage. (The two systems evolved independently, and somehow telephone/telegraph systems wound up BACKWARDS from otherwise-normal.)

Generally -- red is positive, black is ground, everything in the rainbow in between is your signal colors. Reverse for landline telephone wiring (i.e. red is ground) and Ye Olde Telegraphy -- unless you want lots of sparks and broken things.

Sometimes you'll see brown/blue instead of red/black. Brown is positive, blue is ground. If there's a third (grey) wire, then it's higher-positive brown, lower-positive blue, and grey is ground. So, for example, a LaCie style dual-voltage power brick might be wired +12V brown, +5v blue, 0v (ground) grey.

Mind you, all of that is for *DC*. For split-phase AC i.e. what's in your wall -- white is neutral, black is line/hot, and green is your ground. In the case of 3-phase (such as your typical 240v dryer), the wires are black, red, and blue, with green still being ground. Sometimes the green comes with a little yellow stripe... doesn't matter.

...regardless, if your positive is eggshell, signals are beige, and your ground is off-white, (or, worse -- white, white, and white, in that order) that is NOT an approvable electrical color coding scheme! (For the non-artistic: those three color names are roughly synonymous, assuming one is judging with eyesight and not eg Photoshop.) While you don't have to worry too much about shocking yourself badly at say 5vDC, the way you do when (for example) hooking up a dryer, there are definite advantages (to say the least) to having actual colors of wire around. It's not done for the /decorative/ value, that's for dang sure!

  Are you sure? yes | no

Dr. Cockroach wrote 07/08/2017 at 23:19 point

Well said and quite true, however......... I am using whatever wire I can scrounge up for free or cheap. Using all one color is part of the fun when some one tries to figure what I am up to ;-)

  Are you sure? yes | no

Starhawk wrote 07/09/2017 at 01:01 point

...or part of the hair loss when you realize you've bloody well miswired it for the fifth ****ing time in a row ;)

I speak from bitter, bitter experience on that. Ask me sometime about the still-ongoing saga of the project I have to count pulses from a telephone dial using relays... it's had so many iterations, I've lost count. No, not feature creep or anything of the like -- rather, a distinctly Wile E. Coyote-esque inability to make a circuit perform properly when, in all rights, it should work just fine...

  Are you sure? yes | no

Dr. Cockroach wrote 07/09/2017 at 08:48 point

Oh for sure I have had wiring issues in the past but most with Ham Radio projects and working with RF circuits. So far with IO, I have only had wrong or bad transistors creep into the work so far. Photos don't show it but I do add little color dots to the logic gates and like IC's, they are pinned out the same each time so that helps out in my wiring :-)

  Are you sure? yes | no

Starhawk wrote 07/09/2017 at 15:57 point

http://i.imgur.com/rbzoI2z.jpg

...gaaah. Click the link.

  Are you sure? yes | no

Dr. Cockroach wrote 07/09/2017 at 18:53 point

I think that Wednesday was my fav in the movie :-D

  Are you sure? yes | no

Morning.Star wrote 07/07/2017 at 23:13 point

Not planning to take over the world with your army of robot bugs are you Field Marshall XD

You know what that reminds me of? When I learned of parametric motion...

https://youtu.be/AMI6c1cq7Oc

  Are you sure? yes | no

Dr. Cockroach wrote 07/08/2017 at 23:21 point

Muhahahaha, I am always thinking about that :-D    But these bugs need to stay in place. If they move around then the glue is not holding :-)

  Are you sure? yes | no