How to get Adafruit Gemma working

Here is a collection of problems and notes I encountered while playing with a Adafruit Gemma, a cute tiny microcontroller. Might make sense, might not.

First, make sure to set programmer to Adafruit Gemma 8MHz and programmer to USBTinyISP. Get access to them via this page.

Problem: “avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)”:

  1. Remove “is_at90s1200 = yes;” in avrdude.conf located in C:\Program Files (x86)\Arduino\hardware\arduino\avr\bootloaders\gemma
  2. Install this driver.
  3. Try a different USB port. Only works for my lowest left one on a Aspire E 15.

Problem: It seems like the ordinary servo Arduino library does not work on Gemma due to interrupts.

Use Software Servo instead. But first you need to open up SoftwareServo.h and change WProgram.h to Arduino.h.

  • Pin D0 is mapped to 0.
  • Red led is on 1

System used:

  • Adafruit Gemma v2
  • Windows 8 64 bit
  • Aspire E 15
  • Arduino 1.6.5

Leave a Reply