SquareWear 2.0 a Wearable Opensource Arduino

squarewear2_annotation-1024x577

Are you guys tired of redesigned Arduinos yet? Usually we are, but [Ray] just released the SquareWear 2.0, and we have to admit, it’s a pretty slick design.

It’s an update to SquareWear 1.1 which we covered a year ago. That version made use of a 18F14K50 microcontroller, measured a tiny 1.6″ x 1.6″ and could easily be sewn into wearable circuits. But after receiving lots of requests to design a new Arduino based board, [Ray] obliged and made v2.0.

The new SquareWear is slightly bigger, measuring in at 1.7″ x 1.7″, but it packs a much bigger and more functional punch — just check out the image schematic above! The only catch is it doesn’t actually have a USB-to-serial chip on-board, which is why [Ray] was able to get the board so small and inexpensive. Instead it simulates USB in the software using the V-USB library. That method is much slower but still functional. To perform serial communication through the USB port it uses the onboard USBasp bootloader.

The board also features large through-holes to accommodate sew-able pin pads, making it super easy to integrate this into fabric!

For a complete explanation of the SquareWear 2.0, check out the video after the break.

Comments

  1. I still don’t like the idea of having the temperature sensor right next to a heat source (LED)…

    • F says:

      since it’s a “wearable”, what are the consequences of putting the temperature sensor right next to a human heat source?

    • dsblackout says:

      A single LED isn’t going to produce nearly enough heat to produce a noticeable difference in temperature in the area. Especially if it’s used as a wearable, at which point temperature accuracy pretty much goes out the window.

      • That is not a normal single LED. It’s a high power RGB. It heats up easily and the heat dissipation goes through the PCB and directly under the temperature sensor.
        Lars has a very good point.

        He should use a WS2812 LED with 1 I/O.

        • Ray says:

          That’s only an issue if you are turning on LED full brightness AND measure temperature at the same time. You can turn off the LED, or dim it when measuring temperature.

          How does WS2812 solve the problem? It dissipates more power and is like 5x more expensive.

          • Check the video @8:00 he measure temperature then change the color of the LED accordingly. So he turns LED AND measure temperature :P hehe

            The WS2812 comment was not related to our discussion about temperature. It was a general comment regarding his design to save precious I/O pins.

        • Ray says:

          Well, you can still turn off the LED when taking temperature measurement, then turn if back on. It only takes a few milliseconds to get an analog reading, so the LED will look like it’s continuously on. Also, as I said, you can always use PWM to dim the LED. At 3-5mA the LED will look sufficiently bright, and will not dissipate much heat at all. At any rate, the drift caused by the LED is probably not much more than the error / accuracy of the temperature sensor anyways.

          • Greenaum says:

            For 99% of cases it’s gonna be “98.6” anyway. A human body should generate more heat than an LED, and I doubt the LED would need to run bright for it’s purpose. When it’s on at all. Which won’t be often on a watch battery.

  2. mike says:

    How come these wearable designs never have worthwhile ESD protection? I’d think if any board is going to get zapped, it’s one that’s attached to the front of a constantly moving piece of cloth. Has anyone had such problems with a wearable design, or am I worried about a nonissue?

    • Oren Beck says:

      ESD is both less and more of a concern in wearables simply by the high path loss in conductive threads but made more concerning by the same threads needing “more gain ” etc.
      MY suggested “Best Practices” always have involved Optoisolaton or potted transformers etc outside of intrinsically protected things. Protection is a “pays for itself” expense category.

      Yeah- you may “get away wit it” x times… but the cost of prevention Vs replacement is likely a no brainer over time.

      • F says:

        “pays for itself” is a pretty fuzzy concept when it comes to fashion and style

        it may “pay for itself” in a single use if that use is on a fashion runway

      • Fungus says:

        Optoisolators don’t protect you from ESD, you need special ESD devices for that.

        My suggestion is to only use it with cotton fabrics and don’t ever stop dancing (so you’re always a bit damp).

        PS: I didn’t want to like this board (yet another overpriced Arduino variant, yawn!) but I do, especially the built-in battery charger system. It totally *destroys* the Lilypad (and for the same price as just the Lilypad main board with no accessories!)

    • tekkieneet says:

      Optoisolation sounds nice, it may help you at a few kV, but you’ll need
      much more than that to survive the higher voltages for ESD.

      http://www.edn.com/design/test-and-measurement/4368466/Understanding-and-comparing-the-differences-in-ESD-testing

      >Values for the high-voltage supply range, according to the test level, from 0.5 to 15 kV.

      >IEC61000-4-2 air gap: +/- 15kV
      >IEC61000-4-2 contact: +/- 8kV

      Hate to say this, it doesn’t take a whole lot of experience to “design” (like copy/paste)
      an “Arduino” board. It take far less than understand ESD protection and
      how it affects layout and and not simply springle “ESD protection” parts
      on the board.

      • tekkieneet says:

        I meant far more…
        There is always static guard or ESD bags. :)

        • Oren Beck says:

          By “Optoisolation” in this context – there’s a realistic threat assessment to evaluate. One could for example have photosensors on the “expensive” board and a “cheap” board as the at more risk one. Clamp Diodes and ancient yet still valid tech hacks such as gas tubes- often a Neon Lamp is Quite Good Enough to damage control those MOV’s in a layered ESD defense plan.

          in a >$300 device one commonly can see stupidly LITTLE attention spent on protection.

          Seeing near zero design for ESD in an LED point boards coupled by Crofon plastic fiber etc.

          Small board has an LED Driver and battery for Driver so IR/visible gets fibered to sensor on the “expensive” board.

  3. kOdo says:

    WHy would i want to use over priced controller like this?

  4. R Y says:

    This is a great board, I got it last year…

  5. ejonesss says:

    i did not know they made a rechargeable coin cell.

    • Mike Szczys says:

      It makes me crazy that all coin cells aren’t rechargeable. Yesterday I was just playing with the Open Hardware Summit badge from 2013 (I didn’t attend so thanks [Andy] for sending me yours!). The source code for the badge states very clearly that the coin cell is good for about 100 page turns…. then? Well, then you throw it away. This is crazy to me.

  6. Alonjar says:

    So someone want to tell me the difference between this and a lilypad?

  7. matt says:

    What is with this and the audrino both having nonstandard pin spacing?

  8. tachyon1 says:

    I have no idea why this uses this fake USB hack with V-USB instead of using the proper AVR chip in the first place. That being the ATmega32u4 as found in the Leonardo. It’s SMD, and has real USB built in.

  9. Oren Beck says:

    My comments on ESD were and are for advocating we always raise the bar. NOT to disrespect the Featured device!

    Calling an emulation “Fake” in what might be viewed as deprecating the method is amusingly elitist. The reason I bothered commenting now- on the needless disrespect of Ray’s excellent V-USB usage…

    Good Enough- Is.

  10. mkjunior says:

    anybody else having corrupted files problem after downloading from github?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 96,656 other followers