Get free access to our online edition!

Tech Forum

Post your technical question here and give thousands of Nuts & Volts readers a chance to help. Multiple answers to each question are allowed. Interesting content submitted here may also appear in the pages of Nuts & Volts magazine. If you wish to include a photo or diagram, send as an email attachment to

This forum is intended to promote the exchange of ideas between Nuts & Volts readers for assistance in solving technical problems. We do NOT check the accuracy or suitability of any submitted answer, and the implementation of any information found here may require some level of technical experience, and is always at your own risk. Always use common sense and good judgment!

Note About Submissions
When submitting a question or answer to the Tech Forum, it will not immediately appear here on the site. Content is first reviewed for publication in Nuts & Volts magazine and subject to minor editing before being posted.

Logging In
Posting in the Tech Forum requires you to create an account. (It helps keep the spammers out) This is NOT the same as your subscriber services account. Just click the "Create an Account" button below. You can use the same credentials as your subscriber services account, if you like, or not.

Recent Questions

May 2017

Looking For HV Field Analyzer

I am building a mid-size Tesla coil. I want to study the frequencies produced and map the EM field potentials produced by my coil. Considering the high voltages and frequencies involved, typical RF measuring gear will not work. Does anyone have suggestions or links to help me build the device I need to do my experments?

Ron Sndric
via email

FCC Search

Has anyone had any success using the FCC ID search feature? I’ve searched about 15 ID numbers and have yet to get any useful info!

Stuart Hughes
Griffin, GA


I do mainly audio work and have been told by a few old timers that analog VOMs are the only way to go for testing and tuning gear. Problem is, I can get a new DMM for $20 on Amazon vs. an ancient Triplet or Simpson analog VOM on eBay for up to ten times that. My question is: Is it worth it? Would I be better off with a modern Fluke meter with true RMS reading?

Providence, RI

Do Good Kits Come From China?

I’ve seen extensive electronics kits based on the Arduino and other processors on Amazon for essentially the cost of a bare Arduino. Are these kits — presumably made in China — any good, or is it a “You get what you pay for” type situation?

Christopher Neville
Richmond, VA

April 2017

Ni-Metal Hydride Battery Chargers

Now that Ni-Cad batteries are becoming an endangered species, is there any way to convert their chargers to work on the newer and ecologically sounder Ni-Metal Hydride batteries? I read that the Ni-Metal batteries have very different charging requirements rather than the constant current chargers for Ni-Cads. I have several bench chargers, not to mention a multitude of “wall warts” that I would like to modify.

Michael Herman
La Quinta, CA

POTS Ring Generator

I need a circuit to generate 20 Hz 90 VAC to ring a POTS telephone on a theater stage. That’s Plain Old Telephone System vs. Pretty Advanced New Stuff (PANS) for the younger readers. If I could locate an old crank ring generator, it would work but would not be as convenient.

Dale Carlsen
Woodbridge, VA

Warm Cows Are Happy Cows

My daughter is in 4H and has a calf we are raising in a shed behind the house. Recently, the bulb burned out on the heat lamp we leave on to keep the cow warm. Is there a simple circuit I could use to remotely monitor the temperature and alert me if it drops below a set point? I know there are remote temperature gauges but I need one with an alert or a way to hack one to add an alert. Any ideas welcome.

Robert Lowery
Florence, SD

March 2017

Getting Started With High Voltage

I would like to experiment with high voltage projects, but all my experience in building power supplies is for low voltage (typically 5 or 12 volts). I’d love a schematic for a high voltage power supply that could produce between 0 and 250 volts safely. Also, any safety pointers for getting started would be appreciated.

Ed Warren
Everett, WA


You want to be extremely cautious experimenting with high voltages as they are lethal and can be fatal. Rather than trying to construct a high voltage supply, which could be dangerous, you might consider a variable transformer such as the Volteq #1KVA_110V/250V (, which costs about $70. This transformer plugs into a standard 120 VAC outlet and provides an adjustable output from 0 to 250 VAC, and provides isolation from the AC power grid. If you want DC voltage, you can construct a simple bridge rectifier circuit. However, there are many more interesting projects that use 5 - 12 volts, and I suggest you pursue some of them instead.

Bob Stewart
Mancos, CO

You didn’t indicate how much current you are expecting from the supply? Searching the internet I found the referenced schematic for a 300 VDC variable voltage supply that will deliver up to 100 ma. Circuit is for 220 VAC mains but we can substitute a step up transformer for operating with a 120 VAC mains. I have attached a parts list reference from Digikey that should do the trick. Due to the high voltage involved, you should put the components inside an enclosure, such as a Bud Industries box and bring the output up to a couple of banana type jacks or terminal block. You can also mount the pot on the outside of box and add a knob to it. Transformer is the most expensive component and can be sourced from other suppliers if you need to reduce costs. Hope this helps!

Parts List:

Doug Foreman
Warren, MI

Reliable Voltage Source

I am designing a battery powered circuit that requires a very reliable voltage source. I was considering using a zener diode in series with a resistor across the power source and then tapping it at the diode/resistor for the power point, but it seems this would be very wasteful for the battery. Would I be better off with a linear regulator like an LM317 and if so, would it create as accurate a voltage?

