Getting parts organized for the Dayton Hamvention

The Dayton Hamvention is coming fast, and for me this year, that means it’s time to get organized.  As anyone who works or plays with electronics soon learns, parts organization is a problem. In addition to not always remembering what I had, finding things that I know I have can be hard. This has especially been a problem in the last year, as I got back into the hobby after a few years away. I have a good memory (at least sometimes!), but no one can remember hundreds of part numbers, values, and locations for years on end.

This caused me some concern as I look forward to my first Hamvention trip in several years. Hamvention has a giant flea market, full of wonderful junk (junque?) to buy. Without knowing what I have, how will I know what to buy?

On top of that, as I’ve worked on projects recently, my frustration has grown with not being able to find parts that I know I have… somewhere.

Disorganized bin of resistors

This is one of the more organized bins in my workshop...

Though I’ve tried at least four different ways to organize my parts over the years, none has worked particularly well. This time, though, I have an edge on the chaos: My dear wife, Lyn, who has spent years in inventory management and running warehouses. With plenty of her help, I think I’ve finally hit on an effective system.

The first step is little bags. Each baggie holds one unique kind of part. Sometimes it’s a single part number, but for commodity components, I will group parts with different manufacturers or part numbers as long as the specifications are identical. In other words, all of my 100 nF 50 V X7R monolithic ceramic capacitors can go in a single bag, but 100 V versions go into their own bag, the Z5U version gets its own bag, and the ceramic disc version gets its own.

Each bag gets a unique number. I started at 0001 and worked my way up. I used four digits because I suspect I might hit 1000 bags by the time I’m done.

Capacitors in numbered bags

The cheapest place for good-quality 3×5″ poly bags that I’ve found, once shipping costs are taken into account, is my local Michael’s store. (Shopping there for bags was another one of Lyn’s suggestions.)

For the semiconductors, I splurged and bought a pack of static-shielding bags from Mouser. Rather than judge the relative static sensitivity of different components, I decided to put all of the transistors, chips, and diodes in static-shield bags, even if robust parts like 2N2222‘s probably would survive fine without them.

Transistors in anti-static bags

Next, the small baggies are stored in 1-gallon bags. Several 1-gallon bags go in a bin.

Gallon bags in a bin

The bin is numbered, and the 1-gallon bags within the bin are lettered. That means every baggie can be identified and found by combining the bin and bag codes and the baggie number. “1-B-0067″, for example, would send me to “bin 1, bag B, baggie 0067″.

Since baggies have unique numbers in the whole system, I can move them around from bag to bag or bin to bin as needed, and I can reuse baggies for different kinds of components as my stocks are depleted.

Tracking these numbers in my head would be no better than where I was, so the final piece of the system is a spreadsheet. With columns for the number and location, I can find things fast. Additional columns have the type and subtype of component (such as transistor/n-JFET, or capacitor/tantalum), the component’s package, manufacturer, part number, and value, and a description field.

Screenshot of inventory spreadsheet

I try to be as specific as I can, and I try to be consistent with nomenclature, to make searching easier later on. For example, I use units of μF, nF, and pF for capacitors, and I do not use decimal μF for capacitances below 1 μF. In other words, all of my 0.1 μF capacitors are listed as 100 nF, and the 0.01 μF capacitors are listed as 10 nF.

I thought about using one of the web-based inventory programs that are available, such as PartKeepr, but there is something to be said for keeping it simple, and besides, migrating a spreadsheet to newer software over the years will be easier than migrating a database.

The big success for this system may also be its biggest failing. As I work through my existing parts collection, I’m finding less and less that I want to buy at Hamvention. I already have all the common capacitor values I am likely to need for several years, and I found PN2907 PNP transistors cached in three different places, together amounting to what will probably be a lifetime supply. The oddball project-specific stuff I’ll just buy from Digi-Key or Mouser when I need it.

The cool part will be putting the spreadsheet on my phone, so I can check my inventory on the spot in the flea market. That should keep me from buying another 100 PN2907′s!

How have you organized your parts? Do you have any tricks to share?

Posted in Tips and Tricks | Tagged , , , , , | Leave a comment

