I’ve designed a board for production. Initially I will do a couple of small runs (10-50) before going to larger quantities. My design includes a microcontroller which needs to be programmed (PIC 18F series, with the 6-pin header for In Circuit Serial Programming).
Once we go to larger quantities, we’ll pre-program the devices before SMD assembly, but up to a point, in the smaller runs, we intend to assemble the boards with blank devices, then program them on the bench, as we will be doing some development and reprogramming, etc.
At this point, I have a 6-pin, 0.1" through-hole header designed into the board, and for the first one or two prototypes, I’ve soldered the standard .025" square pin headers for ICSP, as we’re likely to be reprogramming these first couple units a fair amount.
For units 3 and up to something around 50 or 100, (i.e. before we go to assembling with pre-programmed devices), I’d like to avoid having to solder in that 6-pin header during assembly, because we will eventually get to the point where we’ll have the firmware somewhat locked down, and we should only need to touch each board one time for programming. If I leave those through-hole pads (for the 6-pin header) unpopulated, I’d like to make a cable with an appropriate connector/contacts on the board end that I could just “press into place” on those ICSP pads for the few seconds it will take to program my device, and I’m wondering what kind of a connector would be best to use there.
I’m imagining I could just cobble up a cable with that standard 6-pin male header with the .025" square pins, and then during programming, place them in the PCB holes and kinda wedge it in at a bit of an angle (remember, I’m expecting to hold this in with one hand during programming), hoping that this will make sufficient contact on the 5 of the 6 pins that are important to ICSP on the PIC.
I’m just wondering if anyone has any ideas as to something that might work better. Doesn’t have to be super cheap, as I just need one or two to make up programming cables. In my fantasy world, I’m imagining a 6-pin connector with individual spring-loaded conical pins that would each seat into one of those empty through-holes on the PCB - kinda like the “bed of nails” pins used in test fixtures. With that as inspiration (or going off in a completely different direction…), does anyone have any interesting ideas to kick around?
I’m assuming for now that I’m stuck with my existing .100", 6-pin header pad pattern, and am looking for a solution for that, but I also welcome ideas for future designs, if a different pad pattern for the PCB would facilitate a different approach…