Category Archives: EMSL Projects

AVR programming trick: Sharing target boards

2313-25 (plain socket)

This week, Brad wrote in with an interesting question: Can you program the ATtiny25 on one of our ‘tiny2313 target boards? And the answer is yes: you can, with just a trivial modification.

Okay, back up– a little context here. The ATtiny25 and the ATtiny2313 are examples of AVR microcontrollers, the little brains that power many of our projects.
To program these chips, we use a usbtinyisp programmer, hooked up to a minimalist target board.

USBtinyISP & simple target

The target board basically provides a programming header that’s hooked up to the right pins of the chip, plus some way to power the chip– often through the programmer itself.

After hand-wiring up one too many minimalist ‘2313 boards like that, we also made a printed circuit board version of the ‘2313 target board. Normally, it looks something like this, with an ATtiny2313 in a ZIF socket:
2313Card - 4

But, back to the question. The ATtiny25, ATtiny45, and ATtiny85 are a family of 8-pin AVR microcontrollers that are not pin compatible with the ‘2313. However, at only 8 pins instead of 20 pins, they’ll definitely fit in the socket… somewhere.

Looking at the datasheets and pinouts for the the ’45, ‘2313 (and the ‘168 that we also have a target board for), we can identify the lines used for programming: MISO, MOSI, SCK, and RESET:


 
The chips also need power and ground connections to be programmed, of course. Now if you notice, the connections for the ‘2313 and ’45 are very similar– in fact, almost identical if you line the chip up so that pin 1 goes where pin 1 of the ‘2313 normally would. The one remaining difference is that there’s no ground connection to pin 4 of the ‘2313.

2313-25 (fixed up)

So, adding a wire from ground– pin 10 of the ‘2313 –to pin 4 of the smaller chip (an ATtiny25 in our photo), and lining up pin 1 to pin 1, we’re ready to go. And yes, it works like a charm.
If you do use this method, there are a few (possibly obvious) things worth noting:

 

  • You need to be careful to line up pin 1 of the chip to pin 1 of the socket.
  • Be careful if or when you put a ‘2313 chip back in the socket. It will draw a lot of current if you set pin 4’s to a high output level– it’s shorted to ground. (Better: If you want to go back and forth, use a switch, not a wire.)
  • Keep in mind that the pin labels on the target board are for the ‘2313, not the ’85.

Going one step further, you could also potentially program the ’25/’45/’85 from the ‘168 target board: it only takes a couple more wires. To do so, line up pin 1 of the ’25 to pin 9 of the ‘168. Add two wires this time, from board-reset to chip-reset, and from board-ground to chip-ground. You’ll also need to connect AVCC (analog power supply) to VCC. A little more work, yes, but still a good hack.

A funny batch of LEDs

10 mm LEDs

A few weeks ago we got a batch of LEDs– a sample order from a new vendor. These are 10 mm diffused white LEDs, much like the ones that we use on the Peggy 2 or in the LED Ghosties.

On the surface, they look okay. But after lighting them up, we noticed something funny in a few of them that led us to discover their deep dark– or really, shallow and clear –secret. Continue reading A funny batch of LEDs

Interactive Game of Life Exhibit

Interaction

Recently we put together this interactive Game of Life display as an educational adjunct for a new exhibit by the San Jose Museum of Art on the works of Leo Villareal. Leo primarily works with light sculptures, and we’re very excited to see (and participate in) the exhibit, which opens this Friday.


We put together a video showing off the project, embedded here:

(If you can’t see the video here, click here to visit the youtube page.)

Continue reading Interactive Game of Life Exhibit

Electronics Flea Market, 8/2010

Fleamarket_2010_08_14 - 08

We’ve just posted a few pictures from last weekend’s fantastic Electronics Flea Market at De Anza College in Cupertino.

Fleamarket_2010_08_14 - 15

One interesting thing that we came across: a set of leadframes not so different from those that might be made from that photomask that we wrote about a couple of weeks ago.

Fleamarket_2010_08_14 - 01

Only one two more flea markets left this year, September 11 is the next one; mark your calendars and we’ll hope to see you there!

(For a few more, check out photos from another electronics flea market a couple of years ago here.)

Corrected 8/16/10: two more flea markets left for 2010– Sept. 11 and Oct. 9.