KK7B R2 receiver: lifted pads, a scorched board, and it works anyway

I’m slowly making progress on my KK7B R2/T2 transceiver project. At my last report, I was waiting for replacement capacitors to arrive. They did, and I pulled out my ancient solder-removal iron, a Radio Shack unit from who knows how long ago.

Either my unsoldering skills are rusty or I was too impatient, or both. I managed to lift four pads, completely demolishing one. The other three were salvageable. I’d like the board to be perfect, but having it work is an acceptable substitute.

The new caps went in easily, with only a little fiddling to wire around the ruined pad. Better yet, the excessive bias current I saw before the replacement is gone! The board is supposed to be adjusted to 100 mA current. It used to start at 120 mA, with the bias adjustment set to its minimum, and drift its way up to more and more current from there (going as high as 200 mA before I’ve lost my nerve and switched it off). Now it starts at 84 mA and… drifts its way up from there to 130 mA and more.

OK, so one problem was solved. I can always increase current with the bias adjustment potentiometer.

After scratching my head a bit, I finally noticed one small sentence in KK7B’s articles on the R1 and R2. The audio output transistors need a heat sink, do they? Oops! I dug around a bit in my junk box but couldn’t find anything that would fit. The articles say the audio amp will drive a pair of headphones fine without the output transistors, so I decided to take them out.

I recently got a Sparkfun hot-air soldering station (a Sparkfun Free Day prize!) and thought I’d give it a shot. Sure, hot air is usually for surface-mount parts, but solder is solder, right?  Not being sure how to set the airflow and temperature settings, I set both on the high side, put some flux on the output transistors’ pads, and went for it. The result wasn’t pretty:

Oops... A scorched R2 PCB

Yes, I scorched the board. Oops. Between this and the lifted pads, I think I need to work on my unsoldering skills.

Since the transistors are 50 cent parts (TIP29/TIP30), I unsoldered them the easy way: I cut the leads, removed the leads from the board with my conventional iron, then cleaned out the holes with my solder sucker. I didn’t damage any pads this time!  (The picture above was taken after all of these steps.)

A little more soldering to hook up a BNC and some other goodies, and the board was alive!

R2 on the bench, surrounded by test equipment

That’s a Tek 191 signal generator as the VFO (variable frequency oscillator), with a frequency counter as the readout. That’s an MFJ QRP antenna tuner in the foreground.

I didn’t build a phasing network yet, so I drove only one VFO input. That causes the R2 to function like a conventional direct-conversion receiver,receiving both sidebands simultaneously. That said, it works. I was able to hear signals, though frankly many were quite hard to copy. I’m not sure what else might be wrong.

The frequency counter spits out a lot of digital noise. I learned to flip it on only to spot-check my frequency. It’s a lot quieter in standby mode.

Did I mention that IT WORKS?

Despite the success, I’ve been struck by a bit of paralysis in moving forward. There are so many choices to make for integrating the radio.

  • What kind of VFO should I use? Should I design my own or buy a kit?
  • Which modes should I include?
  • How much power output do I want?
  • What power amp should I use? Should I design my own or buy a kit?
  • Which case should all of this go in?
  • What microphone, and microphone connector, should I plan for?

Keep in mind that this is supposed to me my fast route to getting on the air, so I’m thinking kits for both the VFO and amp. Besides, with as busy as it has been at work lately, it is nice to sit back and just build something.

It’s not a pretty project any more, but it works! Hooray!

Posted in Projects | Tagged , , , , , | 1 Comment

Ouch! Watch out for power supply memory buttons

What is it about power supplies?  They are so very boring, until suddenly they bring excitement. It’s always the wrong kind of excitement, too…

It was a quiet day at work. I was using a GW Instek PST-3201 bench power supply, a nice unit with three 30 volt/1 amp outputs. It was purring along at 12V and a couple dozen milliamps, powering a rare and expensive prototype while I did firmware development. Then, when I reached over to grab something, I bumped the “RECALL ↑” button. Bang! The supply’s relays clacked, and suddenly all three outputs were configured for maximum output. The supply pushed a full 30 V, with a 1 A limit, into my circuit.

