Chapter 12. Solderless Prototyping

Sandwich, the line-following robot, has a fairly simple circuit. Even so, at least 30 or 40 electrical connections need to be made. Consider what you have planned for your ultimate robot and you'll see that alligator clips are not going to be sufficient. In this chapter, you'll learn about a popular technology for experimenting.

Needing A Better Way

When designing a robot circuit, mistakes will be made. Also, most builders throw in some new items with each creation in an endeavor to advance their knowledge. These two factors necessitate some sort of test phase, which is called prototyping. This is the time to try things before committing to a final design.

For electronic circuits, something is needed to allow easy switching of parts and rearrangement of wires to encourage experimentation. The prototyping technology should be inexpensive, stable, and accept the same components as the final device.

All in all, a few alligator clips are acceptable for temporary connections to either batteries or measurement equipment. Beyond that, engineers look to more stable methods of making connections.

Solderless Breadboards

The solderless breadboard (see Figure 12-1) is a great prototyping solution. As the name implies, a solderless breadboard doesn't require any soldering. Wires and components are simply pushed into holes on the board to connect them together. No mess; no fuss. You can us the holes, wires, and components over and over again.

I always try out a new part or module design using a solderless breadboard. Although I often begin by thinking I'm fairly certain how a circuit is going to be built, a number of improvements are subsequently made because it's so easy to try variations on the breadboard.

Even after soldering together a final circuit, my original prototypes usually sit intact on their solderless breadboards. As long as I have spare parts (and spare breadboards), I retain the original for later experiments, debugging, or brainstorming.

840 tie-point solderless breadboard with base and three binding posts

Figure 12.1. 840 tie-point solderless breadboard with base and three binding posts

Connecting with Holes

Technically, the holes in a breadboard are called tie points. When a wire is pushed into a hole, it makes contact with a solid metal strip underneath (see Figure 12-2). When another wire is pushed into a hole on the same strip, the wires are connected. The metal strip acts as a connecting pipe that allows electricity to flow from one wire to the other.

Exposed view of metal strips underneath the holes

Figure 12.2. Exposed view of metal strips underneath the holes

The holes are spaced every tenth of an inch. Underneath, each hole has individual metal prongs to firmly grip the wires or components that are inserted. Ideally, the component wires should have diameters from 0.38 mm to 0.81 mm (0.015 inches to 0.032 inches). Smaller wires tend to slip out or connect intermittently. Larger wires tend to jam and damage the hole or metal prongs.

5-Position Group

Most of the holes on the breadboard are physically connected in groups of five. Any and all wires pushed into the five holes are electrically connected to each other (see Figure 12-3).

Two wires connected within a 5-position group

Figure 12.3. Two wires connected within a 5-position group

Put a wire in each of the five holes of the 5-position group and all five wires will then be connected. Or, put just a couple of wires in and they'll still be connected to each other, with a couple of empty holes remaining.

Adjacent groups are independent of each other. A wire in one 5-position group is not connected to a wire in an adjacent 5-position group (see Figure 12-4).

Two wires disconnected because they're in different 5-position groups

Figure 12.4. Two wires disconnected because they're in different 5-position groups

However, if you want to, you can connect 5-position groups together. Simply push each end of a single wire into a hole in each group (see Figure 12-5). This wire is now connecting together the two metal strips underneath. Anything connected to one strip is now also connected to the other.

Using both ends of a wire to connect groups together

Figure 12.5. Using both ends of a wire to connect groups together

Center Gap

There's a gap in the center of the board. A wire in one 5-position group is not connected to a wire in a 5-position group across the gap (see Figure 12-6).

Two wires disconnected because they're across the gap from each other

Figure 12.6. Two wires disconnected because they're across the gap from each other

The gap is designed for a DIP (Dual Inline Package), as demonstrated by Figure 12-7. DIP refers to the case style and size, not the manufacturer or the function of the part.

Center gap designed for DIPs

Figure 12.7. Center gap designed for DIPs

Place a DIP so that each pin connects to its own 5-position group. When properly placed, it just so happens that the middle of the part crosses over the gap. This makes it easy to insert a tool to pop out the part.

The part is in the wrong orientation if several DIP pins are left hanging in the gap (see Figure 12-8). Obviously, this makes it difficult to connect wires to the pins. Even worse, when placed in the wrong orientation, several DIP pins are connected to the same 5-position group.

Improperly placed DIP with pins in the gap

Figure 12.8. Improperly placed DIP with pins in the gap

25-Position Distribution Bus

At this point, you've probably got the board figured out. Everything is in groups of five. Well, what's the deal with the two leftover rows running the length of the top and bottom?

