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

Prototyping Wearables -- Station 4: GEMMA

Prototyping Wearables -- Station 4: GEMMA

Part of my 2-hour workshop "Prototyping New Wearable Experiences with Soft Electronics and Arduinos" at Wearables DevCon 2014 (wearablesdevcon.com).

Pearl Chen

March 05, 2014
Tweet

More Decks by Pearl Chen

Other Decks in Technology

Transcript

  1. TWITTER @PearlChen GOOGLE+ klab.ca/+ P E A R L C

    H E N G E M M A P R OT OT Y P I N G W E A R A B L E S — S TAT I O N 4
  2. W h a t i s a G E M

    M A ? 3 0 S E C O N D I N T R O • 1” mini version of the FLORA. • Sewable form factor. • NOT completely Arduino-compatible.
 (Processor is different than the FLORA) • Better used with digital/analog switches instead of sensors. • Great at driving Adafruit NeoPixels LEDs. • Designed by Limor Fried (Ladyada) and sold by Adafruit starting 2013. • ~$8 for GEMMA Image credit: adafruit.com
  3. W h a t i s a G E M

    M A ? 2 M I N U T E I N T R O Video: youtube.com/watch?v=t0yEjVjvXxE
  4. Ho w t o u s e a G E

    M M A ? G E T T I N G S TA R T E D, Q U I C K O V E R V I E W 1. Download and install the IDE.
 (This is a modified version of the regular Arduino IDE. If you have multiple IDEs installed, rename them so you don’t get confused! e.g. “Arduino”, “Arduino-GEMMA”, “Arduino-FLORA”) • GEMMA: learn.adafruit.com/introducing-gemma/setting-up-with-arduino-ide
 Note: On Mac Mavericks, change your Security & Privacy settings to “Anywhere” to launch IDE. Then restore your settings back to normal afterwards. 2. Plug in the GEMMA via USB and configure the Arduino IDE.
 Tools > Board > Adafruit GEMMA 8MHz
 Tools > Programmer > USBTinyISP 3. Open up the Blink (or Pulse) sketch.
 Check the USB thumbdrive for: Adafruit GEMMA > Sketches > Blink > Blink.ino (or Pulse > Pulse.ino) 4. Upload the sketch to blink the red on-board LED.
 You need to press the reset button on the GEMMA to put it into bootloader mode before uploading. 
 You’ll be reminded of this when you see the error “avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)”.
  5. Ho w t o u s e a G E

    M M A ? G E T T I N G S TA R T E D, F U L L O V E R V I E W Getting Started with GEMMA guide: learn.adafruit.com/introducing-gemma/
  6. Wi r e u p a s i m p

    l e c i rc u i t N E X T S T E P S 1. Open up the Button sketch.
 Check the USB thumbdrive for: Adafruit GEMMA > Sketches > Button > Button.ino 2. Upload the sketch. 3. Use alligator clips to complete the following circuit:
 (Use USB or battery power.)
  7. L i g h t u p a Ne oP

    i xe l L E D N E X T S T E P S 1. Download and install the NeoPixel library
 learn.adafruit.com/adafruit-neopixel-uberguide/arduino-library
 Place the “Adafruit_NeoPixel” folder in your Arduino libraries folder (e.g. ~/Documents/Arduino/ libraries) and restart the IDE. 2. Open and upload the NeoPixel “strandtest” sketch.
 Check the USB thumbdrive for: Adafruit GEMMA > Sketches > NeoPixel > NeoPixel.ino 3. Use alligator clips to complete the following circuit:
 (Use USB or battery power.) More info about the NeoPixels: learn.adafruit.com/flora-rgb-smart-pixels
  8. R a p i d P ro t o t

    y p i n g U S I N G T H E F LO R A F O R : • Ideal for soft-circuit prototypes.
 Especially when a light weight and small size is immediately important. • Use alligator clips (or just twist wire onto the pads) to test first circuit designs. • Inexpensive enough (~$8) to leave embedded in your project. • Due to technical limitations, mock more complex sensor interactions (e.g. GPS) into simpler on/off or analog switches.
  9. We a r a b l e p ro j

    e c t s R E S O U R C E S Image credit: adafruit.com/products/659
  10. G E M M A h o o p e

    a r r i n g s W E A R A B L E P R O J E C T S Gemma hoop earrings by Becky Stern Watch the video: youtube.com/watch?v=FrwxI9GXKUU Tutorial: learn.adafruit.com/gemma-hoop-earrings/
  11. S p a c e I nv a d e

    r Pe n d a n t W E A R A B L E P R O J E C T S Space Invader Pendant by Phillip Burgess Tutorial: learn.adafruit.com/trinket-slash-gemma-space-invader-pendant
  12. E x p l o r i n g f

    u r t h e r R E S O U R C E S Image credit: adafruit.com/products/659
  13. Mo r e G E M M A t u

    t o r i a l s E X P LO R I N G F U R T H E R Go to learn.adafruit.com/category/gemma
  14. We a r a b l e E l e

    c t ro n i c s S h o w E X P LO R I N G F U R T H E R Tune in every Wed: plus.google.com/+adafruit
  15. TWITTER @PearlChen GOOGLE+ klab.ca/+ P E A R L C

    H E N Q u e s t i o n s ? T H A N K S !