Illustrated guide to making simple jigs for programming and testing

When I built the first revision of Moteino I had to come up with a way to program and test them quickly without having to solder the headers. I saw how others built complicated jigs for this purpose with all kinds of features, so I wasn’t very excited to do something like that.

It needed to be quick and simple (without the ‘dirty’) and also without a lot of waste – spring loaded test probes (aka pogo pins) are expensive and when revisions change sometimes the positions/function of the holes change as well and I didn’t want to spend a lot of time/$ making a jig. So I just stacked two of the same PCBs as the target and used pogo pins to hold the PCBs together (or rather the PCBs to hold the pins aligned and leveled). That worked great, with one hand I could hold/press the target PCB on top of the pogo pins, with the other do the programming.

So what are ‘pogo pins’?
They are small cylinders with a piston tensioned by a spring that pushes it out and they come in all sorts of lengths, thicknesses and tip configurations (they actually have codes for each tip type and length), a picture is better than words:

spring_loaded_test_probe_pogo_pin

Other PCBs required testing so I built quite a few such testing jigs, here are a few examples, notice the simplicity:

programming_jig_spring_loaded_test_probe_pogo_pin

The rest of this blog entry is a guide to making jigs like these. Your final solution and it’s capabilities is only limited by your imagination. For instance you might test if a pin goes high by soldering an LED, or turn a pin HIGH/LOW by soldering a switch.

Continue reading

Introducing ATXRaspi R2

A new revision of ATXRaspi was in the works for a long time. Based on user input and other suggestions I came up with what I think is a better incarnation of it. Special thanks to Mike from mikesmicromania for all the valuable feedback and suggestions on this new revision!

ATXRaspi_R2

Among other features:

  • all SMD components yield a more efficient layout and a leaner profile
  • More input options: microUSB, 0.1″ header, 2.1mm barrel jack
  • More output options: 0.1″ header, USB type A (female)
  • poly fuse footprint allows you to add your fuse of choice directly on the ATXRaspi (through hole or SMD)
  • onboard SMD LEDs help visualize signals between ATXRaspi and RaspberryPi
  • extra output power header pins (2x5V, 3xGND)
  • backwards compatible

This version is making a huge difference in manufacturing, as I assemble everything by hand. R1 was difficult and time consuming to assemble. While R1 worked great, the relay would be prone to voltage spikes and drops depending on the quality of the input supply, hence causing glitches and requiring multiple button presses to turn power on (an effect that was reduced by wrapping the output power wire around a ferrite bead). This new design uses a mosfet which drops only 10-15mV of power and these effects should not be manifested any more.

Just for fun, here’s the stencil I produced for ATXRaspi R2 with my DIY stencil method, and the results after paste application:

Please use the forum to submit more feedback and suggestions which are always welcome!

RFM69 library and Moteino R3

This is the library that I’ve been working on for the new RFM69 modules from HopeRF. I consider this an initial beta release and it surely is a work in progress, it may contain bugs, but the provided Gateway and Node examples should work out of the box and illustrate basic usage. Please let me know if you find issues. The syntax is a little similar to that of the RFM12B library, but I went with some new conventions on naming and overall structure to improve readability and overall code quality.

This is a video introduction to Moteino R3:

This is a new product and the library needs more testing and performance tuning. The library currently is tuned for fixed 433/868/915 Mhz frequencies, and a 50khz bitrate, 50khz frequency deviation. I am hoping others will contribute and test the library to find the best combination of these settings and power level vs range vs frequency vs bitrate, etc.

Continue reading

From china, with love: bad solder paste

Recently I was running out of solder paste and I’ve bought some chinese paste to try out from a (very) popular online electronics outlet. I think somewhere in the reviews or in one of the tutorials they say they actually use that paste internally so I got confident and the price was right (I guess… even though I later found the same paste on dx.com for under $5), about $14 for a jar of 50g which would last a long time. Great I thought, I’d get it in time to assemble more boards, without the insane shipping delays from china, so I ordered and got peace of mind.

A few days later I got it and I assembled a batch of boards with it and peeked through the microscope to inspect how it reflowed. Here’s what I saw:

bad_solder_paste

Holy cow! What happened? Tons of tiny balls of solder stuck in tons of solder paste residue. Not one of my best days, but certainly memorable. Continue reading