Design Article

Comment


fshah

9/24/2011 9:01 AM EDT

Only reliable test is to connect the cell to 20A and common i.e., shorting the ...

More...



zeeglen

9/16/2011 3:41 PM EDT

That depends on the load. I once had a digital camera that would render 4 AA ...

More...

Building Robot Electronics—the Basics--Part I

Gordon McComb

9/13/2011 12:14 PM EDT

In this chapter you’ll discover the electronics that endow bots with the appearance of life. In this and future chapters you’ll find out ways to use modern (but still inexpensive) advances in electronics to create fully programmable robots able to truly think on their own. It’s an exciting endeavor, so let’s get started.

 

Tools for Electronics You Should Have

Compared to mechanical construction, you need relatively few tools to build the electronic centerpieces of your robots. You can always spend lots and lots of cash for all kinds of testing equipment and specialized electronic gear, but what follows are the basics that will get you started.

 

MULTIMETER

A multimeter, also called a volt-ohm meter, VOM, or multitester, is used to test voltage levels and the resistance of circuits—among other things. This moderately priced tool (See Figure 30-1) is the basic prerequisite for working with electronic circuits of any kind. If you don’t already own a multimeter, you should seriously consider buying one. The cost is minimal, considering its usefulness.

Figure 30-1. A digital multimeter checks resistance, voltage, and current. This model also performs simple checks of a number of common electronic components, including capacitors, diodes, and transistors.

 

There are many multimeters on the market today. A meter of intermediate features and quality is more than adequate. Meters are available at RadioShack and most online electronics outlets. Shop around and compare features and prices.

 

Digital or Analog

There are two general types of multimeters available today: digital and analog. The difference is not in the kinds of circuits they test, but in how they display the results. Digital multimeters, which are now the most common, use a numeric display not unlike a digital clock. Analog meters use the more old-fashioned—but still useful—mechanical movement with a needle that points to a set of graduated scales.

 

Automatic or Manual Ranging

Many multimeters require you to select the range before it can make an accurate measurement. For example, if you are measuring the voltage of a 9-volt battery, you set the range to the setting closest to, but above, 9 volts. With most meters it is the 20- or 50-volt range. Because you need to select the range, there are lots of options on the dial, but in reality these options are really just variations on a theme. The meter is easier to use than it looks.

Autoranging meters don’t require you to do this, so they are inherently quicker to use. When you want to measure voltage, for example, you set the meter to volts (either AC or DC) and take the reading. The meter displays the results in the read-out panel.

Note:  For the sake of completeness, the examples in this book that explain how to use a meter assume you have a manual (nonautomatic) ranging model. If yours has automatic ranging, then just skip the step that says to dial in the upper range of your expected measurement.

 

Accuracy

The accuracy of a meter is the minimum amount of error that can occur when taking a specific measurement. For example, the meter may be accurate to 2000 volts, plus or minus 1 percent. A 1 percent error at the kinds of voltages used in robots—typically, 5 to 12 volts DC—is only 0.1 volts. Not enough to quibble about.

 

Digital meters have another kind of accuracy: the number of digits in the display determines the maximum resolution of the measurements. Most digital meters have three and a half digits, so they can display a value as small as 0.001—the half digit is a “1” on the left side of the display.

 

Functions

Digital multimeters vary greatly in the number and type of functions they provide. These functions are selectable by rotating a dial on the front of the meter. At the very least, all standard multimeters let you measure AC and DC voltage, DC amperage, and resistance.

The maximum ratings of the meter when measuring volts, milliamps, and resistance also vary. For most applications, the following maximum ratings are more than adequate:

One very important exception to this is when you are testing the amount of current draw from motors. Many DC motors draw in excess of 200 milliamps.

 

Better multimeters have a separate DC amperage input that allows readings of up to 10 amps (sometimes as high as 20 amps). If you have the budget for it, I highly recommend that you get a meter with this feature. In most cases, it’s a separate input on the front of the meter and is clearly labeled, like that in Figure 30-2.

 

The high-amperage input may or may not be fuse-protected; if it is fuse-protected and you exceed the current rating for the input, a fuse will blow and you’ll have to get it replaced. On some inexpensive multimeters the inputs are not fused, and exceeding the maximum ratings could result in permanent damage to the device. So be careful!

 

Meter Supplies

Multimeters come with a pair of test leads, one black and one red. Each is equipped with a pointed metal probe. The quality of the test leads included with the multimeter is usually minimal, so you may want to purchase a separate set that’s better. The coiled kind is handy; the test leads stretch out to several feet, yet recoil to a manageable length when not in use.

 

Figure 30-2. For robotics work you’ll want a multimeter with a high amperage (10 amps or higher) input. You use this to easily test the current draw of motors, among other tasks

 

Standard point-tip leads are fine for most routine testing, but some measurements may require that you use a clip lead. These attach to the end of the regular test leads and have a spring-loaded clip on the end. You can clip the lead in place so your hands are free to do other things. The clips are insulated with plastic to prevent short circuits.

 

Using the Meter: The Basics

To use your multimeter, first set it next to whatever circuit you’re testing. Make sure it’s close enough so the test leads reach the circuit without any risk of pulling either the meter or the circuit into your lap. Then start with this:

