Skip to main content

USBmicroISP: The Beginning Steps of Dev

USBmicroISP v1.0:  The Beginning Steps of Dev

I like small things.  I don't know why.  It's something about slimness, minimal living I guess.  I drive a Honda Civic, yes.

To develop for a micro-scale, wearable electronics project, you have got to have a smaller USBtinyISP programmer.  Take the guts of that ISP (in-circuit serial programmer) project (props to the original devs there) and put them in this amazingly small box?

Don't you just want to put something in there?
Just imagine if small things weren't a thing. You'd be wearing THIS:

Stacked, large circuit boards on a big Arduino Uno.
Do not try to wear this at home, kids.
Oh, the HORROR.

Anyways... Here's my re-design that is mostly based off Adafruit's USBtinyISP and USB tiny code & design.  I just wanted to...ah... improve it a bit.  

The Design

Smaller, uses micro USB instead of large printer one, and looks cool, too.  The design is mostly reduced to SMD components, which presents the programming problem:  how do you get the programming code on the programmer (program the chicken)?  I've got a few tricks up my sleeve (such as this one). ;)  Essentially, solder our SPI+PWR jumper wires from a FTDI board to the completed programmer, then remove the wires after verifying that it programs a target.  If I was mass producing, I'd use pogopins and pads on the programmer board.

Features (mostly new):

  • Micro USB connection to PC
  • SMD components, mostly
  • Very small form factor (35x35x15 mm)
  • 10-pin and 6-pin AVR programming cable headers
  • Buffered SPI programming to target
  • Removable jumper to utilize target power (if not using 5V target)
  • Red busy LED and Green USB good LED

The schematic: USBmicroISP v1.0
Schematic of USBmicroISP v1.0

The board layout: USBmicroISP v1.0

Top layer of board layout.

Bottom layer of board layout.




Caveats

Assembly is a bit tougher given the SMD parts, and not-so-easy programming.  Also, there is a bit of mechanical work to be done to the case: drilling and cutting the plastic for the micro USB, the cables, jumper and LEDs. Since the case is translucent, you could not drill holes in the top for the LEDs. Perhaps arguably a better product and cheaper parts, but more expensive on the assembly.

Assembly post to come once the OSHPARK order arrives!
OSHPARK order confirmation of 9 USBmicroISP boards for $21.


Once I'm done I'll have quite a few programmers to get started with, and maybe to sell.

Adios, muchachos!
~JWilly






Comments

Popular posts from this blog

Atmega328PB Dev on Linux x64

The Atmega328PB is the greatest thing to come to the Arduino platform since the UNO.  Who wouldn't want more 16-bit PWMs and double all 3 serial protocols? The new unofficial Arduino Mini PB Pro! To get the IDE to support it, follow this guide: https://github.com/watterott/ATmega328PB-Testing Since the JSON file is incomplete for Linux, do the manual toolchain replacement.  This was a little tricky, and there isn't much on the internet on where the toolchain resides inside the Arduino base folder.  Here's what I did to make it work. I downloaded the latest Arduino build, and I will refer to the extracted base directory as "arduino-1.6.9".  Also download the "hardware.zip" and the "Arduino Toolchain (4.9.2)" Linux x64 version from the github links. 1. Replace the toolchain The builtin toolchain resides in "arduino-1.6.9/hardware/tools/avr/".  Rename the avr folder to "avr.old".  Extract the "Arduino Toolc...

PB Pro Mini

No, it isn't Lead, nor is it Peanut Butter.  It is the 'B' version of the prolific ATmega328P microcontroller which started all this maker craziness off! Top view of PB Pro Mini Description This is a minimal microcontroller board with only a voltage reg, crystal, I2C pull-ups, LEDs and the chip itself.  The goal here is to reduce costs while hosting the beefy 328PB! This is based on, and pin compatible with, the Arduino Pro Mini 5v/16MHz from  Sparkfun . Notable, not-so-minor improvements for the 'B' version: 2 UARTs 2 I2Cs (TWI) 2 SPI Qtouch 5 Timers (with OC, IC, and PWM) Everything else is about the same.  You should be aware the clock driver on the chip is a low-power version, but this board and crystal operate at 16MHz just fine at 5V.  The Arduino library I've been using for the PB has been working without a problem! Getting Started You'll need a FTDI Friend  or FTDI Cable  to program this as there is no seconda...

Update to USBmicroISP: 6pin and 10pin headers

Actually using my USBmicroISP with microcontrollers other than Arduino Uno's led me to fix a udev rule issue with my Gentoo Linux laptop.  I was getting Permission Denied when I was trying to use avrdude as a normal user.  Yes, my user is part of the 'uucp' group... Background Some background on the Arduino ISP connector.  It is much different than the 10-pin AVR connector... 6-pin ICSP cable pinout.  NOTE: Numbers refer to ATtiny45/85 pins, not ICSP! Arduino ISP pinout. Notice the vertical line next to pin 1, which appears in silkscreen on the PCBs. Redboard ISP pinout.  Obviously the same as UNO.  Notice pin 1 location on upper-left, with horizontal white silk. My USBmicroISP has the cables coming off the IDC differently, but the key is in the correct orientation to the pinout in the top picture! (Please disregard numbering on first picture for ICSP purposes)  Usually the key and wires are facing inward (left side on 2nd and 3rd ...