Gilbert Kreps
Midland, TX


There is a wide assortment of voltage regulators available today, both linear and switching styles. The switching regulators are generally more efficient, but the question is about a linear regulator so I will stay with that.

Three concerns are brought into this question: reliability, efficiency, and accuracy. And it appears that this is going to be used with a battery.

First, a battery, by itself, is a fairly well regulated source. But there are two problems that are generally of concern with using a battery by itself. First, it may be hard to get a battery voltage that is what the circuit needs. For instance, if you are using 5V logic chips, then you are not going to find a 5V battery.

Second, the battery voltage will decrease with use: it will run down. This may not be desirable. But many logic circuits as well as many linear ones can run very nicely on bare battery power. CMOS logic chips can use supplies over a wide voltage range, so a 6 or 9V battery can be a good choice.

If you don’t really need a constant voltage over the life of the battery, a series resistor or diode can drop a fixed amount of voltage to bring the battery voltage down to the level needed by the load. But that voltage to the load will change as the battery runs down.

Figure 1

Linear regulators are of two general types, series and shunt. The series, linear regulator uses a series resistance that is controlled in a manner so that it drops the excess voltage from the voltage source, leaving only the amount desired for the load. The shunt regulator has a fixed, series resistance and diverts or shunts enough current to ground to bring the load voltage down to the desired value.

Figure 2

Another thing that must be considered when discussing efficiency is the amount of current that the regulator circuit itself needs for it’s operation. So, for instance, the series regulator circuit actually looks more like this.

Figure 3

Assuming that a regulator is needed and sticking to linear types, there are several choices, including the zener diode and IC types mentioned in the question. A zener regulator is a very simple form of voltage regulator. The circuit looks like this:

Figure 4

The theory is simple, the voltage drop across a zener diode will be constant so the series resistor drops the remainder of the supply voltage and allows the amount of current needed for that condition. The thing to notice here is that the voltage drop across the series resistor is approximately constant if the supply (battery) voltage is constant. So, according to Ohms law, the current through the series resistor is also constant. That current is the total current in the circuit and it is divided between the load and the zener diode.

The design of a zener regulator works like this:

  1. Find the MAXIMUM load current that will be needed. It is important to find the maximum value, because if the current ever exceeds this value, the zener regulator will drop out of regulation and the voltage across the load will be lower than the design value. This is IL.
  2.  From the data sheet for the zener diode, find the quiescent or lowest operating value of current that is needed for the diode to operate at the zener voltage. This is Iz.
  3.  Add IL and Iz together to get the total operating current. I = IL + Iz
  4. Rs must drop the difference between the battery voltage and the desired load voltage. Vs = Vb - VL. And, again using Ohms law, Rs = Vs / I
  5. The zener voltage of the diode is just the desired load voltage. You are probably going to have to do some rounding.
  6. You must calculate the worst case power consumption in both the series resistor and in the zener diode. For the series resistor this is simply Pr = Vs x I.
  7. For the zener diode it is when zero load current is being drawn so: Pz = Vz * I.
  8. It is good practice to multiple the power values by a safety factor. A 1.5X to 2X figure is generally used. The accuracy of a zener regulator can be seen on the zener’s data sheet. Look for a graph that shows the zener voltage plotted against the current. I would not be surprised by differences up to 10%, or even more. This is in addition to the tolerance value assigned to the zener diode.

A zener regulator will be as dependable as the two components used: the series resistor and the zener diode. The reliability of these will both be heavily dependent on the amount of heat generated in them. This will, in turn, depend on the safety factor I mentioned in step 8 above and also on the proper cooling of these components. A heat sink is highly desirable if the current, I is large. An IC, series regulator has a circuit something like this.

Figure 5

The design is very simple. The IC is connected in series with the power line and to the ground reference. In some cases where a different output voltage is needed, a resistor network can be connected between the IC’s output, ground, and the reference (bottom) terminal on the IC. The values of the capacitors are given on the data sheet. In the case of a battery supply, C1 can generally be omitted and a good value for C2 is often 0.1uF. Rs is an optional, series resistor that can be sized to drop part of the battery voltage when the load voltage is a lot smaller than the battery voltage. This decreases the amount of power that must be dissipated in the IC and therefore increases reliability. Again, calculations of the worst case power dissipation in both the IC and the optional Rs is needed.

If Rs = 0, then Pic = I x (Vb-VL). This calculated power must be less than the rated value of the IC package. Keep in mind that different IC packages may/will have different power ratings. Adding Rs is one way of keeping the power dissipated in the IC within this limit. If Rs is used (not zero Ohms) then the power calculations get more complicated. The value of Rs will be chosen for the maximum current situation and that will be where it’s power dissipation will be the most. Pic should also be at a maximum at that maximum current point, but I would check it at the minimum current and also around the half way point, just to be sure.

The efficiency of any linear IC regulator will be better than that of a zener regulator unless the zener is always operating with a maximum load current. When the load current decreases below it’s maximum value a zener will simply draw more current and keep the total power that is dissipated at a constant value. The IC regulator will draw a varying total current that changes as the output/load current changes. Therefore it is generally a lot more efficient.