Needless to say, I switched the output off as fast as I realized what happened. Thank heavens for the clatter of those relays, which told me something unexpected had happened. With the output off, it was time to check for damage.

To my surprise, there was none. The power supply wasn’t plugged directly into the prototype — instead it went through a test board that interfaced a PC to the device under test. By very fortunate coincidence, the wimpiest chips on that board were rated for a hefty 36V, and some were rated for as high as 42V. (Those “wimpy” chips weren’t wimpy in any real sense — they were some LT1970 high-power op amps, more than capable of hefty output of their own.)  The interface board was undamaged. Better yet, none of the high voltage made it to that precious prototype.

As I breathed a sigh of relief, I looked for the cause of the accident. It turns out this supply came from the box with half of its memories set for 30 V / 1 A and the other half set for 0 V / 0 A. Hitting “RECALL ↑” took it to one of the 30 V memories.

This could have been much worse. It was sheer luck that all of the parts I picked for that interface board had maximum ratings higher than 30 V.

Needless to say, if you happen to use GW Instek PST-3201 supplies or the closely related PST-3202, it would be wise to check the memories and set them all to zero volts. That’s what I did as soon as I realized I was not going to have to tell my boss I had blown the prototype.

Updated 3/24/12: Corrected the name of the button at fault. It is “RECALL ↑”, not “MEMORY ↑”.

Posted in Tips and Tricks | Tagged , | Leave a comment

Cool chip: LT1970 power op amp with current limit

LT1970 power op amp configured for a gain of two and a variable current limit inputThis week I want to share a new favorite chip of mine, the LT1970 power op amp from Linear Technology. This nifty device runs from a 36 V supply and can source or sink 500 mA. That’s not too unusual, but how about programmable current limiting, outputs to indicate over-temperature and over-current, and more? Think of it as a four-quadrant power supply on a chip, or as the source part of a source measurement unit.

The first nice feature of the chip is the programmable current limit. The chip has two inputs, one for sourced current and one for sunk current, that accept a voltage from 0 V to 5 V. It compares these voltages against the current measured across an external sense resistor and limits its output when the measured current exceeds 1/10 the voltage on the relevant control pin. Differential input pins, independent of the output pin, are provided for the sense resistor.

Another great feature is that the output stage has its own power pins. One of the neater “trick” circuits out there is to boost the current capability of an op amp by using the power supply pins to drive external transistors. An ordinary op amp without separate power pins can also be used this way, but the bias current of the external transistors will be proportional to the op amp’s quiescent current, which means one will probably need a low quiescent current model. By pinning out the output stage’s power pins, the LT1970 makes it easier.

This circuit ends up running the output transistors in class AB. The bias current in the transistors is controlled, in part, by the quiescent current of the op amp. When the op amp tries to increase the voltage of its output, it will deliver more current to the output, pulling that current from its power supply. That, in turn, changes the voltage on the base of the upper external MOSFET, causing it to source more current as well. The equivalent happens when the op amp needs to sink current.

Another advantage of choosing the LT1970 for this configuration, instead of an ordinary op amp, is that all stages except the output stage will see a stable power supply, keeping the PSRR up where it belongs. As for the last stage, when combined with the external transistors, it resembles two Sziklai pairs (also called “complementary Darlingtons”) biased into class AB.

The separate power pins also make it easy to use a lower-noise supply for the input stages and a high-current supply for the output. I used them for another purpose: My application needed a wide input range but drove an input sensitive to overvoltage. Running the input stages off of 24V and the output stage from a lower voltage ensures the output will not hit an unsafe value. Watch out, though, because V+ and V- must be within the VCC and VEE supplies to the op amp’s input stages.

Another neat feature is three open-collector outputs that indicate that the op amp has gone into thermal limiting, into current source limiting, or into current sink limiting. These pins can drive LEDs for an easy status display.

The biggest drawback of the LT1970 is its package, a 20-pin TSSOP with a thermal pad on the bottom. That thermal pad means you pretty much have to have either a hot air or reflow setup to solder it.

