A New Iron for the Fire

I didn’t get a chance to make any PCBs this weekend, actually had more fun drawing them. I’m kinda stuck on my LED sensors project, since I haven’t come up with a good way to handle the current demands of an array yet, the catch is being able to reverse bias the rows/columns/whatever. so, I’ve been looking at building an led marquee instead. I’ve learned a lot about multiplexing and scanned LED matrices and arrays, and think it would be a good diversion.

There are a lot of pre-fab matrices out there, but the bright ones are expensive (for good reason I suppose), and what’s the fun in buying something pre-fab anyway. I’m thinking about using white piranha, but maybe green (red and blue have been done to death). The pulsed current specs on the white piranha I’m looking at show a max of ~80mA, with ~60mA being the close to the 200mW rating and 30mA being the continous wave rating (100mW). I have yet to do the math yet to make sure I stay within the pulsed current duration of 1mS max, but it shouldn’t be a problem.

I designed the PCB to be a huge heatsink, with almost all the copper left intact on both sides. This matrix is wired as cathode column, anonde row. Each column is driven by a darlington on the daughterboard (more on this in my next post). Each row of the completed array will be driven by some beefy P-Channel MOSFETs. To facilitate the mounting of the daughterboard, which piggy-backs on the display board, I used some standard .100″ spaced pin headers, seen as CG1-4 and AR1-8 (column ground and anode row.)

The top, bottom and layout art are linked below to full-scale TIFF images, for making your own PCB. I also have a for a multi-layer image in the Paintshop Pro format, which has the top and bottom layers on a 100x150mm 300dpi layout, for making transparencies to use with small double sided pcb’s I have.

Here is a not-to-scale composite image of the layout and top+bottom sides for what I call the ‘display board’:
printed circuit board layout leds

This is the schematic diagram of the LED array, showing the 64 indiv. LEDs and the connectors… linked to a larger version:
led matrix schematic diagram

Here are TIFF format files of the various artwork layers at 300DPI:
Display Board PCB, Bottom Layer
Display Board PCB, Top Layer
Display Board Parts Layout
Control Board PCB, Bottom Layer
Control Board PCB, Top Layer
Control Board Parts Layout

** Note: Paintshop Pro Image Format!
Double Sided PCB Layout, one display, one control, plus some stuff for another project.

Please note, these designs, layouts, pictures, etc are not being released into the public domain. I reserve all rights as the creator and copyright holder. I do however permit the hobbiest to use these designs in their own not-for-profit projects as they see fit. I also permit redistribution of the design and images by hobbiests for the purposes of education and other not-for-profit uses. Please mention me and/or give a link back here if you post these on another website.

Phase Two Update

Only had a few hours to work on the project today, but I didn’t let that slow me down.

I revised the interface for setting the date, it now works like the channel namer, opposed to how it worked before.

Before:

User could move the cursor left and right, and had to press a third button to select which value to edit, then the user could increase/decrease the value and press the third button to save the new value.

After:

User can only move the cursor from left to right, wrapping at the far-right to the far-left… this is using button 3… Buttons 1 and 2 increase/decrease the value under the cursor, saving it each time.

Added a new ‘screen’ to the display, it cycles through the temperature channels individually now, displaying their names.

Added a new interface for enabling and disabling channels. This effects which channels are displayed by the above mentioned screen.

The code now supports up to ten channels.

I found the source of the intermittent temperature readings by examining the recommended circuit versus what I had built. Maxim recommends a 200 ohm resistor to be placed in series with VCC for the MAX1668 … so, after doing that – no more random drop outs … weird eh?

I also discovered, when writing a rapid fire string of bytes to the eeprom, it likes you to wait ~10ms after each byte … which is mentioned in the eeprom datasheet, but I keep forgetting that.

Phase Two Continues

Well, aside from household chores, normal human interactions, eating, and what-not… I spent the weekend working on my MAX1668 temperature probe project.

  • More or less finished the “clock” portion of the display.
  • Integerated the clock porition with the temp probe code, so the display alternates between the two now.
  • Written an Interface for naming the temperature probe channels.

time display real time clock ds1307

Check out the updated writeup:

MAX1668 Phase2

Philips LED Dimmers

pca9531 mounted on a prototyping board

These little jems are serial controlled (i2c) PWM generators, designed by Philips Semiconductor for the purpose of controlling leds. I received samples of both the 9531 and 9533, which contain two separate pwm generators, and either four or eight outputs.

Above is a 9531 mounted to a prototyping adapter so it would go into a breadboard. Original tests with the chips were very interesting. The onboard pwm generator is capable of a wide range of frequencies and a full 8-bit gamut of duty cycles (256 steps). I ended up not liking these chips for a couple of reasons…

dim photograph of some smd ics

The biggest drawback is the chips only contain 2 pwm generators … while this would be great for a dichromatic white lite (yellow + blue), it’s no good for trichromatic (red + blue + green) … so the development would require two chips, and additional logic in the program to figure out which chip controls which color. The programming isn’t that big of deal… but I’m lazy. The second drawback is I couldn’t find anywhere to buy these. I don’t have any venture capital, so I can’t buy them in lots of 1000 from a regional distributor, and the supply houses I normally buy from didn’t have them in stock at the time I was working with them… so they’re on the back burner for now.

Protopod

high flux tri-color led light

This is my protopod. I think I built four or five of these, some came out better than others … point to point soldering of jumper wires isn’t the best approach, especially when they’re all overlapping and what-not

each of those leds is rated at 200mW, but I’m only driving them around 100mW because they need a fairly heavy pcb with good thick traces to sink the heat.

yikes what a mess

you can see that I’m not the worlds cleanest prototype builder … but heck, I don’t care as long as it works

all lit up

here is protopod fully illuminated

Junior Again

Mouldy Junior

Here is junior, in a mould of wax. I chose wax because its all I could think of that was:

A) easy to shape
B) inexpensive
C) quick
D) non-stick

So I quickly made a shallow square hole for my pc board to rest in… I was able to use some regular screwdrivers to carve the wax. After a lot of searching, I discovered blocks of wax at the grocery store in the canning section.

The epoxy is too thick to really ‘pour’ … you sort of ooze it into something. I scooped up a big glob with a stir stick and drizzled it into the mould. Then I placed the light in, and drizzled more epoxy on top.