The two horizontal rows of holes at the top and bottom of the breadboard are called distribution buses (see Figure 12-9). Although they appear to be horizontal groups of five, they are actually connected underneath to a metal strip that is much longer, 25 holes.

Two wires connected on a distribution bus

Figure 12.9. Two wires connected on a distribution bus

It's named the bus because it's long with many points along the way, like a real bus line. Getting on at one end can take you halfway across town, or you can get off at points in between.

There's a good reason why there are two rows of distribution buses at both the top and bottom of the board: Many parts in the circuit need nearby access to power. You can connect one of the bus rows to the positive end of the battery and the other bus row to the negative end of the battery. Now all the parts have convenient power access.

Depending on the length of a breadboard, the buses may be disconnected in the middle of the board. If you want the buses to run the entire length of the board, just connect the middle of each row with wire (see Figure 12-10).

Extending buses by connecting with wire

Figure 12.10. Extending buses by connecting with wire

Binding Posts

The fancier breadboards have binding posts (see Figure 12-11). They are not absolutely necessary, but the posts do make it easy to quickly connect and disconnect a power source without wear and tear on a breadboard hole or fragile wire.

Three binding posts: Middle post has banana plug and wire

Figure 12.11. Three binding posts: Middle post has banana plug and wire

Plastic caps insulate the binding posts. The caps are usually different colors. For consistency, use red for positive power and black for negative.

The plastic caps twist up to expose a small hole in the metal post. You can insert a wire through the post hole and screw the cap back down to hold the wire in place. You can then push the other end of the wire into a hole in the breadboard.

Atop the post is a jack (connection hole) for a banana plug.

Banana Plugs

Banana plugs? You bet. Banana plugs kind of look like bananas on the ends, to the same extent that alligator clips look like alligators on the ends.

The nicer banana plugs include jacks in the middle and rear (see Figure 12-12) so that you can insert and connect additional banana plugs. A pair of insulated banana plugs connected by a wire is called a banana test lead.

Banana plug with a jack in the middle and the rear

Figure 12.12. Banana plug with a jack in the middle and the rear

Banana plugs are often found on test equipment, like meters and scopes, and also found on laboratory power supplies.

Hungry for Breadboards

Breadboards are available in a variety of sizes (see Figure 12-13). The boards are usually classified by the number of tie points (holes). I probably have half a dozen of the 840 tie-point boards, as well as a couple of smaller 270 tie-point and larger 3220 tie-point boards. The 840-size makes a fine starter board (see Table 12-1).

Solderless breadboards with 270, 840, and 3220 tie points

Figure 12.13. Solderless breadboards with 270, 840, and 3220 tie points

Table 12.1. Better-Quality Solderless Breadboards

Supplier

Part Number

Price

Tie Points

Binding Posts

Description

SparkFun

PRT-07916

$3.95

170

none

Colored : PRT-08800 to PRT-08803

Electronix Express

03SB02

$24.50

840

Three

3M Solderless Breadboard

Digi-Key

922309

$27.57

840

Three

3M ACE309 Solderless Breadboard

Jameco

20812

$33.95

3220

Four

Breadboard, Solderless

The "where to buy" lists that appear throughout this book serve as examples of the characteristics of parts you might want to consider. The lists usually aren't supposed to be exhaustive. However, the breadboard price list (see Table 12-1) is exclusive. I don't recommend buying any other boards than these, as some of the other boards I've tried have been unusable.

The metal strips in junky breadboards don't line up well with the holes (see Figure 12-14), causing parts to bend or resist as they are inserted or removed. A bad solderless breadboard makes the whole experience frustrating.

Poorly aligned tie-point prongs make holes almost unusable

Figure 12.14. Poorly aligned tie-point prongs make holes almost unusable

Tip

The holes in factory-fresh solderless breadboards tend to require a bit of exercising until they're conditioned. But after some use, the holes will hold firmly yet allow smooth insertion and release.

Solderless Breadboard Wire

Although solderless breadboards tolerate a range of wire diameters, the best is insulated solid #22 AWG (American wire gauge - a size standard, not a company) hook-up wire.

For solderless breadboards, use solid wire instead of stranded (see Figure 12-15). Stranded wire consists of numerous smaller wires twisted together. The individual wires tend to separate and bend when being inserted into breadboard holes.

Insulated #22 AWG wire: solid (upper) and stranded (lower)

Figure 12.15. Insulated #22 AWG wire: solid (upper) and stranded (lower)

Ordinary copper (reddish-brown color) wire or tinned copper (silvery color) wire are equally good choices for breadboards.