As you might expect for a part like this, there are ways to use it beyond the obvious. The current-limiting flag outputs can be used for snap-back current limiting, where the output current is sharply reduced after it enters limiting. The current sense pins can be used as voltage-limit inputs, enabling circuits like a symmetric, voltage-controlled limiter. These ideas are from the data sheet; I haven’t tried my creativity at coming up with other ways to (ab)use the chip.

No, I used the chip for a boring old power supply. It was a two-quadrant supply, though, meaning (in this case) that I needed a positive-output power supply that would either source or sink current to maintain its output voltage. The voltage was controlled by an analog input. What I needed was basically just an op amp with current limits and a few hundred milliamps output. The LT1970 was perfect. I fitted it with potentiometers to adjust the current limits, a set of LEDs for the status outputs, and as much PCB copper as I could manage for a heat spreader. I also included some compensation for capacitive loads. It worked great. I haven’t had any issues with oscillation, the LEDs have been handy to tell me when I mess up, and the current limit has saved my bacon at least once. Sure, I could have built the same supply from separate parts for a lower cost, but it would not have been nearly as easy or as quick. This is another case where it was worth spending a little money on a chip in exchange for saving a little engineering time.

The feature I miss most from the LT1970 is a current amplifier output. It does current measurement internally, for the current limit feature, but a voltage proportional to current is not brought out. For my power supply, I had to add an external difference amplifier to measure the output current. The difference amp used the same current sense resistor as the LT1970, but it would have been nice to have that function built in.

The quantity 1 price for the LT1970 is $9.88 from Digi-Key or $6.05 directly from Linear Technology.

Figures: Copyright 2002 Linear Technology Corporation. Used by permission.

Posted in Components | Tagged , , , | Leave a comment

R2 receiver update: Time for new electrolytic capacitors

Crunch time at work has been limiting my basement tinkering, but I recently found time to work on my R2 receiver a bit more. It is pulling excessive bias current, which had me scratching my head. The audio power amplifier bias is supposed to be adjusted so that the whole board pulls 100 mA, but it’s taking 120 mA even with the bias pot set to its minimum. After double-checking all of the component values and verifying all of the bias voltages on the board, I was left scratching my head. Then I remembered the age of the kit. Even while building it, I had doubts about the electrolytic capacitors…

This R2 kit includes 15 Panasonic Z-series electrolytic capacitors. Aluminum electrolytic caps are good at one thing: Lots of capacitance at a low cost. In nearly every regard, they have inferior performance, with high equivalent series resistance (ESR), inductance (ESL), and, yes, a short lifetime. I’m not sure exactly how to translate the lifetime specifications for electrolytics to room temperature storage, but the rule of thumb tends to be that they can tolerate 5 years on the shelf, after which they require a “reforming” procedure. Reforming them at that point can get them to last another 5 years or so. After that, figure that they are shot. Old electrolytic capacitors can have excessive leakage current. In extreme cases, this current is enough to heat them up excessively and they go bang! The capacitors on this board are old enough to vote. Maybe one or more of them are to blame for the extra milliamps.

I had a little trouble finding the perfect capacitors, but then I was looking for performance at least as good as the original. This was perhaps foolish, because I couldn’t find data on the Z-series caps. Panasonic discontinued them in 2000. In lieu of further information, I arbitrarily went for high-quality models from a favorite manufacturer. In some cases, these were nearly double the price of the cheapest options, a breathtaking 23 cents versus 12 cents, quantity one. Seriously, replacements for all of the caps cost all of $2.85, including a few spares for good measure.

My one mistake so far is to forget about the T2 transmitter. If the R2′s capacitors are bad, the T2′s surely are as well. Maybe the spares I bought will end up there.

Troubleshooting is half the fun of this stuff. Who needs sudoku when you can puzzle out a misbehaving circuit?

Posted in Projects | Tagged , , , , , | Leave a comment

Happy Birthday, Skywired!

Abstract first-order delta-sigma modulatorOne year ago today, I posted The Plan, the kickoff post both for this blog and for an ambitious DSP transceiver project. My wife had started a blog a few months earlier, and I was her sysadmin. I saw the fun she was having, and soon realized that administering two WordPress sites would not be much more work than administering one. The year since has brought 57 posts and pages about topics ranging from delta sigma data conversion to electronics books for children, but I’ve kept the project emphasis and the full-documentation style.

