Author Options:

Gemma vs Lily Pad? Answered

I have a Gemma from Adafruit. Can I use that instead of the Lilypad?



Best Answer 2 years ago

Hi, cvjeremko,

You can program the Gemma to do everything in the class exercises, such as read a switch, turn on an LED and read a sensor, but you will need to do some extra reading and setting up plus a workaround if you want to get serial data printing in your serial monitor for checking out your sensor's values and seeing if your switch is opening or closing. Some differences and things you will need to do are:

- add support for Adafruit's boards in the Arduino IDE

- The Gemma uses a different chip (Attiny85) which does allow serial debugging unless you use the software serial library. You can get serial data printing by following this tutorial: https://learn.adafruit.com/serial-debugging-with-g...

- You may be able to use the keyboard and mouse Arduino library to simulate a keyboard for the last bonus exercise in this class but I have not tested it. https://www.arduino.cc/en/Reference/MouseKeyboard

- get familiar with the pins and locate which ones do PWM, digital I/O and analog input using a pin out diagram.

If you would like to stick with Adafruit products I'd like to suggest using a Flora over the Gemma because it uses the same chip. It's still not exactly the same though so I recommend reading about both boards on Adafruit's website. They do a really good job explaining what is different between the Gemma and other Arduino boards and giving you an idea of how to get it working with the Arduino IDE.

Gemma Get Started Guide: https://learn.adafruit.com/introducing-gemma/guide...

Flora Get Started Guide: https://learn.adafruit.com/getting-started-with-fl...