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

Prototyping Wearables -- Station 5: FLORA

Prototyping Wearables -- Station 5: FLORA

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 F L O R A P R OT OT Y P I N G W E A R A B L E S — S TAT I O N 5
  2. W h a t i s a F L O

    R A ? 3 0 S E C O N D I N T R O • An Arduino-compatible micro-controller. • Sewable form factor. • FLORA modules designed to be chain-able and communicate via I2C. • Robust on-board power solution. • Built-in USB support, including USB HID. • Designed by Limor Fried (Ladyada) and sold by Adafruit starting 2012. • ~$25 for FLORA board Image credit: adafruit.com
  3. W h a t i s a F L O

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

    O R 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”) • FLORA: learn.adafruit.com/getting-started-with-flora/download-software 
 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 FLORA via USB and configure Arduino IDE
 Tools > Board > Adafruit FLORA
 Tools > Serial Port > /dev/tty.usbmodemXXXXX (Mac)
 or COMX (Windows) 3. Open up the Blink sketch
 Check the USB thumbdrive for: Adafruit FLORA > Sketches > Blink > Blink.ino
 Note: Pin 7 (the internal red LED does not support PWM so you can’t use Pulse.ino on that pin) 4. Upload the sketch
  5. Ho w t o u s e a F L

    O R 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 FLORA guide: learn.adafruit.com/getting-started-with-flora
  6. P i n d i a g r a m

    G E T T I N G S TA R T E D, O V E R V I E W Image credit: adafruit.com
  7. Wi r e u p a n a c c

    e l e ro m e t e r N E X T S T E P S 1. Download and install the Adafruit_LSM303 library
 learn.adafruit.com/flora-accelerometer/programming
 Place the “Adafruit_LSM303” folder in your Arduino libraries folder (e.g. ~/Documents/Arduino/ libraries) and restart the IDE. 2. Open and upload the LSM303 “Test” sketch.
 From Arduino menu: File > Examples > Adafruit_LSM303 > Test 3. Use alligator clips to complete the following circuit:
 (Use USB or battery power.) 4. Open up the Arduino serial monitor.
 Move the accelerometer around to see logged values.
  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. • Use alligator clips (or just twist wire onto the pads) to test first circuit designs. • Ecosystem of FLORA accessories/modules available: 
 Bluetooth, GPS, 3-axis accelerometer, compass module, flex sensor, piezo, IR LED, push button, embroidered + capacitive keypad, OLED and more.
  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. C i t i B i ke He l m

    e t W E A R A B L E P R O J E C T S Citi Bike Helmet by Adafruit, Tyler Cooper, Justin Cooper Watch the video: youtube.com/watch?v=EuaouqKbbz0 Tutorial: learn.adafruit.com/citi-bike-helmet
  11. C h a m e l e o n S

    c a r f W E A R A B L E P R O J E C T S Chameleon Scarf by Becky Stern Watch the video: youtube.com Tutorial: learn.adafruit.com/chameleon-scarf
  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 F L O R 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/flora
  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 !