A3PN250 FPGA breakout boardThe transceiver vision from The Plan has shifted a bit. Initially, I planned an FPGA-centered design, even to the extent of building the analog-to-digital (A/D) and digital-to-analog (D/A) converters myself. That work led to a better understanding of delta sigma data conversion and with it a sense of realism about achievable levels of performance in a discrete design. I designed a high-performance A/D breakout board, but soon realized the pace of the project was likely to make me miss next year’s peak of the sunspot cycle and with it the best radio propagation for the next 11 years.

KK7B R2 receiver, top sideI changed my focus to building a transceiver around R2 receiver and T2 transmitter kits that are old enough to vote. That project is still in progress, by the way. The R2′s output amp isn’t working right yet.


The following pages were the most popular this past year:

  1. How to solder QFP, TSSOP, SOIC, and Other Surface Mount Parts
  2. A3PN250 FPGA Breakout Board
  3. The FPGA level shifter: Not entirely crazy!
  4. How Delta Sigma Works, part 1: Introducing the Delta Sigma Modulator
  5. How Delta Sigma Works, part 2: The Anti-Aliasing Advantage

Traffic has grown gradually but satisfyingly this year, bringing visitors from an even 100 countries. (The US is top, followed by the UK, Germany, Canada, and India.)

Thank you for reading. If you are a repeat visitor or an RSS subscriber, a big thank you for that as well. Here’s to more “Electronics, DSP, and Ham Radio”!

Have a great 2012!

Posted in Skywired News | Tagged | Comments Off

Building a KK7B R2 phasing receiver

Hi, I’m back! It was a rough week, with a death in the family. As it ended, I found some time for some “solder therapy”. There is something good for the soul in putting together electronics. I don’t know if it’s the scent of the rosin or the satisfaction of seeing a project come together. All I know is it’s good for me.

KK7B R2 receiver, top side

The target of my soldering was my KK7B R2 receiver kit. This is the companion to the T2 I wrote about a few weeks ago. To my surprise, the R2 was easier to put together despite the higher part count. The components are larger, forcing a less dense pin matrix, and the board is separated into sections: mixers and diplexers, audio phase shift, low-pass filter, and audio amplifier. Conveniently, the board uses jumper wires (not yet installed on mine) to connect the sections. The intent appears to have been to make it easier to extend the board by swapping in a different phase shift network or adding alternate filters for CW or contesting, but it will make the board easier to debug as well, since I can bring it up a section at a time.

Keep in mind that this is a vintage kit that is no longer available, but updated versions of the design are still produced by Kanga US.

The board surprised me with its heft. I work mostly with surface-mount digital boards where the fiberglass PCB is the heaviest component. This board, though, weighs 134 g (4.7 oz), which is a lot for 100 cm2 (16 in2). The shielded inductors are the culprits. Each black cylinder in the photo is the ferrite shield of an inductor. Each inductor is noticeably heavy for its size, and this board has 10 of them.

KK7B R2 receiver board, bottom side

Once I wash the flux off (it’s not as much fun as soldering), the next piece of the puzzle is to build or buy a VFO. Rick, KK7B, designed a companion VFO for these boards, but it is out of production at the moment. I’m thinking about one of the Si570 VFOs out there. This little chip offers a very low phase noise synthesizer with tuning in steps of a fraction of a Hertz. Having this on a single chip was a pipe dream when the R2 and T2 were designed.

After that, I’ll need to build a power amplifier to boost the T2′s milliwatts up to a reasonable level — at least a watt, maybe as much as 50 W. Finally, I will have to integrate all the pieces into a working rig. Professionally, I do a lot of microcontroller work, so it’s tempting to build a fancy digital control panel with circuitry to integrate every R2 and T2 option imaginable. Instead, I’m trying to keep myself to something simple: one band, SSB only, and a digital frequency readout as the only frill.

I still have to pick the initial band. I’m torn between 20m, my favorite for PSK31, and 40m, which I like for SSB. I’m after whatever DX I can land in either mode. What band would you recommend?

