Nuts and Volts 2016 02 PDF
Nuts and Volts 2016 02 PDF
Nuts and Volts 2016 02 PDF
58 Open Communication
46 The Design Cycle The Latest in Networking and
Advanced Techniques for Design Engineers Wireless Technologies
ARMed and Dangerous The Internet of Things. Who Needs It?
If you’ve ever written code for any other microcontroller, Now that it’s so easy to connect almost every sort of
you can write code for an ARM microcontroller. This device or product to one another or to a human via the
month, we’ll ARM ourselves with some top-notch tools Internet thanks to the Internet of Things, should we stop
from Segger and load up an STMicroelectronics’ and think about whether just because we can do
STM32F0308-DISCOVERY with the code we write. something we should?
52 Near Space
Approaching the Final Frontier
05 DEVELOPING
Departments 23 SHOWCASE
North American/Guatemala Near Space Alliance PERSPECTIVES
Near space encompasses the entire planet. Therefore, it’s 45 ELECTRO-NET
Leaded Components:
not surprising to hear that amateur radio operators in Reports of their death 61 CLASSIFIEDS
other nations are running their own programs. When an have been greatly 62 NV WEBSTORE
exaggerated.
amateur radio operator from Guatemala asked for help in 64 TECH FORUM
07 READER FEEDBACK
kicking off his first launch, the near space community 22 NEW PRODUCTS 66 AD INDEX
couldn’t resist but help out.
Nuts & Volts (ISSN 1528-9885/CDN Pub Agree #40702530) is published monthly for $26.95 per year by T & L Publications, Inc., 430 Princeland Court, Corona, CA 92879. PERIODICALS POSTAGE
PAID AT CORONA, CA AND AT ADDITIONAL MAILING OFFICES. POSTMASTER: Send address changes to Nuts & Volts, P.O. Box 15277, North Hollywood, CA 91615 or Station A, P.O.
Box 54, Windsor ON N9A 6J5; cpcreturns@nutsvolts.com.
4 February 2016
Published Monthly By
T & L Publications, Inc.
430 Princeland Ct.
Corona, CA 92879-1300
(951) 371-8497
FAX (951) 371-3052
DEVELOPING
PERSPECTIVES
by
Bryan
Bergeron,
Editor
FOUNDER
I ’ve been reading and writing about
the imminent demise of leaded
components for decades. Even so, at
And forget the magnified desk
lamp — I have to don a Bosch &
Lomb stereo magnifier and get my
Jack Lemieux least half of my work still involves nose within inches of the board to
PUBLISHER leaded components. After all, what’s see what’s going on.
Larry Lemieux not to like? Leaded components are One sneeze, of course, and
publisher@nutsvolts.com
easy to work with. It’s easy to every SMT component not glued or
ASSOCIATE PUBLISHER/ identify the value of a leaded resistor soldered down will be forever lost in
ADVERTISING SALES
Robin Lemieux
or capacitor with the naked eye, and the dust balls behind my workbench.
robin@nutsvolts.com leaded components are readily I know that experimenters aren’t
EDITOR
available. alone in the battle between SMT and
Bryan Bergeron Besides, I’ve already committed leaded components. I routinely tear
techedit-nutsvolts@yahoo.com the band values — red for two, down equipment for both fun and
VP OF OPERATIONS orange for three, yellow for four, etc. profit, and it’s unusual to find an
Vern Graner — to long-term memory. Then, there’s electronic device devoid of leaded
vern@nutsvolts.com the muscle memory of how to bend components.
CONTRIBUTING EDITORS leads and how to work a soldering Many of the inexpensive devices
Fred Eady Tim Brown iron tip around the porcupine-like made in China — from drone
Paul Verhage Chuck Hellebuyck
Ron Hackett Lou Frenzel
mass of leads when the component controllers to electronic measuring
James Senft Eric Bogatin side is down. devices — are made with a mystery
Roger Secura David Goodsell Why let all that learning go to chip embedded in a black epoxy
waste? blob that is surrounded with leaded
CIRCULATION DEPARTMENT
subscribe@nutsvolts.com I don’t know what I would do capacitors and resistors.
without a good supply of 1/4 watt This is understandable, given the
SHOW COORDINATOR
Audrey Lemieux 10K leaded resistors to use as circuit cost of converting an electronics
probes. When I’m working with an assembly plant from leaded to SMT
WEBSTORE MARKETING
Brian Kirkpatrick
Arduino or other microcontroller devices. Unless you’re building
sales@nutsvolts.com board, it takes only a few seconds to iPhones or electronic watches, why
WEBSTORE MANAGER
wire-wrap a 10K pull-up or pull-down upgrade an assembly plant unless
Sean Lemieux resistor to an I/O pin. Try that with a you have to?
sean@nutsvolts.com surface-mount (or SMT) resistor. The bottom line is that if you’re
Then, there’s the differential in just getting into electronics, don’t be
ADMINISTRATIVE STAFF
Re Gandara infrastructure cost and workbench dismayed — or distracted — by the
real estate. For leaded components, I world of SMT. A traditional
Copyright © 2016 by T & L Publications, Inc. have a simple Weller temperature perfboard, a good supply of leaded
All Rights Reserved
All advertising is subject to publisher’s approval. We
controlled soldering iron, good old- components, and a few schematics
are not responsible for mistakes, misprints, or fashioned needle-nose pliers, and to work from will get you started.
typographical errors. Nuts & Volts Magazine assumes desk lamp magnifier. When you’re ready to make your
no responsibility for the availability or condition of
advertised items or for the honesty of the advertiser. For surface-mount work, I have a circuit semi-permanent, then break
The publisher makes no claims for the legality of hot air station that has the footprint out your soldering iron or wire wrap
any item advertised in Nuts & Volts. This is the sole
responsibility of the advertiser. Advertisers and their
of an oscilloscope, a tool drawer full tool. SMT components, the special
agencies agree to indemnify and protect the publisher of tweezers and stainless steel picks, boards, pastes, and the rest will be
from any and all claims, action, or expense arising from and a half dozen containers of there if you ever need them. NV
advertising placed in Nuts & Volts. Please send all
editorial correspondence, UPS, overnight mail, and
various solder pastes and fluxes.
artwork to: 430 Princeland Court, Corona, CA 92879.
February 2016 5
www.poscope.com/nv
6 February 2016
READER FEEDBACK
Testing Your Metal issue compiling the code for the ToY another problem. The problem is the
Referring back to the August project. ESP8266 developers changed the
2015 Developing Perspectives Not only did the Arduino IDE WiFi.SSID() function from returning a
column about replacing old non- code change from version 1.6.5 to pointer to character to returning a
polarized plugs/cords. I've also had 1.6.6 causing the first issue, the string. Luckily, the fix in my code is
to do this a number of times. If the ESP8266 code changed from version simple.
device is all plastic on the outside, I 1 to version 2 which introduced Continued on page 61
don't worry about it; if it is metal, I
first make sure no AC line is in
contact with the metal case. If that is
the situation, then just go ahead with
the replacement. Otherwise, find the
# " "
problem. Or, if there is no "problem,"
then make sure the common wire
(white) is connected to this
! " !
connection. That should help it be a
little safer.
Phil KE3FL
A7>64A867,6?9A9=4.><A
DCBA@?>=><;A:987>65684>A=4>67A@46<3?=A821 $$A3ADA>3>7<A2+A
Just a Fraction Off 0?3/A.?-?.>7<A=2936?9<ABA?9=/A4>9,3/<A2+A*A />6-A.3A'"&A;;A
A reader spotted an error in .?++>7>93A.?6)>3>7<( 846=5A<@?764A076@A38?9,A
Figure 2 of my January 2015 Ham’s 69.A6A0?7>%,?.>A3224A
D'D*&A%AC*A@=<
3/63A)65><A?3A>6<A32A
Wireless Workbench column. The $'$#&A%A$CA@=<
076@A3/>A38?9,A
dimension "1/2 wavelength" should be D'"&A%A#"A@=<
6729.A647>6.A=299>=3>.A=684><;A69A8>
"1/4 wavelength." Sorry about that! $'D*&A%AD"A@=<
>6<?4A=3A32A69A4>9,3/;A>44<A>4<>0/>7>
D'B&A%A!A@=<
Ward Silver 29%4?9>A69.A?9A<327><A+27A#B;!CA27A)27>;
$'"&A%A"A@=<
)('&%"
)('&%$#"!
Watch This
Regarding Bryan Bergeron’s
recent editorial on magnetics and
watches, I have observed that the .>64A+27AA/288?<3<;A 7?,/3AC))A729.A
<A0'A8?43%?9A7><?<327<A
tiny spring's windings can be 299>=3A@A32A3/7>>A<>7-2<A +27AD#.=A 2A>13>7964A7><?<327A7>?7>.;AA
<?)4369>2<4A32A3><3A69.A 275<A0>44A29AB%D#.=;AA?))>7A63A420>7A
touching each other when =2)@67>A<@>>.A69.A7>6=3?29A -2436,><;A63>7%=4>67A?9A2++%<363>;
magnetized. This shortens the spring 3?)>A0?3/23A<>A2+A3769<)?33>7'7>=>?->7; ) #%) )('&
somewhat, which results in the watch 20>7A?9@3AB;"%*A.=;A
A AA>. AA"
gaining time. Increased friction at this D;$&A1AD;D&A1A;C&A/?,/;AA :
AAA A?45%0/?3> AAAA AA"
point could counter it a bit. )('&#'"
A AAA/?3>AAAA AAAAAA" AAA
AD!))A0?.>A+<>;A !
79A29>A+<>A<423A?932A !
TOYing with Buggy Code 302A0/?4>A@72-?.?9,A
If you are having trouble @723>=3?29A+27A823/A=?7=?3<;A
compiling the code from my article in 72-?.><A6A<>=29.A<423A69.A6A/23A4?9>A0?3/
the November 2015 issue on the 69A?9%4?9>A83%<@4?=>A=7?)@A=299>=327;
TOY project, I have isolated the
problem to the new 1.6.6 version of
)('&#("'
the Arduino IDE for Windows.
It seems there is a bug in that
version of Arduino which is causing
the problems. The solution is to go ?9,<329A%#A$C;A >04>33A6=567.AC#DDAA:AA
February 2016 7
■ WITH TIM BROWN
Q&A
In this column, Tim answers questions about
all aspects of electronics, including computer
• Cat-5 Cabling
hardware, software, circuits, electronic theory,
troubleshooting, and anything else of interest to
• Electronic Filters Explained
the hobbyist. Feel free to participate with your
questions, comments, or suggestions. Send all
• Mailbag
Post comments on this article at www.nutsvolts.
questions and comments to: Q&A@nutsvolts.com. com/magazine/article/february2016_QA.
Q
AT&T U-verse uses a four-pair Cat-5 cable straight through, rollover, or cross-over configurations (see
between its gateway and set top box. Are all Figure 1).
four pairs in use for the TV service? I'd like to These pairs of wires have tight twists to ensure a level
break out one pair to serve as a regular phone of resistance to crosstalk and interference. Changing this
jack. I do not have AT&T's IP phone service but just a twist such as when installing the RJ45 plug is a hot topic in
regular wire line phone. the networking field, so you don't want to change this
— Art Wiegand twist unless absolutely necessary. Recommendations
essentially are don't untwist more wire than is required to
A
Category 5 cabling uses unshielded twisted wire fit in the plug, which is about 1/2 inch for RG45 plugs and
pairs to reduce the effects of crosstalk and receptacles. Untwisting more wire than necessary will
interference without using shielding as is utilized leave your installation subject to crosstalk and interference
in coaxial cables to reduce costs and simplify which can greatly reduce data rates.
installation (it is a lot easier to crimp RG45 plugs onto In case you want to run a phone line from the
cables than to attach connectors to coax). Category 5 Network Interface Device (NID) instead, I found an
cabling has four sets of unshielded twisted pairs arranged excerpt from the AT&T U-verse Forum web page on how
by color groupings (color and white with color stripe) to hook up U-verse Cat5 cables from the NID (the box on
using the colors green, orange, blue, and brown, which the outside of a residence which hooks your home to the
telco's network) to the Residential Gateway (RG;
■ FIGURE 1. the "modem" box inside the residence which
splits signals to user devices) at
https://forums.att.com/t5/U-verse-2014-
Archive/what-2-wires-from-cat-5-go-to-the-
outside-nid-box/td-p/3536669. According to the
site: "Traditional phone pairs used by U-verse
techs are blue pair line 1 phones, orange pair
for line 2 phones, green pair for U-verse. If this
is Internet only in the house, use either blue or
green pair; if you planning on using POTS or
VOIP, we recommend using green pair."
Now, for your specific question about Cat5
cabling from the RG to the Set Top Box (STB); I
will use my U-verse equipment as an example (I
only have a standard phone line and Internet
service, so I use one Ethernet port for the
computer, and wireless for laptops and
smartphones). My Motorola NVG510 RG has
cable receptacles for phone lines 1 and 2, DSL
broadband input, and five Ethernet outputs —
plus wireless capability. Below is a list of the
standard Ethernet Cat5 connector pin
assignments. Ethernet cable pin assignments
(TIA 568A/B cables) do not use blue and
brown pairs:
8 February 2016
QUESTIONS and ANSWERS
1: Data (TX +)
2: Data (TX -)
3: Data (RX +)
4: Ground (-)
5: Ground (-) ■ FIGURE 2.
6: Data (RX -)
7: Power (+) active (use inductors, capacitors, and resistors along with
8: Power (+) transistors or operational amplifiers).
Before I discuss filters, let's go back and look at the
Your STB most likely has an external power basics: resistance, capacitive reactance, and inductive
connection, so you are probably not using Power Over reactance. Resistance is the opposition to the flow of
Ethernet (POE). Theoretically, the wires hooked to pins 7 electrical current regardless of the signal's frequency from
and 8 could be used as a phone line pair and — if your DC to the maximum signal frequency. Capacitive
RG does not use the Ethernet grounds — you could use reactance is the opposition to the rate of change of the
pins 4 and 5 also. As for me, I would not disturb the voltage of a signal. Capacitive reactance is a function of
Ethernet cable for just one pair and risk degrading my the capacitance and the frequency of the signal, XC =
network speed and reliability. 1/(2πfC), where XC is the capacitive reactance, f is the
I am assuming that you have a Cat5 cable with RJ45 signal frequency, C is the capacitance, and π is the
plugs on each end (plugged into the receptacles on the number 3.1417.
RG and STB), so you would have to "cut into" the cable to Inductive reactance is the opposition to the rate of
access the pairs. Regular phone cable is cheaper than new change of the signal current, XL = 2πfL, where XL is the
Cat5 cables (about $2 for a 20 foot phone cable with RJ1 inductive reactance and L is the inductance. In theory, this
plugs installed, versus $6 for Cat5 with RJ45 plugs if you is simple. In the real world, however, all electronic
damage the Cat5 cable in the process), so I would leave components have varying degrees of resistance,
the Cat5 cable alone. capacitance, and inductance, so all three opposing entities
Another option — if there is no phone receptacle are present in all device components. Resistors are
already in the room — is to use a wireless phone which designed to minimize capacitance and inductance;
will hook to your regular phone line and transmit the capacitors are designed to minimize resistance and
phone signals throughout the house (cuts down on inductance; and inductors are designed to minimize
crawling under the house to replace old phone cables resistance and capacitance.
which at this stage in my life is no longer fun). Let’s look at passive signal filters first. Looking at the
equations above, we can deduce that for a pure
The Mysteries of Electronic Filters resistance, opposition to a signal is independent of
frequency so it passes all signals equally. For a pure
Explained capacitor, the capacitive reactance decreases with
increasing frequency. So, a capacitor will pass higher
Q
Could you explain how an electrical signal filter frequencies better than it will pass lower frequencies
works? (capacitors will block DC or 0 Hz signal frequencies). For
a pure inductor, the inductive reactance increases with
increasing frequencies. So, an inductor will pass lower
— Jodie Pokabla frequencies better than it will pass higher frequencies
Dearborn, MI (inductors will pass a DC signal unattenuated).
Figure 2 shows the schematic diagrams for simple low
A
Signal filters for electronic
devices are used to allow certain
frequencies to pass (bandpass Q&A SIDELINES
filters — BPF), block higher Cat-5 Cabling
https://forums.att.com/t5/U-verse-2014-Archive/what-2-wires-from-cat-5-
frequencies (low pass filters — LPF), block go-to-the-outside-nid-box/td-p/3536669
lower frequencies (high pass filters — HPF),
block certain frequency bands (band The Mysteries of Electronic Filters Explained
rejection filters or notch filters — BRF), or http://sim.okawa-denshi.jp/en/Fkeisan.htm
pass all frequencies (all pass filters — APF). www.changpuak.ch/electronics/Butterworth_Bandpass_active.php
Filters can also be classified as passive (use www.calculatoredge.com/electronics/ch%20pi%20low%20pass.htm
only inductors, capacitors, and resistors) or http://t-filter.engineerjs.com
February 2016 9
■ FIGURE 3. ■ FIGURE 5.
upper ranges of signals, respectively, such as an audio audio frequency function generator as shown in Figure 6
signal. Try to envision how you could use the LPF and HPF to measure the frequency responses of the LPF and HPF
to modify the bass and treble portions of an instrument circuits on sine signals (30 to 1,000 Hz for LPF and
signal. For an experiment, use an oscilloscope and an 10,000 to 15,000 Hz for HPF).
February 2016 11
■ FIGURE 7. dividing the Vout on channel 2 by the
Vin on channel 1 for several
frequencies and use the results in a
spreadsheet to draw the Bode Plot.
You can measure the phase shift
by connecting Vin to the vertical
channel (one of the normal inputs)
■ FIGURE 8. and Vout to the horizontal channel (sometimes called X or
sweep), and then determine the phase difference from the
resulting Lissajous figures. By substituting potentiometers
for resistors, you can vary the frequency response of these
filters. Any readers out there who are interested, send me
your results and I will try to publish as many as possible.
If there are simple filter circuits, then there are
complex filter circuits. If one filter is good, then adding a
second filter should be twice as good, right? In reality, two
cascaded RC LPFs make the system better than twice as
good. Figure 7 shows the cascaded low pass filter and
Figure 8 shows frequency response curves for the simple
(in blue) and two cascaded (in purple) RC filters which
demonstrate the cascaded filter's cutoff frequency is lower,
and the slope of the "roll off" portion of the curve is
steeper (sharper filter). By adding additional cascaded RC
LPF filter stages, the roll off slope can be made even
steeper, which brings us closer to an ideal filter in which
the roll off portion would be straight up and down.
In reality, adding filter stages can produce
■ FIGURE 9.
predictability problems since each cascaded stage affects
the other stages (this is beyond the scope of Q&A to
cover, but there are many engineering texts dealing with
this aspect of filter design). The cutoff frequency for the
two-stage cascaded RC LPF is fC = 1/(2Π
SQRT(R1C1R2C2)).
If cascading two RC LPF gave us a sharper frequency
response, what about cascading an HPF with an LPF?
Figures 9 and 10 show this arrangement and the
associated frequency response curve. You can easily see
that this filter has both high and low cutoff frequencies,
but it allows frequencies between these two to pass. Thus,
it is called a bandpass filter. The two cutoff frequencies
are: fH = 1/(2ΠR1C1) and fL = 1/(2ΠR2C2). The center
frequency is fCENTER = SQRT(fHXfL). The phase response
can be calculated from ϴ = arc tan((f/( fH - fL))(f/fCENTER -
fCENTER/f)).
For the BPF, we define the bandwidth as BW = fH - fL
and the quality factor Q = fCENTER /BW, or Q is the circuit
reactance divided by the circuit resistance. The bandwidth
■ FIGURE 10.
is inversely proportional to Q; as Q increases, the
bandwidth decreases. So, by decreasing the circuit
resistance, you can decrease the bandwidth. BPFs are
CAUTION: Use isolation transformers on the used to eliminate unwanted signals, while allowing wanted
generator and o-scope to avoid shock hazards and short signals such as audio or television signals.
circuits that can damage your expensive equipment. If Band Rejection Filters (BRF) are also known as notch
your o-scope will do ratios, the gain calculation is filters or band stop filters, and are used to eliminate
simplified. Otherwise, you can calculate the gain by unwanted signals such as a nearby FM radio station that
12 February 2016
■ FIGURE 11.
■ FIGURE 12.
■ FIGURE 15.
■ FIGURE 14.
February 2016 13
PICAXE PRIMER ■ BY RON HACKETT
www.jrhackett.net
mVolt = 4 * ADCval
breadboard. I expected that it might be necessary to cycle 1. The iteration time of the main do/loop is two
the breadboard power after each new download in order seconds. The accuracy of the loop timing is accomplished
to properly initialize the LED display, but that didn’t turn by using the 08M2’s built-in time variable, which
out to be true. However, it could be an issue for some automatically increments once every second at 4 MHz or
LED displays, so you may want to keep it in mind. 16 MHz. (At 8 MHz, the incrementing interval is two
The FRAM breakout board is the same one I used in seconds; at 32 MHz, the incrementing interval is 0.5
the previous Primer. In other words, four of its pins have seconds.) The program runs at 16 MHz so that it can
been snipped as shown in Figure 9. As we discussed last easily accomplish all its processing tasks within the two
time, this arrangement simplifies the breadboard setup, second time frame.
and it also makes it easy to move the FRAM board back 2. If you implemented Experiment 1, you may have
and forth between the two breadboard circuits we will use noticed that the temperature reading tends to “wobble”
in this experiment. up and down a bit. To minimize
Before we move on to the this, the program takes 10
software for our data logging temperature measurements in a
circuit, I want to mention one one second time span, and then
more point: Don’t forget to computes the average of the 10
connect pin 1 of the FRAM readings.
board to the upper +5V power 3. Here, the program
rail. That connection isn’t visible executes a secondary do/loop
in Figure 8, but it’s the reason that allows the remainder of the
the PICAXE programming two second iteration time to
adapter has to be offset from its elapse.
usual position in line with the 4. Just before looping back,
08M2. we compute the remainder that
The program for the occurs when the time variable is
temperature logging circuit divided by 60. The remainder
(FRAMdataLogger.bas) does will only be zero when one
require some explanation. As minute (60 seconds) has
usual, the number preceding elapsed. If so, the data is stored,
each of the following comments the minute variable is
refers to the corresponding incremented, and the time
number along the left edge of variable is reset to zero
the program listing: ■ FIGURE 9. FRAM board with four pins removed. 5. This is an easy method of
18 February 2016
rounding off. At this point, the tempF variable is in tenths
■ FIGURE 10.
of a degree, so if we simply divided it by 10, we would Schematic #2 for
truncate the “tenths” digit, not round it off. By first adding Experiment 2.
5 to tempF, any value of 5 or greater in the tenth’s digit of
tempF will be increased by enough to cause a “carry” to
the one’s digit; if the value of the tenth’s digit is less than
5, adding 5 will not cause a “carry” to occur. As a result,
when we then divide tempF by 10 (truncating the tenth’s
digit), the presence or absence of the “carry” correctly
rounds the result to an integer.
6. The LED display that I’m using is based on the
MAX7219 display driver, which requires a value of 15 to
blank any digit in the display. Therefore, if you use a
different LED display, you may need to modify this portion
of the code. Also, the four values are displayed from left
to right, so sending 15 as the first value results in the left-
most digit being blanked.
7. We want to right justify the displayed temperature
value, so digits don’t “bounce back and forth” whenever
tempF increases or decreases above or below the value of
100. Therefore, if tempF < 100 degrees, we send another
value of 15 to blank the second digit from the left, and
then send the two-digit value of tempF. On the other
hand, if tempF >= 100 degrees, we just send the three-digit
value of tempF. As a result, the LED display is always right
justified.
8. Each time the four bytes of data are stored in the
FRAM, two additional “end of file” (EOF) markers (i.e., two
values of 255) are also stored. When we power-down the
program, carry the FRAM inside the house to the data
reader breadboard, and transfer the data to the PC, the
data reader software uses one of those values to
determine when to stop transmitting the data to the PC. ■ FIGURE 11. Breadboard setup #2 for Experiment 2.
Of course, it is possible for the minuteL variable to have a
value of 255. For example, if a “low and slow” cooking The software for the data reading circuit
session lasts longer than four hours and 15 minutes, (FRAMdataReader.bas) is also really simple. There’s also
minuteL would equal 255 at that point in time. However, only one point here I want to clarify about how the
we would have to cook something for more than 45 days program uses the EOF marker to determine when to stop
to store a valid data value of 255 in the minuteH variable! processing the data. When I first wrote the program, it
So, as we’ll soon see, the data reader program stops included the following code:
reading the data as soon as minuteH contains the EOF
marker. hi2cin FRAMloc,(minL,minH,tempFL,tempFH)
20 February 2016
air vent on the kamado.
I’ve been using this setup for a
few weeks now, and it has
provided me with a considerable
amount of data for phase 2 of my
larger project (i.e., using a PICAXE
circuit to control the kamado’s
temperature for longer “low and
slow” cooks). However, even if I
never get to that project, the
temperature monitor has provided ■ FIGURE 13. Test results for Experiment 2.
an unexpected side benefit. I can
now see the kamado’s current
temperature from my kitchen window. I no longer need to if I can use an 08M2 circuit for that purpose, and so far
run outside every few minutes to do that. the results are very good.
In fact, after I finish this installment, my very next We can’t get into the details this month because
project is to design a PCB version of the monitoring we’re out of space again, but next time, that’s what we’ll
circuit, install it in a project case, and include a larger LED do. Even if you have no need to control a smoker of any
display to make viewing the kamado’s current temperature sort, being able to interface a PICAXE processor with an
even easier. SSR makes a variety of electrical control projects possible.
I’m sure you can think of one or two possibilities for your
What’s Next? own projects.
Now that we can accurately monitor the temperature See you next time. NV
of an outdoor grill and/or smoker,
the next logical step would be to
develop a PICAXE project that can
also control the temperature. Of
course, there are already
commercially available devices that
provide this capability for charcoal
grills and smokers by controlling the
speed of a fan that feeds air to the
fire. In fact, I already use a DigiQ
DX2 digital controller from
BBQguru.com, and it does its job
very well.
However, in addition to my
outdoor charcoal grills and smokers,
I also have an electric smoker
installed in the furnace room of my
basement (you can never have too
many smokers!), so I decided to
experiment with using a PICAXE
circuit to monitor and control its
temperature.
Obviously, we can’t use a fan to
control the heat in an electric
smoker, but it’s easy to interface a
solid-state relay (SSR) with a PICAXE
processor, and plug the smoker into
an AC outlet that’s controlled by the
SSR.
In fact, I’ve already conducted a
few preliminary experiments to see
February 2016 21
■ HARDWARE
TRACKED
ROBOT KIT
A gent 390™ is a powerful tracked
robot platform now available
from Actobotics®. Incorporated is a pricing without motors is $329.99. Dual Gear Rack Kit is great for
smooth ball bearing supported drive projects that require symmetric linear
track system to achieve high PERPENDICULAR/ movement from a common center
maneuverability and omnidirectional point using a PWM signal.
control. Although the contact patch
PARALLEL DUAL The kit includes the servo and all
on the tracks is smooth, they still GEAR RACK of the required hardware. Both the
offer fantastic traction and climbing perpendicular and parallel versions of
ability. KITS the kit retail for $99.99.
The 18” x 16.42” aluminum
chassis provides an extremely rigid
base which can carry well over 50
A lso available from ServoCity is
the 785 Dual Gear Rack Kit
which is a simple way to create linear
For more information, contact:
ServoCity
lbs. The flat top plates offer an easy motion using a rotational servo. This www.servocity.com
way to attach additional components kit is ideal for steering rack setups or
directly to the platform, and the other applications requiring smooth SEVEN-SEGMENT
center track idler can be shifted to be linear motion.
closer to the front or back. The kit comes with the multi-
LED DISPLAY
The side plates (triple channel rotation Hitec HS-785HB servo which FOR THE RaspPi
brackets) are tied together using 6-32 allows for up to 9.6” of travel (up to
tapped aluminum standoffs that also 19.2” of total travel) from each of the
serve to hold the belt in place.
These plates incorporate the
gear racks when sending the proper
PWM signal from a servo controller.
T he Joey is a compact four-digit
seven-segment LED display board
for the Raspberry Pi — recently
Actobotics hole pattern for mounting The kit is constructed of 6061 T6 released by Gooligum Electronics —
other components. Because builders aluminum components and wear- which makes it easy to display
may already have motors they want resistant Delrin plastic to create a numeric data or simple text which
to utilize for driving the Agent 390, durable yet lightweight assembly. remains visible even when another
ServoCity offers this kit with or The framework has several expansion board is mounted on the
without the 313 RPM HD precision mounting options and integrates Pi. It is physically thin and slides over
planetary gearmotors and mounts. seamlessly with the rest of the the Pi's GPIO pins, allowing other
Pricing with motors is $389.99; Actobotics line of products. The 785 add-ons to be attached in the usual
22 February 2016
NATIONAL RF, INC.
R
N F
Plug-in
way. It connects Coil Forms
via the
Raspberry Pi’s
I2C bus and Misc
coexists nicely Elec
WxSat Odds
with other I2C & Ends
Antenna
devices. In the
unlikely event Visit www.NationalRF.com for this
and other Radio Products!
of a clash, the Office: 858-565-1319
Joey's I2C
address can be
changed. It QKITS LTD
doesn’t use any sales@qkits.com
dedicated GPIO pins, so it can chemistries, including the latest LiHV Arduino •
coexist with almost any other add-on. cells. Raspberry Pi
The Joey provides three digital The microprocessor control and
inputs in addition to those available an internal resistance meter make this Power Supplies
on the Raspberry Pi. These inputs a key component of the workshop. MG Chemicals
can be accessed by your programs to Hitec’s free “Charge Master” RFID
enhance the functionality of your software allows full PC control of the $8.50
project. X2-700 through its integrated USB flat rate shipping
The Joey comes with port, from basic setup to full software
comprehensive documentation and a analysis of a battery’s health and 1 888 GO 4 KITS
Python support library which makes performance. Visit us at: www.qkits.com
it easy to display formatted numeric Users can streamline operations
values, and even short text messages. with the new Synchronous Mode as
To get started, a set of example the second output port automatically
applications is provided, including a mirrors channel 1 settings to charge
CPU temperature monitor (as shown multiple similar batteries with
in the photo), a clock, and an IP minimal setup time. The Multicharger MDE8051 Trainer
by Digilent
address display (which can be set up is reliable and durable, and a must-
to run whenever the Raspberry Pi have charger for all seasoned
boots). hobbyists.
The Joey LED display board The estimated retail price is
retails for $8. Bulk purchase and $214.99.
educational discounts are available. NKCelectronics.com/MDE8051
For more information, contact: Includes the MDE8051 training board, power
For more information, contact: Hitec RCD USA, Inc. supply, serial cable
Gooligum Electronics Purchase Orders are accepted from Educational Institutions ,
www.hitecrcd.com US Government and Research Centers
www.gooligum.com
DC/DC
Stock Drive Products
MULTI Setting Ideas Into Motion
BOX
I
Having the right tool makes any job easier. Just try n addition to the main players, there
are a few hacker tools (black boxes)
and remove a sparkplug without a good deep-well that some of the financially challenged
(like me) build to help in the process of
circuit design and testing. One of these
socket and wrench. The same holds true in the electronic contraptions is the resistor
“decade box.” A resistor decade box is a
field of electronics. The multimeter, signal chain of resistor networks which allows you
to “dial in” any resistor value you need
generator, oscilloscope, and frequency counter are simply by adjusting a few knobs. If you
can’t afford a commercial decade box, I
just some of the “tools” that not only speed up the would suggest checking out Frank
Muratore’s article in the April 2014 issue of
design process, but reduce the urge to pull one’s Nuts & Volts and build your own. His
simple black box design is low in cost and
hair out in frustration. real easy to build — I use it all the time.
24 February 2016
As nice as Muratore’s
design works, however, the
potentiometers he
employed in his design are
notorious for their
sensitivity. That means you
have to hook up your
ohmmeter and adjust the
knobs back and forth
several times in order to
get the exact resistance
you need. What I really
wanted was a decade box
where I could select the
required resistance with a
couple of switches — ■ FIGURE 1.
without having to hook up
an ohmmeter to see the
actual resistance value. To
solve that problem, I
designed the digital decade
box presented here.
This is a great project
for the beginner. You’ll get
to sharpen your soldering
skills for your next project.
What follows is the
construction and operating
instructions you’ll need to
build and operate the
decade box.
Circuit
Operation
The circuit for the
decade box is shown in
Figure 1. You’ll notice that
in order to select a
■ FIGURE 2.
resistance value (440.520K,
for example) we select the
appropriate DIP switches in each column according to the DIP switch selected for a resistance value.
value we need.
This completes the circuit, and the total resistance of Construction
all the switches will be available at the output (A, B). It’s
important that you set all DIP switches that The layout for the circuit is shown in
are not selected for a resistance value to ■ FIGURE 3. Figure 2. Place the DIP switches on the top
zero ohms (switch # 10). In other words, if side of the perfboard (no solder pads) and all
you select 10K for a resistance value, all the the resistors on the bottom side of the board
other DIP switches must be set to zero ohms (solder pads). The board is small, so count
(switch #10 - ON). Remember, you have to the holes carefully. You should see two holes
complete the electrical circuit in order to get between each DIP switch. Insert DIP
a 10K resistance at the output (A, B). switches #1and #2. Place them on the top
On the other hand, don’t forget to move side of the board (no solder pads).
the zero switch to the off position for any Before you start soldering anything,
February 2016 25
ITEM QTY DESCRIPTION PART# SOURCE
Black Box 1 Plastic Box — 5.3" x 3.3” x 1.6” TB-4 www.allelectronics.com
Perfboard 1 3-1/8” x 4-5/16” PC-4 www.allelectronics.com HARDWARE
Test Leads 1 Banana Plug to Mini-Grabbers TL-5 www.allelectronics.com
■ FIGURE 6.
■ FIGURE 5.
RASPBERRY
PI
For years, I’ve had a Davis weather station and enjoyed tracking the wind —
especially the sudden gusts that rattle the windows. However, the tiny plot on
the station’s LCD screen is not very resolved and I wanted it to be better ... a
whole lot better. The solution: a Raspberry Pi!
28 February 2016
Post comments on this article and find any associated files and/or
downloads at www.nutsvolts.com/magazine/article/
february2016_RaspPiWindSpeedTracker.
February 2016 29
■ FIGURE 3. The control box contains three processors: a
Parallax SX28, Arduino Mega 2560, and Raspberry Pi 2. ■ FIGURE 4. Here, 8-10 GPS satellites are
typically in use (as shown on the LCD), even with
the GPS receiver mounted indoors.
be compatible. Both eBay and Amazon sell the older
model 7911. occurring in 2.250 seconds: 10 pulses = 10 MPH; 20
The cups in the Davis unit rotate a magnet past a pulses = 20 MPH; and so on. The unit also contains a 20K
magnetic sensor once every revolution. The calibration is ohm continuous-rotation potentiometer which can be
extremely simple. You count the number of pulses used to track the direction of the wind. However, I didn’t
use the pot in this project.
The output of the anemometer is filtered to
eliminate any noise from the sensor or the 75 feet of
cable running through the attic. I didn’t employ any
lightning arrestors, although whenever a
thunderstorm comes along I can’t help but think
about whether the next lightning strike is going to
electrify my desk and me with it!
The pulses from the cups are counted by an
Arduino (also used in this project) for exactly 2.250
seconds and stored in a small array. This counting
process repeats every 2.250 seconds until a full
minute has elapsed, so there are approximately 25
readings/minute. Next, the peak wind speed from
the 25 readings is determined and stored as the next
■ FIGURE 5. The Davis anemometer data point to be plotted, i.e., each minute the peak
measures the number of rotations in 2.25 during the past minute is plotted. Of course, you
seconds; 10 rotations/2.25 sec = 10 MPH.
could plot the average value for the past minute
instead of the peak.
30 February 2016
GPS Receiver and
Decoder
For the time base, I chose the Garmin GPS receiver
shown in Figure 6, mainly because I already had it left
over from a previous project. I could have used an RTC
(Real Time Clock) but then I would have had to add more
buttons to set the time. Besides, in my junk box I also had
a Parallax SX28 microcontroller programmed to parse the
sentences and output the time and date over a 9600 baud
five volt line. I bought a bunch of SX28 protoboards when
Parallax had an End-Of-Life sale several years ago; they are
handy for small projects like this one.
The time and date are parsed from the GPS RMC
sentence and the number of satellites in use is taken from
the GGA sentence. As you’ll notice in Figure 4, I display
the number of satellites on the 2x16 LCD, only because I
am awed by the whole GPS concept and love to see it
working. The Garmin unit works fine inside my single-story ■ FIGURE 6. Using a GPS receiver to extract the time
house, but your reception may vary. and date doesn’t require setting, but an RTC
For some obscure reason, I decided to write my own could be substituted.
Arduino routine to convert UTC time to local time/date,
instead of adapting a Library routine. Big mistake! It 8. The GPS GMT time/date from the SX28 is
looked simple enough, but then I realized that I would converted to local time as it comes in.
have to include time zones, leap years, and daylight
savings. Garf! After many hours of debugging, I got it The biggest problem I had with the programming was
working and confirmed that it converts the UTC data to juggling the code for the three different processors. The
the correct time and date for all 50 states. Just enter your SX28 used assembly language, the Arduino used C, and
Time Zone (TZ) in the Setup Section of the code before the RPi required a combination of command-line
you load it. If you are not in the US, simply adapt the programming and Python. I had a heck of a time keeping
code to fit your location. track of which language I was using at any one time. Plus,
it was my first experience with Python, so there was a
Program Flow learning curve. Fortunately, the Internet has a cornucopia
of helpful hints and I was able to work my way through
The basic program flow is as follows: the problems. I also bought several books and tapped my
knowledgeable friends.
1. In the background, the Arduino measures wind This project was also my first experience with the
speed at 2.250 intervals, and the SX28 reads the GPS fantastic free Gnuplot plotting program. It was fun to
time/date and number of satellites. customize the display, but it was almost impossible to stop
2. At the end of each minute, the SX28 sends a pulse tweaking it. (You know how it is.) I chose to locate the
to the Arduino. main Gnuplot configuration file in the Arduino because I
3. The Arduino then: needed to update many of the displayed numbers 1,440
a. Determines the peak velocity for the past minute times a day. Normally, the config file would be
and adds the value to the daily array (1440 points). permanently located in the RPi main directory. Instead, I
b. If the daily maximum velocity has increased, it send an updated config file to the RPi at the end of each
moves the red fid mark and value to a new point, and minute, at 115200 baud.
sounds an audio signal. The source code for the Parallax SX28, Arduino Mega,
c. It serially transmits updated config and data array and RPi is available at the article link. Also available is a
files to Gnuplot in the RPi. document explaining how to install the necessary support
4. The RPi sends a new HDMI plot to the LCD applications/tools for the RPi.
monitor, but in a small window.
5. The RPi expands the window to fill the LCD screen. Booting Up and Other
6. Steps 3, 4, and 5 are repeated at the end of each
minute, 1,440 times per day. Details
7. Everything resets at midnight. Getting all three processors to boot up concurrently
February 2016 31
DESIG COMPONENT was almost my downfall. I could not
Digi-Key (unless noted)
R1 Resistor, 10K 10KQBK figure out how to autostart the .py
R2 Resistor, 470 ohms 470QBK
program on the RPi. I scoured the
R3-R5 Resistor, 1K 1.0KQBK
Internet for several days and tried
numerous suggestions. No joy.
R6 Resistor, 330 ohms 330QBK
R7 Resistor, 3.3K 3.3KQBK PARTS Finally, I found a reference to an
autostart file located deep within the
R8
D1, D2
Resistor, 1.8K
Diode, 1N914
1.8KQBK
1N914BCT
LIST /etc/xdg/lxsession/LXDR-pi
subdirectory. The reference suggested
C1 Capacitor, 1.5 mfd 35V 478-1853
adding @lxterminal and the name of
C2, C3 Capacitor, 0.1 mfd 50V 399-8994-1
the wind speed program to the file,
SW1 Toggle Switch, SPDT 480-3077
and bingo! It took off. Now, if the
SW2 Pushbutton, N.O. RadioShack
power fails, the three processors boot
SW3 Toggle Switch, SPDT CKN1023 themselves up, collect data for several
LED1 LED, Green RadioShack minutes, and start plotting a full
LCD1 LCD Shield, 2x16 DF Robot, DFR0009 screen. It’s amazing that the system
PS1 Power Supply, 5V, 12V 102-2527 runs all day and night, day after day
Q1, Q2 FET, 2N7000 2N7000TACT with no glitches. That’s a total of 1,440
U1 IC, 74LS14 Schmitt Trig 296-3638-5 plots/day x 365 days = 525,600
MEM1 Thumb Drive, 8 GB Best Buy plots/year.
SPKR1 Insignia Portable Spkr Best Buy Speaking of problems, the
BOX Carlon/Cantex, 6x6x4 Lowe's/Home Depot Arduino Mega has a subtle
shortcoming. Not all of the pins of the
Note: The major components/boards are labeled on the schematic. 2560 controller chip are connected to
the header on the board, and some
are fairly important. For example, most of the external
inputs to the six timer/counters are missing. I found this
The
T he E
Easiest
asiest W
Wayay tto
o Design Custom out the hard way when I thought I could use any one of
Front
Front Panels
Panels & Enclosures the timers to count the pulses from the anemometer. I
checked the Mega schematic and found that there were
no external (Tn) connections to Timers 1, 2, 3, or 4. Only
Timers 0 and 5 were hooked up. However, Timer 0 was
tied up by the Mega to support some of the timing
functions, which left just one Timer: T5.
In fact, the most important code for counting the
anemometer pulses uses Timer 5 and is only five lines
long:
You design it We machine it
to your specifications using and ship to you a TCNT5 = 0x00 //reset timer/counter 5
our FREE CAD software, professionally finished product, TCCR5B = 0x06 //start timer/counter 5, on
Front Panel Designer no minimum quantity required
//falling edge of external pulse
//on T5
Cost effective prototypes and production
runs with no setup charges delay(2250) //continue counting for 2.250
P
owder-coated and anodized finishes in
//seconds
various colors TCCR5B = 0x00 //stop timer/counter 5
elect windspeed = TCNT5 //transfer count to global
S from aluminum, acrylic or provide
your own material //variable
Standard lead time in 5 days or express
manufacturing in 3 or 1 days BTW, I spent considerable time trying to downsize the
“over-qualified” Arduino Mega to an Uno. The largest
array in the program required 1,440 bytes and the Uno
had 2K bytes. It seemed like there was plenty of extra
RAM, but I just couldn’t get it to play nice. Plus, with the
FrontPanelExpress.com Uno, I had to invoke a software serial port because I
needed two ports with different baud rates. The software
32 February 2016
port worked fine by itself, but when I folded it into the full
program it caused a number of mysterious interaction
problems that I got tired of trying to sort out. So, I stayed
with the Mega. There is only so much time. (Any ideas?)
I also added a 16 x 2 LCD display to the system for
debugging and to display other parameters. I really love all
the USB connectors on the RPi. They allowed me to
connect a wireless keyboard/trackball in order to make
changes to the program and a Flash drive to save the
changes — not to mention the convenient five volt power
for the speaker.
Construction
Punching the round and rectangular holes in the thick
plastic box and its cover was a snap this time, mainly
because I had purchased a Grizzly benchtop milling
machine a while back. In the past, making such holes
involved a lot of elbow grease, i.e., get out the big rattail ■ FIGURE 7. Fabricating the box and its cover was a
snap with my benchtop milling machine.
file and have at it. With the machine, I milled a big hole in No more filing for hours!
the cover as shown in Figure 7, and mounted a fan filter
over it to let air circulate around the processors. The
power supply is mounted externally to allow plenty of good news, though. My house may still blow away, but at
airflow through it. least I’ll know how fast it went down the street. NV
Sound
After the whole system was successfully running, I had
yet another brainstorm: Why not add sound? For example,
there could be a “ding” every time an extra-large gust of
Motor Control
wind came along. So, I did it. The RPi required yet another
app called Pygame to make it happen. I recorded the • 15 Amps Per Channel
sound I wanted using Audacity and put the .wav file in the • Dual Channel
pi directory. Now, it dings four or five times a day when • Quadrature Encoders
the wind picks up. I tried using the HDMI audio output • DC Brushed Motors
jack on the little monitor, but the correct command line • USB / RC / Serial
instructions eluded me. So, I went with the audio output
jack on the RPi board and it worked great.
• 45 Amps Per Channel
The Future • Dual Channel
• Quadrature Encoders
The future for this project is wide open. Gnuplot can • DC Brushed Motors
easily handle multiple plots in different colors and line • USB / RC / Serial
styles. You can measure temperature, humidity,
barometric pressure, whatever. Although I think my next
plot to add is going to be another wind speed • 160 Amps Per Channel
measurement, but this one will be generated by a no- • Dual Channel
moving-parts ultrasonic anemometer. Ultrasonic wind
• Quadrature Encoders
sensors typically have a time constant of 0.25 seconds or
• DC Brushed Motors
less, which will catch the fast rise time gusts that the Davis
• USB / RC / Serial
unit completely misses. I can’t wait to see how the two
plots compare.
The RPi and Adafruit LCD have opened up a whole
new world of dedicated displays for me — no more tying
up my laptop or desktop monitor. There is bad news and
www.ionmc.com
February 2016 33
The Remarkable
CSS555
The CSS555 is a micropower
By James Senft (a.k.a., TinkerJim)
programmable version of the 555
family of timer ICs. It operates at a
current under 5 μA and a supply Another application of the CSS555 in the standard
(unprogrammed) mode is the solar engine shown in
voltage from 5.5V down to 1.2V. Figure 4. Here, the circuit is a sort of monostable
These qualities make it particularly arrangement with a more or less constant voltage (about
1.4V usually) on the trigger and threshold pins, which is
well-suited for long lasting battery supplied by a photodiode (a suitable LED, actually). The
and small solar powered projects. supply voltage to the circuit varies as the storage capacitor
Cs charge from a solar cell, or discharge through the load
It can be used in standard 555 when the output pin goes high.
configurations as supplied, but it is It goes high when the supply reaches three times the
trigger voltage, and goes low when the supply drops to
also user programmable to 1.5 times the photodiode voltage.
produce extended timing periods. The original concept for this solar engine circuit was
devised by Manfred Schaffran and Wilf Rigter in 2003
when only the 7555 timer was available. The CSS555
greatly improves the efficiency since the circuit now takes
Standard 555 Micropower under 5 µA during periods when the storage capacitor is
charging up. The various available 7555s required
Operation anywhere from 50 µA to 180 µA. A CSS555 equipped
The CSS555 is pin-for-pin compatible with the solar engine has operated perfectly from a tiny solar cell
customary 555 series timers as Figure 1 indicates. supplying a mere 15 µA.
Therefore, application circuits have the familiar 555 The little robot “Walker” in Figure 5 is equipped with
topology as, for example, in the astable circuit illustrated this circuit, a good size solar cell atop his head, and,
in Figure 2. presently, a 0.22F capacitor. He periodically waddles
However, the micropower nature of this IC allows around in a little circle (one of his arms/legs is longer than
using external components with values that demand much the other) whenever he has gleaned enough energy from
less power. For example, the LED blinker in the electronic
paperweight in Figure 3 uses the above astable circuit
with timing resistors RA = 10M, RB = 47K, and a 0.22 µF
timing capacitor. It blinks perpetually on the energy stored
in a 1F capacitor charged from a small photovoltaic cell
taking in typical desktop lighting.
(Counter)•(2.197)•(RA + 2•RB)•CT
Conclusion
I hope this short article will serve as an indication of
the capabilities of this relatively new timer. The documents
that CSS has prepared for these chips give much more
information. They are very thorough, easy to follow, and
have plenty of illustrations — some of which have been
presented here (with permission of course!). The
information sheets available for downloading from the CSS
website include SPICE models, timer delay and adjustable
FIGURE 11. Schematic of the one-shot circuit used for
controlling the fan motor. Note the bypass capacitor duty cycle calculators, and a collection of application
across the supply and ground; 0.1 μF suffices in such circuits showing the many ways this remarkable timer can
applications. be put to work. NV
February 2016 37
Why You Need an
Analog Front End
and How to Set It Up
By Eric Bogatin
How to make your
Post comments on this article and find any associated files
and/or downloads at www.nutsvolts.com/
magazine/article/february2016_AnalogFrontEnds.
sensors talk nice to
your microcontroller
The analog input to an Arduino Uno has a resolution of only 10 bits. On a 5V
scale, this is only about 1 mV of sensitivity. If you need more sensitivity,
don’t look at another microcontroller. Look at adding an analog front end to
your Arduino.
S
ingly or together, a general-purpose op-amp and an distinguishes “physical computing” from generalized
instrumentation amplifier — each operating on 0V to computing as with microprocessors.
5V power supplies — are the It’s the sensors that translate some
building blocks to an analog front end to quality in the physical world and turn it
any microcontroller. Here’s a practical into an electrical quantity — a voltage, a
way you can turn your Arduino into a current, a resistance — which may vary
high performance sensor measuring with time or frequency. It’s up to us as
instrument. gadget designers to set up the
microcontroller to read this electrical
Physical Computing quantity and turn it into information we
can act on.
An Arduino is about as smart as a We have three options for inputs
fruit fly. I base this on the gate count of from sensors to an Arduino: a high level
the Atmel AVR 328 microcontroller — the encoded digital signal; a low level digital
brains of the Arduino board — which is a voltage; or an analog voltage.
little less than 100,000 gates, including Some sensors — like the T5403
the 32K of memory and all the registers. sensor from SparkFun shown in Figure 1
A fruit fly has 100,000 neurons. — have a lot of electronics already
Just as the brain of a fruit fly integrated into them. This sensor
processes sensory input information measures barometric pressure, turns it
about the world around it and translates into an electrical signal, and then
this into a fruit fly’s action, an Arduino encodes this in an I2C digital interface.
(and all microcontrollers) processes FIGURE 1. T5403 barometric All the electronics on the sensor
inputs from the outside world and turns pressure sensor with an board — the sensor itself, the analog
them into outputs. This is really what I2C interface. front end, the ASIC, and the memory —
38 February 2016
FIGURE 3. Close-up of the TMP36
temperature sensor.
Improve the Quality of Your Analog introduce errors; the magnitude of which will depend on what else
the microcontroller is doing. This sort of problem is incredibly hard
Measurement Using the 3.3V Pin as the Vref to debug. Better to avoid the chance of it ever happening.
The way around this problem is to use either another external
The ADC (analog-to-digital converter) pins of the Arduino reference voltage source or use the 3.3V reference supply brought
compare the voltage at their input to a reference voltage to out on many Arduino boards. On the SparkFun Redboard, this is a
generate the 1024 different output levels. The default condition is to separately regulated supply which has nothing connected to it. Its
use the +5V rail on the die of the microcontroller as the reference voltage noise is very low. I measured it to be less than 2 mV peak-
voltage. to-peak — even with 42 mA of switching current from the I/O pins.
You might think that the + 5V rail is very low noise; after all, it Since it is available for free, it’s always a good habit to use this
comes from either the regulated USB power supply or the onboard as the ADC Vref. The downside is that this will limit the maximum
regulated +5V supply if you are using an external power supply. If voltage range the ADC can sense. With an analog front end, this is
the microcontroller is not driving any outputs and its current draw not an important limitation.
on the power rail is low, then the noise on the power rail can, in To use an external reference voltage, in the void setup()
fact, be low. function, you must add the line:
I wrote a sketch for my Arduino to toggle five digital outputs off
and on really fast. The rail noise I measured on the board was about analogReference(EXTERNAL);
5 mV peak-to-peak when the outputs were switching, but not driving
anything. This is about the resolution of the ADC and would I also measure the analog reference voltage with a three-digit
contribute negligible ADC measurement noise. DMM and add a line near the beginning of each sketch where I can
However, when the digital I/O pins draw some current, this has add the specific reference voltage level:
to come through the impedance of the power rail supply and its
output voltage — which everything on-die uses — will drop. float Vref = 3.290;
I connected the five toggling outputs into 330 ohm resistors
which then drove LEDs. We can estimate the current draw of each Then, when I read an analog pin, I can calculate the actual
I/O. There is about 25 ohms of output impedance on the output voltage on that pin using:
transistor of each Arduino I/O pin. There is about a 2V drop across
an LED. If the output voltage from one I/O pin when not driving a Value_volts = analogRead(A0) /1023 * Vref
load is 5V, then the voltage drop across the (25 + 330) ohm resistors
is 5V – 2V = 3V, and the current draw from the pin and the
power rail per pin is:
(5V — 2V)
I = = 8.5 mA
355Ω
I had five I/O pins toggling. This was a total current
draw of 8.5 mA x 5 = 42 mA of current from the +5V rail. I
measured the voltage drop on the +5V rail on the board as
about 35 mV peak-to-peak. This corresponds to an output
impedance of the power supply of:
ΔV (35 mV)
Routput = = = 0.83Ω
ΔI 42 mA
This is very close to what I measured independently
for a USB power supply. I measured an onboard regulator
output impedance of the Redboard (when powered by an
external 9V supply) to be 1.4 ohms, in comparison.
This 35 mV of noise on the board level power rail is
almost identical to what I measured as the rail noise on the
die itself. Of course, we can’t probe the on-die power rail
directly, but we can see the on-die power rail voltage by FIGURE A. Voltage noise on the various power rails while five digital I/Os
setting a digital I/O pin as HIGH, and measuring its output toggled off and on. Top trace: Voltage on one of the digital pins showing its
voltage. After all, when its output is HIGH, the output pin is voltage switching. Next two traces down: Measured rail voltage noise on
effectively connected to the +5V on-die voltage rail. This is the
same voltage that would be used by the ADC reference the board and on the output of a digital pin set to HIGH. This shows the 35
channel in its default condition. Figure A shows all the mV noise on the power rail when 42 mA of current switches. Fourth trace
measured voltages. down: The +5 V rail voltage noise on the board with no current drawn by
The consequence of this is that when there is little the I/O. The noise level is down to 5 mV. Bottom trace: Voltage noise on the
current drawn by the microcontroller, there is probably no +3.3 V reference with 42 mA of switching current. The scale for all except
impact on the measurement accuracy of the ADC channels.
However, if the microcontroller is also switching current the digital I/O signal is 10 mV/div. The triangle shape is because the five
around, the reference voltage will drop and this will contribute I/O are sequentially turned on one at a time and then
to measurement errors in the ADC values. turned off one at a time.
More importantly, this voltage noise on the Vref line will
40 February 2016
sensor. Figure 4 shows the measured temperature when I Voutput = G x (V+ — V-)
touched the sensor and let go.
In this example, you can see the ambient temperature The value of G is often as high as 1,000,000. The
of about 22°C before I touched the sensor. It rose about secret to using op-amps effectively is using combinations
2°C quickly in about three seconds. I let go and it cooled, of R and C elements in a feedback circuit to enable useful
taking a longer time. features. Whole books are written about op-amp circuits
On the cooling leg, you can clearly see the 0.3°C with specialized functions. A really great handbook by the
temperature steps corresponding to the resolution limit of legendary Walter Jung called Op-Amp Applications
the Arduino’s ADC. This is not a sensor limitation; it is an Handbook can be downloaded for free. The circuit we’ll
Arduino limitation. look at in this article is the non-inverting amplifier.
When the signal we care about is a small signal, we In the non-inverting amplifier, the input signal goes
just don’t have much sensitivity available from the 10-bit into the V+ pin, and a simple resistor divider circuit
Arduino analog inputs. connects the output pin to the V- input as shown in Figure
Problem #1 is the small resolution available with the 5. The gain in this circuit is:
10-bit ADC. We just can’t see small changes with only 3
( )
mV resolution even using the smaller Vref of 3.3V. R2
G= 1+
Problem #2 is there is a DC offset on the signal R1
(about 0.75V in this example). We can improve this by
adding some gain, but we have to be careful not to
exceed the 3.3V maximum voltage input to the ADC. This Since this amplifier is often the first circuit to interface
would be a maximum gain of about four. with a sensor, it is sometimes referred to as a pre-amp. An
Problem #3 — just marginally an issue with this sensor important feature of the amplifier — in addition to
— is the output impedance of the sensor and what the amplifying the signal — is to change the output impedance
ADC pin needs to see. Section 23.6.1 of the Atmel of the sensor. It can take a sensor with really high output
manual states: “The ADC is optimized for analog signals impedance and provide a comparable signal level (or even
with an output impedance of approximately 10 kΩ or higher) with an output impedance of a few ohms. This
less.” Where this spec comes from is explained in the solves problem #3.
sidebar. Among the three top suppliers of op-amps — Analog
The output impedance of a sensor is a measure of Devices, Linear Technology, and Texas Instruments (TI) —
how much current it can source or sink. According to its there are almost 500 different versions to choose from. I
specs, the TMP36 has a maximum output current of about
50 uA of current draw possible. With roughly a 1V output The Input Impedance of an Arduino ADC Pin
voltage, this is an output impedance of 1 V/50 uA = 20K The Arduino input impedance of an ADC (analog-to-digital
ohms. This is in the gray area of possibly a problem — converter) pin is specified as 100 megohms. It sounds high and would
especially when looking at fast data acquisition. be wonderful, but this is not the complete story. The first circuit
One way of getting around these three problems and element the pin sees on-die is a multiplexer which switches each of
the six Arduino ADC pins into the actual sample and hold circuitry to
enabling accurate and high resolution measurements from be read by the ADC circuitry. This input has the equivalent of 14 pF of
a wide variety of sensors is using an analog front end capacitance.
between the sensor output and the microcontroller input When the Arduino pin is read, the pin is switched into this
to condition the analog signal. capacitance. The sensor driving this pin must charge up this 14 pF of
capacitance before it is read to get an accurate value. If it is still
charging when the pin is read, the value will be inaccurate.
An Analog Front End Essential Element: If the source impedance of the sensor is 10K ohms, then the RC
time constant is 10^4 ohms x 14 x 10^-12 F = 0.14 usec. If we wait for
the Op-Amp six time constants, the signal will be within 0.2% of its final value. This
is 1 μsec — about the fastest possible acquisition time for an analog
We refer to all the electronics from the sensor channel.
element to the input pin of the ADC as the analog front If the output impedance of the sensor looks like a resistor of no
end. While there is a huge variety of off-the-shelf building more than 10K ohms, then the voltage read by the ADC will have
block circuits we can use in the analog front end, the two settled to its final value before the voltage is actually read. If the
output impedance is larger than 10K ohms, there is a chance the
most important building blocks to solve all sensor voltage will not have stabilized before it is read and the first
interface problems are operational amplifiers and measurement may not be accurate.
instrumentation amplifiers. An operational amplifier — This sort of problem is incredibly hard to debug. As risk reduction
affectionately shortened to op-amp — is a super high gain in your design, just avoid the problem by always using a low enough
output impedance for the sensor.
differential amplifier. Its output voltage is proportional to This is the origin of the Atmel spec recommending the sensor
the difference in voltage between its two input pins, output impedance be less than 10K ohms to drive one of the ADC pins
referred to as the V+ and V- inputs: and not lose accuracy even in the worst case.
February 2016 41
100°C/V. With a resolution of 0.0032V, this is a
temperature resolution of 0.32°C.
With a gain of 3.245, the output sensitivity of
the pre-amp is 100/3.245 = 30.8°C/V. The voltage
resolution of the 10-bit ADC is still 0.00323V, but
this is now equivalent to 30.8 x 0.00323 = 0.1°C.
Much better.
This helps solve problem #1. Figure 6 shows
the recording of the raw output from the TMP36
sensor into A0 of the Arduino’s ADC, and the
output of the LM358 with the gain of 3.245 into
A1. I converted the ADU values from A1 into
temperature using:
FIGURE 5. Circuit diagram of the non-inverting amplifiers using an Temp[degC] = (ADU/1023*Vref/Gain_opAmp) x 100 — 50
op-amp, taken from Walter Jung’s Op-Amp Applications Handbook.
An Analog Front End Essential
Element: the Instrumentation
Amplifier
We still have problem #2. The voltage out of
the pre-amp is about 2.5V. We want to see small
changes on top of this large DC value. We really
would like to subtract off a DC value and amplify
what is left. This is the perfect job for an
instrumentation amplifier.
An instrumentation amplifier is very similar to
an op-amp. Its output voltage is related to the
difference voltage between its two inputs by:
SparkFun Redboard:
www.sparkfun.com/products/12757
Atmel Manual:
www.atmel.com/images/doc8161.pdf
Rg = 100 kΩ/(G − 1)
Conclusion
When we have the good fortune of using a sensor FIGURE 10. Maxwell — the cat scanner — monitoring every
with a high level voltage and a low output impedance, we aspect of this experiment.
can just connect it to one of the ADC pins of an Arduino
and get 10 bits of resolution with little effort. large DC offset, we can leverage an analog front end to
However, if we want to push the limits of sensitivity or condition the signal and get the most value from the 10-
take advantage of sensors which have high output bit ADC in the Arduino.
impedance, small scale signals, or small signals riding on a Two essential devices dramatically simplify the design
and implementation of an analog
front end: the op-amp and the
instrumentation amplifier. The
LM358 op-amp is the perfect
general-purpose version and the
AD623 is the perfect general-
purpose instrumentation amplifier
which play well with an Arduino.
Of course, there is often more
than one right answer to any design
challenge and there are multiple
ways of interfacing sensors to a
microcontroller. The op-amp and
instrumentation amplifier are sharp
arrows to have in your quiver of
design solutions.
To ensure the integrity of the
measurements in this article, I
incorporated a cat scanner to
monitor each operation.
Figure 10 shows the bench set
up with the cat scanner in
operation. NV
44 February 2016
ELECTRONET
For the ElectroNet
online, go to
USB
USB-FIFO
Add USB to your next project--
It's easier than you might think!
USB-UART USB/Microcontroller Boards
RFID Readers Design/Manufacturing Services Available
www.nutsvolts.com Absolutely NO driver software development required!
click Electro-Net
www.dlpdesign.com
)
RoHS
www.servomagazine.com
COMPONENT
COMPON T LEDss • LE
LED
LED BULBS
ULBS
BS
S • LED ACCENT
A EN
ACCEN
ENT LIGHTS
LIGH
#include <stm32f0xx.h>
■ Screenshot 6. This capture of the RCC reset and clock // PC8,PC9 = output mode
control structure was pulled from the stm32f0xx.h header GPIOC->MODER |= (GPIO_MODER_MODER8_0);
file. We are interested in the AHB entry. GPIOC->MODER |= (GPIO_MODER_MODER9_0);
More to Come
I’ll leave you with Screenshot 8, which is a screen
capture of the SES running our little blinky program in
debug mode. Now that we can flip bits on the www.embeddedARM.com
February 2016 51
NEAR SPACE ■ BY L. PAUL VERHAGE
3D Printed
Breadboard Base
with Sidecar Supports
I almost always test out my circuit designs on a breadboard. So, when I find a
unique breadboard base, it catches my eye. I was cruising Thingiverse.com and
came across a rather interesting but simple breadboard base with slide-in sidecar
style board supports (Figure 1). There are so many times I’ve connected to a board
that doesn’t plug into a
breadboard, and the only
thing holding it together was
the connection wires. The
connection wires as the only
support makes the project
difficult to move around. This
3D printed breadboard base
with sidecar supports that are
spring loaded with a rubber
band make the whole design ■ FIGURE 1.
Assembled unit
portable. I just had to print this on my 3D printer and try it out. with sidecar
board.
he original design is from Thingiverse user Patshead. base through guide holes on the sides. Two sidecars are
February 2016 55
Post comments on this article and find any associated files and/or downloads at www.nutsvolts.com/
magazine/article/february2016_Practical3DPrinting.
56 February 2016
■ FIGURE 7. Circuitry added to breadboard ■ FIGURE 8. Prusa I3 style printer from WanHao.
holder.
different mini boards to choose from, but some don’t offer printer since it is so small it can easily fit on any
pins that fit in the breadboard. They do have header pins workbench. Unfortunately, Hobbyking.com has since
that can be pushed through with a solder iron but this discontinued that printer.
sidecar option makes it easier to just leave them as they A Prusa I3 style printer (Figure 8) is another great
are and connect to the breadboard with a few jumper option. Many are offered as kits on eBay, but you can find
wires. The circuit shown in Figure 7 is not a complete one assembled for around $400. Another option for those
circuit as I took the picture as a demo. The focus of this that want less complexity but are willing to settle for less
article is to show how a 3D printer can actually make your printer temperature and settings control is the da Vinci Jr
electronics bench even easier to work at as you can easily (Figure 9). It prints PLA plastic only but does a good job
print custom tools like this. There are a lot of different at just $349 fully assembled.
options for breadboard holders on Thingiverse.com and I did several review videos on this printer at my
elsewhere. You can also easily design your own with YouTube Channel (youtube.com/elproducts).
programs such as Tinkercad, which is like building with When I got my first 3D printer, I wasn’t sure if I would
blocks. Once you have a 3D printer, it’s amazing how use it enough. Now, I don’t know what I would do
many little helpful gadgets like this breadboard holder with without it. Check out my YouTube channel for more tips
a sidecar can be found and printed. Another option is to on how to get started with 3D printing. I host a show
create a custom board holder with grooves to fit one called Filament Friday every week. NV
particular board. If you need to build up 10-20 boards,
then having a holder that you can slide the board into the ■ FIGURE 9. The da Vinci Jr.
grooves to hold it in place while you solder can save you
a lot of time. Or, just use this same rubber band
adjustable method for a variable side holder. The
possibilities are endless.
Fabrikator Update
In my last article, I introduced the Fabrikator Mini 3D
Resources
Check out my website My 3D designs:
and blog: www.thingiverse.com/
www.elproducts.com elproducts/designs
February 2016 57
OPEN COMMUNICATION n BY LOU FRENZEL W5LEF
THE LATEST IN NETWORKING AND WIRELESS TECHNOLOGIES
idea? home where many devices can be lets you control and monitor your
connected. The HVAC thermostat HVAC remotely.
58 February 2016
THE LATEST IN NETWORKING AND WIRELESS TECHNOLOGIES
Post comments on this article and find any associated files and/or downloads at
www.nutsvolts.com/magazine/article/february2016_OpenCommunication_Iot.
“Thing”
Application
Server
Sensor
Gateway InternetI Cloud
Thermostat
Smartphone
Figure 1. A simplified view of how the Internet of Things works. The “thing” connects to a gateway wirelessly. The
gateway has the Internet connection to the cloud. At the other end of the link is a server dedicated to the application.
This, in turn, links via a cellular connection to a tablet or smartphone.
by way of the cellular network to a can be done easier, more affordably, there are a number of critical issues
remote server that collects the video and on a larger scale. that developers must consider when
for the camera and forwards it to my Another term you will hear creating an IoT product or system.
phone. Totally neat. related to the IoT movement is Here are just a few examples:
While the smart home will machine-to-machine (M2M). M2M • Privacy and security.
probably be the largest sector of has been around for years also, and • Interoperability of devices and
the IoT, there are other application has been used for remote monitoring systems.
sectors. A big one is the industrial of vending machines, unmanned • Ease of setup and installation.
Internet of Things, or IIoT. Here is facilities, and truck fleets. It primarily • Managing large data collections.
where factories, plants, oil, and gas uses the cellular network rather than • Multiple standards.
fields can monitor and control things the Internet for communications. As for security, we all want our
from afar. Sensors of all sorts are the M2M is basically a blurry part of IoT data to be secure. We do not want
main interest where temperature, (in my opinion). our systems hacked to capture and
flow, mechanical position, There are all sorts of other use whatever data we collect. Nor do
pressure, and other critical physical applications emerging such as in we want some outside entity to take
characteristics can be observed in real medical and fitness monitoring, control of our system. This means
time. Other things to be controlled wearables like smartwatches, that our devices must use some form
are motors, pumps, relays, solenoids, agriculture, the smart grid, and smart of encryption and authentication.
robots, programmable logic cities and drones. It will be interesting Luckily, most new IoT chips and
controllers (PLCs), and machine tools. to see what new uses develop. products do have built-in security
Such monitoring and control has measures.
been going on for years, however,
now with new IoT technology such as
Adoption Issues To have all devices talk to the
gateway or to one another, they must
wireless and Internet connectivity, it IoT is happening right now, but all use the same wireless standard and
February 2016 59
THE LATEST IN NETWORKING AND WIRELESS TECHNOLOGIES
Change line #124 in the file ThinkingOfYou.ino to: We apologize to Mr. Rucker and for any
inconvenience(s) our oversights caused readers.
const char *ssid = WiFi.SSID().c_str(); NV staff
AUDIO/VIDEO
Speakers
FIGURE 11. FIGURE 12.
Components
Project
Accessories
February 2016 61
For comple t e pr oduct de t ails, visi t our webs tor e!!
The Nuts & Volts WEBSTORE
GREAT FOR DIYers!
Beginner's Guide to 3D Printing Electronics Workshop Programming the Raspberry Pi
by Companion for Hobbyists Second Edition: Getting Started
Chuck Hellebuyck by Stan Gibilisco with Python
This book was In this practical by Jack Simon
written to answer guide, electronics
the questions most expert Stan This practical book
beginners need Gibilisco shows you, has been revised to
answered. It covers step by step, how to fully cover the new
many of the popular set up a home Raspberry Pi 2,
3D printer choices workshop so you including upgrades
and then uses the can invent, design, to the Raspbian
under $500 build, test, and operating system.
Da Vinci 1.0 from repair electronic Discover how to
XYZprinting to circuits and gadgets. configure hardware
show you how easy Electronics and software, write
it is to get started. I take you through using Workshop Companion for Hobbyists Python scripts,
Tinkercad software for creating your own provides tips for constructing your create user-friendly GUIs, and control
custom designs. I go further and show you workbench and stocking it with the tools, external electronics. DIY projects include a
how to take a simple design and send it off components, and test equipment you’ll hangman game, RGB LED controller, digital
to a professional 3D printer. This book was need. Clear illustrations and interesting clock, and RasPiRobot complete with an
designed for anyone just getting started. do-it-yourself experiments are included ultrasonic rangefinder.
$24.95 throughout this hands-on resource. $15.00
$25.00
Make Your Own Programming the Intel Edison: Beginner's Guide to Reading
PCBs with EAGLE Getting Started with Processing Schematics, 3E
by Eric Kleinert and Python by Stan Gibilisco
Featuring detailed by Donald Norris
illustrations and Navigate the roadmaps
step-by-step Learn To Easily of simple electronic
instructions, Make Create Robotic, circuits and complex
Your Own PCBs with IoT, and Wearable systems with help from
EAGLE leads you Electronic an experienced
through the process Gadgets! engineer. With all-new
of designing a art and demo circuits
schematic and Discover how to set up you can build, this
transforming it into components, connect hands-on, illustrated
a PCB layout. You’ll your PC or Mac, build guide explains how to
then move on to Python applications, and understand and create
fabrication via the generation of standard use USB, Wi-Fi, and high-precision
Gerber files for submission to a PCB man- Bluetooth connections. Start-to-finish electronics diagrams.
ufacturing service. This practical guide example projects include a motor Find out how to
offers an accessible, logical way to learn controller, home temperature system, identify parts and connections, decipher
EAGLE and start producing PCBs as robotic car, and wearable hospital element ratings, and apply diagram-based
quickly as possible. alert sensor. information in your own projects.
62 February 2016
Order online @ store.nutsvolts.com
Or CALL 1-800-783-4624 today!
EDUCATIONAL CD-ROM SPECIAL
February 2016 63
TECHFORUM READER - TO - READER
All questions AND answers are submitted by Nuts & NO GUARANTEES WHATSOEVER are made by the
Volts readers and are intended to promote the exchange publisher. The implementation of any answer printed in
of ideas and provide assistance for solving technical this column may require varying degrees of technical
problems. All submissions are subject to editing and will experience and should only be attempted by qualified
be published on a space available basis if deemed suitable individuals.
by the publisher. Answers are submitted by readers and Always use common sense and good judgment!
64 February 2016
>>>YOUR ELECTRONICS QUESTIONS ANSWERED HERE BY N&V READERS
February 2016 65
>>>YOUR ELECTRONICS QUESTIONS ANSWERED HERE BY N&V READERS
Halicrafter’s communications receiver best to use a variable-voltage (variac) a live chassis. Most later sets used
from at least the ‘50s. I’m planning transformer to increase voltage slowly an isolated internal ground system
to replace the electrolytic capacitors over several days. Note that variacs to minimize the hazard. It’s safest
in the power supply with capacitors I are usually not isolated. An alternative to work on AC-DC sets using an
salvaged from a more recent TV set. method is to power up with an isolation transformer — especially if
However, I’ve read that incandescent lamp socket in series you’ll be connecting any AC-powered
electrolytic capacitors — once formed with the AC line, starting with a 60 test gear. You can make your own
at a certain voltage — can take watt bulb and increasing the wattage using back-to-back filament or power
months, if not years, to reform at a gradually. Turn the set off occasionally transformers of appropriate power.
new voltage. Until then, the capacitor and check for excessive heating. Good luck with your repair!
value can be significantly off from I have repaired many radios using Stanley Pitman
what’s on the label. higher voltage TV capacitors, and via email
Can anyone shed some light? have never known one to take more
than a week, unless it was defective. If #2 Let me start with a rule of
#1 The thin aluminum oxide the TV parts aren’t ancient, they may thumb: Electrolytic caps drop some
dielectric (energy-storing) layer in still be sufficiently formed for your value if formed to higher voltages
electrolytic capacitors is formed on new (lower) voltage, but for safety, (within working range). This is
the specially-treated anode metal, follow the above procedures. because of thickening of the barrier
and the electrolyte contacts the outer There is a strong shock hazard layer, BUT this can vary. That’s why
can (on early parts) or the cathode posed by AC/DC sets. Many early most are rated plus or minus 20%.
foil (on later “dry” parts). When versions of these sets had all B(-) They generally only need to be big
radios have been unpowered for a connections grounded to the chassis, enough (power filter or bypass). Don’t
very long time, electrolytic capacitors including one side of the switched expect much value drift moving to
tend to lose their dielectric layer and line cord, no matter which way it’s a lower voltage. Other concerns are
their voltage rating, but not usually plugged in. Missing or wrong size with internal resistance (can screw
much capacitance. They may destroy screws or knobs or rotting rubber with bypass performance in audio
themselves and other parts when re- mounting grommets could make stages, and heats cap at high duty
powered, unless slow-start techniques outer metal cabinets lethal. Some cycle).
are used to renew their dielectric. otherwise well-built later radios, Nick Vitinaros
When restarting long-idle sets, it’s such as the Hallicrafters SX-41, had Grand Blanc, MI
nLOOK FOR
3D PRINTERS/CNC
nSEARCH FOR
Find your favorite advertisers here!
Probotix ....................................... 44
nFIND
ADvertiser INDEX
National RF................................... 23 Qkits ............................................ 23
Servo City/Robot Zone ................ 67
All Electronics Corp. �������������� 7
DEVELOPMENT PLATFORMS Anaren �������������������Back Cover
AMATEUR RADIO AND TV Anaren ...........................Back Cover RF TRANSMITTERS/ AP Circuits ��������������������������� 20
National RF................................... 23 RECEIVERS Cleveland Institute of
EDUCATION National RF................................... 23
BUYING ELECTRONIC Cleveland Institute of Electronics..65 Electronics ��������������������������� 65
SURPLUS Command Productions ................ 21 ROBOTICS Command Productions �������� 21
All Electronics Corp. ...................... 7 NKC Electronics .......................... 23 Cleveland Institute of Electronics..65 ExpressPCB �������������������������� 6
Poscope ......................................... 6 Ion Motion Control ....................... 33
CHARGERS Front Panel Express LLC ���� 32
Parallax, Inc. ................................ 65
Hitec .............................................. 2 ENCLOSURES Servo City/Robot Zone ................ 67 Gooligum Electronics ����������� 27
Front Panel Express LLC ............ 32 Hitec �������������������������������������� 2
CIRCUIT BOARDS TEST EQUIPMENT
AP Circuits ................................... 20 KITS & PLANS Ion Motion Control ��������������� 33
NKC Electronics .......................... 23
ExpressPCB .................................. 6 National RF................................... 23 National RF �������������������������� 23
Poscope.......................................... 6
Front Panel Express LLC ............ 32 NKC Electronics .......................... 23 NKC Electronics ������������������ 23
Saelig Co. Inc. ............................... 3
Gooligum ..................................... 27 Qkits ............................................ 23
PCB Shopper ............................... 36 Servo City/Robot Zone ................ 67 PanaVise ����������������������������� 20
Saelig Co. Inc. ............................... 3 TOOLS Parallax, Inc. ������������������������ 65
MICROCONTROLLERS / I/O PanaVise ..................................... 20
Poscope.......................................... 6 PCB Shopper ����������������������� 36
COMPONENTS BOARDS
All Electronics Corp. ...................... 7 Ion Motion Control ....................... 33 Poscope ��������������������������������� 6
Parallax, Inc. ................................ 65 Parallax, Inc. ................................ 65 WIRE, CABLE AND Probotix ������������������������������� 44
Qkits ............................................ 23 Technologic Systems ................... 51 CONNECTORS Qkits ������������������������������������ 23
All Electronics Corp. ...................... 7
Servo City/Robot Zone ................ 67 Saelig Co. Inc. ����������������������� 3
DESIGN/ENGINEERING/ MISC./SURPLUS
REPAIR SERVICES All Electronics Corp. ...................... 7 SDP/SI ��������������������������������� 23
Cleveland Institute of Electronics..65 WIRELESS PRODUCTS Servo City/Robot Zone �������� 67
ExpressPCB .................................. 6 MOTORS / MOTOR CONTROL Anaren ...........................Back Cover
Technologic Systems ����������� 51
Front Panel Express LLC ............ 32 Ion Motion Control ....................... 33 Technologic Systems ................... 51
66
66 February 2016
February 2016
Learn more
EVOLUTION.
2005
1945
1905