Monday, June 10, 2013

Little Wire

As usual, I've been all sorts of busy, with little time to blog about it.

I did recently score a cache of small, nay, tiny AVR chips recently, and my wife had an interest in making something with them (maybe I can get her to guest-blog about it). Anyways, I was at a local hacker meeting this evening and the subject of programming Attinys came up. As it happens, I just built a couple of Little Wire devices, but couldn't remember the name at the time. For some reason, the name makes me think of Jimi Hendrix. It's an Attiny85 based device that combines USBTiny with VUSB. The really cool think about it is that you can make an AVR programmer for roughly $3 USD worth of parts (and considerably more labor, but it's not work if you love it right?)

Here's one of my rat-nested Little Wire AVR-ISP devices:
Well she's walking through the clouds....

The Attiny 85 has a neat feature that I had overlooked until I built this in that it has a built in PLL that lets you run the system off the internal RC oscillator at around 16Mhz. Many other AVR's lack that PLL, and can only run at 8Mhz maximum without an external crystal.

I like saving my AVR Dragon for when I need to debug or do JTAG.

The easiest way to use Little Wire is with avrdude (I copied the avrdude executable and conf files from the arduino instalation into thier own folder). I then run:

avrdude -c usbtiny -p t84 -U flash:W:<path to my hex file>:i

To burn AVRStudio built hex files into (in the above case) an Attiny 84 chip.


--P

3 comments:

  1. Hi, this looks really neat. I am new to electronics. Can you include a schematic, or a wiring diagram for this? How about a BOM <-- Bill Of Materials? I know this isn't an Arduino, but I am getting used to seeing that sort of thing with these little circuit boards. TIA. (^_^)

    ReplyDelete
    Replies
    1. [fixed link]
      I just sort of winged it on this, I don't have official schematics or BOM, but you can find a schematic of the original here. I skipped out on the indicator LED part, and I used an 8 pin socket, since I didn't program a bootloader, I can just pop the chip out and updagrade the firmware with my AVR Dragon.

      Good luck!

      --P

      Delete
    2. I just realized that even the socketed aspect of mine was borrowed from the original, so really all I did was drop the LED and the bootloader. Funny how you forget stuff like that. My goal at the time was just to have a programmer my wife could use and the timeline was really tight.

      Delete

I welcome you're thoughts. Keep it classy, think of the children.