Posted in Projects | Tagged , , , | Comments Off

Making a coax feedthrough window for my shack

One problem every ham faces is how to get his signal from inside, where the radios are, to outside, where the antennas are. A while back, I prototyped replacing a screen in my basement windows with a feedthrough panel. The prototype used hobby polystyrene sheets, which were easy to work with but far too flexible for the job. As the weather cooled, I removed it and closed the window, for fear some mice or other critters would find it a convenient way into our nice, warm house. Without a feedthrough, I had no way to use my antenna, so it was time to build a permanent version.

The window I chose is a typical basement window made of glass block, with a small section that opens.

It didn’t take much work to remove the two screws that held the screen window.

My plan was to cut a piece of acrylic (plexiglass) to replace the screen, but a friend one-upped that by giving me a piece of polycarbonate. This stuff is tough. A thicker version is used in bullet-proof windows! It will work fine for the job.

I put the screen on the polycarbonate for size.

It’s perfect!

I marked the size I needed, along with the position of the screw holes, then used a scribing tool and a straightedge to scribe a deep line in the polycarbonate. The idea was to cut it like one cuts acrylic: by scribing it, then snapping it.

(This is what the plastic-scribing tool looks like. I found it in the window-repair section of my local hardware store.)

The polycarbonate was very hard to snap. I found out later that scribing and snapping is not the way to cut polycarbonate. In fact, it can shatter from this treatment. I should have cut it with a saw — I’m told table saws work particularly well.

In my ignorance, I scribed it deeper and deeper, trying to snap it over and over. Finally, it snapped. The material split a tiny bit along one edge (where the scriber had split and I had two parallel lines in the plastic), but in general the edge was clean and straight. I had scribed more than halfway through the sheet before it was ready to snap. Maybe I effectively sawed it after all…

The next step was to make a hole for a BNC bulkhead feedthrough. The tool for this job was a jeweler’s saw with a spiral saw blade. These nifty blades are round and can cut in any direction without turning.

As a template, I used an electrical-box faceplate that had two holes for BNC feedthroughs like this. It came from the trash when an old coax-based (“thinwire”) Ethernet installation was upgraded to twisted pair.

I drilled the hole with my little Dremel drill press.  Some Googling of polycarbonate turned up recommendations against using a hand drill with it, because it can break bits if they aren’t held straight. I wish I had a real drill press, but this attachment for my Dremel tool seemed a good choice when I wanted to drill holes in homemade PCBs. It worked great for this job, too. A 1/8″ hole, the largest I had a collet for, was more than large enough to slip the saw blade through.

I also used the drill press to make two holes for the screws that will hold the panel in place.

As I sawed, I took care not to run the blade right against the template. It is stainless steel and would have dulled the blade much faster than the polycarbonate. In any event, I also had trouble turning one corner and needed to clean that up as well.

I set up the Dremel with my favorite burr bit, which looks like it needs to be replaced soon. It went through the polycarbonate like butter, quickly bringing the edges of the hole out to match the template.

I removed the template and tried the BNC bulkhead feedthrough for size. It fit perfectly! My past includes many a panel with misshapen holes that barely fit their intended connector, so this was surprising but welcome. I guess that’s what I get for never using a template before. The feedthrough I used was the former resident of the faceplate-turned-template.

Now, one thing to mention here… I took care to put the nut on the inside of the panel. I used Coax-Seal on the outside connection, to prevent water ingress, and that stuff is messy and a bother to remove and replace. By putting the nut on the inside, I can remove and replace the feedthrough window without disturbing the Coax-Seal. That might be handy when I cut a hole for another connection.

Finally, I put it all together. I pulled the protective covering off of the polycarbonate, installed the feedthrough for real, and screwed it in place of the screen window. It was a little dusty, so I cleaned it before I installed it. Now it is so clear that the coax looks like it floats in space.

The clearance between the internal, movable window and the feedthrough window is enough that I can close the window after disconnecting the internal coax. (I figured that out with the polystyrene prototype.) That’s good for energy efficiency. The panel fits tightly enough that I don’t feel a draft, and I could always add weather stripping, but it’s still only a single-paned window. The moveable window behind it is double-paned.