Use #22 AWG size wire. Smaller diameters are a little loose in the holes and the wire tends to bend when being pushed in. Larger diameter wire jams the holes, often permanently forcing open the prongs of the metal connection underneath.

Use insulated wire. The rubber-like coating prevents unintended connections between portions of wires that accidentally touch. Also, the insulating coating is available in a variety of colors, which helps distinguish individual wires from each other (see Figure 12-16). At the very least, purchase red for positive power, black for negative, and some other color for signals (see Table 12-2).

Spools of colored, insulated #22 AWG copper wire

Figure 12.16. Spools of colored, insulated #22 AWG copper wire

Table 12.2. Insulated #22 AWG Copper Hook-Up Wire

Supplier

Part Number

Price

Length

Color

Electronix Express

270022BK

$1.05

25 feet

Black

Electronix Express

270022RD

$1.05

25 feet

Red

Electronix Express

270022GN

$1.05

25 feet

Green

Electronix Express

270022BL

$1.05

25 feet

Blue

SparkFun

PRT-08022

$2.50

25 feet

Black

SparkFun

PRT-08023

$2.50

25 feet

Red

SparkFun

PRT-08024

$2.50

25 feet

Yellow

SparkFun

PRT-08025

$2.50

25 feet

Grey

SparkFun

PRT-08026

$2.50

25 feet

White

SparkFun

PRT-08027

$2.50

25 feet

Brown

Jameco

36792

$6.95

100 feet

Black

Jameco

36856

$6.95

100 feet

Red

Jameco

36822

$6.95

100 feet

Green

Jameco

36881

$6.95

100 feet

White

Jameco

36920

$6.95

100 feet

Yellow

Choosing Jumper Wire

Jumper wires (see Figure 12-17) of various types connect components and tie-point groups together on a solderless breadboard. It's called jumper wire because it jumps from point to point, or at least it allows electricity to do so.

Jumper wire: Reinforced (top), ready-made (middle), handmade (bottom)

Figure 12.17. Jumper wire: Reinforced (top), ready-made (middle), handmade (bottom)

Obtaining Reinforced Jumper Wire

Reinforced jumper wire has sturdy metal posts on both ends covered in a rubber insulator. The rigidity and size of the posts makes it very easy to insert and remove the wire from the holes. The height of the posts extends over the top of components. The length of the wire allows for greater reach.

Common lengths for reinforced jumper wire are 50 mm (millimeter), 100 mm, and 200 mm. The 100 mm length is the most practical, although the shorter and longer lengths come in handy every once in a while.

The rubber-covered posts are finger friendly. They fit snugly, yet no tools are needed to move them around. Definitely stock your prototyping lab with lots of reinforced jumper wire (see Table 12-3).

Table 12.3. Reinforced Jumper Wire

Supplier

Part Number

Price

Length

Description

Electronix Express

2700WK1

$9.50

3 ½ to 7 ½ inches

(30) black, yellow, red, white

Jameco

126360

$3.95

2 inches

(10) Two each of yellow, white, red, black, and blue

Jameco

126342

$5.95

4 inches

(10) Two each of yellow, white, red, black, and blue

Jameco

126325

$6.95

8 inches

(10) Two each of yellow, white, red, black, and blue

Obtaining Flat, Ready-Made Jumper Wire

Ready-made jumper wire kits contain a wide variety of jumper lengths (see Figure 12-18). The lengths are designed to reach across a specific number of holes, although in practice they always seem a little bit long or a little bit short. The insulation color indicates the length of the wire.

Pre-stripped, pre-formed jumper wire kit

Figure 12.18. Pre-stripped, pre-formed jumper wire kit

The wire is formed to fit flush against the breadboard, which makes for a neat appearance. The short height also permits access to components since the wire isn't crossing all over the place. The downside, however, is the wire can't cross over a component or another wire. A mix of the flat kit jumper wire (see Table 12-4) and tall-reinforced jumper wire is optimal.

Table 12.4. Flat Jumper Wire Kits

Supplier

Part Number

Price

Number of Jumpers

Electronix Express

2700MJW70

$4.50

140

Electronix Express

2700WJW60B

$9.50

350

Jameco

19290

$16.95

350

Digi-Key

923351

$32.14

350

Electronix Express has a nice combination package of 350 flat jumpers and 30 reinforced jumpers (various lengths) for $16.95, part # 2700RJW90.

Making Your Own Jumper Wire

You can make your own jumper wire. In doing so, you can get exactly the length you need with an insulation color that indicates the function (rather than the color indicating the length). However, it's not as convenient as the ready-made wire, and doesn't survive reuse as well as the reinforced jumpers.

Stripping the Insulation Off of the End of the Wire