1. Plug in the test leads; the black lead of your meter goes into the - or COM jack, and the red lead of your meter goes into the + or labeled function jack (the label may be something like VΩmA, which represents the kinds of tests you can do when the lead is inserted into that jack—in this case, voltage (V), resistance (Ω), and low-milliamp (mA) current testing.

2. Check for proper meter operation by doing a continuity test. This involves selecting one of the following operating modes. Depending on the features of your meter, choose Resistance (Ω), Diode check, or Continuity. If using Resistance and the meter is not autoranging, choose the lowest Ω setting.

 

Touch the metal tips of the test probe together. If the meter is functioning properly—the battery is good, the test leads are not broken—the results should be as shown here:





EREBUS

9/13/2011 7:26 PM EDT

Good intro into the basics.

Sign in to Reply



Robotics Developer

9/13/2011 9:06 PM EDT

I was hoping for something at the next level or better. An article with the title "Building Robot Electronics .." even with the basic qualifier that starts with a multimeter has got to cover an awful lot of ground before anything resembling a robot is started. I guess I would have expected starting at a higher level or starting with a kit as the basis for building robot electronics. Still a very good primer.

Sign in to Reply



prabhakar_deosthali

9/16/2011 2:03 AM EDT

I agree with robotic developer. Any hobbyist interested in building robot is expected to have done some other hobby electronics before venturing into something advanced as robotics. So starting with the explanation of multimeter looks to be too preliminary. What we should start with is some motion control basics because they are important to understand the building of robots

Sign in to Reply



cmathas

9/14/2011 10:01 AM EDT

Hi Robotics Developer,
When selecting the two chapters I was able to get to excerpt, my goal was to try to give you something a little different than the Build a Robot with your Kid series from several months ago. The chapters in this book tend to be very short and I was a bit concerned that as such they wouldn't be complete enough on their own to give sufficient information. The book, however, Robot Builder's Bonanza looks like a run read, moving from the art and science of robot building to construction, power, motors, and locomotion, hands on projects, robot electronics, microcontroller brains, and sensors, navigation, and feedback.

Unfortunately, using excerpts is meant to introduce a book to you rather than to be a start-to-finish delivery. I am at the mercy as to how authors see fit to arrange their material.

Having said all of that, it seems that these excerpts typically make it into the top ten favorites of the year.

Thanks for letting me know your thoughts. If you see a new book coming out, let me know and I'll try to get permission to reprint a chapter.

Carolyn

Sign in to Reply



fshah

9/15/2011 12:37 PM EDT

Buy a 3-3/4 digit (4000 count) true RMS multimeter that can additionally measure capacitance, inductance and frequency. Another useful feature to look for is recording max/min/average. It will be a good investment.

Sign in to Reply



agk

9/16/2011 6:52 AM EDT

Meter safe guard one important information to be added." IN THE CURRENT MEASURING POSITION BY MISTAKE CONNECT THE + AND - DIRECTLY THE FUSE OR THE METER BLOWS OUT"

Sign in to Reply



agk

9/16/2011 6:53 AM EDT

Meter safe guard one important information to be added." IN THE CURRENT MEASURING POSITION BY MISTAKE CONNECT THE + AND - OF THE BATTERY DIRECTLY THE FUSE OR THE METER BLOWS OUT"

Sign in to Reply



zeeglen

9/16/2011 10:16 AM EDT

True, the article went into great detail for voltage and resistance measurement but skimped on the series with load connection required for current measurement. In my childhood I blew up a perfectly good Triplett VOM to learn this.

Other items worth mention are to turn off all power (unplug) and then manually discharge capacitors through a bleeder when doing in-circuit resistance measurement. The capacitors may not fully discharge when their voltage drops below that needed to maintain junction bias, and can still mess up a resistance measurement. At the same time a resistance measurement may take several seconds to complete if a large capacitor in the circuit must first charge from the meter's test voltage/current.

Resistance autoranging can repeatedly oscillate between 2 ranges if the resistance under test varies with applied test voltage, such as semiconductor junctions in the circuit under test.

Analog meters have 2 adjustments - a mechanical pointer zero adjust for voltage and current scales, and an electronic zero adjust for resistance scales.

Sign in to Reply



Dave620

9/16/2011 1:58 PM EDT

Testing batteries. Is there a rule of thumb as to how far the (noload) battery voltage can decrease to consider the battery dead ? I guess another way to look at it would be to measure the noload voltage and a known load voltage to calculate the internal resistance of the cell. Then how large can the internal resistance get before the cell is dead ? A rule of thumb would be much easier !

Sign in to Reply



zeeglen

9/16/2011 3:41 PM EDT

That depends on the load. I once had a digital camera that would render 4 AA cells useless in 10 minutes. The same cells would then power my portable CD player for several weeks.

Then came progress. My current digital camera eats only 2 AA cells every 10 minutes.

Sign in to Reply



fshah

9/24/2011 9:01 AM EDT

Only reliable test is to connect the cell to 20A and common i.e., shorting the cell by ammeter. The short circuit current is a reliable measure of battery charge. Off course you must know the short circuit current of the healthy battery. These numbers are usually documented but one can create your own data by testing fresh cells. This is usually fun, because you can easily check quality of different cells.

Sign in to Reply



Please sign in to post comment

Navigate to related information

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)