The picture above shows the Coax-Seal, too. My technique for that, which I learned from the hams at the Case Amateur Radio Club, is to first wrap the connection with electrical tape, with the outer end folded over a bit to make a pull tab. Cover the tape with Coax-Seal, with the Coax-Seal extending a bit past the tape on each end for water-tightness. When you want to remove the connection, you can cut almost all the way through the Coax-Seal with a sharp knife, split the rest open like peeling an orange, and remove it down to the electrical tape. Next, unwrap the tape started at the pull-tab. The tape will take the perpetually sticky Coax-Seal residue with it, leaving a clean pair of connectors ready for reuse.

Jay Eiger was a font of wisdom for this project and also gave me the polycarbonate. Thanks, Jay!

Posted in From the Shack, Projects | Tagged , , | Comments Off

Itead Studio’s Open PCB exchange: how it worked out

The boards I ordered last month from Itead Studio arrived with something extra: someone else’s boards! No, it was not a mistake, but a 10-cent option that I could not resist: the Open PCB service. For 10 cents above the cost of a prototype PCB order, Itead fabbed two extra boards of my design. Those boards went into a pool of boards from the other Open PCB participants, then Itead sent each of us two random boards from the pool. All participating boards are supposed to be open source. Sure, there is no guarantee that the boards will be at all useful to the recipient, but who knows, maybe something nifty will arrive!

I ordered the Open PCB option with my AK5388 ADC board. Along with my 8 copies of the board, I received two boards from strangers. Both are 5 cm x 5 cm, which is likely a popular size for Itead because it’s the maximum size for their cheapest PCB fab deals.

Boston University Rocket Team thermocouple digitizer PCB, top side Rocket team's thermocouple digitizer PCB, bottom side

The first board is a thermocouple digitizer from the Boston University Rocket Team. The team has posted the schematics, layout, and Gerbers online on GitHub. The board was clearly labelled, making it easy to find the documentation in Google. It even had a QR code. though the pixels were blurred by the silkscreen and my phone was unable to read it. It’s a great idea for open source hardware, though, and would probably work if it were a little bigger.

The design uses a single MAX31855 as a thermocouple-to-digital converter. This is a neat chip that contains a thermocouple amplifier, cold-junction compensation, and a 14-bit ADC all in an 8-pin SOIC. That’s a ton of analog circuitry condensed into a single chip! It can cover temperatures from near absolute zero to molten metal, with quite respectable accuracy and resolution.  The board runs the chip’s Serial Peripheral Interface (SPI) to a USB 3 connector, wired in a non-standard way that carries power (12V, 5V, and 3.3V) and an SPI bus.

The Rocket Team has chosen an interesting mission. They don’t fly rockets, but rather research the design and performance of hybrid rocket motors, including firing them on a static test stand. They build their own instrumentation, all open source hardware, and this board is part of that package. I can see why they would be interested in accurately measuing the temperature of very cold and very hot things!

The board actually has some potential to be useful to me. I don’t need a thermocouple interface right now, but I can imagine using for one down the road to monitor a reflow oven or to manage the heatsink temperature in a linear amp.

Ville K's board, top side  Ville K's flash power control board, bottom side

The second board is a bit of a mystery.

On first inspection, I was puzzled by the single-row header right across the middle and the smaller row of holes at the upper-left side. Eventually I noticed that there are no traces running to either, so it’s likely that they are perforations to simplify cutting the board into three pieces.

The bottom portion is the least obscure. It bears the labels “Flash power control” and “X-SYNC”, so it must have something to do with photo flash. Beyond that, I’m stumped. A two-pin header for an IGBT (a three-terminal device) particularly leaves me scratching my head. The designer did a nice job of bonding his top-side ground pour to the bottom-side ground plane with plenty of vias, including all around the edge of the board.

On the upper right, there are two copies of a circuit, separated by a row of holes to aid breaking them apart. The circuit has a transistor in SOT-23, a diode, a few capacitors, a resistor, and what is likely an IC in a small 5-pin package. Looking at the topology, I think the circuit is a boost converter, at least if the unlabeled two-pad component on the center left is an inductor.

