All posts by Windell Oskay

About Windell Oskay

Co-founder of Evil Mad Scientist Laboratories.

BGA Soap?!

BGA SOAP

BGA Soap 2

One of the standard progressions in electronics is to smaller and smaller packages for electronic devices. While this is wonderful in so many ways, it’s a pain in others. Many of our projects call for soldering components to a circuit board, where you have (for example) a microcontroller, some LED drivers and some LEDs. As miniaturization progresses, it has become harder to find big, easy to solder “through hole” versions of the LED driver chips that we like. We can be sure that eventually it will become difficult to find microcontrollers or even LEDs except in fine-pitch “surface mount” packages.

Many surface mount components are actually just fine for hand assembly with a soldering iron, or with a skillet or toaster oven, if you know what you’re doing.

But among the hardest of the packages to deal with– as in darn-near impossible for a hobbyist –is the Ball Grid Array, commonly referred to as BGA. BGAs can be any number of different integrated circuits — that don’t have leads on the sides, but instead have a grid of solder balls on the bottom. This allows for rather extreme miniaturization, since the whole package need not be much larger than the chip. The packages range from tiny logic gates, with only a few contacts, to great big CPUs and FPGAs with thousands of balls. Soldering these is not trivial, since every solder ball on the chip has to melt to the solder below on the circuit board, usually with the help of a specialized oven that pre-warms the bottom side of the board. Circuits with BGAs are usually inspected by X-ray, because it’s the only way to check all of those solder joints trapped under the chip.

Given all that, you can imagine my surprise at coming across this BGA-packaged soap as a “bath bar” at a hotel. It’s well known that hotel bars of soap are small, but I never expected that they’d have to go to such extremes.

On the dwarf planets

Pluto


When Pluto was “demoted” from being a planet some years ago, I thought that it was pretty stupid. After all, I had learned about our set of nine planets as a simple fact in grade school. If anything, I had expected the number of planets to grow as they were discovered, not shrink.

What’s the big deal? Why not just grandfather Pluto into the club? The principal consequence of which objects are called “planets” is how many little plastic balls go into a solar-system model kits, right?

Well, yes and no. It turns out that our solar system has a huge number of objects. Not just the sun and a handful planets, but also hundreds of thousands of other cataloged objects (“minor planets”), the vast majority of which are now classified as small solar system bodies. These include most of the main-belt asteroids, comets, centaurs, trojans, kuiper-belt objects, scattered-disc objects, and other trans-neptunian objects. And, we will discover more.

Today Pluto, like Ceres, is proudly known as one of our five wonderful dwarf planets.

What distinguishes these dwarf planets from their larger and more familiar cousins? An intuitive and powerful discriminator: Simply put, planets are out there orbiting on their own, while dwarf planets are found in belts of objects that share the same orbit. Putting this in mathematical terms, there’s a stark difference between our eight planets– which dominate their orbital neighborhoods –and our five known dwarf planets, which at best make up mere fractions of their respective belts. Now that we’ve recognized the difference between major planets and dwarf planets, it’s clear as day which group Pluto belongs to.

And, despite poor Pluto, the minor shame of having “lost” one of our planets seems more than made up by the discovery in 2003 of Eris— a dwarf planet both larger and (usually) more distant than Pluto. Already, some dozens of other dwarf planet candidates have been identified, and there are countless others yet undiscovered.

The simple fact is that we live in an exciting time of discovery. While it may feel natural in a sense to enshrine an immutable list of “the planets,” it is instead our humble duty as scientists to accept that we don’t — and almost certainly never will –know everything.

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

The 2010 Open Hardware Summit

Picture 9

We are helping to sponsor the 2010 Open Hardware Summit, which is happening next month, Thursday September 23, at the New York Hall of Science. That’s two days before, and at the same location as, Maker Faire NY.

The summit agenda has just been posted: it’s a full day of talks and discussions about open source hardware, its meaning and its implications. I’ll be part of the panel discussing open hardware licenses and norms which will also be taking questions online– so you can participate even if you can’t make it to the event.

Tickets for the event are on sale now and include a 1-day pass to Maker Faire. We’ll hope to see you there!

Linkdump: August 2010

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

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