Purr Programming Shirt Part 1 — The Hardware

If you’ve met the folks at Polyglot Programming, you know that we love cats, t-shirts, and wearables. Which is, of course, exactly why we recently came up with an idea to combine all three into a project. No, we didn’t decide to create a wearable for a cat (granted, we gave it serious consideration.) Instead, we settled on the next best thing… a Purr Programming t-shirt with LED lights that can be controlled with a MetaWear board. The concept further evolved to make the LEDs flash and change color when someone tweets to us or mentions our hashtags on Twitter.

Screen Shot 2016-03-05 at 1.03.53 AM

Parts Needed

For this project, we chose to use MbientLab’s MetaWear R board, some NeoPixels and printed LEDs from Nth Light.

The complete list of parts consists of:

Laying Out the Circuit

Before sewing and wiring, we laid out the circuit. The MetaWear has onboard voltage and can switch low current loads, but NeoPixels and printed LED strips are bright and can draw more power than the board is designed to handle. For this reason, we opted to wire the NeoPixels directly to the battery and used an I2C line to control the strip. The printed LEDs need to stay in a 3V-range (else they will burn out) and are controlled individually by hooking each one to a GPIO pin. Since a LiPo battery operates above 3V, we added a voltage regulator to that part of the circuit, along with a FET to both of the light strips to control them.

circuit_shirt

Putting it All Together

Sewing requires a certain skill level, but sewing wearables pose unique challenges because you’re creating circuits. Some things to keep in mind:

  • Conductive thread has higher resistance than wire. A seemingly short run can add a noticeable amount of resistance that can affect the circuit’s operation.
  • Make sure that you use low resistance thread and keep circuit runs short.
  • While you can double up your thread in order to lower the amount of resistance, it can make the thread more difficult to work with.
  • It’s a good idea to add backing to your design to add stiffness and prevent your circuits from shorting out

Have a look at our next post where we discuss how to create an Android app to control the shirt. If you want a sneak peek at the code you can find it over here.

Screen Shot 2016-03-05 at 8.23.37 PM

About Me: I am a Atlanta based, native Android/IOS developer with AngularJS/Ruby experience and am founder of Polyglot Programming Inc.. Many of my projects focus on IOT and Wearables. You will often find me purr programming and I regularly speak at conferences around the world. I am available for hire! More Posts

Follow Me:
TwitterLinkedInGoogle Plus

I am a Atlanta based, native Android/IOS developer with AngularJS/Ruby experience and am founder of Polyglot Programming Inc.. Many of my projects focus on IOT and Wearables. You will often find me purr programming and I regularly speak at conferences around the world. I am available for hire!

Posted in Android, Development, MetaWear, Mobile, Uncategorized, Wearables Tagged with: , , ,