The patterns in the upper right corner are even harder to understand. They look like series chains of something, maybe resistors or LEDs. The vias in the pads and the wide traces indicate that the designer was concerned about resistance, inductance, or heat dissipation. Since the three-device chain (upper center of the board) has the triple vias to back-side copper, but does not use the copper to interconnect, I would guess heat sinking is the concern. It could be a challenge to reflow the board with the open vias in the pads, but it’s probably meant to be hand-soldered. When hand-soldering, one can keep feeding solder until the holes have wicked up their fill.

I sent some e-mail to the address in the silkscreen but got no reply. Google searches on other likely terms turned up nothing. I’m left with a board and guesses.

The Open PCB  exchange is a great idea, and I’ll happily participate again in the future. The thermocouple board is an example of how it can go right. I got a well-documented board that led me to find out about the Rocket Team’s interesting work. In contrast, the Flash Power Control board is an example of what can go wrong. There is nothing to stop someone from entering an undocumented PCB in the exchange, getting documented and interesting boards but failing to repay the favor. Still, I like seeing what other people are doing and hopefully two other people enjoyed seeing what I’m up to. For 10 cents, less than a 1% increment on the cost of a PCB order, it’s worth it.

Have you tried Open PCB, and how did it work out? Are you able to shed any light on the mystery board?  As always, comments are welcome!

Posted in Reviews | Tagged , , , , | Comments Off

Building a KK7B T2 phasing transmitter

Are you the kind of tinkerer who has a few unbuilt kits sitting around?  I mentioned last week that I want a faster way to get on the air than a designed-from-scratch SDR. If I stick to my current course, I may miss the peak of this solar cycle.  It turns out that I have had an R2 receiver and a T2 transmitter kit on hand for… well, a very long time. If I recall, I bought them as soon as they were available in 1994.

These are very neat radios. Rick Campbell, KK7B, set a goal of pushing the state of the art in direct-conversion receivers. His series of high-performance receivers includes the R1, R2, R2pro, miniR2, microR2, and microR1. The R2 family are single-signal direct-conversion receivers, and the T2 and microT2 are companion transmitters.

KK7B T2 exciter, top side

The T2 uses the phasing technique to generate single sideband. In this technique, the audio signal is passed through a filter (or a pair of filters) that generate two signals 90 degrees out of phase. These are mixed with local oscillator (LO) signals that are also 90 degrees out of phase. When the mixer products are summed or subtracted, a miracle of trigonometry occurs, producing a clean single-sideband signal.  As long as both sides of the system have closely-matched gains and the 90 degree phase shifts are very accurate, the opposite sideband is suppressed by 40 dB or more.

I decided to build the T2 first. Rick’s layout style is very dense, and I wanted to try the board with fewer components first. These are through-hole boards with the component holes falling on an 0.1″ grid in both directions. With only two exceptions, all of the resistors and diodes are installed “standing up”, with their leads 0.1″ apart and 0.1″ spacing to neighboring parts. The T2 board has no silk-screen, making construction that much more challenging. In any event, a fine-tipped iron and small-diameter solder (I chose 0.025″) are the tools of the day.

Rick suggests stuffing all of the parts before soldering any, as a hedge against putting them in the wrong holes. Then he recommends soldering and trimming the leads in rings from the outside in. I tried thaat, and it worked OK. For the R2, I will probably mount some of the trickier components individually, then switch to Rick’s method for the rest.

As you might expect, I had a few problems with solder bridges, but nothing a little solder wick couldn’t clean up.

Although there was no visible tarnish on this 17-year-old board, I did notice that the solder didn’t wet the pads as well as usual. Eventually I thought to start adding flux with the flux pen that I use for surface-mount work, and that did the trick.

Here is my handiwork. I’d like to solder as beautifully as Tom, the electronics tech I work with, but for basement tinkering this will suffice.

KK7B T2 phasing SSB transmitter, bottom side

The T2 needs one more once-over for bridges and cold joints, then I’ll apply power and see what happens!

Links:

Posted in Projects | Tagged , , , | Comments Off