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

Wearables Prototyping Presentation for the Women Who Code Hackathon

Wearables Prototyping Presentation for the Women Who Code Hackathon

This was the Presentation that I gave at the Women Who Code Hackathon in Atlanta in July 2016

Lance Gleason

July 29, 2016
Tweet

More Decks by Lance Gleason

Other Decks in Technology

Transcript

  1. Introductions

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

  3. @PolyglotProgram @lgleasain @PurrProgramming

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

  9. None
  10. None
  11. Software

  12. Options

  13. None
  14. None
  15. None
  16. None
  17. None
  18. None
  19. Bluetooth • Same Frequency range as 2.4 Gigahertz Wifi •

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

    lower transmit power • Designed for low data low power Applications
  21. None
  22. None
  23. None
  24. Android • Bluetooth 4.0 supported radio • Android 4.3 or

    greater
  25. None
  26. None
  27. None
  28. None
  29. None
  30. Features • Bluetooth Support • Robust API for Android and

    IOS • Built in Sensors (temperature, accelerometer etc.) • Built in support for rechargeable batteries
  31. 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
  32. 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
  33. @PolyglotProgram @lgleasain @PurrProgramming

  34. Manifest: MainActivity:

  35. Implement ServiceConnection:

  36. Connect:

  37. Hello World (Flash a Light):

  38. Read Accelerometer Data:

  39. None
  40. None
  41. None
  42. None
  43. None
  44. None
  45. None
  46. None
  47. None
  48. None
  49. None
  50. @PolyglotProgram @lgleasain @PurrProgramming

  51. None
  52. Information on the Metawear Boards can be Found at http://www.mbientlab.com

    https://github.com/polyglotprogramminginc/ purr_programming_shirt https://github.com/lgleasain/AnDevConSantaClara/tree/14 https://github.com/lgleasain/bean_example Code examples can be found at https://github.com/mbientlab-projects/MetaWearCordova- Plugin https://github.com/polyglotprogramminginc/ WearableTechCon2016/tree/read_temperature
  53. Twitter @lgleasain Github lgleasain www.lancegleason.com www.polyglotprogrammincinc.com lgleason@polyglotprogramminginc.com