Tuesday, April 19, 2016

DIY Hack: A Better Marquee (Part I)


Lighted marquee decorations are very popular at the moment. A stroll through the aisles of just about any craft store (locally, we have Hobby Lobby, Michael's, and A. C. Moore) will prove that out. You can get letters, symbols, words, snowmen, stars, and who knows what else. You can get them in chipboard, galvanized tin, wood, plastic, and more.

I'm not sure why they're so popular, but I like them, especially the galvanized tin. It has a well-used industrial feel to it, which isn't quite a cool as Steampunk, but cool just the same. There are two problems, though. The first is that they're ridiculously expensive, considering what they are. That 'C' at the top of this post? It's only about 10" high and costs about $25. Fortunately, Hobby Lobby is always running sales of that kind of stuff, and I got it for half that.

The second problem is that these decorations are very monochromatic. The lighted ones almost always have warm white LED illumination, which is great because they look more like incandescent bulbs that way; that suits the Industrial aesthetic well. But even if I could forgive the lack of color, there's no motion either. Give me a flicker. Give me a wave. Just don't put me to sleep!

My wife, Tammy, gave me a couple of letters last summer for my birthday, an 'M' and a 'D' (my initials). I decided to do something cool with them, but that project isn't quite ready for prime time just yet. That will be the subject of another post or two. Or three.

And my daughter, Anna, found herself a marquee snowman this past Christmas. It's very similar to this guy right here. It's cute, but boring. That's when I decided to hack a marquee piece, and spice it up a bit. I wouldn't dare take apart my daughter's snowman. That just wouldn't be nice.

As luck would have it, my friend Cole turned 50 in early March, and she had a party to celebrate. I hadn't seen her since we graduated from college waaaay back in 1988 (shame on me; she doesn't live that far away), and decided that I was going to her party. Keeping in touch on Facebook just isn't the same as seeing someone in real life!

And speaking of real life: Cole is a Social Worker by day, but by night, she's a wildly creative artistic type. She beads and makes jewelry and all kinds of cool stuff (see her Etsy shop here). Her tastes are very eclectic, always have been, and that makes getting her a gift a very daunting task. What's an engineer to do? Well, make her something, of course!

I would never presume decorate someone else's walls, but Cole provided the perfect inspiration for my Marquee Hack. My daughter's snowman is safe for now; I went out and bought the "Galvanized Tin Lighted Letter C" you saw at the top of this post, went down into the Man Cave, and started getting creative.


The Concept
My friend Cole is more than just colorful - she's a whirling, twirling, endless kaleidoscope of color. This project cried out for animated, colored lights. Simply tinting the globes of the existing lamps just wouldn't do - too static. No, this project required some simple high-tech to bring it to life. I didn't have time to re-invent the world, though, so I went to my bread-and-butter solution to this sort of problem: neoPixels and an Arduino. My plan was to strip out the lamps that came with the marquee and replace them with neoPixels, and I'd use glass marbles to give the appearance of bulbs. An Arduino would run the show. It would need a pushbutton to select among a variety of light patterns, and a potentiometer to control the brightness. Because neoPixels can be power-hungry (up to 60mA per pixel if each of the red, green, & blue elements is on at full brightness), I decided to also remove the battery holder and use a 5V wall-wart power supply instead. Easy enough.


I can't even count the number of projects I've done using neoPixels and Arduinos. Most often, I've used the 5V, 16MHz Pro Mini for the brains of the operation. I've also used the Uno and the Mega, but the Pro Mini is tiny, powerful, and so inexpensive as to be almost disposable. The name-brand version is about $10, but I've found good-quality clones domestically for $5 and overseas (from China, usually) for $2.50 or less. As usual, the more you buy, the lower the price. I usually keep a bunch handy for just these types of spontaneous occasions. The Pro Mini is also available in a 3.3V version, but I don't use it for neoPixel projects because neoPixels require 5V.

Be very careful when buying from places like ebay, especially from overseas vendors. Many times, the description of the item doesn't match the title, and you may end up with a 3.3V board instead of a 5V. There's a lot of cutting and pasting going on, and not enough reading and understanding. When in doubt, ask!

I've also found neoPixels available in many different forms both domestically and overseas. Adafruit has perhaps the best selection domestically. The prices are a bit steep, but the service is excellent and fast. When I need a neoPixel ring, Adafruit is the best (and perhaps only) game in town. For discrete pixels or for strips, though, there are many choices. Just search ebay for "WS2812" and you'll find thousands.

