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
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)”.
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.)
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
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.
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/
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