Actions

Difference between revisions of "Evolution of breadboard programming headers"

From Just in Time

Line 25: Line 25:
  
 
===Breakout-with-avr===
 
===Breakout-with-avr===
[[File:breakout with attiny13 bottom.JPG|200px|left]][[File:breakout with attiny13 top.JPG|200px|right]]You can find several variations on this design on the internet. In essence they consist of a PCB with an AVR, a programming header and header pins for each of the AVRs pins. Most of them are some form of Arduino-compatible breakout-board. The big plus of these is that you can use them to adapt your SMT AVR to be used on the breadboard. The image shows a shoddy version that was created because I only had SMT attiny13s readily available.
+
[[File:breakout with attiny13 bottom.JPG|200px|left]]
 +
[[File:breakout with attiny13 top.JPG|200px|left]]
 +
You can find several variations on this design on the internet. In essence they consist of a PCB with an AVR, a programming header and header pins for each of the AVRs pins. Most of them are some form of Arduino-compatible breakout-board. The big plus of these is that you can use them to adapt your SMT AVR to be used on the breadboard. The image shows a shoddy version that was created because I only had SMT attiny13s readily available.
  
 
===Straddling header===
 
===Straddling header===

Revision as of 20:41, 14 August 2013

Both of us currently use AVRs as our platform-of-choice for most digital projects. We love the diversity, versatility, the straight memory layout, the availability of compilers and, to be brutely honest, the very low prices at which these microcontrollers can be bought.

We typically provide our home-grown PCBs with standard 6-pin programming headers. It may take an extra hour to route the the damn traces for these things on our one-sided boards, but it is generally worth it, being able to re-flash version 0.037 of our firmware.

As is usual, most of our projects start out on solderless bread boards. The AVRs on the breadboards need to be programmed too, so we've evolved several ways to program these as well. This page describes them.

The problem

It's simple, really. we need to connect the six pins of our programmer to the corresponding pins on the avr. The programmer comes with a flat cable with block (IDC-) connectors.

Additional requirement: being able to disconnect and reconnect the pins frequently is a plus.

Direct jumper wires

The simplest solution. And the one we both abandoned after about 5 minutes: just take 6 jumper wires, push one end in the connector and the other end at the appropriate row of the bread board.

disconnecting and reconnecting is quite a hassle with this and all in all this is not very stable.

Straight breakout board

Straight breakout board.JPG

This is quite a simple breakout board that doesn't even need to made as a custom PCB: plain veroboard would work just fine. The breakout board consists of a two-row grid of header pins on top that receives the flat cable connector and two three-pin headers at 300 mil distance to be placed on both sides of the aisle running down the board.

The breakout is pushed into the breadboard and then 6 jumper wires are used to connect the programmer signals to the appropriate avr pins.

This version has served us well. It takes some setting up for every new project and I found myself doing an image search for "avr programming header pinout" every time I started a new project.

It's quite easy to disconnect and reconnect the cable with this one.

Breakout-with-avr

Breakout with attiny13 bottom.JPG
Breakout with attiny13 top.JPG

You can find several variations on this design on the internet. In essence they consist of a PCB with an AVR, a programming header and header pins for each of the AVRs pins. Most of them are some form of Arduino-compatible breakout-board. The big plus of these is that you can use them to adapt your SMT AVR to be used on the breadboard. The image shows a shoddy version that was created because I only had SMT attiny13s readily available.

Straddling header