On the design of the Bulbdial Clock

bulbdial-details - 12

bulbdial-details - 20

One of our favorite projects of the last year is our Bulbdial Clock, an LED shadow clock based on an idea from Ironic Sans. And, while we have written a fair bit about it, we haven’t yet taken the time to describe some of the interesting technical details.
So in what follows here, we discuss some of those details, with an emphasis on a few in particular that we’ve been asked about. First, the process of designing and prototyping “funny shaped” circuit boards, but also charlieplexing LEDs in a mixed array, and (finally) getting that rear-projection scheme to work.
Continue reading On the design of the Bulbdial Clock

Maker Faire Detroit Pictures and Highlights

Maker Faire Detroit

Maker Faire Detroit was a blast! It was held at The Henry Ford, which is a museum worth visiting in its own right. It is an amazing place we didn’t get to see nearly enough of and would love to go back and visit again.


Maker Faire Detroit


In addition to providing a history of American manufacturing and a showcase of amazing vehicles, they have Mold-A-Rama machines!

Maker Faire Detroit


As usual, one of the most exciting things about Maker Faire for us was meeting and talking with other makers. We got to talk to the participants in an aluminum casting demonstration, who were using foam that was carved onsite with a CNC router.

We also really enjoyed our neighbors at the faire with the Note Grinder, a machine that read player piano rolls optically and used door lock actuators to press the keys on a synth keyboard. We were impressed with how pleasant it was to listen to (even for two days straight!) especially with the rhythm accompaniment provided by the actuator motors.


Maker Faire Detroit


The fine folks at Context Furniture were passionate about the renaissance of craftsmanship in Detroit and had great stories of reclaimed buildings.


Maker Faire Detroit


We were tickled to see several Evil Mad Science kits integrated into Maker Faire projects: a Peggy 2 being used as a readerboard, Wes and Don‘s 3D POV display with a Peggy 2LE, and Matt Mets’ Meggy Jr Sr.


Maker Faire Detroit


Our Eggbots performed like champs, and we even tried out engraving on glass holiday ornaments during the faire. The engraver scratched away the paint on the surface, and as you can see in the top picture, they were beautiful when lit from within by an LED.

We didn’t come close to seeing everything, but we’ve put pictures of some of what we saw in a set on flickr.

We hope to see you at Maker Faire New York!

Packing our bags (of bots) for Detroit

Eggbot @ Cal Expo - 02

This week we’re getting ready for our big trip to Maker Faire Detroit 2010, where we’ll be demonstrating the Egg-Bot, our forthcoming spherical-coordinate drawing robot, which we’re gearing up to release later this summer.

Our last Egg-Bot outing was to the California state fair a couple of weeks ago, where we had a blast showing off our machine, drawing on light bulbs and (yes) eggs:

Eggbot @ Cal Expo - 04   Eggbot @ Cal Expo - 07Crate   plaid

What else is going on at Maker Faire? Well, lots— it’s hard to know where to begin –but for one thing Wes and Don told us about their cool project– a low-resolution 3D volumetric display based on a Peggy 2LE, rotated on a big box fan.

Embedded youtube video follows:

For those of you who can make it to the Henry Ford this weekend, we’ll certainly hope to see you there. (And further off and further away, we’re planning to be at Maker Faire NY in September.)

 

Another use for used inner tubes

Tree staking 3


Even after one too many flats, a used bike inner tube has plenty of uses. One more to add to the list: it can be used as a cushion between a tree trunk and a staking wire.

Tree staking 1


Cut the valve section out and cut the tube in half. For extra padding, use a double layer of tubing by pulling a section of tube through itself.


Tree staking 2


One regular bike tube makes two generously sized padding pieces, even after doubling them over. You’re ready to thread your wire through and stake up your tree!


You can also trim off a few pieces to make bike tube rubber bands.

More cool electronics tools

Cable tie tool 1

What is it? Hint: your life depends on tools like these.

Some time ago we wrote about five relatively obscuretools for doing electronics. But, five tools barely scratches the surface of the stuff out there, and here are a few more of our favorites. In this roundup we’ve collected some handy–and even important –tools along that you might not have seen before, along with some best-of-breed versions of everyday electronics tools.

Continue reading More cool electronics tools