As for life or dependability, IC regulators are generally as dependable as any other semiconductor based component. Since the current passes through them, they may be a bit more susceptible to surges than a Zener style regulator because transistors will fail faster than resistors. But if they are properly designed and installed with proper heat sinks, they can last for many decades. I would not hesitate to use an IC regulator in this application. If you want even higher efficiency, a switching regulator can probably provide that. Reliability may be somewhat lower, but not a lot.

Accuracy of IC regulators, both linear and switching, is generally excellent. They all use feedback techniques where the output is sampled to provide the correction signal to the series element which controls the output voltage. The degree of accuracy can vary with the internal circuit details, but numbers like 3%, down to 1% or even better are common. Again, as with the zener, the rated accuracy and the accuracy variation with circuit conditions are separate values so an IC regulator with a rated accuracy of 5% may be capable of holding the output value to within 1% or even better.

The LM317 that you mention is an adjustable regulator design. It requires that you use additional resistors to bias the reference pin for the output/load voltage you want. This can be an advantage if an odd voltage is needed but you can also get similar, three terminal regulators that have fixed output/load voltages and do not require those external resistors. Look at the 78xx series for positive regulators or the 79xx series for negative voltage ones.

Edward P Alciatore III
Beaumont, TX

The LM317 appears to be about 5% in accuracy (you also need to add the error from the resistors used for the adjustment, but you could get some 0.1% resistors to manage that). A quick look on digikey shows plenty of 1% zeners so that path may offer more accuracy.

If your load is fairly constant, your zener circuit can be tuned so the zener will just barely turn on with the expected load. But if the load goes down, the zener will eat power to keep you regulated. There are some other parts out there that offer better accuracy. Check out the LT1460: 0.125%! (but only ensures 20mA output)

Kevin Cutts
Lake Zurich, IL

The LM317 would create a more accurate voltage; however, that may not be the best way to go. Not knowing what voltage in and voltage out you have, it’s hard to say, but the LM317 will scrub off the excess voltage as heat. However, there are boost/buck converters available for not much money (I bought four little boards based on the LM2587 for about $7.50 each off eBay, for instance) that will conserve the current (minimal heat, minimal waste, minimal extra battery usage) and keep the voltage even more accurate.

For perfect usage, team one of those up with a zener secondary regulator, so that you have a minimum of wasted current through the resistor feeding the zener and your circuit; that way you have both worlds working for you.

Ralph Phillips
Shreveport, LA

3-terminal voltage regulators, such as the LM317, are very accurate, and are suitable for most applications. You might want to consider a fixed voltage output, low drop-out type, 3-terminal regulator such as the 78L00 series, made by several different manufacturers. The low drop-out minimizes power loss — for example, you can obtain 5 volts out from 6 volts in (4 x AA batteries). However, the purpose of any voltage regulator is to create a stable fixed output from a variable input. Thus the regulator must dissipate power, and you must observe the power rating of the regulator, or it will overheat and self-destruct.

Bob Stewart
Mancos, CO

Are you looking for stability or reliability? The battery is reliable but not so stable because the voltage drops as the charge is depleted. If you have a full time battery charger attached, the stability problem goes away. The zener diode has a rather high impedance, up to 100 ohms for those under 6 volts and lowest at 6.8 volts. If you have a 6.8 volt zener running at 20 mA with an impedance of 25 ohms, and the load varies 10 mA, then the voltage will vary: delta V = Ro * delta I = 25 * .01 = 0.25V. The LM317 on the other hand has an output impedance in the order of .05 Ohms and you can set the voltage as accurate as you need using the schematic on Figure 5 of the data sheet. The voltage should stay within 1% over time but you can reset it periodically if you want. You should have a minimum load of 10 mA on the LM317 for good stability and don’t run at max current if you want good reliability.

Russell Kincaid
Milford, NH

Laser Flashing

I need help with a circuit design to flash a 10W laser diode at 14 Hz. A crystal controlled 555 IC is too variable due to temperature, and must be calibrated. No microcontrollers please; too complex and require coding. I need a simple discrete design.

The problem is laser diodes are pulsed with a tiny duty cycle, so they must be pulsed at high PRF to create the 1/28 second ON cycle. Probably 100 kHz for 1/28 second, off for 1/28 second, repeat ... It may require multiple laser diodes, interleaved ON pulses to smooth out the 14 Hz ON cycle. I basically want to emulate as close as possible the 14 Hz square wave. To top it off, this needs to run off the “dirty” rectified 6-12 VDC from a motorcycle alternator.

As an alternative, instead of laser diodes, an array of LEDs, perhaps 6 x 6 (36 LEDs) may be acceptable to simplify down to just a 14 Hz crystal controlled strobe timer.

The whole thing needs to fit in a garage door opener sized box.

Tom Uryga
Hillsboro, OR


A 10 watt laser is capable of permanently blinding a person and possibly starting a fire. Mounted on a motorcycle, it would be totally illegal. No one in his right mind would get involved in this project!

Russell Kincaid
Milford, NH

More Questions