When I need a small, flat footprint, but don't want to make or assemble my own circuit boards, I especially like the pixels shown in these photos. It's a single neoPixel on a 10mm PCB (the pads are on the back). I buy these still panelized, making them even less expensive - about $17 per 100, the last time I ordered. That's WAY less expensive than Adafruit - but it might take 3 weeks for them to arrive from China!

The lamps that come with the marquee letter are LED versions of 3V flashlight bulbs. They have a threaded base and glass envelopes (approximately 16mm in diameter) around the warm white LEDs, and are reasonably high quality replacements for incandescent bulbs. I happened to have clear, glass marbles on hand (from an entirely different project) that were just about the perfect size to replace the bulbs.

Next Time...

Rather than try to cram details of the entire project into a single, huge post, I've decided to split it into multiple parts. The next installment will cover the Mechanical & Electrical parts of the project: removing the original guts of the marquee, and installing the replacement electrical components. Lastly, possibly in a separate post (I'll decide once I've written it), I'll cover the software that brings the project to life.


Stay Tuned!

Wednesday, April 13, 2016

Embedded Systems Conference, Boston 2016

From left to right, we have Tammy, Max, Mark, and Jack
Yes, we're all standing. Max is really that much taller than the rest of us!


Unfortunately, I'm not able to attend the Embedded Systems Conference in Boston this year, which is on April 13 & 14. Just too much going on at work right now, and I can't get away. You'd almost think I was important or something!

Now, I'm a big fan of Clive "Max" Maxfield, who happens to be the Editorial Director at Embedded.com. He's a wizard among engineers, and we have a bunch of similar interests and have both done some wicked cool projects. He's also a gifted writer (I have a couple of his books and read his columns regularly). Anyway, hero worship aside, we've corresponded numerous times, but had never met face-to-face. So when I read that he was going to be attending this year's conference, I sent him an email inviting him to dinner. He had already made plans for his evenings up here, catching up with colleagues and friends, so he, instead, invited us (my wife Tammy and me) to join him at City Bar Boston Harbor at the Westin Boston Waterfront Hotel. As it turned out, there was a private function going on there, so we instead went to M. J. O'Connor's Boston Pub, also located in the Westin. It's a very comfortable Irish Pub with a friendly, laid back atmosphere and excellent food. No one had any trouble at all finding their way, and before long we had maybe two dozen folks catching up, swapping stories, and generally having a good time.

My wife, Tammy, isn't an engineer, but she does speak geek. She's a Pediatric Physical Therapist, but we've been together long enough that we speak each other's language to a fair degree. She had no trouble conversing with my fellow geeks, and Max especially made a point of including her in the conversation.

Also in attendance was Jack Ganssle, who was one of the very first Embedded Systems gurus I ever ran across. I was reading his column in Embedded Systems Programming way back when it was actually printed on paper! These days, I follow him on Embedded.com. I've had the opportunity to meet him in person a bunch of times over the years, both at Embedded Systems Conferences and at training classes he's held. He's a very nice guy and super knowledgeable.

Max was diligent in introducing folks around, but I'm afraid I don't remember everyone. That's my bad, and a real pity because it was a great bunch of people. Among those I do remember:

Peter Anderson is an Embedded HW/SW Engineer whose first experience with microprocessors was the Intel 8008 in 1974. Mine was with the 8085 way back in 1985.

Duane Benson is another luminary I'd hoped to meet, and I did, shortly before Tammy & I left for the evening. I first ran across his work when Max mentioned a project they were collaborating on. He's a veritable font of information on things like PCB layout and DFM.

David Gerber is a writer and editor who has also handled legal, technical, and business responsibilities for Gerber Scientific. Yes, that Gerber - his dad, H. Joseph Gerber, is the man behind the Gerber file format. If you've ever made a printed circuit board, you ought to know the name. David is presenting "The Incredible Story Behind the Gerber PCB File Format" at ESC, but was kind enough to tell us the story last night.

I also found out that David's time at RPI overlapped with mine for about a year; he graduated the year I started. Definitely a small world! He also spoke with Tammy for a while about her work with kids (she works in a school system providing physical therapy to students with a wide range of medical, cognitive, and physical issues). He asked some very insightful and probing questions, the kind you don't normally get in a casual conversation, like, "What have you learned from your patients?" and, "How do you handle working with patients that have progressive (or terminal) conditions?" Tammy was very impressed that he took such an interest in her work.

Well, there you have it. I think I can safely say that a great time was had by all - and before the Embedded Systems Conference even started! I once again lamented that I wouldn't be attending this year, but I promised Max that I'd do my best to attend ESC Minneapolis in September. During our walk back to the car, Tammy even told me that I ought to go! Well, geez, now that I have her blessing, there's really no excuse not to, is there?