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

  2. Twitter @lgleasain Github lgleasain www.lancegleason.com www.polyglotprogrammincinc.com lgleason@polyglotprogramminginc.com

  3. None
  4. None
  5. None
  6. None
  7. None
  8. None
  9. http://www.polyglotprogramminginc.com/purr- programming-2-0/

  10. None
  11. None
  12. Software

  13. Options

  14. None
  15. Pros •Extensible •Common Pinouts

  16. Cons • Impossible to create a at scale prototype •

    Many extensions overkill for wearables
  17. None
  18. Pros • Inexpensive • Available GPS Module • Low Power

    • Aduino Based • Lots of Support
  19. Cons • No easy way to integrate Bluetooth or Wifi

    • Requires a physical connection to get data • Things like an accelerometer require a separate component
  20. None
  21. None
  22. None
  23. None
  24. Features • Bluetooth Support • Robust API for Android and

    IOS • Built in Sensors (temperature, accelerometer etc.) • Built in support for rechargeable batteries
  25. 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
  26. 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
  27. None
  28. None
  29. Cons • Really Small • Tough to write custom drivers

    • Proprietary
  30. None
  31. Bluetooth • Same Frequency range as 2.4 Gigahertz Wifi •

    79 Channels VS 13 • Less Throughput
  32. Bluetooth LE • Always off • Less Throughput • Often

    lower transmit power • Designed for low data low power Applications
  33. None
  34. None
  35. IOS • IPad 3rd Generation or better • Iphone 4S

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

    greater
  37. None
  38. None
  39. None
  40. 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
  41. Twitter @lgleasain Github lgleasain www.lancegleason.com www.polyglotprogrammincinc.com lgleason@polyglotprogramminginc.com