Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Andevcon Wearables Workshop Notes

Andevcon Wearables Workshop Notes

Andevcon Metawear wearables workshop notes and example code

Lance Gleason

July 29, 2015
Tweet

More Decks by Lance Gleason

Other Decks in Programming

Transcript

  1. Introductions

    View full-size slide

  2. Twitter @lgleasain
    Github lgleasain
    www.lancegleason.com
    www.polyglotprogrammincinc.com
    [email protected]

    View full-size slide

  3. http://www.polyglotprogramminginc.com/purr-
    programming-2-0/

    View full-size slide

  4. Pros
    •Extensible
    •Common Pinouts

    View full-size slide

  5. Cons
    • Impossible to create a at
    scale prototype
    • Many extensions overkill for
    wearables

    View full-size slide

  6. Pros
    • Inexpensive
    • Available GPS Module
    • Low Power
    • Aduino Based
    • Lots of Support

    View full-size slide

  7. Cons
    • No easy way to integrate Bluetooth
    or Wifi
    • Requires a physical connection to
    get data
    • Things like an accelerometer require
    a separate component

    View full-size slide

  8. Features
    • Bluetooth Support
    • Robust API for Android and IOS
    • Built in Sensors (temperature,
    accelerometer etc.)
    • Built in support for rechargeable
    batteries

    View full-size slide

  9. Specs
    • ! Nordic Semiconductor nRF51822 BLE SoC
    • ! 2.4 GHz transceiver
    • ! ARM®Cortex™-M0 32 bit processor
    • ! 256 kB flash program memory
    • ! 16 kB RAM
    • ! 8/9/10 bit ADC

    View full-size slide

  10. Specs Continued
    • Accelerometer
    • Temperature Sensor
    • Push Button Switch
    • Bright LED
    • Driver for vibration motor
    • micro usb chargable
    • I2C bus, and support for 4 digital/analog and 4 digital pins

    View full-size slide

  11. Cons
    • Really Small
    • Tough to write custom drivers
    • Proprietary

    View full-size slide

  12. Bluetooth
    • Same Frequency range as
    2.4 Gigahertz Wifi
    • 79 Channels VS 13
    • Less Throughput

    View full-size slide

  13. Bluetooth LE
    • Always off
    • Less Throughput
    • Often lower transmit power
    • Designed for low data low power
    Applications

    View full-size slide

  14. IOS
    • IPad 3rd Generation or better
    • Iphone 4S or greater

    View full-size slide

  15. Android
    • Bluetooth 4.0 supported radio
    • Android 4.3 or greater

    View full-size slide

  16. https://github.com/lgleasain/AnDevConMetawearProject
    Code From the Workshop Can be Found Here
    Workshop Notes are in this Document
    https://docs.google.com/document/d/
    1l8iPdJ_GmFaXjXoWMl_1G9szQYIC69217OYvBb_Sizk/edit?
    usp=sharing
    Information on the Metawear Boards can be Found at
    http://www.mbientlab.com

    View full-size slide

  17. Twitter @lgleasain
    Github lgleasain
    www.lancegleason.com
    www.polyglotprogrammincinc.com
    [email protected]

    View full-size slide