To make your own jumper wire:

  1. Begin by stripping off about 7 mm of the insulation from the end of solid #22 AWG wire (see Figure 12-19).

Numbered-notch wire strippers removing insulation from #22 AWG solid wire

Figure 12.19. Numbered-notch wire strippers removing insulation from #22 AWG solid wire

Choosing Wire Strippers

A large variety of wire stripper tools exist. I prefer those with numbered notches (see Figure 12-19) for each wire diameter rather than the adjustable or automatic wire strippers (see Figure 12-20). The numbered notches are exact, so you needn't worry about cutting into and damaging the wire itself. Also, no adjustment wheels need to be dialed to match the wire diameter—simply slide the wire into the correct notch. Table 12-5 lists some suppliers of notched wire strippers.

Adjustable and automatic wire strippers

Figure 12.20. Adjustable and automatic wire strippers

Table 12.5. Wire Strippers

Supplier

Part Number

Price

Gauge Range

Description

SparkFun

TOL-08696

$4.95

20–30

Wire Strippers

Jameco

159291

$9.95

20–30

Wire Stripper Tool

Electronix Express

060245-125

$15.75

22–30

Professional Wire Stripper

Micro-Mark

14221

$17.85

22–30

Micro-Size Wire Stripper

Cutting the Wire to Length

  1. After stripping off one end of the insulation, cut the wire to the desired length. Don't forget to consider the amount of insulation you're going to strip from the other end of the wire.

Cutting the wire is faster if your stripping tool also has a cutter built in, as most do. If not, use flush wire cutters or nippy cutters.

  1. After cutting, strip off about 7 mm of insulation from the other end of wire.

Bending the End of the Wire

  1. You can bend the wire into the desired shape with your hands. However, holding the wire in the tip of needle-nosed pliers and bending against the flat edge can achieve nice square corners (see Figure 12-21).

Bending wire with the help of needle-nose pliers

Figure 12.21. Bending wire with the help of needle-nose pliers

This bending trick also works well on component wires, such as resistors. That's it. Your jumper is ready (see Figure 12-22).

Completed homemade flat jumper wire

Figure 12.22. Completed homemade flat jumper wire

Selecting Electrical Pliers

Besides wire strippers, a pair of needle-nose pliers is a tool you should not be without (see Figure 12-23). As with all tools, purchase the highest-quality tool you can afford. Fine tools are an investment that pays off every time you use them.

Look for smooth movement, clean edges, and grips that feel comfortable in your hands. Hold the pliers up to a light with the jaws closed. The light that seeps through the cracks between the jaws indicates places that aren't coming together completely. Check the tip for horizontal alignment.

Needle-nose pliers should be long and skinny. That's how they get their name.

A pair of needle-nose pliers

Figure 12.23. A pair of needle-nose pliers

Obtaining Smooth-Jaw Needle-Nose Pliers

Obtain a pair of smooth (non-serrated/no teeth) jaws for breadboarding, wire bending, and delicate work (see Table 12-6). Because non-serrated jaws are smooth (see Figure 12-24), they don't rip or cut into wire insulation and they can slide under components without damaging them.

Smooth jaws

Figure 12.24. Smooth jaws

Table 12.6. Smooth-Jaw Needle-Nose Pliers

Supplier

Part Number

Price

Description

Electronix Express

0602NNP1

$1.95

6-inch mini needle nose pliers

Electronix Express

0602NNP2

$2.50

7-inch mini needle nose pliers

Micro-Mark

82827

$20.95

5-inch long needle nose pliers

Smooth, long, slim, needle-nose pliers are good for removing flat jumper wire from a solderless breadboard (see Figure 12-25). This is especially valuable as the board fills up with wires and components that human fingers can no longer reach.

Removing a flat jumper wire with needle-nose pliers

Figure 12.25. Removing a flat jumper wire with needle-nose pliers

Obtaining Serrated-Jaw Long-Nose Pliers

Serrated (see Figure 12-26) long-nose pliers are better suited for more muscle-intensive work, where a sure grip of the item is important but scraping and scuffing of the item doesn't matter (see Table 12-7).

Serrated jaws

Figure 12.26. Serrated jaws

Table 12.7. Serrated-Jaw Pliers

Supplier

Part Number

Price

Description

Jameco

177608

$4.95

4.7 inch long nose pliers

SparkFun

TOL-08793

$1.95

4 inch long pliers

Making The Connection

With solderless breadboards, you've got a wonderful technology for designing circuits. In the coming chapters, not only will you recreate this power indicator circuit, but also you'll create and test the entire line-following robot circuit before soldering it together.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.51.88