Gas station without pumps

2015 November 27

Resistor assortment box

Filed under: Circuits course — gasstationwithoutpumps @ 11:36
Tags: , ,

A few years ago, I bought myself a selection of 1% resistors, like the ones I have my students get in the applied electronics course (from DIYGSM through Amazon, though I have tried other suppliers since then, since UCSC purchasing doesn’t permit ordering through Amazon, even when their prices are the best).  The resistors come in sets of 10 on paper tape (cut from the long rolls used for pick-and-place machines), rubber-banded into bundles of about 50 different sizes.  After a while the rubber-banded bundles started to disintegrate, and I’d gotten quite a collection of loose resistors that were no longer on the tapes, so finding the resistor size I wanted was often a bit of a hassle.

For a while I stored the loose resistors by poking them into a block of foam, roughly sorted by value,  but that was no longer working well—it took too long to find out whether I had a resistor of the size I needed stuck into the foam.  So a couple of weeks ago, I bought a large number of 3″×5″ plastic zippered bags and a 4″×6″ index card box, and sorted the resistors by size into individual bags:

Box with about 120 different sizes of resistors, from 0.5Ω to 5.6MΩ.

Box with about 120 different sizes of resistors, from 0.5Ω to 5.6MΩ.

I was originally planning to use white address labels to put the size values on the bags, but the address labels did not stick to the plastic.  A different sort of label (like the ones sold for marking stuff on freezer bags) might work, but I just used a permanent felt tip mark to write directly on the bags).

I still have about 100 loose resistors to file away, which I’ll probably finish doing today. It takes a while, as I try to confirm each resistance value before filing it: both reading the color code and measuring the resistance with an ohmmeter. My Fluke multimeter is broken, so I’ve been using the DT-9205A multimeter that I reviewed earlier. I found out one reason that multimeter was cheap—one of the probes fell apart within a few weeks of light usage.  I bought myself some more cheap voltmeter probes on AliExpress, which work ok (though who knows how long they will last).  The new probes have very sharp tips, which is handy for probing surface-mount boards, but a bit risky for clumsy people like me—I’ve stuck myself with them a few times by accident.

The DT-9205A meter is rather awkward for reading resistance—it often takes several seconds to settle for a larger resistor, and there is no zero-function to compensate for the resistance of the probes when measuring small resistances.   The ohmmeter is only accurate to about 2% also (a 1kΩ±1% resistor measures at 984Ω on the 2kΩ scale), which is nowhere near as good as the Fluke meter I’m used to, nor the expensive meters at work.

The box and bags is much bulkier than the original rubber-banded bundle (maybe 4 times the volume), so I’m not going to recommend this approach to my students, but I think that it will save me some trouble in future (as well as letting me know when I need to re-order a particular size resistor).


2014 June 29

Soldered EKG from op amps

Filed under: Circuits course — gasstationwithoutpumps @ 20:34
Tags: , , , , , ,

Today I decided to solder the EKG design from Instrumentation amp from op amps fine for EKG onto one of my instrumentation amp protoboards, leaving out the instrumentation amp chip—I wanted to see how much trouble it would be.  As it turned out, the build was fairly straightforward, but a little tedious. There are only dedicated spaces for 8 resistors on the board, but there are 9 resistors in the design I used, so one had to go elsewhere on the board.  I deliberately left out the low-pass filter on this implementation (eliminating one capacitor), which did not make a huge difference—I ended up with about 58µV peak-to-peak of 60Hz noise on my input signal (compared to about 40µV in the previous design with a capacitor for low-pass filtering), which is fairly small compared to the 870µV R spike or the 220µV T wave.  The 60Hz interference was large enough to interfere with the P wave and make it difficult to see whether or not there was a U wave.  Of course, these measurements were made in my bedroom/lab, which has a lot less 60Hz interference than the lab the students work in.  I’ll have to take the board into work and see how bad the interference is in that space.

Using a digital filter to remove the 60Hz noise reduced the 60Hz interference to under 100nV peak-to-peak (way lower than other noise components), producing very nice waveforms, even when sampling at 360 Hz.  I’ll probably want to include a digital filter Python script in the book so that people can see the cleaned up signals, even if there isn’t room in the course to design digital filters.

I still have to decide whether to have students do the EKG amplifier without the INA126P chip, using only op amps. Wiring up the bigger circuit takes time, and I’m not sure that 6 hours of lab will be enough time for students to debug their design and get it soldered—it took them long enough to solder the EKG with the INA126P chip, which has fewer components and fewer wires to route.  It took me quite a while to solder up the board, so it would probably take the students far too long.  Is the pedagogic value of designing and building a 2-op-amp instrumentation amp worth the time? I do want the students to end up with an EKG to take home, as it is a tangible artifact that can demo the function of.  I’m thinking that I could even drop the soldering of the pressure-sensor amp (since they don’t take home pressure sensors), and add soldering of the microphone pre-amp.  If I do that, I’ll probably want to redesign the protoboard again, making it an op-amp protoboard with no instrumentation amp slot, but with more resistor spaces.

Cutting one part that costs about $2.70 and the $1.90 thermometer might justify my switching back to the resistor assortment I used in Winter 2013:  1120 piece resistor assortment for $17.39 instead of 1280 piece resistor assortment (currently $10.65) without raising the lab fee.  Why would I want fewer resistors at a higher price? The 1120-piece assortment is 10 each of 112 values, while the 1280-piece assortment is 20 each of 64 values.  Also the 64 values don’t seem to be very repeatable from set to set, and some sets has duplicates (so only 62 or 63 different values).  The 112-value sets seem more reliably useful.  A hobbyist might be better off going one step further to the 3700-piece resistor assortment (25 each of 148 values), but I can’t justify the $31.48 price for my class. (The extra $14 would probably raise the lab fee.)


%d bloggers like this: