Gotchas!

I wanted to quickly write on a couple things I’ve noticed in class that have tripped people up:

  1. This stuff is small! Parts are genuinely, physically hard to see.
  2. It's strange! Even when we can see what's in front of us, it's unfamiliar.
  3. Its instructions are unclear! Hmph!

Let's see what we can do...

1. Small stuff

phone as magnifier

2. Strange stuff

The two big unfamiliarities I see are for the breadboard and then the IC chips.

Recall that under the hood of your breadboard are rows and columns of conducting metal that grip and connect anything that's plugged into them. Crucially, anywhere there's a gap in the metal there won't be a connection!

breadboard

As for IC chips, with the its notch/dot pointed left and its text facing you to read, its pins are ordered counter-clockwise starting at the lower left. This is how they'll be on your breadboard.

DIP chip

It's common to see chips drawn in portrait mode with the notch at the top too. It's just a rotated view — pin order is identical.

Different chips will have different pin counts but will thankfully all follow the same pin ordering convention.

3. Unclear stuff

Perhaps counterintuitively, the best remedy for unclear instructions is to make them shorter and more technical.

Here are three not-incorrect instructions on how to light an LED:

  1. Connect a nine volt battery snap to a new or freshly charged nine volt battery. Connect one side of a green gator wire cable thing to the exposed metal end of the battery snap's black wire and a different but also green gator to the other wire, the red one, the metal part. Find a resistor with bands colored orange orange brown and connect one leg to the other end of the second green gator and the other leg of the resistor to a yellow gator clip. Notice how the LED has a long leg and a short leg? Clip the other end of the yellow gator to its short leg Finally, the longer leg of the LED connects to remaining clip on the first yellow gator.
  2. lighting an LED
  3. LED schematic

Which do you prefer? Why?

(That was all a lead-in for this week's lesson on schematics. You got that, right?)


Other Debugging Tips

rubber duck

Exercise: Permutate the NAND

I used to do this in class but we ran out of time. (It's also not super exciting so oh well whataryagonnado.) Still, it's a good, simple exercise to see how a CD4093 NAND functions and get practice connecting jumper wires around. When all else fails and nothing seems to work, build this.

  1. Power CD4093: pin 14 to +, pin 7 to -
  2. Default inputs: pin 1 to -, pin 2 to -
  3. Show output: pin 3 to 330 resistor to LED (positive/long leg) to -

permutate the NAND

Finish the truth table by alternating pins 1 and 2 on the + and - power rails. If the LED lights, the output is +; if not, it's -.

Pin 1
Input A
Pin 2
Input B
Pin 3
Output
- -
- +
+ -
+ +

Did it work as you expect?

Answers: +, +, +, -